r2-lcp-js
Version:
Readium 2 LCP bits for NodeJS (TypeScript)
36 lines • 1.27 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.LsdEvent = exports.TypeEnum = void 0;
const tslib_1 = require("tslib");
const ta_json_x_1 = require("ta-json-x");
var TypeEnum;
(function (TypeEnum) {
TypeEnum["Register"] = "register";
TypeEnum["Renew"] = "renew";
TypeEnum["Return"] = "return";
TypeEnum["Revoke"] = "revoke";
TypeEnum["Cancel"] = "cancel";
})(TypeEnum || (exports.TypeEnum = TypeEnum = {}));
let LsdEvent = class LsdEvent {
};
exports.LsdEvent = LsdEvent;
tslib_1.__decorate([
(0, ta_json_x_1.JsonProperty)("type"),
tslib_1.__metadata("design:type", String)
], LsdEvent.prototype, "Type", void 0);
tslib_1.__decorate([
(0, ta_json_x_1.JsonProperty)("name"),
tslib_1.__metadata("design:type", String)
], LsdEvent.prototype, "Name", void 0);
tslib_1.__decorate([
(0, ta_json_x_1.JsonProperty)("id"),
tslib_1.__metadata("design:type", String)
], LsdEvent.prototype, "ID", void 0);
tslib_1.__decorate([
(0, ta_json_x_1.JsonProperty)("timestamp"),
tslib_1.__metadata("design:type", Date)
], LsdEvent.prototype, "TimeStamp", void 0);
exports.LsdEvent = LsdEvent = tslib_1.__decorate([
(0, ta_json_x_1.JsonObject)()
], LsdEvent);
//# sourceMappingURL=lsd-event.js.map