2022-01-18 15:59:43 +00:00
|
|
|
// ACTIONS
|
2022-01-11 13:48:01 +00:00
|
|
|
import { TActionActiveUsers } from '../../actions/activeUsers';
|
2022-02-02 18:02:02 +00:00
|
|
|
import { TActionCreateChannel } from '../../actions/createChannel';
|
2022-01-13 20:22:57 +00:00
|
|
|
import { TActionCustomEmojis } from '../../actions/customEmojis';
|
2022-01-26 14:44:41 +00:00
|
|
|
import { TActionEncryption } from '../../actions/encryption';
|
2022-01-17 21:27:28 +00:00
|
|
|
import { TActionInviteLinks } from '../../actions/inviteLinks';
|
2022-01-17 18:16:24 +00:00
|
|
|
import { IActionRoles } from '../../actions/roles';
|
2022-01-17 21:27:28 +00:00
|
|
|
import { TActionSelectedUsers } from '../../actions/selectedUsers';
|
2022-02-02 17:46:05 +00:00
|
|
|
import { TActionServer } from '../../actions/server';
|
2022-01-14 21:03:16 +00:00
|
|
|
import { IActionSettings } from '../../actions/settings';
|
2022-02-02 17:46:05 +00:00
|
|
|
import { TActionsShare } from '../../actions/share';
|
2022-01-13 21:45:14 +00:00
|
|
|
import { TActionSortPreferences } from '../../actions/sortPreferences';
|
2022-01-26 16:44:06 +00:00
|
|
|
import { TActionUserTyping } from '../../actions/usersTyping';
|
2022-01-11 13:48:01 +00:00
|
|
|
// REDUCERS
|
|
|
|
import { IActiveUsers } from '../../reducers/activeUsers';
|
2022-02-02 17:46:05 +00:00
|
|
|
import { IConnect } from '../../reducers/connect';
|
2022-02-02 18:02:02 +00:00
|
|
|
import { ICreateChannel } from '../../reducers/createChannel';
|
2022-01-13 18:37:14 +00:00
|
|
|
import { IEncryption } from '../../reducers/encryption';
|
2022-01-17 21:27:28 +00:00
|
|
|
import { IInviteLinks } from '../../reducers/inviteLinks';
|
2022-01-17 18:29:37 +00:00
|
|
|
import { IRoles } from '../../reducers/roles';
|
2022-01-11 13:48:01 +00:00
|
|
|
import { ISelectedUsers } from '../../reducers/selectedUsers';
|
2022-01-18 15:59:43 +00:00
|
|
|
import { IServer } from '../../reducers/server';
|
2022-01-14 21:03:16 +00:00
|
|
|
import { ISettings } from '../../reducers/settings';
|
2022-02-02 17:46:05 +00:00
|
|
|
import { IShare } from '../../reducers/share';
|
2022-01-11 13:48:01 +00:00
|
|
|
|
|
|
|
export interface IApplicationState {
|
2022-01-14 21:03:16 +00:00
|
|
|
settings: ISettings;
|
2022-01-11 13:48:01 +00:00
|
|
|
login: any;
|
2022-01-12 20:08:45 +00:00
|
|
|
meteor: IConnect;
|
2022-01-18 15:59:43 +00:00
|
|
|
server: IServer;
|
2022-01-11 13:48:01 +00:00
|
|
|
selectedUsers: ISelectedUsers;
|
2022-02-02 18:02:02 +00:00
|
|
|
createChannel: ICreateChannel;
|
2022-01-11 13:48:01 +00:00
|
|
|
app: any;
|
|
|
|
room: any;
|
|
|
|
rooms: any;
|
|
|
|
sortPreferences: any;
|
2022-02-02 17:46:05 +00:00
|
|
|
share: IShare;
|
2022-01-11 13:48:01 +00:00
|
|
|
customEmojis: any;
|
|
|
|
activeUsers: IActiveUsers;
|
|
|
|
usersTyping: any;
|
2022-01-17 21:27:28 +00:00
|
|
|
inviteLinks: IInviteLinks;
|
2022-01-11 13:48:01 +00:00
|
|
|
createDiscussion: any;
|
|
|
|
inquiry: any;
|
|
|
|
enterpriseModules: any;
|
2022-01-13 18:37:14 +00:00
|
|
|
encryption: IEncryption;
|
2022-01-11 13:48:01 +00:00
|
|
|
permissions: any;
|
2022-01-17 18:29:37 +00:00
|
|
|
roles: IRoles;
|
2022-01-11 13:48:01 +00:00
|
|
|
}
|
2022-01-27 13:21:46 +00:00
|
|
|
|
2022-01-26 14:16:06 +00:00
|
|
|
export type TApplicationActions = TActionActiveUsers &
|
|
|
|
TActionSelectedUsers &
|
2022-01-26 14:44:41 +00:00
|
|
|
TActionCustomEmojis &
|
2022-01-26 14:16:06 +00:00
|
|
|
TActionInviteLinks &
|
|
|
|
IActionRoles &
|
|
|
|
IActionSettings &
|
2022-01-26 15:53:43 +00:00
|
|
|
TActionEncryption &
|
2022-01-26 16:44:06 +00:00
|
|
|
TActionSortPreferences &
|
2022-01-26 18:34:08 +00:00
|
|
|
TActionUserTyping &
|
2022-02-02 18:02:02 +00:00
|
|
|
TActionCreateChannel &
|
2022-02-02 17:46:05 +00:00
|
|
|
TActionsShare &
|
2022-01-26 14:16:06 +00:00
|
|
|
TActionServer;
|