cr-database/mongodb/Proclamation.js

44 lines
1.6 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 Proclamation {
}
tslib_1.__decorate([
(0, typegoose_1.prop)({ required: true }),
tslib_1.__metadata("design:type", String)
], Proclamation.prototype, "issuer", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)({ required: true }),
tslib_1.__metadata("design:type", String)
], Proclamation.prototype, "subject", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)({ required: true }),
tslib_1.__metadata("design:type", String)
], Proclamation.prototype, "body", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)({ required: true }),
tslib_1.__metadata("design:type", Number)
], Proclamation.prototype, "at", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)({ required: true, unique: true }),
tslib_1.__metadata("design:type", String)
], Proclamation.prototype, "oID", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)(),
tslib_1.__metadata("design:type", Object)
], Proclamation.prototype, "results", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)({ required: true, unique: true }),
tslib_1.__metadata("design:type", String)
], Proclamation.prototype, "msg", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)({ required: true }),
tslib_1.__metadata("design:type", Boolean)
], Proclamation.prototype, "processed", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)({ required: true }),
tslib_1.__metadata("design:type", Array)
], Proclamation.prototype, "votedDirectors", void 0);
exports.default = Proclamation;