1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-11 13:14:06 +01:00
server/dist/models/Emoji.js
2021-02-16 21:16:56 +01:00

22 lines
793 B
JavaScript

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.EmojiModel = exports.EmojiSchema = void 0;
const mongoose_1 = require("mongoose");
const Database_1 = __importDefault(require("../util/Database"));
exports.EmojiSchema = new mongoose_1.Schema({
id: mongoose_1.Types.Long,
animated: Boolean,
available: Boolean,
guild_id: mongoose_1.Types.Long,
managed: Boolean,
name: String,
require_colons: Boolean,
url: String,
roles: [mongoose_1.Types.Long],
});
// @ts-ignore
exports.EmojiModel = Database_1.default.model("Emoji", exports.EmojiSchema, "emojis");
//# sourceMappingURL=Emoji.js.map