Dataplane: Add typeVersion to data frame metadata (#61824)

This commit is contained in:
Brendan O'Handley 2023-02-03 12:54:26 -05:00 committed by GitHub
parent 20ec54f1f9
commit 061e6d556f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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<string, any>;
/** Stats */