@dasch-swiss/dsp-js
Version:
JavaScript library that handles API requests to Knora
43 lines • 1.77 kB
JavaScript
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { JsonObject, JsonProperty } from "json2typescript";
import { ListNode } from "./list-node";
import { ListNodeInfo } from "./list-node-info";
/**
* Represents a list.
*
* @category Model Admin
*/
var ListChildNode = /** @class */ (function () {
function ListChildNode() {
/**
* The child nodes of this list node.
*/
this.children = [];
/**
* Provides information about a list.
*/
this.nodeinfo = new ListNodeInfo();
}
__decorate([
JsonProperty("children", [ListNode]),
__metadata("design:type", Array)
], ListChildNode.prototype, "children", void 0);
__decorate([
JsonProperty("nodeinfo", ListNodeInfo),
__metadata("design:type", ListNodeInfo)
], ListChildNode.prototype, "nodeinfo", void 0);
ListChildNode = __decorate([
JsonObject("ListChildNode")
], ListChildNode);
return ListChildNode;
}());
export { ListChildNode };
//# sourceMappingURL=list-child-node.js.map