Files
Felipe 416e13893c feat: implement authentication flow and session management
- Update RootLayout to handle authentication state and redirect users based on their auth status.
- Create an Index component to redirect unauthenticated users to the login page.
- Modify ApiAuthRepository to fetch user session data using access and refresh tokens.
- Introduce a new container file to manage use case instances for authentication and filament operations.
- Enhance authStore to validate tokens and fetch user data from the API.
- Add babel-plugin-module-resolver for improved module imports.
- Update package.json scripts for running the app on Android and iOS.
- Add expo-camera dependency for camera functionalities.
- Update tsconfig.json to include infrastructure path mapping.
2026-03-14 13:22:17 -03:00

58 lines
1.1 KiB
JSON

{
"compilerOptions": {
"target": "ES2020",
"lib": [
"ES2020"
],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"module": "ESNext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-native",
"baseUrl": ".",
"paths": {
"@domain/*": [
"src/domain/*"
],
"@ports/*": [
"src/ports/*"
],
"@application/*": [
"src/application/*"
],
"@adapters/*": [
"src/adapters/*"
],
"@presentation/*": [
"src/presentation/*"
],
"@store/*": [
"src/store/*"
],
"@shared/*": [
"src/shared/*"
],
"@infrastructure/*": [
"src/infrastructure/*"
]
}
},
"include": [
"src",
"app.json",
".expo/types/**/*.ts",
"expo-env.d.ts"
],
"exclude": [
"node_modules"
],
"extends": "expo/tsconfig.base"
}