redux: move PersistenceRegistry to the redux feature
This commit is contained in:
parent
7646618e5a
commit
80d7e5fb7f
|
@ -11,11 +11,11 @@ import Thunk from 'redux-thunk';
|
|||
import { i18next } from '../../i18n';
|
||||
import {
|
||||
MiddlewareRegistry,
|
||||
PersistenceRegistry,
|
||||
ReducerRegistry,
|
||||
StateListenerRegistry
|
||||
} from '../../redux';
|
||||
import { SoundCollection } from '../../sounds';
|
||||
import { PersistenceRegistry } from '../../storage';
|
||||
import { appWillMount, appWillUnmount } from '../actions';
|
||||
import logger from '../logger';
|
||||
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
// @flow
|
||||
|
||||
import { APP_WILL_MOUNT } from '../app';
|
||||
import { ReducerRegistry } from '../redux';
|
||||
import { PersistenceRegistry } from '../storage';
|
||||
import { PersistenceRegistry, ReducerRegistry } from '../redux';
|
||||
|
||||
import { ADD_KNOWN_DOMAINS } from './actionTypes';
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
export * from './functions';
|
||||
export { default as MiddlewareRegistry } from './MiddlewareRegistry';
|
||||
export { default as PersistenceRegistry } from './PersistenceRegistry';
|
||||
export { default as ReducerRegistry } from './ReducerRegistry';
|
||||
export { default as StateListenerRegistry } from './StateListenerRegistry';
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
import _ from 'lodash';
|
||||
|
||||
import { MiddlewareRegistry, toState } from '../redux';
|
||||
|
||||
import MiddlewareRegistry from './MiddlewareRegistry';
|
||||
import PersistenceRegistry from './PersistenceRegistry';
|
||||
import { toState } from './functions';
|
||||
|
||||
/**
|
||||
* The delay in milliseconds that passes between the last state change and the
|
|
@ -6,8 +6,7 @@ import _ from 'lodash';
|
|||
|
||||
import { APP_WILL_MOUNT } from '../app';
|
||||
import { browser } from '../lib-jitsi-meet';
|
||||
import { ReducerRegistry } from '../redux';
|
||||
import { PersistenceRegistry } from '../storage';
|
||||
import { PersistenceRegistry, ReducerRegistry } from '../redux';
|
||||
import { assignIfDefined } from '../util';
|
||||
|
||||
import { SETTINGS_UPDATED } from './actionTypes';
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
export { default as PersistenceRegistry } from './PersistenceRegistry';
|
||||
|
||||
import './middleware';
|
|
@ -1,5 +0,0 @@
|
|||
// @flow
|
||||
|
||||
import { getLogger } from '../logging/functions';
|
||||
|
||||
export default getLogger('features/base/storage');
|
|
@ -1,7 +1,6 @@
|
|||
// @flow
|
||||
|
||||
import { ReducerRegistry, set } from '../base/redux';
|
||||
import { PersistenceRegistry } from '../base/storage';
|
||||
import { PersistenceRegistry, ReducerRegistry, set } from '../base/redux';
|
||||
|
||||
import {
|
||||
CLEAR_CALENDAR_INTEGRATION,
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
// @flow
|
||||
|
||||
import { ReducerRegistry } from '../base/redux';
|
||||
import { PersistenceRegistry } from '../base/storage';
|
||||
import { PersistenceRegistry, ReducerRegistry } from '../base/redux';
|
||||
|
||||
import { UPDATE_DROPBOX_TOKEN } from './actionTypes';
|
||||
|
||||
|
|
|
@ -4,8 +4,7 @@ import { jitsiLocalStorage } from 'js-utils';
|
|||
|
||||
import { APP_WILL_MOUNT } from '../base/app';
|
||||
import { getURLWithoutParamsNormalized } from '../base/connection';
|
||||
import { ReducerRegistry } from '../base/redux';
|
||||
import { PersistenceRegistry } from '../base/storage';
|
||||
import { PersistenceRegistry, ReducerRegistry } from '../base/redux';
|
||||
|
||||
import {
|
||||
_STORE_CURRENT_CONFERENCE,
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
// @flow
|
||||
|
||||
import { ReducerRegistry } from '../base/redux';
|
||||
import { PersistenceRegistry } from '../base/storage';
|
||||
import { PersistenceRegistry, ReducerRegistry } from '../base/redux';
|
||||
|
||||
import { SET_SCREENSHOT_CAPTURE } from './actionTypes';
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
// @flow
|
||||
|
||||
import { ReducerRegistry } from '../base/redux';
|
||||
import { PersistenceRegistry } from '../base/storage';
|
||||
import { PersistenceRegistry, ReducerRegistry } from '../base/redux';
|
||||
|
||||
import {
|
||||
SCREEN_SHARE_PARTICIPANTS_UPDATED,
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
// @flow
|
||||
|
||||
import { ReducerRegistry, set } from '../base/redux';
|
||||
import { PersistenceRegistry } from '../base/storage';
|
||||
import { PersistenceRegistry, ReducerRegistry, set } from '../base/redux';
|
||||
|
||||
import {
|
||||
SET_SIDEBAR_VISIBLE,
|
||||
|
|
Loading…
Reference in New Issue