Skip to content

Commit

Permalink
[Multiple Datasource] Export DataSourcePluginRequestContext at top le…
Browse files Browse the repository at this point in the history
…vel for plugins to use (opensearch-project#6108) (opensearch-project#6111)

* 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]>
(cherry picked from commit ead2947)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 2d95d45 commit 52e639f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/plugins/data_source/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,8 @@ export function plugin(initializerContext: PluginInitializerContext) {
return new DataSourcePlugin(initializerContext);
}

export { DataSourcePluginSetup, DataSourcePluginStart } from './types';
export {
DataSourcePluginSetup,
DataSourcePluginStart,
DataSourcePluginRequestContext,
} from './types';

0 comments on commit 52e639f

Please sign in to comment.