File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
packages/compass-aggregations/src Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -95,10 +95,10 @@ const rootReducer = combineReducers({
9595export type RootState = ReturnType < typeof rootReducer > ;
9696
9797export type PipelineBuilderExtraArgs = {
98- globalAppRegistry : AppRegistry ;
99- localAppRegistry : AppRegistry ;
98+ globalAppRegistry : Pick < AppRegistry , 'on' | 'emit' | 'removeListener' > ;
99+ localAppRegistry : Pick < AppRegistry , 'on' | 'emit' | 'removeListener' > ;
100100 pipelineBuilder : PipelineBuilder ;
101- pipelineStorage : PipelineStorage ;
101+ pipelineStorage : PipelineStorage | undefined ;
102102 workspaces : WorkspacesService ;
103103 preferences : PreferencesAccess ;
104104 logger : Logger ;
Original file line number Diff line number Diff line change @@ -135,9 +135,7 @@ export function activateAggregationsPlugin(
135135
136136 const stagesIdAndType = mapStoreStagesToStageIdAndType ( stages ) ;
137137
138- const store : Store < RootState > & {
139- dispatch : PipelineBuilderThunkDispatch ;
140- } = createStore (
138+ const store = createStore (
141139 reducer ,
142140 {
143141 // TODO: move this to thunk extra arg
@@ -189,6 +187,7 @@ export function activateAggregationsPlugin(
189187 atlasAiService,
190188 connectionInfoRef,
191189 connectionScopedAppRegistry,
190+ dataService,
192191 } )
193192 )
194193 ) ;
You can’t perform that action at this time.
0 commit comments