Chore: Remove deprecated dashboardId from panel query runner (#64786)
This commit is contained in:
@@ -43,7 +43,7 @@ export class AnnotationChangeEvent extends BusEventWithPayload<Partial<Annotatio
|
||||
|
||||
// Loaded the first time a dashboard is loaded (not on every render)
|
||||
export type DashboardLoadedEventPayload<T> = {
|
||||
dashboardId: string;
|
||||
dashboardId: string; // eeep, this should be UID
|
||||
orgId?: number;
|
||||
userId?: number;
|
||||
grafanaVersion?: string;
|
||||
|
||||
@@ -514,8 +514,6 @@ export interface DataQueryRequest<TQuery extends DataQuery = DataQuery> {
|
||||
rangeRaw?: RawTimeRange;
|
||||
timeInfo?: string; // The query time description (blue text in the upper right)
|
||||
panelId?: number;
|
||||
/** @deprecate */
|
||||
dashboardId?: number;
|
||||
dashboardUID?: string;
|
||||
publicDashboardAccessToken?: string;
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ export interface QueryRunnerOptions {
|
||||
datasource: DataSourceRef | DataSourceApi | null;
|
||||
queries: DataQuery[];
|
||||
panelId?: number;
|
||||
dashboardId?: number;
|
||||
dashboardUID?: string;
|
||||
timezone: TimeZone;
|
||||
timeRange: TimeRange;
|
||||
timeInfo?: string; // String description of time range for display
|
||||
|
||||
@@ -9,6 +9,7 @@ import { EchoEvent, EchoEventType } from '../services/EchoSrv';
|
||||
* @public
|
||||
*/
|
||||
export interface DashboardInfo {
|
||||
/** @deprecated -- use UID not internal ID */
|
||||
dashboardId: number;
|
||||
dashboardUid: string;
|
||||
dashboardName: string;
|
||||
|
||||
Reference in New Issue
Block a user