14 lines
305 B
TypeScript
14 lines
305 B
TypeScript
export type Status = "idle" | "dnd" | "online" | "offline";
|
|
|
|
export interface ClientStatus {
|
|
desktop?: string; // e.g. Windows/Linux/Mac
|
|
mobile?: string; // e.g. iOS/Android
|
|
web?: string; // e.g. browser, bot account
|
|
}
|
|
|
|
export const ClientStatus = {
|
|
desktop: String,
|
|
mobile: String,
|
|
web: String,
|
|
};
|