ClientDescriptor
ClientDescriptor =
object
Defined in: packages/actions/src/types.ts:142
An opaque descriptor passed to the client to configure the useActions hook.
Created by ActionDefinition.client or ComposedActions.client. Contains the action names and the key used to read permission data from loader results.
Properties
Section titled “Properties”_brand
Section titled “_brand”_brand:
"ActionClientDescriptor"
Defined in: packages/actions/src/types.ts:144
Brand field to distinguish this type at the type level.
actionNames
Section titled “actionNames”actionNames: readonly
string[]
Defined in: packages/actions/src/types.ts:146
The list of action names this descriptor covers.
permissionsKey
Section titled “permissionsKey”permissionsKey:
string
Defined in: packages/actions/src/types.ts:148
The loader-data key where ActionPermissionsMap is stored.