Skip to content

CRUD_ACTIONS

const CRUD_ACTIONS: readonly CrudAction[]

Defined in: packages/permissions/src/types.ts:67

Readonly array of the four CRUD action strings, useful for iteration.

import { CRUD_ACTIONS } from "@cfast/permissions";
for (const action of CRUD_ACTIONS) {
console.log(action); // "read", "create", "update", "delete"
}