diff --git a/surfsense_web/contracts/types/rbac.types.ts b/surfsense_web/contracts/types/rbac.types.ts index aa664fa21..72a9dde4c 100644 --- a/surfsense_web/contracts/types/rbac.types.ts +++ b/surfsense_web/contracts/types/rbac.types.ts @@ -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; export type Membership = z.infer; export type Invite = z.infer; +export type PermissionInfo = z.infer;