1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-11 21:23:24 +01:00
server/dist/models/Role.js

20 lines
615 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.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,
2021-02-13 14:15:59 +01:00
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");
2021-02-05 22:01:01 +01:00
//# sourceMappingURL=Role.js.map