Room config

This commit is contained in:
2024-09-03 11:15:32 +02:00
parent 42796d7d3f
commit 5c89a07996
9 changed files with 375 additions and 46 deletions

View File

@@ -71,9 +71,34 @@ export const $CreateRoom = {
type: "string",
title: "Zulip Topic",
},
is_locked: {
type: "boolean",
title: "Is Locked",
},
room_mode: {
type: "string",
title: "Room Mode",
},
recording_type: {
type: "string",
title: "Recording Type",
},
recording_trigger: {
type: "string",
title: "Recording Trigger",
},
},
type: "object",
required: ["name", "zulip_auto_post", "zulip_stream", "zulip_topic"],
required: [
"name",
"zulip_auto_post",
"zulip_stream",
"zulip_topic",
"is_locked",
"room_mode",
"recording_type",
"recording_trigger",
],
title: "CreateRoom",
} as const;
@@ -667,6 +692,22 @@ export const $Room = {
type: "string",
title: "Zulip Topic",
},
is_locked: {
type: "boolean",
title: "Is Locked",
},
room_mode: {
type: "string",
title: "Room Mode",
},
recording_type: {
type: "string",
title: "Recording Type",
},
recording_trigger: {
type: "string",
title: "Recording Trigger",
},
},
type: "object",
required: [
@@ -677,6 +718,10 @@ export const $Room = {
"zulip_auto_post",
"zulip_stream",
"zulip_topic",
"is_locked",
"room_mode",
"recording_type",
"recording_trigger",
],
title: "Room",
} as const;
@@ -857,9 +902,34 @@ export const $UpdateRoom = {
type: "string",
title: "Zulip Topic",
},
is_locked: {
type: "boolean",
title: "Is Locked",
},
room_mode: {
type: "string",
title: "Room Mode",
},
recording_type: {
type: "string",
title: "Recording Type",
},
recording_trigger: {
type: "string",
title: "Recording Trigger",
},
},
type: "object",
required: ["name", "zulip_auto_post", "zulip_stream", "zulip_topic"],
required: [
"name",
"zulip_auto_post",
"zulip_stream",
"zulip_topic",
"is_locked",
"room_mode",
"recording_type",
"recording_trigger",
],
title: "UpdateRoom",
} as const;

View File

@@ -19,6 +19,10 @@ export type CreateRoom = {
zulip_auto_post: boolean;
zulip_stream: string;
zulip_topic: string;
is_locked: boolean;
room_mode: string;
recording_type: string;
recording_trigger: string;
};
export type CreateTranscript = {
@@ -132,6 +136,10 @@ export type Room = {
zulip_auto_post: boolean;
zulip_stream: string;
zulip_topic: string;
is_locked: boolean;
room_mode: string;
recording_type: string;
recording_trigger: string;
};
export type RtcOffer = {
@@ -176,6 +184,10 @@ export type UpdateRoom = {
zulip_auto_post: boolean;
zulip_stream: string;
zulip_topic: string;
is_locked: boolean;
room_mode: string;
recording_type: string;
recording_trigger: string;
};
export type UpdateTranscript = {