Commit 6bec36ea by Ryan McKinley Committed by Torkel Ödegaard

Fix: DatasourceApi query response typing fix (#16214)

parent 6b8e3122
import { TimeRange, RawTimeRange } from './time'; import { TimeRange, RawTimeRange } from './time';
import { PluginMeta } from './plugin'; import { PluginMeta } from './plugin';
import { TableData, TimeSeries } from './data'; import { TableData, TimeSeries, SeriesData } from './data';
export type DataQueryResponseData = TimeSeries | TableData | SeriesData | any;
export interface DataQueryResponse { export interface DataQueryResponse {
data: DataQueryResponseData; data: DataQueryResponseData[];
} }
export type DataQueryResponseData = TimeSeries[] | [TableData] | any;
export interface DataQuery { export interface DataQuery {
/** /**
* A - Z * A - Z
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment