Skip to main content

BehaviorMetadata

@webda/compiler


Interface: BehaviorMetadata

Defined in: definition.ts:316

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

Properties​

Actions​

Actions: object

Defined in: definition.ts:329

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

Index Signature​

[action: string]: object


Configuration?​

optional Configuration?: string

Defined in: definition.ts:320

Export of the behavior's Parameters class.


Identifier​

Identifier: string

Defined in: definition.ts:322

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


Import​

Import: string

Defined in: definition.ts:324

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


Schema?​

optional Schema?: JSONSchema7

Defined in: definition.ts:318

Typed runtime parameter schema.