mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-10-23 03:31:56 +00:00
29 lines
473 B
TypeScript
29 lines
473 B
TypeScript
export type MenuProperties = {
|
|
tabs: TabData[];
|
|
activeTabIndex?: number;
|
|
enableMenu?: boolean;
|
|
};
|
|
|
|
export type NavigationItem =
|
|
| "General"
|
|
| "Network"
|
|
| "AddServer"
|
|
| "Organizations"
|
|
| "Shortcuts";
|
|
|
|
export type ServerConfig = {
|
|
url: string;
|
|
alias: string;
|
|
icon: string;
|
|
zulipVersion: string;
|
|
zulipFeatureLevel: number;
|
|
};
|
|
|
|
export type TabRole = "server" | "function";
|
|
|
|
export type TabData = {
|
|
role: TabRole;
|
|
name: string;
|
|
index: number;
|
|
};
|