2020-10-30 20:34:04 +00:00
|
|
|
// Copyright 2019-2020 Signal Messenger, LLC
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
2021-06-17 17:15:10 +00:00
|
|
|
import { actions as accounts } from './ducks/accounts';
|
2021-06-14 19:01:00 +00:00
|
|
|
import { actions as app } from './ducks/app';
|
2021-03-10 20:36:58 +00:00
|
|
|
import { actions as audioPlayer } from './ducks/audioPlayer';
|
2020-06-04 18:16:19 +00:00
|
|
|
import { actions as calling } from './ducks/calling';
|
2021-06-25 16:08:16 +00:00
|
|
|
import { actions as composer } from './ducks/composer';
|
2019-01-14 21:49:58 +00:00
|
|
|
import { actions as conversations } from './ducks/conversations';
|
2019-05-24 23:58:27 +00:00
|
|
|
import { actions as emojis } from './ducks/emojis';
|
2020-02-12 21:30:58 +00:00
|
|
|
import { actions as expiration } from './ducks/expiration';
|
2021-05-28 16:15:17 +00:00
|
|
|
import { actions as globalModals } from './ducks/globalModals';
|
2019-05-16 22:32:11 +00:00
|
|
|
import { actions as items } from './ducks/items';
|
2021-04-27 22:35:35 +00:00
|
|
|
import { actions as linkPreviews } from './ducks/linkPreviews';
|
2020-02-12 21:30:58 +00:00
|
|
|
import { actions as network } from './ducks/network';
|
2020-06-26 00:08:58 +00:00
|
|
|
import { actions as safetyNumber } from './ducks/safetyNumber';
|
2019-05-16 22:32:11 +00:00
|
|
|
import { actions as search } from './ducks/search';
|
|
|
|
import { actions as stickers } from './ducks/stickers';
|
2020-02-12 21:30:58 +00:00
|
|
|
import { actions as updates } from './ducks/updates';
|
2019-01-14 21:49:58 +00:00
|
|
|
import { actions as user } from './ducks/user';
|
2021-06-15 23:30:23 +00:00
|
|
|
import { ReduxActions } from './types';
|
|
|
|
|
|
|
|
export const actionCreators: ReduxActions = {
|
2021-06-17 17:15:10 +00:00
|
|
|
accounts,
|
2021-06-15 23:30:23 +00:00
|
|
|
app,
|
|
|
|
audioPlayer,
|
|
|
|
calling,
|
2021-06-25 16:08:16 +00:00
|
|
|
composer,
|
2021-06-15 23:30:23 +00:00
|
|
|
conversations,
|
|
|
|
emojis,
|
|
|
|
expiration,
|
|
|
|
globalModals,
|
|
|
|
items,
|
|
|
|
linkPreviews,
|
|
|
|
network,
|
|
|
|
safetyNumber,
|
|
|
|
search,
|
|
|
|
stickers,
|
|
|
|
updates,
|
|
|
|
user,
|
|
|
|
};
|
2019-01-14 21:49:58 +00:00
|
|
|
|
2019-05-16 22:32:11 +00:00
|
|
|
export const mapDispatchToProps = {
|
2021-06-17 17:15:10 +00:00
|
|
|
...accounts,
|
2021-06-14 19:01:00 +00:00
|
|
|
...app,
|
2021-03-10 20:36:58 +00:00
|
|
|
...audioPlayer,
|
2020-06-04 18:16:19 +00:00
|
|
|
...calling,
|
2021-06-25 16:08:16 +00:00
|
|
|
...composer,
|
2019-01-14 21:49:58 +00:00
|
|
|
...conversations,
|
2019-05-24 23:58:27 +00:00
|
|
|
...emojis,
|
2020-02-12 21:30:58 +00:00
|
|
|
...expiration,
|
2021-05-28 16:15:17 +00:00
|
|
|
...globalModals,
|
2019-05-16 22:32:11 +00:00
|
|
|
...items,
|
2021-04-27 22:35:35 +00:00
|
|
|
...linkPreviews,
|
2020-02-12 21:30:58 +00:00
|
|
|
...network,
|
2020-06-26 00:08:58 +00:00
|
|
|
...safetyNumber,
|
2019-05-16 22:32:11 +00:00
|
|
|
...search,
|
|
|
|
...stickers,
|
2020-02-12 21:30:58 +00:00
|
|
|
...updates,
|
2019-01-14 21:49:58 +00:00
|
|
|
...user,
|
|
|
|
};
|