Skip to main content

WebdaModule

@webda/compiler


Interface: WebdaModule

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

A Webda module is a NPM package

It contains one or more Modda to provide features

Properties​

$schema?​

optional $schema?: string

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

Schema version


beans?​

optional beans?: object

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

Beans

Index Signature​

[key: string]: ServiceMetadata


behaviors?​

optional behaviors?: object

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

Behavior classes provided by the module.

Index Signature​

[key: string]: BehaviorMetadata


capabilities?​

optional capabilities?: object

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

Default capability providers declared by this package. Maps capability names to service type names. Merged from dependencies at build/load time; project-level values override.

Index Signature​

[name: string]: string


deployers?​

optional deployers?: object

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

Deployers provided by this module

Index Signature​

[key: string]: ServiceMetadata


flows?​

optional flows?: object

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

Workflows compiled from the .flow.ts files, by flow id (<Class>.<Method>)

@webda/workflow registers each one at startup.

Index Signature​

[id: string]: FlowMetadata


moddas?​

optional moddas?: object

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

Services provided by the module

Index Signature​

[key: string]: ServiceMetadata


models​

models: object

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

Models provided by the module

Index Signature​

[key: string]: ModelMetadata

Models provided by the module


schemas​

schemas: object

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

Additional schemas defined by the module Not through a CoreModel or a ServiceParameters

Index Signature​

[key: string]: JSONSchema7