Skip to content

CrudAction

CrudAction = "read" | "create" | "update" | "delete"

Defined in: packages/db/src/types.ts:19

The four CRUD actions used as keys in _can annotations.

Matches the CrudAction type from @cfast/permissions. Redefined here so @cfast/db does not import a runtime dependency from permissions just for a type alias.