Files
2026-02-16 12:46:42 -03:00

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>;