From 061e6d556fd92ef497f2c0161718bf203e5dd94e Mon Sep 17 00:00:00 2001 From: Brendan O'Handley Date: Fri, 3 Feb 2023 12:54:26 -0500 Subject: [PATCH] Dataplane: Add typeVersion to data frame metadata (#61824) --- packages/grafana-data/src/types/data.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/grafana-data/src/types/data.ts b/packages/grafana-data/src/types/data.ts index 00bf7ae113f..0b647bc6eb1 100644 --- a/packages/grafana-data/src/types/data.ts +++ b/packages/grafana-data/src/types/data.ts @@ -38,7 +38,13 @@ export type PreferredVisualisationType = typeof preferredVisualizationTypes[numb export interface QueryResultMeta { type?: DataFrameType; - /** DataSource Specific Values */ + /** + * TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane + * contract documentation https://github.com/grafana/grafana-plugin-sdk-go/tree/main/data/contract_docs. + */ + typeVersion?: [number, number]; + + /** DatasSource Specific Values */ custom?: Record; /** Stats */