ActionsDefinitionResult
Defined in: src/authorization/contract.ts:50
What defineActions returns.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
A extends string |
Properties
Section titled “Properties”| 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 |