fix: make max_participants optional (#15920)
This commit is contained in:
1 parent
e16662e655
commit
ba61731689
1 file changed
+11
-9
@@ -417,15 +417,17 @@ export const customInputSchema = z.object({
|
|||||||
|
|
||||||
export type CustomInputSchema = z.infer<typeof customInputSchema>;
|
export type CustomInputSchema = z.infer<typeof customInputSchema>;
|
||||||
|
|
||||||
export const recordingItemSchema = z.object({
|
export const recordingItemSchema = z
|
||||||
id: z.string(),
|
.object({
|
||||||
room_name: z.string(),
|
id: z.string(),
|
||||||
start_ts: z.number(),
|
room_name: z.string(),
|
||||||
status: z.string(),
|
start_ts: z.number(),
|
||||||
max_participants: z.number(),
|
status: z.string(),
|
||||||
duration: z.number(),
|
max_participants: z.number().optional(),
|
||||||
share_token: z.string(),
|
duration: z.number(),
|
||||||
});
|
share_token: z.string(),
|
||||||
|
})
|
||||||
|
.passthrough();
|
||||||
|
|
||||||
export const recordingItemsSchema = z.array(recordingItemSchema);
|
export const recordingItemsSchema = z.array(recordingItemSchema);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user