Skip to main content

SdkManifestModel

@webda/sdk


Interface: SdkManifestModel

Defined in: sdk/src/manifest.ts:51

A model of the manifest

Properties​

ancestors​

ancestors: string[]

Defined in: sdk/src/manifest.ts:64

Ancestor model ids, nearest first


id​

id: string

Defined in: sdk/src/manifest.ts:52


inputSchema​

inputSchema: string

Defined in: sdk/src/manifest.ts:60

Ref into schemas of what the server accepts (Metadata.Schemas.Input)


operations​

operations: string[]

Defined in: sdk/src/manifest.ts:66

Ids of the operations attached to this model


plural​

plural: string

Defined in: sdk/src/manifest.ts:54


primaryKey​

primaryKey: string[]

Defined in: sdk/src/manifest.ts:55


primaryKeySeparator?​

optional primaryKeySeparator?: string

Defined in: sdk/src/manifest.ts:56


relations​

relations: ModelGraph

Defined in: sdk/src/manifest.ts:62

From the compiler, untouched


schema​

schema: string

Defined in: sdk/src/manifest.ts:58

Ref into schemas of what the server sends (Metadata.Schemas.Output ?? Input)


shared​

shared: Record<string, SharedMethod>

Defined in: sdk/src/manifest.ts:68

@Shared methods, the inherited ones included


shortName​

shortName: string

Defined in: sdk/src/manifest.ts:53