Skip to main content

ModelMetadata

@webda/content-mapper


Interface: ModelMetadata

Defined in: packages/content-mapper/src/module-discovery.ts:28

Structural metadata recorded for a model.

Properties​

Ancestors​

Ancestors: string[]

Defined in: packages/content-mapper/src/module-discovery.ts:34

Namespaced ancestors, nearest first.


Identifier​

Identifier: string

Defined in: packages/content-mapper/src/module-discovery.ts:30

Namespaced name, repeated as the entry's own identifier.


Plural​

Plural: string

Defined in: packages/content-mapper/src/module-discovery.ts:32

Pluralised display name.


PrimaryKey​

PrimaryKey: string[]

Defined in: packages/content-mapper/src/module-discovery.ts:38

Attributes forming the primary key.


PrimaryKeySeparator?​

optional PrimaryKeySeparator?: string

Defined in: packages/content-mapper/src/module-discovery.ts:40

Separator joining a composite primary key, when declared.


Subclasses​

Subclasses: string[]

Defined in: packages/content-mapper/src/module-discovery.ts:36

Namespaced direct subclasses.