r2-shared-js
Version:
Readium 2 'shared' for NodeJS (TypeScript)
28 lines • 1.32 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.BelongsTo = void 0;
const tslib_1 = require("tslib");
const ta_json_x_1 = require("ta-json-x");
const metadata_contributor_1 = require("./metadata-contributor");
const metadata_contributor_json_converter_1 = require("./metadata-contributor-json-converter");
const SERIES_JSON_PROP = "series";
const COLLECTION_JSON_PROP = "collection";
let BelongsTo = class BelongsTo {
};
exports.BelongsTo = BelongsTo;
tslib_1.__decorate([
(0, ta_json_x_1.JsonProperty)(SERIES_JSON_PROP),
(0, ta_json_x_1.JsonElementType)(metadata_contributor_1.Contributor),
(0, ta_json_x_1.JsonConverter)(metadata_contributor_json_converter_1.JsonContributorConverter),
tslib_1.__metadata("design:type", Array)
], BelongsTo.prototype, "Series", void 0);
tslib_1.__decorate([
(0, ta_json_x_1.JsonProperty)(COLLECTION_JSON_PROP),
(0, ta_json_x_1.JsonElementType)(metadata_contributor_1.Contributor),
(0, ta_json_x_1.JsonConverter)(metadata_contributor_json_converter_1.JsonContributorConverter),
tslib_1.__metadata("design:type", Array)
], BelongsTo.prototype, "Collection", void 0);
exports.BelongsTo = BelongsTo = tslib_1.__decorate([
(0, ta_json_x_1.JsonObject)()
], BelongsTo);
//# sourceMappingURL=metadata-belongsto.js.map