Skip to main content

ModelInfo

@webda/debug


Interface: ModelInfo

Defined in: debug/src/introspection.ts:6

Information about a registered model.

Properties​

actions​

actions: string[]

Defined in: debug/src/introspection.ts:12

List of action names defined on the model


ancestors​

ancestors: string[]

Defined in: debug/src/introspection.ts:16

Identifiers of the registered parent models, closest first


id​

id: string

Defined in: debug/src/introspection.ts:8

Fully-qualified model identifier, e.g. "MyApp/Task"


metadata​

metadata: any

Defined in: debug/src/introspection.ts:20

Full raw ModelMetadata object


plural​

plural: string

Defined in: debug/src/introspection.ts:10

Plural name used in REST URLs, e.g. "Tasks"


relations​

relations: any

Defined in: debug/src/introspection.ts:14

Relation graph (links, queries, maps, binaries)


subclasses​

subclasses: string[]

Defined in: debug/src/introspection.ts:18

Identifiers of the registered models extending this one directly