feat(ui): hook for new user additional privilege

This commit is contained in:
Akhil Mohan
2024-03-28 19:54:00 +05:30
parent a5039494cd
commit edbe1c8eae
7 changed files with 168 additions and 0 deletions
+12
View File
@@ -76,6 +76,18 @@ export type TWorkspaceUser = {
};
inviteEmail: string;
organization: string;
additionalPrivileges: {
id: string;
name: string;
description: string | null | undefined;
slug: string;
temporaryRange: string | null | undefined;
temporaryMode: string | null | undefined;
temporaryAccessEndTime: string | null | undefined;
temporaryAccessStartTime: string | null | undefined;
isTemporary: boolean;
createdAt: string;
}[];
roles: {
id: string;
role: "owner" | "admin" | "member" | "no-access" | "custom";