Dashboards: Schema V2 - Rename Annotations 'options' to 'legacyOptions' and Fix stale props (#105266)
* Rename Annotations 'Options' to 'legacyOptions' * use new legacyOptions in StandardAnnotationQueryEditor * use new legacyOptions in transformSaveModelSchemaToScene * use legacyOptions in transformSceneToSaveModelSchemaV2 * Fix bug with ds query editors not taking the latest state * update snapshot
This commit is contained in:
@@ -1277,17 +1277,17 @@
|
||||
"type": "string",
|
||||
"default": ""
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"default": ""
|
||||
},
|
||||
"options": {
|
||||
"legacyOptions": {
|
||||
"description": "Catch-all field for datasource-specific properties",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"default": ""
|
||||
},
|
||||
"query": {
|
||||
"$ref": "#/components/schemas/com.github.grafana.grafana.apps.dashboard.pkg.apis.dashboard.v2alpha1.DashboardDataQueryKind"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user