Pass testing status to the data source plugin extension (#69988)

This commit is contained in:
Jaroslav Benc
2023-06-14 13:18:24 +02:00
committed by GitHub
parent 91272ee4f9
commit 12cd99ae8d
3 changed files with 8 additions and 0 deletions
@@ -121,6 +121,12 @@ export type PluginExtensionDataSourceConfigContext<JsonData extends DataSourceJs
// Meta information about the datasource plugin
dataSourceMeta: DataSourcePluginMeta;
// Testing status
testingStatus?: {
message?: string | null;
status?: string | null;
};
// Can be used to update the `jsonData` field on the datasource
// (Only updates the form, it still needs to be saved by the user)
setJsonData: (jsonData: JsonData) => void;