mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-27 23:27:57 +00:00
12 lines
354 B
TypeScript
12 lines
354 B
TypeScript
import axios from 'api';
|
|
import { AxiosResponse } from 'axios';
|
|
import {
|
|
QueryKeyRequestProps,
|
|
QueryKeySuggestionsResponseProps,
|
|
} from 'types/api/querySuggestions/types';
|
|
|
|
export const getKeySuggestions = (
|
|
props: QueryKeyRequestProps,
|
|
): Promise<AxiosResponse<QueryKeySuggestionsResponseProps>> =>
|
|
axios.get(`/fields/keys?signal=${props.signal}`);
|