71 lines
2.5 KiB
TypeScript
71 lines
2.5 KiB
TypeScript
// ACTIONS
|
|
import { TActionActiveUsers } from '../../actions/activeUsers';
|
|
import { TActionApp } from '../../actions/app';
|
|
import { TActionCreateChannel } from '../../actions/createChannel';
|
|
import { TActionCreateDiscussion } from '../../actions/createDiscussion';
|
|
import { TActionCustomEmojis } from '../../actions/customEmojis';
|
|
import { TActionEncryption } from '../../actions/encryption';
|
|
import { TActionInviteLinks } from '../../actions/inviteLinks';
|
|
import { IActionRoles } from '../../actions/roles';
|
|
import { TActionSelectedUsers } from '../../actions/selectedUsers';
|
|
import { TActionServer } from '../../actions/server';
|
|
import { IActionSettings } from '../../actions/settings';
|
|
import { TActionsShare } from '../../actions/share';
|
|
import { TActionSortPreferences } from '../../actions/sortPreferences';
|
|
import { TActionUserTyping } from '../../actions/usersTyping';
|
|
// REDUCERS
|
|
import { IActiveUsers } from '../../reducers/activeUsers';
|
|
import { IApp } from '../../reducers/app';
|
|
import { IConnect } from '../../reducers/connect';
|
|
import { ICreateChannel } from '../../reducers/createChannel';
|
|
import { ICreateDiscussion } from '../../reducers/createDiscussion';
|
|
import { IEncryption } from '../../reducers/encryption';
|
|
import { IInviteLinks } from '../../reducers/inviteLinks';
|
|
import { IRoles } from '../../reducers/roles';
|
|
import { ISelectedUsers } from '../../reducers/selectedUsers';
|
|
import { IServer } from '../../reducers/server';
|
|
import { ISettings } from '../../reducers/settings';
|
|
import { IShare } from '../../reducers/share';
|
|
import { IEnterpriseModules } from '../../reducers/enterpriseModules';
|
|
import { TActionEnterpriseModules } from '../../actions/enterpriseModules';
|
|
|
|
export interface IApplicationState {
|
|
settings: ISettings;
|
|
login: any;
|
|
meteor: IConnect;
|
|
server: IServer;
|
|
selectedUsers: ISelectedUsers;
|
|
app: IApp;
|
|
createChannel: ICreateChannel;
|
|
room: any;
|
|
rooms: any;
|
|
sortPreferences: any;
|
|
share: IShare;
|
|
customEmojis: any;
|
|
activeUsers: IActiveUsers;
|
|
usersTyping: any;
|
|
inviteLinks: IInviteLinks;
|
|
createDiscussion: ICreateDiscussion;
|
|
inquiry: any;
|
|
enterpriseModules: IEnterpriseModules;
|
|
encryption: IEncryption;
|
|
permissions: any;
|
|
roles: IRoles;
|
|
}
|
|
|
|
export type TApplicationActions = TActionActiveUsers &
|
|
TActionSelectedUsers &
|
|
TActionCustomEmojis &
|
|
TActionInviteLinks &
|
|
IActionRoles &
|
|
IActionSettings &
|
|
TActionEncryption &
|
|
TActionSortPreferences &
|
|
TActionUserTyping &
|
|
TActionCreateDiscussion &
|
|
TActionCreateChannel &
|
|
TActionsShare &
|
|
TActionServer &
|
|
TActionApp &
|
|
TActionEnterpriseModules;
|