Skip to main content

@webda/coreReadme | API


Interface: CachedModule

Cached module is all modules discover plus local package including the sources list

Extends

Properties

beans?

beans?: Object

Application beans

Index signature

[key: string]: string

Inherited from

Module.beans

Source

packages/core/src/application.ts:176


deployers?

deployers?: Object

Deployers provided by the module

Deployer

Index signature

[key: string]: string

Inherited from

Module.deployers

Source

packages/core/src/application.ts:168


moddas?

moddas?: Object

Services provided by the module

Index signature

[key: string]: string

Inherited from

Module.moddas

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

Inherited from

Module.models

Source

packages/core/src/application.ts:128


project

project: ProjectInformation

Contained dynamic information on the project Statically capture on deployment

Source

packages/core/src/application.ts:187


schemas?

schemas?: Object

Schemas for services, deployers and coremodel

Index signature

[key: string]: JSONSchema7

Inherited from

Module.schemas

Source

packages/core/src/application.ts:172