@rxap/xml-parser
Version:
Provides a set of decorators and services for parsing and serializing XML documents into TypeScript classes. It simplifies the process of mapping XML elements and attributes to class properties, handling data validation, and serializing objects back into
22 lines • 927 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DataSourceElement = void 0;
const tslib_1 = require("tslib");
const element_text_content_1 = require("../decorators/element-text-content");
const required_element_mixin_1 = require("../decorators/mixins/required-element.mixin");
const element_def_1 = require("../decorators/element-def");
let DataSourceElement = class DataSourceElement {
validate() {
return true;
}
};
exports.DataSourceElement = DataSourceElement;
tslib_1.__decorate([
(0, element_text_content_1.ElementTextContent)(),
(0, required_element_mixin_1.ElementRequired)(),
tslib_1.__metadata("design:type", String)
], DataSourceElement.prototype, "id", void 0);
exports.DataSourceElement = DataSourceElement = tslib_1.__decorate([
(0, element_def_1.ElementDef)('data-source')
], DataSourceElement);
//# sourceMappingURL=data-source.element.js.map