repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
public Clawd ADK gateway launch mirror
stars
latest
clone command
git clone gitlawb://did:key:z6Mkq5mY...iFZ5/my-project-publ...git clone gitlawb://did:key:z6Mkq5mY.../my-project-publ...2fa351d6docs: add automaton and perps launch sources16d ago| #1 | import { configureStore } from '@reduxjs/toolkit'; |
| #2 | import memoriesReducer from './memoriesSlice'; |
| #3 | import profileReducer from './profileSlice'; |
| #4 | import appsReducer from './appsSlice'; |
| #5 | import uiReducer from './uiSlice'; |
| #6 | import filtersReducer from './filtersSlice'; |
| #7 | import configReducer from './configSlice'; |
| #8 | |
| #9 | export const store = configureStore({ |
| #10 | reducer: { |
| #11 | memories: memoriesReducer, |
| #12 | profile: profileReducer, |
| #13 | apps: appsReducer, |
| #14 | ui: uiReducer, |
| #15 | filters: filtersReducer, |
| #16 | config: configReducer, |
| #17 | }, |
| #18 | }); |
| #19 | |
| #20 | // Infer the `RootState` and `AppDispatch` types from the store itself |
| #21 | export type RootState = ReturnType<typeof store.getState>; |
| #22 | // Inferred type: {memories: MemoriesState, profile: ProfileState, apps: AppsState, ui: UIState, ...} |
| #23 | export type AppDispatch = typeof store.dispatch; |