Skip to main content

SharedMethodMetadata

@webda/compiler


Interface: SharedMethodMetadata

Defined in: compiler/src/definition.ts:363

A model method shared with the frontend SDK (@Shared())

Properties​

imports?​

optional imports?: object

Defined in: compiler/src/definition.ts:375

Identifiers the body uses from the allowlisted modules (sharedImports), by module specifier

Index Signature​

[module: string]: string[]


source​

source: string

Defined in: compiler/src/definition.ts:371

The method declaration, decorators removed, type annotations kept


static?​

optional static?: boolean

Defined in: compiler/src/definition.ts:367

Static method