Feature: Basic notification options implementation

This commit is contained in:
Paul
2021-06-24 23:59:46 +01:00
parent 51ac1f599c
commit 21859e4c55
10 changed files with 173 additions and 25 deletions

View File

@@ -12,6 +12,7 @@ import { drafts, DraftAction } from "./drafts";
import { sync, SyncAction } from "./sync";
import { experiments, ExperimentsAction } from "./experiments";
import { lastOpened, LastOpenedAction } from "./last_opened";
import { notifications, NotificationsAction } from "./notifications";
export default combineReducers({
config,
@@ -24,7 +25,8 @@ export default combineReducers({
drafts,
sync,
experiments,
lastOpened
lastOpened,
notifications
});
export type Action =
@@ -39,6 +41,7 @@ export type Action =
| SyncAction
| ExperimentsAction
| LastOpenedAction
| NotificationsAction
| { type: "__INIT"; state: State };
export type WithDispatcher = { dispatcher: (action: Action) => void };