mirror of https://github.com/zulip/zulip.git
compose_fade: Remove duplicate `AllVisibilityPolicies` type.
This commit is contained in:
parent
51ff57f1bf
commit
3d6dcf8fe5
|
@ -10,15 +10,9 @@ import * as message_viewport from "./message_viewport";
|
|||
import * as people from "./people";
|
||||
import * as rows from "./rows";
|
||||
import type {TopicLink} from "./types";
|
||||
import type {AllVisibilityPolicies} from "./user_topics";
|
||||
import * as util from "./util";
|
||||
|
||||
type AllVisibilityPolicies = {
|
||||
INHERIT: 0;
|
||||
MUTED: 1;
|
||||
UNMUTED: 2;
|
||||
FOLLOWED: 3;
|
||||
};
|
||||
|
||||
// TODO/TypeScript: Move this to message_list_view.js when it's migrated to TypeScript.
|
||||
type MessageContainer = {
|
||||
background_color: string;
|
||||
|
|
|
@ -18,13 +18,6 @@ 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;
|
||||
|
@ -43,6 +36,13 @@ const all_user_topics = new Map<
|
|||
}>
|
||||
>();
|
||||
|
||||
export type AllVisibilityPolicies = {
|
||||
INHERIT: 0;
|
||||
MUTED: 1;
|
||||
UNMUTED: 2;
|
||||
FOLLOWED: 3;
|
||||
};
|
||||
|
||||
export const all_visibility_policies = {
|
||||
INHERIT: 0,
|
||||
MUTED: 1,
|
||||
|
|
Loading…
Reference in New Issue