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:
sean-brydon authored and GitHub committed 2024-04-19 12:32:04 +01:00
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;