Skip to main content

BehaviorMetadata

@webda/compiler


Interface: BehaviorMetadata

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

Compile-time metadata for a class marked with @Behavior().

Properties​

Actions​

Actions: object

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

Behavior actions discovered from @Action / @Operation methods. Same shape as ModelMetadata.Actions.

Index Signature​

[action: string]: object


Configuration?​

optional Configuration?: string

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

Export of the behavior's Parameters class.


Identifier​

Identifier: string

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

Identifier of the Behavior (e.g. "Webda/MFA").


Import​

Import: string

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

Module-relative path used at runtime to import the class.


Schema?​

optional Schema?: JSONSchema7

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

Typed runtime parameter schema.