fix: post / patch attendees docs w examples
This commit is contained in:
1 parent
14e2964a6d
commit
e52af0bbef
55 files changed
+246
-233
No files matched your search
@@ -0,0 +1,5 @@
|
||||
import * as tzdb 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));
|
||||
Reference in new issue
Block a user