From 0179d23af0c75ae9ab12b1114c8bc4daa80d72c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Thu, 11 Mar 2021 10:39:41 +0100 Subject: [PATCH] DataQueryRequest: Remove unused props (#31876) --- packages/grafana-data/src/types/datasource.ts | 6 ------ public/app/core/utils/explore.ts | 6 ------ 2 files changed, 12 deletions(-) diff --git a/packages/grafana-data/src/types/datasource.ts b/packages/grafana-data/src/types/datasource.ts index 6a7aff0487a..3f5e882bb62 100644 --- a/packages/grafana-data/src/types/datasource.ts +++ b/packages/grafana-data/src/types/datasource.ts @@ -487,7 +487,6 @@ export interface DataQueryRequest { 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 { // Explore state used by various datasources liveStreaming?: boolean; - /** - * @deprecated showingGraph and showingTable are always set to true - */ - showingGraph?: boolean; - showingTable?: boolean; } export interface DataQueryTimings { diff --git a/public/app/core/utils/explore.ts b/public/app/core/utils/explore.ts index fd2598657ee..6bdf4b0a8ed 100644 --- a/public/app/core/utils/explore.ts +++ b/public/app/core/utils/explore.ts @@ -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 {