summary refs log tree commit diff
path: root/dist/models/Activity.js
diff options
context:
space:
mode:
authorxnacly <matteogropp@gmail.com>2021-04-08 15:56:11 +0200
committerxnacly <matteogropp@gmail.com>2021-04-08 15:56:11 +0200
commitf01fe1ba3ac22d33ecf61659d1f65c5ac1ba4e17 (patch)
tree1a3361f31dbbf700efb84513c95388cfbfb2e58f /dist/models/Activity.js
parentadded hasThrow (diff)
parent:bug: move dev dependencies to normal (diff)
downloadserver-f01fe1ba3ac22d33ecf61659d1f65c5ac1ba4e17.tar.xz
Merge branch 'main' of https://github.com/fosscord/fosscord-server-util
Diffstat (limited to 'dist/models/Activity.js')
-rw-r--r--dist/models/Activity.js50
1 files changed, 0 insertions, 50 deletions
diff --git a/dist/models/Activity.js b/dist/models/Activity.js
deleted file mode 100644

index fe85ac65..00000000 --- a/dist/models/Activity.js +++ /dev/null
@@ -1,50 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ActivityType = exports.Activity = void 0; -const mongoose_1 = require("mongoose"); -exports.Activity = { - name: String, - type: Number, - url: String, - created_at: Date, - 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"; - 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 \ No newline at end of file