@creatio-devkit/common 0.806.0 → 0.806.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2966,31 +2966,31 @@ class Model extends BaseHandlerChainService {
2966
2966
  return new Model(crtModel);
2967
2967
  }
2968
2968
  getSchema() {
2969
- return this._crtModel.getSchema().toPromise();
2969
+ return this._crtModel._getAsyncResult(this._crtModel.getSchema());
2970
2970
  }
2971
2971
  load(config) {
2972
- return this._crtModel.load(config).toPromise();
2972
+ return this._crtModel._getAsyncResult(this._crtModel.load(config));
2973
2973
  }
2974
2974
  insert(dto) {
2975
- return this._crtModel.insert(dto).toPromise();
2975
+ return this._crtModel._getAsyncResult(this._crtModel.insert(dto));
2976
2976
  }
2977
2977
  update(dto, parameters) {
2978
- return this._crtModel.update(dto, parameters).toPromise();
2978
+ return this._crtModel._getAsyncResult(this._crtModel.update(dto, parameters));
2979
2979
  }
2980
2980
  copy(primaryColumnValue, data = {}) {
2981
- return this._crtModel.copy(primaryColumnValue, data).toPromise();
2981
+ return this._crtModel._getAsyncResult(this._crtModel.copy(primaryColumnValue, data));
2982
2982
  }
2983
2983
  create(data = {}) {
2984
- return this._crtModel.create(data).toPromise();
2984
+ return this._crtModel._getAsyncResult(this._crtModel.create(data));
2985
2985
  }
2986
2986
  delete(parameters) {
2987
- return this._crtModel.delete(parameters).toPromise();
2987
+ return this._crtModel._getAsyncResult(this._crtModel.delete(parameters));
2988
2988
  }
2989
2989
  canSave(params) {
2990
- return this._crtModel.canSave(params).toPromise();
2990
+ return this._crtModel._getAsyncResult(this._crtModel.canSave(params));
2991
2991
  }
2992
2992
  canDelete(params) {
2993
- return this._crtModel.canDelete(params).toPromise();
2993
+ return this._crtModel._getAsyncResult(this._crtModel.canDelete(params));
2994
2994
  }
2995
2995
  }
2996
2996
  __decorate([