UNPKG

@kontent-ai/management-sdk

Version:
17 lines 539 B
import { BaseQuery } from '../base-query'; export class PatchQuery extends BaseQuery { constructor(config, queryService, action, data) { super(config, queryService); this.config = config; this.queryService = queryService; this.action = action; this.data = data; } toPromise() { return this.queryService.genericPatchResponseAsync(this.getUrl(), this.data, this.queryConfig); } getAction() { return this.action; } } //# sourceMappingURL=patch-query.class.js.map