Signal-Desktop/ts/state/types.ts

73 lines
3.1 KiB
TypeScript

// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import type { actions as accounts } from './ducks/accounts';
import type { actions as app } from './ducks/app';
import type { actions as audioPlayer } from './ducks/audioPlayer';
import type { actions as audioRecorder } from './ducks/audioRecorder';
import type { actions as badges } from './ducks/badges';
import type { actions as callHistory } from './ducks/callHistory';
import type { actions as calling } from './ducks/calling';
import type { actions as composer } from './ducks/composer';
import type { actions as conversations } from './ducks/conversations';
import type { actions as crashReports } from './ducks/crashReports';
import type { actions as donations } from './ducks/donations';
import type { actions as emojis } from './ducks/emojis';
import type { actions as expiration } from './ducks/expiration';
import type { actions as gifs } from './ducks/gifs';
import type { actions as globalModals } from './ducks/globalModals';
import type { actions as inbox } from './ducks/inbox';
import type { actions as installer } from './ducks/installer';
import type { actions as items } from './ducks/items';
import type { actions as lightbox } from './ducks/lightbox';
import type { actions as linkPreviews } from './ducks/linkPreviews';
import type { actions as mediaGallery } from './ducks/mediaGallery';
import type { actions as nav } from './ducks/nav';
import type { actions as network } from './ducks/network';
import type { actions as notificationProfiles } from './ducks/notificationProfiles';
import type { actions as safetyNumber } from './ducks/safetyNumber';
import type { actions as search } from './ducks/search';
import type { actions as stickers } from './ducks/stickers';
import type { actions as stories } from './ducks/stories';
import type { actions as storyDistributionLists } from './ducks/storyDistributionLists';
import type { actions as toast } from './ducks/toast';
import type { actions as updates } from './ducks/updates';
import type { actions as user } from './ducks/user';
import type { actions as username } from './ducks/username';
export type ReduxActions = {
accounts: typeof accounts;
app: typeof app;
audioPlayer: typeof audioPlayer;
audioRecorder: typeof audioRecorder;
badges: typeof badges;
callHistory: typeof callHistory;
calling: typeof calling;
composer: typeof composer;
conversations: typeof conversations;
crashReports: typeof crashReports;
donations: typeof donations;
emojis: typeof emojis;
expiration: typeof expiration;
gifs: typeof gifs;
globalModals: typeof globalModals;
inbox: typeof inbox;
installer: typeof installer;
items: typeof items;
lightbox: typeof lightbox;
linkPreviews: typeof linkPreviews;
mediaGallery: typeof mediaGallery;
nav: typeof nav;
network: typeof network;
notificationProfiles: typeof notificationProfiles;
safetyNumber: typeof safetyNumber;
search: typeof search;
stickers: typeof stickers;
stories: typeof stories;
storyDistributionLists: typeof storyDistributionLists;
toast: typeof toast;
updates: typeof updates;
user: typeof user;
username: typeof username;
};