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({
95
95
export type RootState = ReturnType < typeof rootReducer > ;
96
96
97
97
export type PipelineBuilderExtraArgs = {
98
- globalAppRegistry : AppRegistry ;
99
- localAppRegistry : AppRegistry ;
98
+ globalAppRegistry : Pick < AppRegistry , 'on' | 'emit' | 'removeListener' > ;
99
+ localAppRegistry : Pick < AppRegistry , 'on' | 'emit' | 'removeListener' > ;
100
100
pipelineBuilder : PipelineBuilder ;
101
- pipelineStorage : PipelineStorage ;
101
+ pipelineStorage : PipelineStorage | undefined ;
102
102
workspaces : WorkspacesService ;
103
103
preferences : PreferencesAccess ;
104
104
logger : Logger ;
Original file line number Diff line number Diff line change @@ -135,9 +135,7 @@ export function activateAggregationsPlugin(
135
135
136
136
const stagesIdAndType = mapStoreStagesToStageIdAndType ( stages ) ;
137
137
138
- const store : Store < RootState > & {
139
- dispatch : PipelineBuilderThunkDispatch ;
140
- } = createStore (
138
+ const store = createStore (
141
139
reducer ,
142
140
{
143
141
// TODO: move this to thunk extra arg
@@ -189,6 +187,7 @@ export function activateAggregationsPlugin(
189
187
atlasAiService,
190
188
connectionInfoRef,
191
189
connectionScopedAppRegistry,
190
+ dataService,
192
191
} )
193
192
)
194
193
) ;
You can’t perform that action at this time.
0 commit comments