Skip to content

Interface: LoaderContext

Makaio Framework


Makaio Framework / contracts / LoaderContext

Defined in: ../../../packages/contracts/src/extension/contributions/web-ui-types.ts:12

Request context passed to a WebUI loader function.

Provides visibility-aware context so loaders can filter data by the active host UI context. URL params are forwarded from the route match so loaders can access path segments and query strings.

params: Record<string, string>

Defined in: ../../../packages/contracts/src/extension/contributions/web-ui-types.ts:27

URL parameters from the matched route, including path segments and query strings.

Forwarded from the router so loaders can read route-specific identifiers.


optional sessionId?: string

Defined in: ../../../packages/contracts/src/extension/contributions/web-ui-types.ts:18

Active session identifier, if a session is selected.

undefined when no session is currently active.


uiContext: UiContextSnapshot

Defined in: ../../../packages/contracts/src/extension/contributions/web-ui-types.ts:20

Active host UI context for the matched route.