fix: metadata nullish
parent
a70f80ff6d
commit
f3271f7724
|
@ -39,7 +39,7 @@ const schemaEventTypeBaseParams = z
|
||||||
description: z.string().optional().nullable(),
|
description: z.string().optional().nullable(),
|
||||||
length: z.number().int(),
|
length: z.number().int(),
|
||||||
locations: jsonSchema.optional().nullable().or(z.null()),
|
locations: jsonSchema.optional().nullable().or(z.null()),
|
||||||
metadata: jsonSchema.optional().nullable().or(z.null()),
|
metadata: jsonSchema.optional().nullish(),
|
||||||
recurringEvent: jsonSchema.optional().nullable().or(z.null()),
|
recurringEvent: jsonSchema.optional().nullable().or(z.null()),
|
||||||
})
|
})
|
||||||
.strict();
|
.strict();
|
||||||
|
|
Loading…
Reference in New Issue