ActionsDefinition
Defined in: src/authorization/contract.ts:36
Input to defineActions.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
A extends string |
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
all |
readonly A[] |
Every action, in a stable order (role presets, docs, the UI). | src/authorization/contract.ts:38 |
mutating |
readonly A[] |
Actions that write state. They are blocked when the panel, or the roles provider, is readonly. Leave out actions that must keep working in a readonly panel (e.g. runtime metering). | src/authorization/contract.ts:44 |
portal? |
readonly A[] |
Actions a scoped (portal / viewer) token may be granted, when the product has such tokens. | src/authorization/contract.ts:46 |