mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-10-18 20:41:30 +08:00

* feat: add support for group by attribute in log details * feat: auto shift to qb from search on adding groupBY * feat: update icon and styles
23 lines
773 B
TypeScript
23 lines
773 B
TypeScript
import { DrawerProps } from 'antd';
|
|
import { AddToQueryHOCProps } from 'components/Logs/AddToQueryHOC';
|
|
import { ActionItemProps } from 'container/LogDetailedView/ActionItem';
|
|
import { IField } from 'types/api/logs/fields';
|
|
import { ILog } from 'types/api/logs/log';
|
|
import { DataTypes } from 'types/api/queryBuilder/queryAutocompleteResponse';
|
|
|
|
import { VIEWS } from './constants';
|
|
|
|
export type LogDetailProps = {
|
|
log: ILog | null;
|
|
selectedTab: VIEWS;
|
|
onGroupByAttribute?: (
|
|
fieldKey: string,
|
|
isJSON?: boolean,
|
|
dataType?: DataTypes,
|
|
) => Promise<void>;
|
|
isListViewPanel?: boolean;
|
|
listViewPanelSelectedFields?: IField[] | null;
|
|
} & Pick<AddToQueryHOCProps, 'onAddToQuery'> &
|
|
Partial<Pick<ActionItemProps, 'onClickActionItem'>> &
|
|
Pick<DrawerProps, 'onClose'>;
|