DataQueryRequest: Remove unused props (#31876)

This commit is contained in:
Torkel Ödegaard 2021-03-11 10:39:41 +01:00 committed by GitHub
parent 31cc36dbb0
commit 0179d23af0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 12 deletions

View File

@ -487,7 +487,6 @@ export interface DataQueryRequest<TQuery extends DataQuery = DataQuery> {
app: CoreApp | string;
cacheTimeout?: string;
exploreMode?: ExploreMode;
rangeRaw?: RawTimeRange;
timeInfo?: string; // The query time description (blue text in the upper right)
panelId?: number;
@ -499,11 +498,6 @@ export interface DataQueryRequest<TQuery extends DataQuery = DataQuery> {
// Explore state used by various datasources
liveStreaming?: boolean;
/**
* @deprecated showingGraph and showingTable are always set to true
*/
showingGraph?: boolean;
showingTable?: boolean;
}
export interface DataQueryTimings {

View File

@ -156,13 +156,7 @@ export function buildQueryTransaction(
__interval_ms: { text: intervalMs, value: intervalMs },
},
maxDataPoints: queryOptions.maxDataPoints,
exploreMode: undefined,
liveStreaming: queryOptions.liveStreaming,
/**
* @deprecated (external API) showingGraph and showingTable are always set to true and set to true
*/
showingGraph: true,
showingTable: true,
};
return {