* chore: Couple fixes to improve error reporting * tweak: Fix error message * refactor: Use findUniqueOrThrow instead of guard * fix: Broken test, missing ID - suspect it passes because only one record exists * chore: Minor refactor to split ZodEffect from ZodType * fix: Satify typescript
8 lines
210 B
TypeScript
8 lines
210 B
TypeScript
import type z from "zod";
|
|
|
|
import type { bookingCancelSchema } from "@calcom/prisma/zod-utils";
|
|
|
|
export function getMockRequestDataForCancelBooking(data: z.infer<typeof bookingCancelSchema>) {
|
|
return data;
|
|
}
|