Move all status/alert dialogs into the Left Pane
This commit is contained in:
parent
101070bf42
commit
18fd44f504
50 changed files with 1298 additions and 607 deletions
|
@ -10,11 +10,21 @@ import {
|
|||
EmojisStateType,
|
||||
reducer as emojis,
|
||||
} from './ducks/emojis';
|
||||
import {
|
||||
ExpirationActionType,
|
||||
ExpirationStateType,
|
||||
reducer as expiration,
|
||||
} from './ducks/expiration';
|
||||
import {
|
||||
ItemsActionType,
|
||||
ItemsStateType,
|
||||
reducer as items,
|
||||
} from './ducks/items';
|
||||
import {
|
||||
NetworkActionType,
|
||||
NetworkStateType,
|
||||
reducer as network,
|
||||
} from './ducks/network';
|
||||
import {
|
||||
reducer as search,
|
||||
SEARCH_TYPES as SearchActionType,
|
||||
|
@ -25,30 +35,44 @@ import {
|
|||
StickersActionType,
|
||||
StickersStateType,
|
||||
} from './ducks/stickers';
|
||||
import {
|
||||
reducer as updates,
|
||||
UpdatesActionType,
|
||||
UpdatesStateType,
|
||||
} from './ducks/updates';
|
||||
import { reducer as user, UserStateType } from './ducks/user';
|
||||
|
||||
export type StateType = {
|
||||
conversations: ConversationsStateType;
|
||||
emojis: EmojisStateType;
|
||||
expiration: ExpirationStateType;
|
||||
items: ItemsStateType;
|
||||
network: NetworkStateType;
|
||||
search: SearchStateType;
|
||||
stickers: StickersStateType;
|
||||
updates: UpdatesStateType;
|
||||
user: UserStateType;
|
||||
};
|
||||
|
||||
export type ActionsType =
|
||||
| EmojisActionType
|
||||
| ExpirationActionType
|
||||
| ConversationActionType
|
||||
| ItemsActionType
|
||||
| NetworkActionType
|
||||
| StickersActionType
|
||||
| SearchActionType;
|
||||
| SearchActionType
|
||||
| UpdatesActionType;
|
||||
|
||||
export const reducers = {
|
||||
conversations,
|
||||
emojis,
|
||||
expiration,
|
||||
items,
|
||||
network,
|
||||
search,
|
||||
stickers,
|
||||
updates,
|
||||
user,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue