cr-database/mongodb/Score.js

64 lines
2.2 KiB
JavaScript
Raw Permalink Normal View History

2023-02-11 21:03:39 -05:00
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const typegoose_1 = require("@typegoose/typegoose");
class Score {
}
tslib_1.__decorate([
(0, typegoose_1.prop)({ required: true }),
tslib_1.__metadata("design:type", String)
], Score.prototype, "userID", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)({ required: true }),
tslib_1.__metadata("design:type", Number)
], Score.prototype, "total", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)({ required: true }),
tslib_1.__metadata("design:type", Number)
], Score.prototype, "activity", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)({ required: true }),
tslib_1.__metadata("design:type", Number)
], Score.prototype, "roles", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)({ required: true }),
tslib_1.__metadata("design:type", Number)
], Score.prototype, "moderation", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)({ required: true }),
tslib_1.__metadata("design:type", Number)
], Score.prototype, "cloudServices", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)({ required: true }),
tslib_1.__metadata("design:type", Number)
], Score.prototype, "staff", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)({ required: true }),
tslib_1.__metadata("design:type", Number)
], Score.prototype, "other", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)(),
tslib_1.__metadata("design:type", Boolean)
], Score.prototype, "notify", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)(),
tslib_1.__metadata("design:type", Boolean)
], Score.prototype, "locked", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)({ default: [] }),
tslib_1.__metadata("design:type", Array)
], Score.prototype, "inquiries", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)({ default: [] }),
tslib_1.__metadata("design:type", Array)
], Score.prototype, "softInquiries", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)(),
tslib_1.__metadata("design:type", Date)
], Score.prototype, "lastUpdate", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)(),
tslib_1.__metadata("design:type", Array)
], Score.prototype, "pin", void 0);
exports.default = Score;