grafana/public/app/plugins/datasource/influxdb/components/constants.ts
Gábor Farkas 3e59ae7e56
InfluxDB: Convert the InfluxQL query editor from Angular to React (#32168)
Co-authored-by: Giordano Ricci <me@giordanoricci.com>
2021-05-11 08:15:44 +02:00

11 lines
355 B
TypeScript

import { SelectableValue } from '@grafana/data';
import { ResultFormat } from '../types';
export const RESULT_FORMATS: Array<SelectableValue<ResultFormat>> = [
{ label: 'Time series', value: 'time_series' },
{ label: 'Table', value: 'table' },
{ label: 'Logs', value: 'logs' },
];
export const DEFAULT_RESULT_FORMAT: ResultFormat = 'time_series';