Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
user_topics: Add `AllVisibilityPolicies` to type.
Varun Singhd86e5eab78f7
diff --git a/web/src/user_topics.ts b/web/src/user_topics.tsindex b9c6846fe4b..b535b20bc96 100644--- a/web/src/user_topics.ts+++ b/web/src/user_topics.ts@@ -18,6 +18,13 @@ import {get_time_from_date_muted} from "./util";export type ServerUserTopic = z.infer<typeof user_topic_schema>;+export type AllVisibilityPolicies = {+ INHERIT: 0;+ MUTED: 1;+ UNMUTED: 2;+ FOLLOWED: 3;+};+export type UserTopic = {stream_id: number;stream: string;@@ -41,7 +48,7 @@ export const all_visibility_policies = {MUTED: 1,UNMUTED: 2,FOLLOWED: 3,-};+} as const;export function update_user_topics(stream_id: number,