fix: event type make locations metadata and recurringEvent nullable and optional
This commit is contained in:
1 parent
c52045486d
commit
f55aaf3eaa
1 file changed
+2
-2
@@ -39,9 +39,9 @@ const schemaEventTypeBaseParams = z
|
||||
slug: z.string(),
|
||||
description: z.string().optional().nullable(),
|
||||
length: z.number().int(),
|
||||
locations: jsonSchema,
|
||||
locations: jsonSchema.optional().nullable().or(z.null()),
|
||||
metadata: jsonSchema.optional().nullable().or(z.null()),
|
||||
recurringEvent: jsonSchema,
|
||||
recurringEvent: jsonSchema.optional().nullable().or(z.null()),
|
||||
})
|
||||
.strict();
|
||||
|
||||
|
||||
Reference in new issue
Block a user