@meshmakers/octo-services 3.3.750 → 3.3.770

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.
@@ -4630,6 +4630,13 @@ class CkModelCatalogService {
4630
4630
  const r = await firstValueFrom(this.httpClient.post(url, body, { observe: 'response' }));
4631
4631
  return r.body;
4632
4632
  }
4633
+ async getMigrationHistory(tenantId, modelName) {
4634
+ if (!this.configurationService.config?.assetServices)
4635
+ return null;
4636
+ const url = `${this.configurationService.config.assetServices}${tenantId}/v1/models/${encodeURIComponent(modelName)}/MigrationHistory`;
4637
+ const r = await firstValueFrom(this.httpClient.get(url, { observe: 'response' }));
4638
+ return r.body;
4639
+ }
4633
4640
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: CkModelCatalogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
4634
4641
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: CkModelCatalogService, providedIn: 'root' });
4635
4642
  }