Refactor current route handling

This commit is contained in:
Eric Bailey
2026-01-21 11:52:16 -06:00
parent 3bc772a12a
commit de6efbdf52
3 changed files with 67 additions and 41 deletions
+6
View File
@@ -13,6 +13,11 @@ export type BaseMetadata = {
export type GeolocationMetadata = Geolocation
export type NavigationMetadata = {
previousScreen?: string
currentScreen?: string
}
export type SessionMetadata = {
did: string
isBskyPds: boolean
@@ -24,6 +29,7 @@ export type PreferencesMetadata = {
}
export type MergeableMetadata = {
navigation?: NavigationMetadata
session?: SessionMetadata
preferences?: PreferencesMetadata
}