|
|
@ -11,9 +11,9 @@ import * as Etebase from "etebase";
|
|
|
|
import { List, Map as ImmutableMap } from "immutable";
|
|
|
|
import { List, Map as ImmutableMap } from "immutable";
|
|
|
|
import {
|
|
|
|
import {
|
|
|
|
SettingsType,
|
|
|
|
SettingsType,
|
|
|
|
fetchCount, credentials, settingsReducer, encryptionKeyReducer, errorsReducer,
|
|
|
|
fetchCount, credentials, settingsReducer, encryptionKeyReducer, errorsReducer, messagesReducer,
|
|
|
|
syncGeneral, syncCollections, collections, items,
|
|
|
|
syncGeneral, syncCollections, collections, items,
|
|
|
|
SyncGeneralData, SyncCollectionsData, CacheCollectionsData, CacheItemsData, CredentialsData,
|
|
|
|
SyncGeneralData, SyncCollectionsData, CacheCollectionsData, CacheItemsData, CredentialsData, Message,
|
|
|
|
} from "./reducers";
|
|
|
|
} from "./reducers";
|
|
|
|
|
|
|
|
|
|
|
|
export interface StoreState {
|
|
|
|
export interface StoreState {
|
|
|
@ -30,6 +30,7 @@ export interface StoreState {
|
|
|
|
items: CacheItemsData;
|
|
|
|
items: CacheItemsData;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
errors: List<Error>;
|
|
|
|
errors: List<Error>;
|
|
|
|
|
|
|
|
messages: List<Message>;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const settingsMigrations = {
|
|
|
|
const settingsMigrations = {
|
|
|
@ -135,6 +136,7 @@ const reducers = combineReducers({
|
|
|
|
items,
|
|
|
|
items,
|
|
|
|
})),
|
|
|
|
})),
|
|
|
|
errors: errorsReducer,
|
|
|
|
errors: errorsReducer,
|
|
|
|
|
|
|
|
messages: messagesReducer,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
export default reducers;
|
|
|
|
export default reducers;
|
|
|
|