feat: Toggle to hide Team Profile link on Booker (#20369)
* hide team profile link on booker * fix ts errors --------- Co-authored-by: amrit <[email protected]>
This commit is contained in:
1 parent
ea250febbc
commit
2aa583bb6d
9 files changed
+29
-3
No files matched your search
@@ -60,6 +60,7 @@ export const updateHandler = async ({ ctx, input }: UpdateOptions) => {
|
||||
hideBranding: input.hideBranding,
|
||||
isPrivate: input.isPrivate,
|
||||
hideBookATeamMember: input.hideBookATeamMember,
|
||||
hideTeamProfileLink: input.hideTeamProfileLink,
|
||||
brandColor: input.brandColor,
|
||||
darkBrandColor: input.darkBrandColor,
|
||||
theme: input.theme,
|
||||
|
||||
@@ -13,6 +13,7 @@ export type TUpdateInputSchema = {
|
||||
slug?: string;
|
||||
hideBranding?: boolean;
|
||||
hideBookATeamMember?: boolean;
|
||||
hideTeamProfileLink?: boolean;
|
||||
isPrivate?: boolean;
|
||||
brandColor?: string;
|
||||
darkBrandColor?: string;
|
||||
@@ -37,6 +38,7 @@ export const ZUpdateInputSchema: z.Schema<TUpdateInputSchema> = z.object({
|
||||
.optional(),
|
||||
hideBranding: z.boolean().optional(),
|
||||
hideBookATeamMember: z.boolean().optional(),
|
||||
hideTeamProfileLink: z.boolean().optional(),
|
||||
isPrivate: z.boolean().optional(),
|
||||
brandColor: z.string().optional(),
|
||||
darkBrandColor: z.string().optional(),
|
||||
|
||||
Reference in new issue
Block a user