2022-01-11 13:48:01 +00:00
|
|
|
import { RouteProp } from '@react-navigation/native';
|
|
|
|
import { StackNavigationProp } from '@react-navigation/stack';
|
|
|
|
import { Dispatch } from 'redux';
|
|
|
|
|
2022-04-12 16:27:05 +00:00
|
|
|
import { TColors, TSupportedThemes } from '../theme';
|
2022-03-31 23:04:29 +00:00
|
|
|
|
2022-01-12 18:42:37 +00:00
|
|
|
export * from './IAttachment';
|
|
|
|
export * from './INotification';
|
2022-02-01 13:39:09 +00:00
|
|
|
export * from './IPreferences';
|
|
|
|
export * from './ISubscription';
|
2022-01-12 18:42:37 +00:00
|
|
|
export * from './IRoom';
|
2022-02-01 13:39:09 +00:00
|
|
|
export * from './IMessage';
|
|
|
|
export * from './IThread';
|
|
|
|
export * from './IThreadMessage';
|
2022-05-07 01:06:08 +00:00
|
|
|
export * from './IEmoji';
|
2022-02-01 13:39:09 +00:00
|
|
|
export * from './IUpload';
|
|
|
|
export * from './ISettings';
|
|
|
|
export * from './IRole';
|
|
|
|
export * from './IPermission';
|
|
|
|
export * from './ISlashCommand';
|
|
|
|
export * from './IUser';
|
2022-01-12 18:42:37 +00:00
|
|
|
export * from './IServer';
|
2022-02-01 13:39:09 +00:00
|
|
|
export * from './ILoggedUser';
|
2022-01-17 21:27:28 +00:00
|
|
|
export * from './IServerHistory';
|
2022-02-09 20:37:08 +00:00
|
|
|
export * from './ICertificate';
|
2022-02-16 15:17:25 +00:00
|
|
|
export * from './IUrl';
|
2022-03-08 18:54:26 +00:00
|
|
|
export * from './ICredentials';
|
2022-03-08 14:24:21 +00:00
|
|
|
export * from './ISearch';
|
2022-03-25 20:05:49 +00:00
|
|
|
export * from './TUserStatus';
|
2022-05-07 02:11:07 +00:00
|
|
|
export * from './IProfile';
|
2022-08-03 16:32:16 +00:00
|
|
|
export * from './IReaction';
|
2023-01-13 19:32:52 +00:00
|
|
|
export * from './ERoomType';
|
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> {
|
|
|
|
navigation: StackNavigationProp<T, S>;
|
|
|
|
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
|
2022-04-12 16:27:05 +00:00
|
|
|
theme: TSupportedThemes;
|
2022-03-31 23:04:29 +00:00
|
|
|
colors: TColors;
|
2022-01-11 13:48:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export * from './redux';
|
2022-02-02 18:27:10 +00:00
|
|
|
export * from './redux/TRootEnum';
|