feat: include org role in org session data (#14652)
* feat: include org role in org session data * update contents * remove: files
This commit is contained in:
1 parent
f6e45842fd
commit
dbbd78fb26
4 files changed
+65
-27
No files matched your search
@@ -1,6 +1,7 @@
|
||||
import { createContext, useContext, createElement } from "react";
|
||||
import type z from "zod";
|
||||
|
||||
import type { MembershipRole } from "@calcom/prisma/enums";
|
||||
import type { teamMetadataSchema } from "@calcom/prisma/zod-utils";
|
||||
|
||||
/**
|
||||
@@ -22,6 +23,7 @@ export type OrganizationBranding =
|
||||
fullDomain: string;
|
||||
/** cal.com */
|
||||
domainSuffix: string;
|
||||
role: MembershipRole;
|
||||
} & z.infer<typeof teamMetadataSchema>)
|
||||
| null
|
||||
| undefined;
|
||||
|
||||
Reference in new issue
Block a user