feat: add PermissionInfo type for RBAC

This commit is contained in:
CREDO23 2025-12-15 13:20:47 +00:00
parent 34f0e4514c
commit 18917519e9

View file

@ -39,6 +39,13 @@ export const invite = z.object({
role: role.nullable().optional(),
});
export const permissionInfo = z.object({
value: z.string(),
name: z.string(),
category: z.string(),
});
export type Role = z.infer<typeof role>;
export type Membership = z.infer<typeof membership>;
export type Invite = z.infer<typeof invite>;
export type PermissionInfo = z.infer<typeof permissionInfo>;