2022-01-11 13:48:01 +00:00
|
|
|
import { RouteProp } from '@react-navigation/native';
|
|
|
|
import { StackNavigationProp } from '@react-navigation/stack';
|
|
|
|
import { Dispatch } from 'redux';
|
|
|
|
|
2023-06-30 14:01:01 +00:00
|
|
|
import { TNavigation } from '../stacks/stackType';
|
2022-04-12 16:27:05 +00:00
|
|
|
import { TColors, TSupportedThemes } from '../theme';
|
2022-03-31 23:04:29 +00:00
|
|
|
|
2023-06-30 14:01:01 +00:00
|
|
|
export * from './ERoomType';
|
2022-01-12 18:42:37 +00:00
|
|
|
export * from './IAttachment';
|
2024-01-25 14:11:07 +00:00
|
|
|
export * from './ICannedResponse';
|
2023-06-30 14:01:01 +00:00
|
|
|
export * from './ICertificate';
|
|
|
|
export * from './ICredentials';
|
|
|
|
export * from './IEmoji';
|
2024-01-25 14:11:07 +00:00
|
|
|
export * from './ILivechatDepartment';
|
|
|
|
export * from './ILivechatTag';
|
2023-06-30 14:01:01 +00:00
|
|
|
export * from './ILoggedUser';
|
|
|
|
export * from './IMessage';
|
2022-01-12 18:42:37 +00:00
|
|
|
export * from './INotification';
|
2023-06-30 14:01:01 +00:00
|
|
|
export * from './IPermission';
|
2022-02-01 13:39:09 +00:00
|
|
|
export * from './IPreferences';
|
2023-06-30 14:01:01 +00:00
|
|
|
export * from './IProfile';
|
|
|
|
export * from './IReaction';
|
|
|
|
export * from './IRole';
|
2022-01-12 18:42:37 +00:00
|
|
|
export * from './IRoom';
|
2023-06-30 14:01:01 +00:00
|
|
|
export * from './ISearch';
|
|
|
|
export * from './IServer';
|
|
|
|
export * from './IServerHistory';
|
|
|
|
export * from './ISettings';
|
|
|
|
export * from './ISlashCommand';
|
|
|
|
export * from './ISubscription';
|
2022-02-01 13:39:09 +00:00
|
|
|
export * from './IThread';
|
|
|
|
export * from './IThreadMessage';
|
|
|
|
export * from './IUpload';
|
2022-02-16 15:17:25 +00:00
|
|
|
export * from './IUrl';
|
2023-06-30 14:01:01 +00:00
|
|
|
export * from './IUser';
|
|
|
|
export * from './redux';
|
|
|
|
export * from './redux/TRootEnum';
|
2024-01-25 14:11:07 +00:00
|
|
|
export * from './TChangeAvatarViewContext';
|
|
|
|
export * from './IDataSelect';
|
2022-03-25 20:05:49 +00:00
|
|
|
export * from './TUserStatus';
|
2022-01-12 18:42:37 +00:00
|
|
|
|
2022-01-11 13:48:01 +00:00
|
|
|
export interface IBaseScreen<T extends Record<string, object | undefined>, S extends string> {
|
2023-06-30 14:01:01 +00:00
|
|
|
navigation: StackNavigationProp<T & TNavigation, S>;
|
2022-01-11 13:48:01 +00:00
|
|
|
route: RouteProp<T, S>;
|
|
|
|
dispatch: Dispatch;
|
2022-03-02 14:49:43 +00:00
|
|
|
isMasterDetail: boolean;
|
2022-03-31 23:04:29 +00:00
|
|
|
// TODO: remove after migrating all Class components
|
2023-08-18 17:48:33 +00:00
|
|
|
theme: TSupportedThemes;
|
2022-03-31 23:04:29 +00:00
|
|
|
colors: TColors;
|
2022-01-11 13:48:01 +00:00
|
|
|
}
|