fix: any or null
This commit is contained in:
1 parent
8a62c3948d
commit
5072ac7d52
1 file changed
+1
-1
@@ -39,7 +39,7 @@ const schemaEventTypeBaseParams = z
|
||||
description: z.string().optional().nullable(),
|
||||
length: z.number().int(),
|
||||
locations: jsonSchema.optional().nullable().or(z.null()),
|
||||
metadata: z.null().or(jsonSchema),
|
||||
metadata: z.any().optional().nullable().or(z.null()),
|
||||
recurringEvent: jsonSchema.optional().nullable().or(z.null()),
|
||||
})
|
||||
.strict();
|
||||
|
||||
Reference in new issue
Block a user