Skip to content

BatchCall

Defined in: types.ts:285

One call in a batch, dispatched by app.batch() through the full hook pipeline of the target service.

optional data?: unknown

Defined in: types.ts:290


optional id?: Id

Defined in: types.ts:289


method: "find" | "get" | "create" | "update" | "patch" | "remove"

Defined in: types.ts:288


optional params?: object

Defined in: types.ts:292

Per-call params. query uses the same shape as a parsed REST query string ($limit, $sort, where fields…).

optional query?: Record<string, unknown>


service: string

Defined in: types.ts:287

Registered service path, e.g. "users".