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-01-12 18:42:37 +00:00
|
|
|
export * from './IAttachment';
|
|
|
|
export * from './IMessage';
|
|
|
|
export * from './INotification';
|
|
|
|
export * from './IRoom';
|
|
|
|
export * from './IServer';
|
|
|
|
export * from './ISubscription';
|
2022-01-17 21:27:28 +00:00
|
|
|
export * from './IServerHistory';
|
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;
|
|
|
|
theme: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export * from './redux';
|