import { IEmptyConstruct, ValidatorDefinition, IFieldDefinition } from './index'; /** * Data Structure interfaces * @desc Define some basic functions to work with Entity */ export interface IDataStructure { ID: string; getInstance(): IEmptyConstruct; getRootEntity(): IDataStructure; getNewInstance(): IDataStructure; getValidators(): { [propName: string]: ValidatorDefinition[]; }; setModelData(modelData: IDataStructure): void; browseFields: Array; getModuleName(): string; getEntityName(): string; getNameID(): string; getHasReadRowPermissions(): boolean; fromRawEntity(entity: IDataStructure): IDataStructure; entityToJSON(): string; }