mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
DataQueryRequest: Remove unused props (#31876)
This commit is contained in:
@@ -487,7 +487,6 @@ export interface DataQueryRequest<TQuery extends DataQuery = DataQuery> {
|
|||||||
app: CoreApp | string;
|
app: CoreApp | string;
|
||||||
|
|
||||||
cacheTimeout?: string;
|
cacheTimeout?: string;
|
||||||
exploreMode?: ExploreMode;
|
|
||||||
rangeRaw?: RawTimeRange;
|
rangeRaw?: RawTimeRange;
|
||||||
timeInfo?: string; // The query time description (blue text in the upper right)
|
timeInfo?: string; // The query time description (blue text in the upper right)
|
||||||
panelId?: number;
|
panelId?: number;
|
||||||
@@ -499,11 +498,6 @@ export interface DataQueryRequest<TQuery extends DataQuery = DataQuery> {
|
|||||||
|
|
||||||
// Explore state used by various datasources
|
// Explore state used by various datasources
|
||||||
liveStreaming?: boolean;
|
liveStreaming?: boolean;
|
||||||
/**
|
|
||||||
* @deprecated showingGraph and showingTable are always set to true
|
|
||||||
*/
|
|
||||||
showingGraph?: boolean;
|
|
||||||
showingTable?: boolean;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface DataQueryTimings {
|
export interface DataQueryTimings {
|
||||||
|
@@ -156,13 +156,7 @@ export function buildQueryTransaction(
|
|||||||
__interval_ms: { text: intervalMs, value: intervalMs },
|
__interval_ms: { text: intervalMs, value: intervalMs },
|
||||||
},
|
},
|
||||||
maxDataPoints: queryOptions.maxDataPoints,
|
maxDataPoints: queryOptions.maxDataPoints,
|
||||||
exploreMode: undefined,
|
|
||||||
liveStreaming: queryOptions.liveStreaming,
|
liveStreaming: queryOptions.liveStreaming,
|
||||||
/**
|
|
||||||
* @deprecated (external API) showingGraph and showingTable are always set to true and set to true
|
|
||||||
*/
|
|
||||||
showingGraph: true,
|
|
||||||
showingTable: true,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
Reference in New Issue
Block a user