2022-01-18 15:59:43 +00:00
|
|
|
// ACTIONS
|
2022-03-07 21:16:20 +00:00
|
|
|
import { TActionInquiry } from '../../ee/omnichannel/actions/inquiry';
|
2022-01-11 13:48:01 +00:00
|
|
|
import { TActionActiveUsers } from '../../actions/activeUsers';
|
2022-02-02 18:27:10 +00:00
|
|
|
import { TActionApp } from '../../actions/app';
|
2022-02-02 18:02:02 +00:00
|
|
|
import { TActionCreateChannel } from '../../actions/createChannel';
|
2022-02-02 18:51:18 +00:00
|
|
|
import { TActionCreateDiscussion } from '../../actions/createDiscussion';
|
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-02-17 13:06:31 +00:00
|
|
|
import { TActionPermissions } from '../../actions/permissions';
|
|
|
|
import { TActionEnterpriseModules } from '../../actions/enterpriseModules';
|
2023-07-04 00:03:39 +00:00
|
|
|
import { TActionVideoConf } from '../../actions/videoConf';
|
2022-01-11 13:48:01 +00:00
|
|
|
// REDUCERS
|
|
|
|
import { IActiveUsers } from '../../reducers/activeUsers';
|
2022-02-02 18:27:10 +00:00
|
|
|
import { IApp } from '../../reducers/app';
|
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-02-02 18:51:18 +00:00
|
|
|
import { ICreateDiscussion } from '../../reducers/createDiscussion';
|
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-02-18 13:53:36 +00:00
|
|
|
import { ILogin } from '../../reducers/login';
|
2022-01-17 18:29:37 +00:00
|
|
|
import { IRoles } from '../../reducers/roles';
|
2022-02-18 13:46:19 +00:00
|
|
|
import { IRoom } from '../../reducers/room';
|
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-03-02 14:49:43 +00:00
|
|
|
import { TSettingsState } from '../../reducers/settings';
|
2022-02-02 17:46:05 +00:00
|
|
|
import { IShare } from '../../reducers/share';
|
2022-03-07 21:16:20 +00:00
|
|
|
import { IInquiry } from '../../ee/omnichannel/reducers/inquiry';
|
2022-02-17 13:06:31 +00:00
|
|
|
import { IPermissionsState } from '../../reducers/permissions';
|
2022-02-16 22:10:09 +00:00
|
|
|
import { IEnterpriseModules } from '../../reducers/enterpriseModules';
|
2023-07-04 00:03:39 +00:00
|
|
|
import { IVideoConf } from '../../reducers/videoConf';
|
2023-08-11 20:35:24 +00:00
|
|
|
import { TActionUsersRoles } from '../../actions/usersRoles';
|
|
|
|
import { TUsersRoles } from '../../reducers/usersRoles';
|
2022-01-11 13:48:01 +00:00
|
|
|
|
|
|
|
export interface IApplicationState {
|
2022-03-02 14:49:43 +00:00
|
|
|
settings: TSettingsState;
|
2022-02-18 13:53:36 +00:00
|
|
|
login: ILogin;
|
2022-03-02 14:49:43 +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:27:10 +00:00
|
|
|
app: IApp;
|
2022-02-02 18:02:02 +00:00
|
|
|
createChannel: ICreateChannel;
|
2022-02-18 13:46:19 +00:00
|
|
|
room: IRoom;
|
2022-01-11 13:48:01 +00:00
|
|
|
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-02-02 18:51:18 +00:00
|
|
|
createDiscussion: ICreateDiscussion;
|
2022-03-07 21:16:20 +00:00
|
|
|
inquiry: IInquiry;
|
2022-02-16 22:10:09 +00:00
|
|
|
enterpriseModules: IEnterpriseModules;
|
2022-01-13 18:37:14 +00:00
|
|
|
encryption: IEncryption;
|
2022-02-17 13:06:31 +00:00
|
|
|
permissions: IPermissionsState;
|
2022-01-17 18:29:37 +00:00
|
|
|
roles: IRoles;
|
2023-07-04 00:03:39 +00:00
|
|
|
videoConf: IVideoConf;
|
2023-08-11 20:35:24 +00:00
|
|
|
usersRoles: TUsersRoles;
|
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-04 20:47:05 +00:00
|
|
|
TActionCreateDiscussion &
|
2022-02-02 18:02:02 +00:00
|
|
|
TActionCreateChannel &
|
2022-02-02 17:46:05 +00:00
|
|
|
TActionsShare &
|
2022-02-02 18:27:10 +00:00
|
|
|
TActionServer &
|
2022-02-16 22:10:09 +00:00
|
|
|
TActionApp &
|
2022-03-07 21:16:20 +00:00
|
|
|
TActionInquiry &
|
2022-02-17 13:06:31 +00:00
|
|
|
TActionPermissions &
|
2023-07-04 00:03:39 +00:00
|
|
|
TActionEnterpriseModules &
|
2023-08-11 20:35:24 +00:00
|
|
|
TActionVideoConf &
|
|
|
|
TActionUsersRoles;
|