orbits

@wbce/orbits / Exports

@wbce/orbits

Table of contents

Enumerations

Classes

Interfaces

Variables

Functions

Variables

actionSchema

Const actionSchema: Schema<any, Model<any, any, any, any, any>, {}, {}, {}, {}, ResolveSchemaOptions<{ minimize: false = false; timestamps: true = true }>, { createdAt: NativeDate ; updatedAt: NativeDate } & { actionRef: string ; argument: any ; bag: any ; cronActivity: { pending: boolean; frequence?: number; lastActivity?: Date; nextActivity?: Date; } ; delays: { 1?: number; 2?: number; } ; filter: any ; locked: boolean ; lockedAt: Date ; nExecutions: { 4: number; 5: number; } ; nTimes: number ; repeat: { 4: number; 5: number; } ; result: any ; state: number ; stateUpdatedAt: Date ; workflowId: string ; workflowStep: number }>

Defined in

src/models/action.ts:59

Functions

bootstrapApp

bootstrapApp(opts): (classTargetConstructor: any) => void

Decorator : It bootstraps an app

Parameters

Name Type Description
opts ActionAppConfig | () => ActionAppConfig | Promise<ActionAppConfig> ActionAppConfig | (()=>(ActionAppConfig|Promise)). Either an object of class ActionAppConfig or a callback returning a Promise, this promise have to return an ActionAppConfig

Returns

fn

▸ (classTargetConstructor): void

Parameters
Name Type
classTargetConstructor any
Returns

void

Defined in

src/app/action-app.ts:118