Skip to main content

@webda/coreReadme | API


Type alias: CoreEvents

CoreEvents: Object

Index signature

[key: string]: unknown

Type declaration

Webda.404

Webda.404: EventWithContext<WebContext>

Emitted when a request does not match any route

Webda.Create.Services

Webda.Create.Services: Object

Emitted when Services have been created

Index signature

[key: string]: Service

Webda.Init

Webda.Init: Configuration

Emitted when Core is initialized

Webda.Init.Services

Webda.Init.Services: Object

Emitted when Services have been initialized

Index signature

[key: string]: Service

Webda.NewContext

Webda.NewContext: Object

Emitted whenever a new Context is created

Webda.NewContext.context

Webda.NewContext.context: OperationContext

Webda.NewContext.info

Webda.NewContext.info: ContextProviderInfo

Webda.Request

Webda.Request: EventWithContext<WebContext>

Emitted when new request comes in

Webda.Result

Webda.Result: EventWithContext<WebContext>

Emitted when new result is sent

Webda.UpdateContextRoute

Webda.UpdateContextRoute: Object

Sent when route is added to context

Webda.UpdateContextRoute.context

Webda.UpdateContextRoute.context: WebContext

Source

packages/core/src/core.ts:242