* migrate trpc routers in app package to trpc package * delete * delete * delete * fix * fix * fix * format * format * fix * fix * fix * fix * remove unused file * fix * fix * wip
16 lines
463 B
TypeScript
16 lines
463 B
TypeScript
import z from "zod";
|
|
|
|
import { IncompleteBookingActionType } from "@calcom/prisma/enums";
|
|
|
|
export const ZSaveIncompleteBookingSettingsInputSchema = z.object({
|
|
formId: z.string(),
|
|
actionType: z.nativeEnum(IncompleteBookingActionType),
|
|
data: z.record(z.any()).optional(),
|
|
enabled: z.boolean(),
|
|
credentialId: z.number().optional(),
|
|
});
|
|
|
|
export type TSaveIncompleteBookingSettingsInputSchema = z.infer<
|
|
typeof ZSaveIncompleteBookingSettingsInputSchema
|
|
>;
|