Skip to content

Commit ead2947

Browse files
authored
[Multiple Datasource] Export DataSourcePluginRequestContext at top level for plugins to use (#6108)
* export context as top level Signed-off-by: Lu Yu <[email protected]> * add changelog Signed-off-by: Lu Yu <[email protected]> --------- Signed-off-by: Lu Yu <[email protected]>
1 parent 70bfdcf commit ead2947

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
2929
- [Multiple Datasource] Handle form values(request payload) if the selected type is available in the authentication registry ([#6049](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/6049))
3030
- [Multiple Datasource] Add Vega support to MDS by specifying a data source name in the Vega spec ([#5975](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/5975))
3131
- [Workspace] Consume workspace id in saved object client ([#6014](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/6014))
32+
- [Multiple Datasource] Export DataSourcePluginRequestContext at top level for plugins to use ([#6108](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/6108))
3233

3334
- [Workspace] Add delete saved objects by workspace functionality([#6013](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/6013))
3435

src/plugins/data_source/server/index.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,8 @@ export function plugin(initializerContext: PluginInitializerContext) {
2020
return new DataSourcePlugin(initializerContext);
2121
}
2222

23-
export { DataSourcePluginSetup, DataSourcePluginStart } from './types';
23+
export {
24+
DataSourcePluginSetup,
25+
DataSourcePluginStart,
26+
DataSourcePluginRequestContext,
27+
} from './types';

0 commit comments

Comments
 (0)