Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

state_data: Add realm_bot_creation_policy type.

afeefuddin4b89d0ff068d
diff --git a/web/src/state_data.ts b/web/src/state_data.ts
index af90a2a4617..0d9c9720830 100644
--- a/web/src/state_data.ts
+++ b/web/src/state_data.ts
@@ -262,7 +262,7 @@ const realm_schema = z.object({
big_blue_button: z.optional(z.object({name: z.string(), id: z.number()})),
}),
realm_avatar_changes_disabled: z.boolean(),
- realm_bot_creation_policy: NOT_TYPED_YET,
+ realm_bot_creation_policy: z.number(),
realm_bot_domain: z.string(),
realm_can_access_all_users_group: z.number(),
realm_can_create_public_channel_group: z.number(),