65 lines
1.3 KiB
TypeScript
65 lines
1.3 KiB
TypeScript
/*
|
|
* File: index.ts
|
|
* Description: Main exports for Auth module
|
|
* Design & Developed by Tech4Biz Solutions
|
|
* Copyright (c) Spurrin Innovations. All rights reserved.
|
|
*/
|
|
|
|
// Export screens
|
|
export { default as LoginScreen } from './screens/LoginScreen';
|
|
export { default as SignUpScreen } from './screens/SignUpScreen';
|
|
|
|
// Export navigation
|
|
export {
|
|
AuthStackNavigator,
|
|
navigateToLogin,
|
|
navigateToSignUp,
|
|
goBack,
|
|
resetToLogin,
|
|
resetToSignUp,
|
|
replaceWithLogin,
|
|
replaceWithSignUp,
|
|
navigateToSignUpAndClearStack,
|
|
navigateToLoginAndClearStack,
|
|
} from './navigation';
|
|
|
|
// Export signup components
|
|
export {
|
|
EmailStep,
|
|
PasswordStep,
|
|
NameStep,
|
|
DocumentUploadStep,
|
|
HospitalSelectionStep,
|
|
EmailAlreadyRegisteredModal,
|
|
} from './components/signup';
|
|
|
|
// Export services
|
|
|
|
|
|
// Export types
|
|
export type {
|
|
SignUpData,
|
|
SignUpStep,
|
|
EmailStepProps,
|
|
PasswordStepProps,
|
|
NameStepProps,
|
|
DocumentUploadStepProps,
|
|
HospitalSelectionStepProps,
|
|
EmailValidationApiResponse,
|
|
UsernameValidationApiResponse,
|
|
HospitalListApiResponse,
|
|
SignUpApiResponse,
|
|
Hospital,
|
|
} from './types/signup';
|
|
|
|
// Export Redux
|
|
export {
|
|
clearError,
|
|
updateUserProfile,
|
|
} from './redux/authSlice';
|
|
|
|
/*
|
|
* End of File: index.ts
|
|
* Design & Developed by Tech4Biz Solutions
|
|
* Copyright (c) Spurrin Innovations. All rights reserved.
|
|
*/
|