32 lines
1.1 KiB
JavaScript
32 lines
1.1 KiB
JavaScript
|
"use strict";
|
||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
const tslib_1 = require("tslib");
|
||
|
const typegoose_1 = require("@typegoose/typegoose");
|
||
|
class File {
|
||
|
}
|
||
|
tslib_1.__decorate([
|
||
|
(0, typegoose_1.prop)({ required: true }),
|
||
|
tslib_1.__metadata("design:type", String)
|
||
|
], File.prototype, "name", void 0);
|
||
|
tslib_1.__decorate([
|
||
|
(0, typegoose_1.prop)({ required: true }),
|
||
|
tslib_1.__metadata("design:type", String)
|
||
|
], File.prototype, "identifier", void 0);
|
||
|
tslib_1.__decorate([
|
||
|
(0, typegoose_1.prop)({ required: true }),
|
||
|
tslib_1.__metadata("design:type", String)
|
||
|
], File.prototype, "mimeType", void 0);
|
||
|
tslib_1.__decorate([
|
||
|
(0, typegoose_1.prop)({ required: true }),
|
||
|
tslib_1.__metadata("design:type", Buffer)
|
||
|
], File.prototype, "data", void 0);
|
||
|
tslib_1.__decorate([
|
||
|
(0, typegoose_1.prop)({ required: true }),
|
||
|
tslib_1.__metadata("design:type", Number)
|
||
|
], File.prototype, "downloaded", void 0);
|
||
|
tslib_1.__decorate([
|
||
|
(0, typegoose_1.prop)({ required: true }),
|
||
|
tslib_1.__metadata("design:type", Number)
|
||
|
], File.prototype, "maxDownloads", void 0);
|
||
|
exports.default = File;
|