import { z } from 'zod'; export const ThreekitProps = z.object({ orgId: z.string().uuid(), host: z.string(), branch: z.string().optional() }); export type ThreekitProps = z.infer; export const ThreekitAuthProps = z.union([ z.object({ publicToken: z.string().uuid() }).merge(ThreekitProps), z.object({ privateToken: z.string().uuid() }).merge(ThreekitProps), z.object({ cookie: z.string().uuid() }).merge(ThreekitProps) ]); export type ThreekitAuthProps = z.infer;