2022-01-18 15:59:43 +00:00
|
|
|
// ACTIONS
|
|
|
|
import { TActionServer } from '../../actions/server';
|
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-17 21:27:28 +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-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-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;
|
|
|
|
meteor: any;
|
2022-01-18 15:59:43 +00:00
|
|
|
server: IServer;
|
2022-01-11 13:48:01 +00:00
|
|
|
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 19:35:28 +00:00
|
|
|
console.log('test');
|
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-01-26 14:16:06 +00:00
|
|
|
TActionServer;
|