@yugabytedb/perf-advisor-ui 1.0.166 → 1.0.167

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 CHANGED
@@ -118,6 +118,7 @@ declare class ApiService {
118
118
  fetchAnomalyDetectionStatus: (universeUuid: string, apiUrl?: string) => Promise<AnomalyDetectionStatus>;
119
119
  scheduleAnomalyDetectionStatus: (universeUuid: string, apiUrl?: string) => Promise<AnomalyDetectionStatus>;
120
120
  fetchExportConfigs: (apiUrl?: string) => Promise<ExportConfigData[]>;
121
+ createExportConfig: (config: ExportConfigData, apiUrl?: string) => Promise<ExportConfigData>;
121
122
  updateExportConfig: (config: ExportConfigData, apiUrl?: string) => Promise<ExportConfigData>;
122
123
  deleteExportConfig: (configUuid: string, apiUrl?: string) => Promise<any>;
123
124
  fetchRuntimeConfigs: (scopeUuid?: string, apiUrl?: string) => Promise<string[]>;
@@ -1,45 +1,27 @@
1
+ import { MUIDataTableMeta } from '@yugabyte-ui-library/core';
1
2
  import { ExportConfigData } from '../../helpers/dtos';
2
3
  interface ExportConfigColumnsParams {
4
+ rows: ExportConfigData[];
5
+ headerCellClassName?: string;
3
6
  onEdit: (data: ExportConfigData) => void;
4
7
  onDelete: (data: ExportConfigData) => void;
5
8
  isStandby: boolean;
6
9
  standbyDisabledTooltip: string;
7
10
  }
8
- export declare const exportConfigColumns: ({ onEdit, onDelete, isStandby, standbyDisabledTooltip }: ExportConfigColumnsParams) => ({
11
+ export declare const exportConfigColumns: ({ rows, headerCellClassName, onEdit, onDelete, isStandby, standbyDisabledTooltip }: ExportConfigColumnsParams) => {
9
12
  name: string;
10
13
  label: string;
11
14
  options: {
15
+ customBodyRender?: ((_value: unknown, tableMeta: MUIDataTableMeta) => JSX.Element | null) | undefined;
12
16
  filter: boolean;
13
17
  sort: boolean;
14
- customBodyRenderLite?: undefined;
15
- customBodyRender?: undefined;
18
+ customHeadRender: () => JSX.Element;
19
+ setCellHeaderProps: () => {
20
+ className: string | undefined;
21
+ style: {
22
+ width: string;
23
+ };
24
+ };
16
25
  };
17
- } | {
18
- name: string;
19
- label: string;
20
- options: {
21
- filter: boolean;
22
- sort: boolean;
23
- customBodyRenderLite: (index: number, data?: ExportConfigData[]) => JSX.Element;
24
- customBodyRender?: undefined;
25
- };
26
- } | {
27
- name: string;
28
- label: string;
29
- options: {
30
- filter: boolean;
31
- sort: boolean;
32
- customBodyRender: (auth: ExportConfigData['collectionAuth']) => string;
33
- customBodyRenderLite?: undefined;
34
- };
35
- } | {
36
- name: string;
37
- label: string;
38
- options: {
39
- filter: boolean;
40
- sort: boolean;
41
- customBodyRender: (included: boolean) => "Included" | "Not sent";
42
- customBodyRenderLite?: undefined;
43
- };
44
- })[];
26
+ }[];
45
27
  export {};