2022-01-11 13:48:01 +00:00
|
|
|
import { TActionActiveUsers } from '../../actions/activeUsers';
|
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-13 21:45:14 +00:00
|
|
|
import { TActionSelectedUsers } from '../../actions/selectedUsers';
|
2022-01-14 21:03:16 +00:00
|
|
|
import { IActionSettings } from '../../actions/settings';
|
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-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-12 20:08:45 +00:00
|
|
|
import { IConnect } from '../../reducers/connect';
|
2022-01-14 21:03:16 +00:00
|
|
|
import { ISettings } from '../../reducers/settings';
|
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-11 13:48:01 +00:00
|
|
|
server: any;
|
|
|
|
selectedUsers: ISelectedUsers;
|
|
|
|
createChannel: any;
|
|
|
|
app: any;
|
|
|
|
room: any;
|
|
|
|
rooms: any;
|
|
|
|
sortPreferences: any;
|
|
|
|
share: any;
|
|
|
|
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-26 14:44:41 +00:00
|
|
|
export type TApplicationActions = TActionActiveUsers &
|
|
|
|
TActionSelectedUsers &
|
|
|
|
TActionCustomEmojis &
|
|
|
|
TActionInviteLinks &
|
|
|
|
IActionRoles &
|
|
|
|
IActionSettings &
|
2022-01-26 16:33:04 +00:00
|
|
|
TActionEncryption &
|
2022-01-26 16:44:06 +00:00
|
|
|
TActionSortPreferences &
|
2022-02-01 13:39:09 +00:00
|
|
|
TActionUserTyping;
|