Skip to content

ActionsDefinitionResult

Defined in: src/authorization/contract.ts:50

What defineActions returns.

Type Parameter
A extends string
Property Type Description Defined in
ALL_ACTIONS readonly A[] Every action, in the order given. src/authorization/contract.ts:52
isMutatingAction (action) => boolean True if action writes state. src/authorization/contract.ts:56
MUTATING_ACTIONS ReadonlySet<A> The mutating actions. src/authorization/contract.ts:54
PORTAL_ACTIONS readonly A[] The actions a scoped token may be granted (empty when portal is not given). src/authorization/contract.ts:58