How to use the ember-flexberry-data/utils/attributes.hasMany function in ember-flexberry-data

To help you get started, we’ve selected a few ember-flexberry-data examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Flexberry / ember-flexberry-designer / addon / mixins / regenerated / models / fd-dev-method.js View on Github external
modelClass.defineProjection('Generator', 'fd-dev-method', {
    accessModifier: attr('AccessModifier', { hidden: true }),
    accessType: attr('AccessType', { hidden: true }),
    caption: attr('Caption', { hidden: true }),
    isEvent: attr('IsEvent', { hidden: true }),
    orderNum: attr('OrderNum', { hidden: true }),
    parametersStr: attr('ParametersStr', { hidden: true }),
    pBCustomAttributes: attr('PBCustomAttributes', { hidden: true }),
    publishToUser: attr('PublishToUser', { hidden: true }),
    realCaption: attr('RealCaption', { hidden: true }),
    type: attr('Type', { hidden: true }),
    typeParametersStr: attr('TypeParametersStr', { hidden: true }),
    name: attr('Name', { hidden: true }),
    description: attr('Description', { hidden: true }),
    nameStr: attr('NameStr', { hidden: true }),
    parameters: hasMany('fd-dev-parameter', '', {
      caption: attr('Caption', { hidden: true }),
      modifier: attr('Modifier', { hidden: true }),
      orderNum: attr('OrderNum', { hidden: true }),
      realCaption: attr('RealCaption', { hidden: true }),
      type: attr('Type', { hidden: true }),
      name: attr('Name', { hidden: true }),
      description: attr('Description', { hidden: true }),
      nameStr: attr('NameStr', { hidden: true })
    })
  });
  modelClass.defineProjection('FdPreloadMetadata', 'fd-dev-method', {
    accessModifier: attr(''),
    type: attr(''),
    name: attr(''),
  });
};
github Flexberry / ember-flexberry-designer / addon / mixins / regenerated / models / fd-dev-stage.js View on Github external
configuration: belongsTo('fd-configuration', '', {
      name: attr(''),
      project: belongsTo('fd-project', '', {
        name: attr(''),
        repository: belongsTo('fd-repository', '', {
          name: attr('')
        })
      })
    }),
    serializedIndex: attr('')
  });
  modelClass.defineProjection('LightStage', 'fd-dev-stage', {
    company: attr(''),
    product: attr(''),
    sourceCodeCSPath: attr(''),
    moduleSettings: hasMany('fd-dev-module-setting', '', {
      moduleSettingType: belongsTo('fd-dev-module-setting-type', 'ModuleSettingTyp', {
        name: attr('Name ModuleSettingType')
      }, { hidden: true }),
      valueXML: attr('ValueXML'),
      moduleSettingTypeName: attr(''),
      stage: belongsTo('fd-dev-stage', 'Stage', {

      }, { hidden: true })
    })
  });
  modelClass.defineProjection('ListDataObjectTypes', 'fd-dev-stage', {
  });
  modelClass.defineProjection('ListFormView', 'fd-dev-stage', {
    name: attr('Name'),
    description: attr('Description'),
    changeUser: attr('Change user'),
github Flexberry / ember-flexberry-designer / addon / mixins / regenerated / models / fd-dev-stage.js View on Github external
});
  modelClass.defineProjection('FormDesigner_ProjectL', 'fd-dev-stage', {
    name: attr('Название'),
    description: attr('Описание'),
    product: attr('', { hidden: true }),
    configuration: belongsTo('fd-configuration', '', {
      project: belongsTo('fd-project', '', {
        repository: belongsTo('fd-repository', '', {

        }, { hidden: true })
      }, { hidden: true })
    }, { hidden: true })
  });
  modelClass.defineProjection('Generations', 'fd-dev-stage', {
    name: attr(''),
    generations: hasMany('fd-generation', '', {
      userName: attr('Пользователь'),
      state: attr('Состояние'),
      startTime: attr('Время старта'),
      percentComplete: attr('% выполнения'),
      endTime: attr('Время окончания'),
      stage: belongsTo('fd-dev-stage', 'Имя стадии', {
        name: attr('Имя стадии')
      }),
      generationReason: attr('Действие')
    })
  });
  modelClass.defineProjection('Generator', 'fd-dev-stage', {
    name: attr(''),
    description: attr(''),
    company: attr(''),
    product: attr(''),
github Flexberry / ember-flexberry-designer / addon / mixins / regenerated / models / fd-dev-stage.js View on Github external
sourceAzStoragePath: attr(''),
    operationsEnumPacket: attr(''),
    operationsEnumNamespace: attr(''),
    signAssemblies: attr(''),
    auditEnabled: attr(''),
    isAuditDatabaseLocal: attr(''),
    defaultWriteMode: attr(''),
    isReportDatabaseLocal: attr(''),
    typeDefinitions: hasMany('fd-dev-type-definition', '', {
      name: attr(''),
      caption: attr(''),
      mapTypeName: attr(''),
      mapTypeAssemblyName: attr(''),
      formatAttribute: attr('')
    }),
    controlTypes: hasMany('fd-dev-control-type', '', {
      name: attr('Имя'),
      designerHtmlTemplate: attr('Шаблон'),
      designerMetadataXml: attr('Метаданные дизайна'),
      editedType: belongsTo('fd-dev-type-definition', '', {
        name: attr('', { hidden: true })
      })
    }),
    moduleSettings: hasMany('fd-dev-module-setting', '', {
      moduleSettingType: belongsTo('fd-dev-module-setting-type', 'ModuleSettingTyp', {
        name: attr('Name ModuleSettingType')
      }, { hidden: true }),
      valueXML: attr('ValueXML'),
      moduleSettingTypeName: attr(''),
      stage: belongsTo('fd-dev-stage', 'Stage', {

      }, { hidden: true })
github Flexberry / ember-flexberry-designer / addon / mixins / regenerated / models / fd-dev-stage.js View on Github external
defaultDetailArrayClass: attr(''),
    connectionString: attr(''),
    oracleConnectionString: attr(''),
    postgreConnectionString: attr(''),
    additionalPluginsSettingsStr: attr(''),
    defaultEditScriptName: attr(''),
    defaultListScriptName: attr(''),
    sourceAzStoragePath: attr(''),
    operationsEnumPacket: attr(''),
    operationsEnumNamespace: attr(''),
    signAssemblies: attr(''),
    auditEnabled: attr(''),
    isAuditDatabaseLocal: attr(''),
    defaultWriteMode: attr(''),
    isReportDatabaseLocal: attr(''),
    typeDefinitions: hasMany('fd-dev-type-definition', '', {
      name: attr(''),
      caption: attr(''),
      mapTypeName: attr(''),
      mapTypeAssemblyName: attr(''),
      formatAttribute: attr('')
    }),
    controlTypes: hasMany('fd-dev-control-type', '', {
      name: attr('Имя'),
      designerHtmlTemplate: attr('Шаблон'),
      designerMetadataXml: attr('Метаданные дизайна'),
      editedType: belongsTo('fd-dev-type-definition', '', {
        name: attr('', { hidden: true })
      })
    }),
    moduleSettings: hasMany('fd-dev-module-setting', '', {
      moduleSettingType: belongsTo('fd-dev-module-setting-type', 'ModuleSettingTyp', {
github Flexberry / ember-flexberry-designer / addon / mixins / regenerated / models / fd-dev-form-view.js View on Github external
name: attr(''),
      class: belongsTo('fd-dev-class', '', {
        name: attr('')
      }, { hidden: true })
    }, { hidden: true })
  });
  modelClass.defineProjection('FdPreloadMetadata', 'fd-dev-form-view', {
    view: belongsTo('fd-dev-view', '', {
      class: belongsTo('fd-dev-class', '', {
        name: attr('')
      })
    }),
    dataObjectTypesStr: attr('')
  });
  modelClass.defineProjection('ForFormControls', 'fd-dev-form-view', {
    controls: hasMany('fd-dev-form-control', '', {
      name: attr(''),
      propertyPath: attr(''),
      settingsXml: attr(''),
      order: attr(''),
      controlType: belongsTo('fd-dev-control-type', '', {
        name: attr('')
      }),
      propertyType: belongsTo('fd-dev-type-definition', '', {
        name: attr('')
      }),
      formView: belongsTo('fd-dev-form-view', '', {
        view: belongsTo('fd-dev-view', '', {

        })
      })
    })