mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Plugins: Remove dataFormats key and add skipDataQuery (#16984)
This commit is contained in:
committed by
Torkel Ödegaard
parent
4a9aff0b00
commit
56702902a1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user