These are the methods the flow should use to determine which storage method to use. If the user is in a logged in state or their identity has been authenticated, then we can use the database (the use has permitted this). Otherwise if the user is in a guest state then we should opt to use their localStorage.
These are the methods the flow should use to determine which storage method to use. If the user is in a logged in state or their identity has been authenticated, then we can use the database (the use has permitted this). Otherwise if the user is in a guest state then we should opt to use their localStorage.
https://github.com/heyitsmass/BayView/blob/b335f46bd55299100313360e111e700b8bc3f6a0/src/types/ItineraryManager.ts#L64-L70