UNPKG

lincd

Version:

LINCD is a JavaScript library for building user interfaces with linked data (also known as 'structured data', or RDF)

20 lines 639 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DeleteQueryFactory = void 0; const MutationQuery_js_1 = require("./MutationQuery.js"); class DeleteQueryFactory extends MutationQuery_js_1.MutationQueryFactory { constructor(shapeClass, ids) { super(); this.shapeClass = shapeClass; this.ids = this.convertNodeReferences(ids); } getQueryObject() { return { type: 'delete', shape: this.shapeClass.shape, ids: this.ids, }; } } exports.DeleteQueryFactory = DeleteQueryFactory; //# sourceMappingURL=DeleteQuery.js.map