* feat: wip add relation * feat: add relation for custom and standards objects * fix: use enum instead of magic string * fix: remove dead code & fix tests * fix: typo * fix: BooleanFilter is missing * fix: Malformed result error
16 lines
475 B
TypeScript
16 lines
475 B
TypeScript
import { FieldMetadataInterface } from './field-metadata.interface';
|
|
import { RelationMetadataInterface } from './relation-metadata.interface';
|
|
|
|
export interface ObjectMetadataInterface {
|
|
id: string;
|
|
nameSingular: string;
|
|
namePlural: string;
|
|
labelSingular: string;
|
|
labelPlural: string;
|
|
description?: string;
|
|
targetTableName: string;
|
|
fromRelations: RelationMetadataInterface[];
|
|
toRelations: RelationMetadataInterface[];
|
|
fields: FieldMetadataInterface[];
|
|
}
|