mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-11 13:14:06 +01:00
22 lines
774 B
JavaScript
22 lines
774 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: { type: String, required: true },
|
|
animated: Boolean,
|
|
available: Boolean,
|
|
guild_id: String,
|
|
managed: Boolean,
|
|
name: String,
|
|
require_colons: Boolean,
|
|
url: String,
|
|
roles: [String],
|
|
});
|
|
// @ts-ignore
|
|
exports.EmojiModel = Database_1.default.model("Emoji", exports.EmojiSchema, "emojis");
|
|
//# sourceMappingURL=Emoji.js.map
|