Plugins: Remove dataFormats key and add skipDataQuery (#16984)

This commit is contained in:
Ryan McKinley
2019-05-09 22:46:14 -07:00
committed by Torkel Ödegaard
parent 4a9aff0b00
commit 56702902a1
21 changed files with 21 additions and 53 deletions

View File

@@ -7,18 +7,9 @@ import { PluginMeta, GrafanaPlugin } from './plugin';
export type InterpolateFunction = (value: string, scopedVars?: ScopedVars, format?: string | Function) => string;
export interface PanelPluginMeta extends PluginMeta {
skipDataQuery?: boolean;
hideFromList?: boolean;
sort: number;
// if length>0 the query tab will show up
// Before 6.2 this could be table and/or series, but 6.2+ supports both transparently
// so it will be deprecated soon
dataFormats?: PanelDataFormat[];
}
export enum PanelDataFormat {
Table = 'table',
TimeSeries = 'time_series',
}
export interface PanelData {