feat: add operationId for autogenerated sdk
This commit is contained in:
1 parent
1f2b59c18d
commit
08eeb36d47
26 files changed
+323
-180
No files matched your search
@@ -1,5 +1,5 @@
|
||||
import * as tzdb from "tzdata";
|
||||
import tzdata from "tzdata";
|
||||
import * as z from "zod";
|
||||
|
||||
// @note: This is a custom validation that checks if the timezone is valid and exists in the tzdb library
|
||||
export const timeZone = z.string().refine((tz: string) => Object.keys(tzdb.zones).includes(tz));
|
||||
export const timeZone = z.string().refine((tz: string) => Object.keys(tzdata.zones).includes(tz));
|
||||
Reference in new issue
Block a user