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

20 lines
615 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RoleModel = exports.RoleSchema = void 0;
const mongoose_1 = require("mongoose");
exports.RoleSchema = new mongoose_1.Schema({
id: mongoose_1.Types.Long,
guild_id: mongoose_1.Types.Long,
color: Number,
hoist: Boolean,
managed: Boolean,
mentionable: Boolean,
name: String,
permissions: mongoose_1.Types.Long,
position: Number,
tags: {
bot_id: mongoose_1.Types.Long,
},
});
exports.RoleModel = mongoose_1.model("Role", exports.RoleSchema, "roles");
//# sourceMappingURL=Role.js.map