cr-database/mongodb/Resolution.js

36 lines
1.3 KiB
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const typegoose_1 = require("@typegoose/typegoose");
class Resolution {
}
tslib_1.__decorate([
(0, typegoose_1.prop)({ required: true }),
tslib_1.__metadata("design:type", String)
], Resolution.prototype, "issuer", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)({ required: true }),
tslib_1.__metadata("design:type", String)
], Resolution.prototype, "subject", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)({ required: true }),
tslib_1.__metadata("design:type", String)
], Resolution.prototype, "body", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)({ required: true }),
tslib_1.__metadata("design:type", Number)
], Resolution.prototype, "at", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)({ required: true, unique: true }),
tslib_1.__metadata("design:type", String)
], Resolution.prototype, "oID", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)(),
tslib_1.__metadata("design:type", Object)
], Resolution.prototype, "results", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)({ required: true, unique: true }),
tslib_1.__metadata("design:type", String)
], Resolution.prototype, "msg", void 0);
exports.default = Resolution;