Skip to main content

@webda/coreReadme | API


Interface: Module

A Webda module is a NPM package

It contains one or more Modda to provide features

Extended by

Properties

beans?

beans?: Object

Application beans

Index signature

[key: string]: string

Source

packages/core/src/application.ts:176


deployers?

deployers?: Object

Deployers provided by the module

Deployer

Index signature

[key: string]: string

Source

packages/core/src/application.ts:168


moddas?

moddas?: Object

Services provided by the module

Index signature

[key: string]: string

Source

packages/core/src/application.ts:124


models

models: Object

Models provided by the module

Type declaration

graph

graph: ModelsGraph

Models graph

Typescript does not have reflection, we therefore deduct the relations on compilation time and inject in the module

The parent is define by a ModelParent type on the model The links are attribute of types ModelLink

list

list: Object

Models provided by the module

Index signature

[key: string]: string

plurals

plurals: Object

Specific plurals for a model

Index signature

[key: string]: string

reflections

reflections: Object

Store the model attributes types

Index signature

[key: string]: Object

shortIds

shortIds: Object

Contains the shortcut id for the models

Index signature

[key: string]: string

tree

tree: ModelsTree

Models hierarchy tree

Models Graph establish the relationship between models Models Tree establish the hierarchy between models classes

Source

packages/core/src/application.ts:128


schemas?

schemas?: Object

Schemas for services, deployers and coremodel

Index signature

[key: string]: JSONSchema7

Source

packages/core/src/application.ts:172