summary refs log tree commit diff
path: root/dist/models/Activity.js
diff options
context:
space:
mode:
Diffstat (limited to 'dist/models/Activity.js')
-rw-r--r--dist/models/Activity.js40
1 files changed, 39 insertions, 1 deletions
diff --git a/dist/models/Activity.js b/dist/models/Activity.js

index ddb15100..33476880 100644 --- a/dist/models/Activity.js +++ b/dist/models/Activity.js
@@ -1,6 +1,44 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.ActivityType = void 0; +exports.ActivityType = exports.Activity = void 0; +const mongoose_1 = require("mongoose"); +exports.Activity = { + name: String, + type: Number, + url: String, + created_at: Number, + timestamps: [ + { + start: Number, + end: Number, + }, + ], + application_id: mongoose_1.Types.Long, + details: String, + state: String, + emoji: { + name: String, + id: mongoose_1.Types.Long, + amimated: Boolean, + }, + party: { + id: String, + size: [Number, Number], + }, + assets: { + large_image: String, + large_text: String, + small_image: String, + small_text: String, + }, + secrets: { + join: String, + spectate: String, + match: String, + }, + instance: Boolean, + flags: mongoose_1.Types.Long, +}; var ActivityType; (function (ActivityType) { ActivityType[ActivityType["GAME"] = 0] = "GAME";