orbits

@wbce/orbits / Exports / CoreActionApp

Class: CoreActionApp

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new CoreActionApp(opts?)

Parameters

Name Type
opts? Object
opts.db? AppDb
opts.logger? Logger

Inherited from

ActionApp.constructor

Defined in

src/app/action-app.ts:56

Properties

ActionModel

ActionModel: Model<ActionSchemaInterface<any, any, any>, {}, {}, {}, any>

Inherited from

ActionApp.ActionModel

Defined in

src/app/action-app.ts:54


actionsRegistry

actionsRegistry: Map<string, typeof Action>

Inherited from

ActionApp.actionsRegistry

Defined in

src/app/action-app.ts:36


db

db: AppDb

Inherited from

ActionApp.db

Defined in

src/app/action-app.ts:48


declare

declare: typeof Action[]

Overrides

ActionApp.declare

Defined in

src/app/action-app.ts:147


imports

imports: typeof ActionApp[] = []

Inherited from

ActionApp.imports

Defined in

src/app/action-app.ts:43


inversedActionsRegistry

inversedActionsRegistry: Map<typeof Action, string>

Inherited from

ActionApp.inversedActionsRegistry

Defined in

src/app/action-app.ts:37


logger

logger: Logger = defaultLogger

Inherited from

ActionApp.logger

Defined in

src/app/action-app.ts:39


numberOfWorker

numberOfWorker: number = 3

Inherited from

ActionApp.numberOfWorker

Defined in

src/app/action-app.ts:46


activeApp

Static activeApp: ActionApp

Inherited from

ActionApp.activeApp

Defined in

src/app/action-app.ts:24


appImportedRegistry

Static appImportedRegistry: Map<any, any>

Inherited from

ActionApp.appImportedRegistry

Defined in

src/app/action-app.ts:26


boostrapPath

Static boostrapPath: string

Inherited from

ActionApp.boostrapPath

Defined in

src/app/action-app.ts:34


rejectBootstrap

Static rejectBootstrap: any

Inherited from

ActionApp.rejectBootstrap

Defined in

src/app/action-app.ts:29


resolveBootstrap

Static resolveBootstrap: any

Inherited from

ActionApp.resolveBootstrap

Defined in

src/app/action-app.ts:28


waitForActiveApp

Static waitForActiveApp: Promise<unknown>

Inherited from

ActionApp.waitForActiveApp

Defined in

src/app/action-app.ts:30

Methods

bootstrap

bootstrap(): Promise<void>

Returns

Promise<void>

Inherited from

ActionApp.bootstrap

Defined in

src/app/action-app.ts:68


getActiveApp

Static getActiveApp(): ActionApp

Returns

ActionApp

Inherited from

ActionApp.getActiveApp

Defined in

src/app/action-app.ts:101