You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Const object holding every Action value — use instead of raw strings
in can/cannot calls and rule definitions to get autocomplete and catch
typos at compile time.
Type Declaration
create
readonlycreate: "create"='create';
delete
readonlydelete: "delete"='delete';
manage
readonlymanage: "manage"='manage';
read
readonlyread: "read"='read';
update
readonlyupdate: "update"='update';
Remarks
The satisfies clause validates full coverage: TypeScript errors if Action
gains a new value and this object is not updated.