fix: any
parent
e25d0d79a0
commit
c5dcf42807
|
@ -39,7 +39,7 @@ const schemaEventTypeCreateParams = 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().nullish(),
|
metadata: z.any().optional().nullable().nullish(),
|
||||||
recurringEvent: jsonSchema.optional().nullable().or(z.null()),
|
recurringEvent: jsonSchema.optional().nullable().or(z.null()),
|
||||||
})
|
})
|
||||||
.strict();
|
.strict();
|
||||||
|
@ -86,5 +86,5 @@ export const schemaEventTypeReadPublic = EventType.pick({
|
||||||
slotInterval: true,
|
slotInterval: true,
|
||||||
successRedirectUrl: true,
|
successRedirectUrl: true,
|
||||||
})
|
})
|
||||||
.merge(z.object({ metadata: jsonSchema.nullable().nullish() }))
|
.merge(z.object({ metadata: z.any().nullable().nullish() }))
|
||||||
.partial();
|
.partial();
|
||||||
|
|
Loading…
Reference in New Issue