UNPKG

schema2typebox

Version:

Creates typebox code from JSON schemas

11 lines (10 loc) 613 B
/** * ATTENTION. This code was AUTO GENERATED by schema2typebox. * While I don't know your use case, there is a high chance that direct changes * to this file get lost. Consider making changes to the underlying JSON schema * you use to generate this file instead. The default file is called * "schema.json", perhaps have a look there! :] */ import { Static } from "@sinclair/typebox"; export type DayOfWeek = Static<typeof DayOfWeek>; export declare const DayOfWeek: import("@sinclair/typebox").TUnsafe<"Friday" | "Monday" | "PublicHolidays" | "Saturday" | "Sunday" | "Thursday" | "Tuesday" | "Wednesday">;