summary refs log tree commit diff
path: root/util/src/models/Status.ts
diff options
context:
space:
mode:
Diffstat (limited to 'util/src/models/Status.ts')
-rw-r--r--util/src/models/Status.ts13
1 files changed, 13 insertions, 0 deletions
diff --git a/util/src/models/Status.ts b/util/src/models/Status.ts
new file mode 100644
index 00000000..5a9bf2ca
--- /dev/null
+++ b/util/src/models/Status.ts
@@ -0,0 +1,13 @@
+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,
+};