2023-04-25 22:39:47 +00:00
|
|
|
import { z } from "zod";
|
|
|
|
|
|
|
|
export const ZUpdateInputSchema = z.object({
|
|
|
|
id: z.number(),
|
|
|
|
bio: z.string().optional(),
|
|
|
|
name: z.string().optional(),
|
|
|
|
logo: z.string().optional(),
|
|
|
|
slug: z.string().optional(),
|
|
|
|
hideBranding: z.boolean().optional(),
|
|
|
|
hideBookATeamMember: z.boolean().optional(),
|
2023-07-06 09:55:12 +00:00
|
|
|
isPrivate: z.boolean().optional(),
|
2023-04-25 22:39:47 +00:00
|
|
|
brandColor: z.string().optional(),
|
|
|
|
darkBrandColor: z.string().optional(),
|
|
|
|
theme: z.string().optional().nullable(),
|
|
|
|
});
|
|
|
|
|
|
|
|
export type TUpdateInputSchema = z.infer<typeof ZUpdateInputSchema>;
|