interface

AdminDocumentAction

interface AdminDocumentAction { ... }

An action rendered beside framework document actions.

Source packages/plugin/src/index.ts:60

keystring
The key value.
collectionstring
Omit to show the action for every non-global collection.
requireskeyof OperationCapabilities
Hide the action unless the evaluated document operation is allowed.
componentComponent<AdminDocumentExtensionProps, {}, string>
The component value.

Omit collection to target every non-global collection. requires hides the action unless the evaluated document capability is allowed.

Methods