@kontent-ai/management-sdk
Version:
Official Kontent.ai management SDK
21 lines • 780 B
JavaScript
;
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