Skip to main content

SharedMethodMetadata

@webda/compiler


Interface: SharedMethodMetadata

Defined in: definition.ts:296

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

Properties​

imports?​

optional imports?: object

Defined in: definition.ts:308

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

Index Signature​

[module: string]: string[]


source​

source: string

Defined in: definition.ts:304

The method declaration, decorators removed, type annotations kept


static?​

optional static?: boolean

Defined in: definition.ts:300

Static method