UNPKG

@eristack/business-calendar

Version:

Business days and holidays on YYYY-MM-DD wall dates — no timestamp import in core

16 lines (15 loc) • 422 B
import { normalizeWallDate } from "../chunk-YHRRW3E4.js"; // src/zod/schemas.ts import { z } from "zod"; var wallDateSchema = z.string().transform((value) => normalizeWallDate(value)); var businessCalendarOptionsSchema = z.object({ weekendDays: z.array(z.number().int().min(0).max(6)), holidays: z.array(z.string()) }); export { businessCalendarOptionsSchema, wallDateSchema }; //# sourceMappingURL=index.js.map