mirror of
https://github.com/hanzoai/calendar.git
synced 2026-10-30 14:46:43 +00:00
10 lines
318 B
TypeScript
10 lines
318 B
TypeScript
import { z } from "zod";
|
|
|
|
export const ZUpdateSettingsSchema = z.object({
|
|
countryCode: z.string().nullable(),
|
|
// When changing country, optionally reset disabled holidays
|
|
resetDisabledHolidays: z.boolean().optional().default(true),
|
|
});
|
|
|
|
export type TUpdateSettingsSchema = z.infer<typeof ZUpdateSettingsSchema>;
|