summary refs log tree commit diff
path: root/dist/models/Role.js
blob: 9a0d09322b7969786ec20808e04ed47f9f52660c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
"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,
    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