aboutsummaryrefslogtreecommitdiff
path: root/src/routes/onboarding/OnboardingStack.tsx
blob: 33ff51ead4af00c92cf4dbd6df6bd2337fe70a57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import {createStackNavigator} from '@react-navigation/stack';
import {VerificationScreenType} from '../../types';

export type OnboardingStackParams = {
  Login: undefined;
  PasswordResetRequest: undefined;
  PasswordReset: {
    value: string;
  };
  InvitationCodeVerification: undefined;
  RegistrationOne: undefined;
  RegistrationTwo: {phone: string};
  RegistrationThree: {
    firstName: string;
    lastName: string;
    phone: string;
    email: string;
  };
  Checkpoint: {username: string; userId: string};
  Verification: {id: string; screenType: VerificationScreenType};
  ProfileOnboarding: {username: string; userId: string};
  SocialMedia: {username: string; userId: string};
};

export const OnboardingStack = createStackNavigator<OnboardingStackParams>();