24 lines
797 B
JavaScript
24 lines
797 B
JavaScript
|
"use strict";
|
||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
const tslib_1 = require("tslib");
|
||
|
const typegoose_1 = require("@typegoose/typegoose");
|
||
|
class Rank {
|
||
|
}
|
||
|
tslib_1.__decorate([
|
||
|
(0, typegoose_1.prop)({ required: true }),
|
||
|
tslib_1.__metadata("design:type", String)
|
||
|
], Rank.prototype, "name", void 0);
|
||
|
tslib_1.__decorate([
|
||
|
(0, typegoose_1.prop)({ required: true }),
|
||
|
tslib_1.__metadata("design:type", String)
|
||
|
], Rank.prototype, "roleID", void 0);
|
||
|
tslib_1.__decorate([
|
||
|
(0, typegoose_1.prop)({ default: [] }),
|
||
|
tslib_1.__metadata("design:type", Array)
|
||
|
], Rank.prototype, "permissions", void 0);
|
||
|
tslib_1.__decorate([
|
||
|
(0, typegoose_1.prop)(),
|
||
|
tslib_1.__metadata("design:type", String)
|
||
|
], Rank.prototype, "description", void 0);
|
||
|
exports.default = Rank;
|