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

17 lines
567 B
JavaScript
Raw Normal View History

2021-02-05 22:01:01 +01:00
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
2021-02-13 14:15:59 +01:00
exports.EmojiModel = exports.EmojiSchema = void 0;
const mongoose_1 = require("mongoose");
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],
});
exports.EmojiModel = mongoose_1.model("Emoji", exports.EmojiSchema, "emojis");
2021-02-05 22:01:01 +01:00
//# sourceMappingURL=Emoji.js.map