2021-02-11 20:44:26 +01:00
|
|
|
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
2021-02-13 14:15:59 +01:00
|
|
|
exports.ActivityType = exports.Activity = void 0;
|
|
|
|
const mongoose_1 = require("mongoose");
|
|
|
|
exports.Activity = {
|
|
|
|
name: String,
|
|
|
|
type: Number,
|
|
|
|
url: String,
|
2021-03-08 18:41:31 +01:00
|
|
|
created_at: Date,
|
2021-02-13 14:15:59 +01:00
|
|
|
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,
|
|
|
|
};
|
2021-02-11 20:44:26 +01:00
|
|
|
var ActivityType;
|
|
|
|
(function (ActivityType) {
|
|
|
|
ActivityType[ActivityType["GAME"] = 0] = "GAME";
|
|
|
|
ActivityType[ActivityType["STREAMING"] = 1] = "STREAMING";
|
|
|
|
ActivityType[ActivityType["LISTENING"] = 2] = "LISTENING";
|
|
|
|
ActivityType[ActivityType["CUSTOM"] = 4] = "CUSTOM";
|
|
|
|
ActivityType[ActivityType["COMPETING"] = 5] = "COMPETING";
|
|
|
|
})(ActivityType = exports.ActivityType || (exports.ActivityType = {}));
|
|
|
|
//# sourceMappingURL=Activity.js.map
|