Interface: LoaderContext
Makaio Framework / contracts / LoaderContext
Interface: LoaderContext
Section titled “Interface: 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.
Properties
Section titled “Properties”params
Section titled “params”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.
sessionId?
Section titled “sessionId?”
optionalsessionId?: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
Section titled “uiContext”uiContext:
UiContextSnapshot
Defined in: ../../../packages/contracts/src/extension/contributions/web-ui-types.ts:20
Active host UI context for the matched route.