Spaces:
Sleeping
Sleeping
File size: 475 Bytes
05c5ed5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | export const RESOURCES = {
WORKFLOW: "workflow",
AGENT: "agent",
MCP: "mcp",
CHAT: "chat",
TEMPORARY_CHAT: "temporaryChat",
} as const;
export type Resource = (typeof RESOURCES)[keyof typeof RESOURCES];
export const PERMISSION_TYPES = {
CREATE: "create",
VIEW: "view",
UPDATE: "update",
DELETE: "delete",
SHARE: "share",
USE: "use",
LIST: "list",
} as const;
export type PermissionType =
(typeof PERMISSION_TYPES)[keyof typeof PERMISSION_TYPES];
|