mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-24 19:07:47 +00:00
* refactor: done with the download option for key-operation * refactor: added search option for key operation metrics * refactor: done with the download option for key-operation * refactor: added search option for key operation metrics * refactor: updated downloadable data * refactor: updated downloadable data for metrics key operation * refactor: updated the data * refactor: map with the correct value for export * refactor: updated downloabable data for metrics * refactor: updated the data for metrics * refactor: added safety check --------- Co-authored-by: Ankit Nayan <ankit@signoz.io>
20 lines
742 B
TypeScript
20 lines
742 B
TypeScript
import { TableProps } from 'antd';
|
|
import { ColumnsType } from 'antd/es/table';
|
|
import { DownloadOptions } from 'container/Download/Download.types';
|
|
import { RowData } from 'lib/query/createTableColumnsFromQuery';
|
|
import { ReactNode } from 'react';
|
|
import { Query } from 'types/api/queryBuilder/queryBuilderData';
|
|
import { QueryDataV3 } from 'types/api/widgets/getQuery';
|
|
|
|
export type QueryTableProps = Omit<
|
|
TableProps<RowData>,
|
|
'columns' | 'dataSource'
|
|
> & {
|
|
queryTableData: QueryDataV3[];
|
|
query: Query;
|
|
renderActionCell?: (record: RowData) => ReactNode;
|
|
modifyColumns?: (columns: ColumnsType<RowData>) => ColumnsType<RowData>;
|
|
renderColumnCell?: Record<string, (record: RowData) => ReactNode>;
|
|
downloadOption?: DownloadOptions;
|
|
};
|