import { NavigatorScreenParams } from '@react-navigation/core'; import { IRoom } from './definitions/IRoom'; import { IServer } from './definitions/IServer'; import { IAttachment } from './definitions/IAttachment'; import { MasterDetailInsideStackParamList } from './stacks/MasterDetailStack/types'; import { OutsideParamList, InsideStackParamList } from './stacks/types'; export type SetUsernameStackParamList = { SetUsernameView: { title: string; }; }; export type StackParamList = { AuthLoading: undefined; OutsideStack: NavigatorScreenParams; InsideStack: NavigatorScreenParams; MasterDetailStack: NavigatorScreenParams; SetUsernameStack: NavigatorScreenParams; }; export type ShareInsideStackParamList = { ShareListView: undefined; ShareView: { attachments: IAttachment[]; isShareView?: boolean; isShareExtension: boolean; serverInfo: IServer; text: string; room: IRoom; thread: any; // TODO: Change }; SelectServerView: undefined; }; export type ShareOutsideStackParamList = { WithoutServersView: undefined; }; export type ShareAppStackParamList = { AuthLoading?: undefined; OutsideStack?: NavigatorScreenParams; InsideStack?: NavigatorScreenParams; };