Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export let defineProjections = function (modelClass) {
modelClass.defineProjection('Import', 'fd-base-association', {
startRole: Projection.attr(''),
endRole: Projection.attr(''),
referenceCount: Projection.attr(''),
startClass: Projection.belongsTo('fd-class', '', {
}),
endClass: Projection.belongsTo('fd-class', '', {
})
});
modelClass.defineProjection('PropertySearch', 'fd-base-association', {
startRole: Projection.attr(''),
endRole: Projection.attr(''),
startClass: Projection.belongsTo('fd-class', '', {
nameStr: Projection.attr('')
}),
endClass: Projection.belongsTo('fd-class', '', {
})
});
description: Projection.attr('Description')
});
modelClass.defineProjection('EditPropertyLookups', 'fd-dev-inheritance', {
parent: Projection.belongsTo('fd-class', '', {
name: Projection.attr('')
}, { hidden: true }),
child: Projection.belongsTo('fd-class', '', {
name: Projection.attr('')
}, { hidden: true })
});
modelClass.defineProjection('FdPreloadMetadata', 'fd-dev-inheritance', {
referenceCount: Projection.attr(''),
name: Projection.attr(''),
description: Projection.attr(''),
nameStr: Projection.attr(''),
stage: Projection.belongsTo('fd-stage', '', {
name: Projection.attr('')
}),
child: Projection.belongsTo('fd-class', '', {
name: Projection.attr('')
}),
parent: Projection.belongsTo('fd-class', '', {
name: Projection.attr('')
})
});
modelClass.defineProjection('Generator', 'fd-dev-inheritance', {
referenceCount: Projection.attr('ReferenceCount', { hidden: true }),
name: Projection.attr('Name', { hidden: true }),
description: Projection.attr('Description', { hidden: true }),
nameStr: Projection.attr('NameStr', { hidden: true }),
child: Projection.belongsTo('fd-class', 'Child', {
export let defineProjections = function (modelClass) {
modelClass.defineProjection('Import', 'fd-inheritance', {
referenceCount: Projection.attr(''),
name: Projection.attr(''),
parent: Projection.belongsTo('fd-class', '', {
}),
child: Projection.belongsTo('fd-class', '', {
})
});
modelClass.defineProjection('References', 'fd-inheritance', {
referenceCount: Projection.attr('')
});
};
hierarchicalMaster: Projection.attr('HierarchicalMaster', { hidden: true }),
listFormOperations: Projection.attr('ListFormOperations', { hidden: true }),
listFormOperationsStr: Projection.attr('ListFormOperationsStr', { hidden: true }),
orderNum: Projection.attr('OrderNum', { hidden: true }),
propertyLookup: Projection.attr('PropertyLookup', { hidden: true }),
propertyLookupStr: Projection.attr('PropertyLookupStr', { hidden: true }),
viewForForm: Projection.attr('ViewForForm', { hidden: true }),
name: Projection.attr('Name', { hidden: true }),
description: Projection.attr('Description', { hidden: true }),
nameStr: Projection.attr('NameStr', { hidden: true }),
controls: Projection.hasMany('fd-dev-form-control', '', {
name: Projection.attr(''),
propertyPath: Projection.attr(''),
settingsXml: Projection.attr(''),
order: Projection.attr(''),
controlType: Projection.belongsTo('fd-dev-control-type', '', {
name: Projection.attr('')
}),
propertyType: Projection.belongsTo('fd-dev-type-definition', '', {
name: Projection.attr('')
}),
formView: Projection.belongsTo('fd-dev-form-view', '', {
view: Projection.belongsTo('fd-dev-view', '', {
})
})
})
}),
views: Projection.hasMany('fd-dev-view', '', {
name: Projection.attr(''),
description: Projection.attr(''),
definition: Projection.attr(''),
modelClass.defineProjection('ListFormView', 'fd-dev-uml-cad', {
name: Projection.attr('Name'),
description: Projection.attr('Description'),
changeUser: Projection.attr('Change user'),
changeDate: Projection.attr('Change date'),
createUser: Projection.attr('Create user'),
createDate: Projection.attr('Create date'),
subsystem: Projection.belongsTo('fd-subsystem', '', {
stage: Projection.belongsTo('fd-stage', '', {
}, { hidden: true }),
}, { hidden: true }),
});
modelClass.defineProjection('SearchDiagram', 'fd-dev-uml-cad', {
name: Projection.attr(''),
subsystem: Projection.belongsTo('fd-subsystem', '', {
stage: Projection.belongsTo('fd-stage', '', {
}),
}),
});
modelClass.defineProjection('FdUmlCad', 'fd-dev-uml-cad', {
name: Projection.attr(''),
primitivesJsonString: Projection.attr(''),
primitivesStreamString: Projection.attr(''),
caseObjectsString: Projection.attr(''),
subsystem: Projection.belongsTo('fd-subsystem', '', {
})
});
};
name: Projection.attr(''),
createDate: Projection.attr(''),
createUser: Projection.attr(''),
changeDate: Projection.attr(''),
changeUser: Projection.attr('')
}),
filelinks: Projection.hasMany('fd-filelink', '', {
name: Projection.attr('Название'),
description: Projection.attr('Описание')
})
});
modelClass.defineProjection('PathSearchView', 'fd-subsystem', {
name: Projection.attr(''),
stage: Projection.belongsTo('fd-stage', '', {
name: Projection.attr(''),
configuration: Projection.belongsTo('fd-configuration', '', {
name: Projection.attr(''),
project: Projection.belongsTo('fd-project', '', {
name: Projection.attr(''),
repository: Projection.belongsTo('fd-repository', '', {
name: Projection.attr('')
})
})
})
})
});
modelClass.defineProjection('SearchSystem', 'fd-subsystem', {
name: Projection.attr(''),
stage: Projection.belongsTo('fd-stage', '', {
name: Projection.attr('')
})
});
changeUser: Projection.attr('')
}),
filelinks: Projection.hasMany('fd-filelink', '', {
name: Projection.attr('Название'),
description: Projection.attr('Описание')
})
});
modelClass.defineProjection('PathSearchView', 'fd-subsystem', {
name: Projection.attr(''),
stage: Projection.belongsTo('fd-stage', '', {
name: Projection.attr(''),
configuration: Projection.belongsTo('fd-configuration', '', {
name: Projection.attr(''),
project: Projection.belongsTo('fd-project', '', {
name: Projection.attr(''),
repository: Projection.belongsTo('fd-repository', '', {
name: Projection.attr('')
})
})
})
})
});
modelClass.defineProjection('SearchSystem', 'fd-subsystem', {
name: Projection.attr(''),
stage: Projection.belongsTo('fd-stage', '', {
name: Projection.attr('')
})
});
};
propertyType: Projection.belongsTo('fd-dev-type-definition', '', {
name: Projection.attr('')
}),
formView: Projection.belongsTo('fd-dev-form-view', '', {
view: Projection.belongsTo('fd-dev-view', '', {
})
})
});
modelClass.defineProjection('FormControlL', 'fd-dev-form-control', {
name: Projection.attr('Имя'),
controlType: Projection.belongsTo('fd-dev-control-type', '', {
name: Projection.attr('Тип эдемента управления')
}, { hidden: true }),
order: Projection.attr('', { hidden: true }),
propertyType: Projection.belongsTo('fd-dev-type-definition', '', {
name: Projection.attr('Тип свойства')
}, { hidden: true })
});
};
export let defineProjections = function (modelClass) {
modelClass.defineProjection('EditView', 'fd-class-storage-type', {
connectionName: Projection.attr(''),
connectionString: Projection.attr(''),
storageType: Projection.belongsTo('fd-storage-type', '', {
}, { displayMemberPath: 'shortName' })
});
modelClass.defineProjection('FdEditClassForm', 'fd-class-storage-type', {
connectionName: Projection.attr('Имя соединения'),
connectionString: Projection.attr('Строка соединения'),
class: Projection.belongsTo('fd-dev-class', '', {
}, { hidden: true }),
storageType: Projection.belongsTo('fd-storage-type', 'Тип хранилища', {
}, { displayMemberPath: 'shortName' })
});
};
});
modelClass.defineProjection('ListFormView', 'fd-dev-uml-cad', {
name: Projection.attr('Name'),
description: Projection.attr('Description'),
changeUser: Projection.attr('Change user'),
changeDate: Projection.attr('Change date'),
createUser: Projection.attr('Create user'),
createDate: Projection.attr('Create date'),
subsystem: Projection.belongsTo('fd-subsystem', '', {
stage: Projection.belongsTo('fd-stage', '', {
}, { hidden: true }),
}, { hidden: true }),
});
modelClass.defineProjection('SearchDiagram', 'fd-dev-uml-cad', {
name: Projection.attr(''),
subsystem: Projection.belongsTo('fd-subsystem', '', {
stage: Projection.belongsTo('fd-stage', '', {
}),
}),
});
modelClass.defineProjection('FdUmlCad', 'fd-dev-uml-cad', {
name: Projection.attr(''),
primitivesJsonString: Projection.attr(''),
primitivesStreamString: Projection.attr(''),
caseObjectsString: Projection.attr(''),
subsystem: Projection.belongsTo('fd-subsystem', '', {
})
});
};