UNPKG

@kontent-ai/management-sdk

Version:
21 lines 780 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ModifyCustomAppQuery = void 0; const base_query_1 = require("../base-query"); class ModifyCustomAppQuery extends base_query_1.BaseQuery { constructor(config, queryService, identifier, data) { super(config, queryService); this.config = config; this.queryService = queryService; this.identifier = identifier; this.data = data; } toPromise() { return this.queryService.modifyCustomAppAsync(this.getUrl(), this.data, this.queryConfig); } getAction() { return this.apiEndpoints.modifyCustomApp(this.identifier); } } exports.ModifyCustomAppQuery = ModifyCustomAppQuery; //# sourceMappingURL=modify-custom-app-query.js.map