UNPKG

@dasch-swiss/dsp-js

Version:
34 lines 895 B
import { __decorate, __metadata } from "tslib"; import { JsonObject, JsonProperty } from 'json2typescript'; import { ListNode } from './list-node'; import { ListNodeInfo } from './list-node-info'; /** * Represents a list. * * @category Model Admin */ let List = class List { constructor() { /** * The child nodes of this list node. */ this.children = []; /** * Provides information about a list. */ this.listinfo = new ListNodeInfo(); } }; __decorate([ JsonProperty('children', [ListNode]), __metadata("design:type", Array) ], List.prototype, "children", void 0); __decorate([ JsonProperty('listinfo', ListNodeInfo), __metadata("design:type", ListNodeInfo) ], List.prototype, "listinfo", void 0); List = __decorate([ JsonObject('List') ], List); export { List }; //# sourceMappingURL=list.js.map