UNPKG

@dasch-swiss/dsp-js

Version:
70 lines 2.3 kB
import { __decorate, __metadata } from "tslib"; import { JsonObject, JsonProperty } from 'json2typescript'; import { Constants } from '../../../Constants'; import { IdConverter } from '../../../custom-converters/id-converter'; import { UpdateValue } from './update-value'; /** * @category Model V2 */ let UpdateTextValueAsString = class UpdateTextValueAsString extends UpdateValue { constructor() { super(Constants.TextValue); this.text = ''; } }; __decorate([ JsonProperty(Constants.ValueAsString, String), __metadata("design:type", Object) ], UpdateTextValueAsString.prototype, "text", void 0); UpdateTextValueAsString = __decorate([ JsonObject('UpdateTextValueAsString'), __metadata("design:paramtypes", []) ], UpdateTextValueAsString); export { UpdateTextValueAsString }; /** * @category Model V2 */ let UpdateTextValueAsXml = class UpdateTextValueAsXml extends UpdateValue { constructor() { super(Constants.TextValue); this.xml = ''; this.mapping = ''; } }; __decorate([ JsonProperty(Constants.TextValueAsXml, String), __metadata("design:type", Object) ], UpdateTextValueAsXml.prototype, "xml", void 0); __decorate([ JsonProperty(Constants.TextValueHasMapping, IdConverter), __metadata("design:type", Object) ], UpdateTextValueAsXml.prototype, "mapping", void 0); UpdateTextValueAsXml = __decorate([ JsonObject('UpdateTextValueAsXml'), __metadata("design:paramtypes", []) ], UpdateTextValueAsXml); export { UpdateTextValueAsXml }; /** * @category Model V2 */ let UpdateTextValueAsHtml = class UpdateTextValueAsHtml extends UpdateValue { constructor() { super(Constants.TextValue); this.html = ''; this.xml = ''; } }; __decorate([ JsonProperty(Constants.TextValueAsHtml, String, true), __metadata("design:type", Object) ], UpdateTextValueAsHtml.prototype, "html", void 0); __decorate([ JsonProperty(Constants.TextValueAsXml, String), __metadata("design:type", Object) ], UpdateTextValueAsHtml.prototype, "xml", void 0); UpdateTextValueAsHtml = __decorate([ JsonObject('UpdateTextValueAsHtml'), __metadata("design:paramtypes", []) ], UpdateTextValueAsHtml); export { UpdateTextValueAsHtml }; //# sourceMappingURL=update-text-value.js.map