@yugabytedb/perf-advisor-ui 1.0.141 → 1.0.143

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.
@@ -56,6 +56,7 @@ export declare const getOperations: (metricMeasure: string, metricData: any, gra
56
56
  export declare const calculateDateDifference: (startDate: Date, endDate: Date) => number;
57
57
  export declare const applyClusterFilters: (filters: GraphFilters, details: Pick<ClusterDetails, 'cluster' | 'region' | 'zone' | 'node' | 'nodeType'>) => void;
58
58
  export declare const buildClusterUrlParams: (details: Pick<ClusterDetails, 'cluster' | 'region' | 'zone' | 'node' | 'nodeType'>) => URLSearchParams;
59
+ export declare const getApiErrorMessage: (error: unknown, fallback: string) => string;
59
60
  export type MetricTabResource = {
60
61
  readonly title: string;
61
62
  readonly name: string;
package/dist/index.d.ts CHANGED
@@ -3,6 +3,6 @@ export * from './common';
3
3
  export * from './helpers/config';
4
4
  export * from './helpers/constants';
5
5
  export * from './helpers/objectUtils';
6
- export { buildQueryDrilldownUrl } from './helpers/utils';
6
+ export { buildQueryDrilldownUrl, getApiErrorMessage } from './helpers/utils';
7
7
  export type { BuildQueryDrilldownUrlParams } from './helpers/utils';
8
8
  export * from './providers/YBThemeWrapper';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yugabytedb/perf-advisor-ui",
3
- "version": "1.0.141",
3
+ "version": "1.0.143",
4
4
  "type": "module",
5
5
  "main": "dist/esm/index.js",
6
6
  "module": "dist/esm/index.js",