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,
|
2021-04-06 03:56:19 +02:00
|
|
|
$url: String,
|
|
|
|
$created_at: Date,
|
|
|
|
$timestamps: [
|
2021-02-13 14:15:59 +01:00
|
|
|
{
|
2021-04-06 03:56:19 +02:00
|
|
|
$start: Number,
|
|
|
|
$end: Number,
|
2021-02-13 14:15:59 +01:00
|
|
|
},
|
|
|
|
],
|
2021-04-06 03:56:19 +02:00
|
|
|
$application_id: mongoose_1.Types.Long,
|
|
|
|
$details: String,
|
|
|
|
$state: String,
|
|
|
|
$emoji: {
|
|
|
|
$name: String,
|
|
|
|
$id: mongoose_1.Types.Long,
|
|
|
|
$amimated: Boolean,
|
2021-02-13 14:15:59 +01:00
|
|
|
},
|
2021-04-06 03:56:19 +02:00
|
|
|
$party: {
|
|
|
|
$id: String,
|
|
|
|
$size: [Number, Number],
|
2021-02-13 14:15:59 +01:00
|
|
|
},
|
2021-04-06 03:56:19 +02:00
|
|
|
$assets: {
|
|
|
|
$large_image: String,
|
|
|
|
$large_text: String,
|
|
|
|
$small_image: String,
|
|
|
|
$small_text: String,
|
2021-02-13 14:15:59 +01:00
|
|
|
},
|
2021-04-06 03:56:19 +02:00
|
|
|
$secrets: {
|
|
|
|
$join: String,
|
|
|
|
$spectate: String,
|
|
|
|
$match: String,
|
2021-02-13 14:15:59 +01:00
|
|
|
},
|
2021-04-06 03:56:19 +02:00
|
|
|
$instance: Boolean,
|
|
|
|
$flags: mongoose_1.Types.Long,
|
2021-02-13 14:15:59 +01:00
|
|
|
};
|
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
|