Skip to content

Commit 6cdc3be

Browse files
committed
cleanup: remove notification store
1 parent 3913928 commit 6cdc3be

File tree

4 files changed

+0
-120
lines changed

4 files changed

+0
-120
lines changed

api/src/store/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import { dynamicRemoteAccessReducer } from '@app/store/modules/dynamic-remote-ac
88
import { dynamix } from '@app/store/modules/dynamix.js';
99
import { emhttp } from '@app/store/modules/emhttp.js';
1010
import { mothership } from '@app/store/modules/minigraph.js';
11-
import { notificationReducer } from '@app/store/modules/notifications.js';
1211
import { paths } from '@app/store/modules/paths.js';
1312
import { registration } from '@app/store/modules/registration.js';
1413
import { remoteGraphQLReducer } from '@app/store/modules/remote-graphql.js';
@@ -23,7 +22,6 @@ export const store = configureStore({
2322
emhttp: emhttp.reducer,
2423
registration: registration.reducer,
2524
remoteGraphQL: remoteGraphQLReducer,
26-
notifications: notificationReducer,
2725
cache: cache.reducer,
2826
docker: docker.reducer,
2927
upnp: upnp.reducer,
@@ -46,7 +44,6 @@ export const getters = {
4644
dynamix: () => store.getState().dynamix,
4745
emhttp: () => store.getState().emhttp,
4846
minigraph: () => store.getState().minigraph,
49-
notifications: () => store.getState().notifications,
5047
paths: () => store.getState().paths,
5148
registration: () => store.getState().registration,
5249
remoteGraphQL: () => store.getState().remoteGraphQL,

api/src/store/listeners/notification-path-listener.ts

Lines changed: 0 additions & 21 deletions
This file was deleted.

api/src/store/modules/notifications.ts

Lines changed: 0 additions & 92 deletions
This file was deleted.

api/src/store/store-sync.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ export const startStoreSync = async () => {
4141
join(state.paths.states, 'graphql.log'),
4242
JSON.stringify(state.minigraph, null, 2)
4343
);
44-
writeFileSync(
45-
join(state.paths.states, 'notifications.log'),
46-
JSON.stringify(state.notifications, null, 2)
47-
);
4844
}
4945

5046
lastState = state;

0 commit comments

Comments
 (0)