Skip to content

RequestArgs

RequestArgs = object

Defined in: packages/actions/src/types.ts:50

Subset of React Router loader/action arguments consumed by @cfast/actions.

Mirrors the shape React Router passes to loader and action exports, trimmed to only the fields the actions system needs.

optional context: unknown

Defined in: packages/actions/src/types.ts:56

Optional context object (e.g., Cloudflare Workers env via context.cloudflare.env).


params: Record<string, string | undefined>

Defined in: packages/actions/src/types.ts:54

URL parameters from the route pattern (e.g., { postId: "abc" }).


request: Request

Defined in: packages/actions/src/types.ts:52

The incoming HTTP request.