* feat: create new markNoShow endpoint * chore: add schema * chore: update name * chore: save progress * refactor: improve code and types * fix: unit test * chore: improvements * chore: move query to booking repository * fix: type error
9 lines
218 B
TypeScript
9 lines
218 B
TypeScript
import { z } from "zod";
|
|
|
|
export const ZMarkHostAsNoShowInputSchema = z.object({
|
|
bookingUid: z.string(),
|
|
noShowHost: z.boolean(),
|
|
});
|
|
|
|
export type TNoShowInputSchema = z.infer<typeof ZMarkHostAsNoShowInputSchema>;
|