summary refs log tree commit diff
path: root/dist/Schema/Activity.js
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-05 22:01:01 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-05 22:01:01 +0100
commitea41892fef208b10c1bb322de7683c39ebab3dd5 (patch)
treef26559c73196591ac0338a21908a25c806276a7a /dist/Schema/Activity.js
parentMove Models/Schemas to server-util (diff)
downloadserver-ea41892fef208b10c1bb322de7683c39ebab3dd5.tar.xz
:wrench: build
Diffstat (limited to 'dist/Schema/Activity.js')
-rw-r--r--dist/Schema/Activity.js44
1 files changed, 44 insertions, 0 deletions
diff --git a/dist/Schema/Activity.js b/dist/Schema/Activity.js
new file mode 100644
index 00000000..cbca224c
--- /dev/null
+++ b/dist/Schema/Activity.js
@@ -0,0 +1,44 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.ActivitySchema = void 0;
+const Emoji_1 = require("./Emoji");
+exports.ActivitySchema = {
+    afk: Boolean,
+    status: String,
+    $activities: [
+        {
+            name: String,
+            type: Number,
+            $url: String,
+            $created_at: Number,
+            $timestamps: {
+                // unix timestamps for start and/or end of the game
+                start: Number,
+                end: Number,
+            },
+            $application_id: BigInt,
+            $details: String,
+            $State: String,
+            $emoji: Emoji_1.EmojiSchema,
+            $party: {
+                $id: String,
+                $size: [Number],
+            },
+            $assets: {
+                $large_image: String,
+                $large_text: String,
+                $small_image: String,
+                $small_text: String,
+            },
+            $secrets: {
+                $join: String,
+                $spectate: String,
+                $match: String,
+            },
+            $instance: Boolean,
+            flags: BigInt,
+        },
+    ],
+    $since: Number,
+};
+//# sourceMappingURL=Activity.js.map
\ No newline at end of file