Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/compass-aggregations/src/modules/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,10 @@ const rootReducer = combineReducers({
export type RootState = ReturnType<typeof rootReducer>;

export type PipelineBuilderExtraArgs = {
globalAppRegistry: AppRegistry;
localAppRegistry: AppRegistry;
globalAppRegistry: Pick<AppRegistry, 'on' | 'emit' | 'removeListener'>;
localAppRegistry: Pick<AppRegistry, 'on' | 'emit' | 'removeListener'>;
pipelineBuilder: PipelineBuilder;
pipelineStorage: PipelineStorage;
pipelineStorage: PipelineStorage | undefined;
workspaces: WorkspacesService;
preferences: PreferencesAccess;
logger: Logger;
Expand Down
5 changes: 2 additions & 3 deletions packages/compass-aggregations/src/stores/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,7 @@ export function activateAggregationsPlugin(

const stagesIdAndType = mapStoreStagesToStageIdAndType(stages);

const store: Store<RootState> & {
dispatch: PipelineBuilderThunkDispatch;
} = createStore(
const store = createStore(
reducer,
{
// TODO: move this to thunk extra arg
Expand Down Expand Up @@ -189,6 +187,7 @@ export function activateAggregationsPlugin(
atlasAiService,
connectionInfoRef,
connectionScopedAppRegistry,
dataService,
})
)
);
Expand Down
Loading