1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-22 18:32:29 +01:00

fix(util): working invisible status type

This commit is contained in:
Nobody 2022-03-08 10:52:54 -03:00 committed by Erkin Alp Güney
parent 392d6b2a90
commit 4dc7ab3fde
2 changed files with 2 additions and 2 deletions

View File

@ -360,7 +360,7 @@ export interface UserSettings {
render_reactions: boolean; render_reactions: boolean;
restricted_guilds: string[]; restricted_guilds: string[];
show_current_game: boolean; show_current_game: boolean;
status: "online" | "offline" | "dnd" | "idle"; status: "online" | "offline" | "dnd" | "idle" | "invisible";
stream_notifications_enabled: boolean; stream_notifications_enabled: boolean;
theme: "dark" | "white"; // dark theme: "dark" | "white"; // dark
timezone_offset: number; // e.g -60 timezone_offset: number; // e.g -60

View File

@ -1,4 +1,4 @@
export type Status = "idle" | "dnd" | "online" | "offline"; export type Status = "idle" | "dnd" | "online" | "offline" | "invisible";
export interface ClientStatus { export interface ClientStatus {
desktop?: string; // e.g. Windows/Linux/Mac desktop?: string; // e.g. Windows/Linux/Mac