Skip to content

QueryCallAction

QueryCallAction = QueryAction | string & object

Defined in: packages/core/src/api/types.ts:69

Actions a query-shaped call may check. (string & {}) keeps literal autocomplete.

NOT | DraftAction: QueryAction already carries readDrafts (the only query-shaped draft verb), so adding the full draft union would offer saveDraft/publish/unpublish - mutation verbs - in every query position.