about summary refs log tree commit diff
path: root/src/lib
diff options
context:
space:
mode:
authorAnsh Nanda <anshnanda10@gmail.com>2023-08-28 13:37:44 -0700
committerAnsh Nanda <anshnanda10@gmail.com>2023-08-28 13:37:44 -0700
commitedfd326069319c80f4825eb33a74295ccf667d71 (patch)
treeec9a697d0dfb9b98d5b9bf5aec84f15fe5c921e6 /src/lib
parent84e065667ad8479be143d8f613005a857070c0ca (diff)
downloadvoidsky-edfd326069319c80f4825eb33a74295ccf667d71.tar.zst
move onboarding to screens
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/routes/types.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/routes/types.ts b/src/lib/routes/types.ts
index 4eb5e29d2..633fa57a5 100644
--- a/src/lib/routes/types.ts
+++ b/src/lib/routes/types.ts
@@ -1,5 +1,6 @@
 import {NavigationState, PartialState} from '@react-navigation/native'
 import type {NativeStackNavigationProp} from '@react-navigation/native-stack'
+import {OnboardingScreenSteps} from 'state/models/discovery/onboarding'
 
 export type {NativeStackScreenProps} from '@react-navigation/native-stack'
 
@@ -29,6 +30,10 @@ export type CommonNavigatorParams = {
   CopyrightPolicy: undefined
   AppPasswords: undefined
   SavedFeeds: undefined
+} & OnboardingScreenParams
+
+export type OnboardingScreenParams = {
+  [K in keyof typeof OnboardingScreenSteps]: undefined
 }
 
 export type BottomTabNavigatorParams = CommonNavigatorParams & {