@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.
- package/dist/api.d.ts +1 -1
- package/dist/components/PrimaryDashboard/DbLoadMetadata.d.ts +3 -2
- package/dist/components/PrimaryDashboard/DbStatsTable/useDatabaseStatsTable.d.ts +9 -2
- package/dist/components/SecondaryDashboard/Metadata/QueriesMetadata.d.ts +3 -2
- package/dist/esm/index.js +11526 -11455
- package/dist/esm/index.js.map +1 -1
- package/dist/helpers/utils.d.ts +1 -0
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/helpers/utils.d.ts
CHANGED
|
@@ -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';
|