ClientDescriptor
ClientDescriptor<
TNames> =object
Defined in: packages/actions/src/types.ts:244
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.
Type Parameters
Section titled “Type Parameters”TNames
Section titled “TNames”TNames extends readonly string[] = readonly string[]
Properties
Section titled “Properties”_brand
Section titled “_brand”_brand:
"ActionClientDescriptor"
Defined in: packages/actions/src/types.ts:246
Brand field to distinguish this type at the type level.
actionNames
Section titled “actionNames”actionNames:
TNames
Defined in: packages/actions/src/types.ts:248
The list of action names this descriptor covers.
permissionsKey
Section titled “permissionsKey”permissionsKey:
string
Defined in: packages/actions/src/types.ts:250
The loader-data key where ActionPermissionsMap is stored.