25 行
689 B
TypeScript
25 行
689 B
TypeScript
|
|
export type AuthStackParams = {
|
||
|
|
Login: undefined
|
||
|
|
Register: undefined
|
||
|
|
ResetPassword: undefined
|
||
|
|
}
|
||
|
|
|
||
|
|
export type MainTabParams = {
|
||
|
|
ConversationList: undefined
|
||
|
|
Contacts: undefined
|
||
|
|
Profile: undefined
|
||
|
|
}
|
||
|
|
|
||
|
|
export type RootStackParams = {
|
||
|
|
Main: undefined
|
||
|
|
SingleChat: { targetId: string; targetName: string; targetAvatar?: string }
|
||
|
|
GroupChat: { groupId: string; groupName: string }
|
||
|
|
UserSearch: undefined
|
||
|
|
GroupList: undefined
|
||
|
|
CreateGroup: undefined
|
||
|
|
GroupMembers: { groupId: string; groupName: string }
|
||
|
|
GroupSettings: { groupId: string; groupName: string; isAdmin: boolean }
|
||
|
|
EditProfile: undefined
|
||
|
|
MessageSearch: { targetId?: string; chatType?: 'SINGLE' | 'GROUP' }
|
||
|
|
}
|