Added 'cloud storage' functionality

This commit is contained in:
Christopher Sanden
2026-03-04 02:15:53 +01:00
parent 19b9438ef8
commit 45ab15ff40
29 changed files with 1822 additions and 109 deletions

View File

@@ -0,0 +1,17 @@
import { createContext, useContext } from 'react'
export type AuthData = {
claims?: Record<string, any> | null
profile?: any | null
isLoading: boolean
isLoggedIn: boolean
}
export const AuthContext = createContext<AuthData>({
claims: undefined,
profile: undefined,
isLoading: true,
isLoggedIn: false,
})
export const useAuthContext = () => useContext(AuthContext)

View File

@@ -1,8 +1,3 @@
/**
* Learn more about light and dark modes:
* https://docs.expo.dev/guides/color-schemes/
*/
import { Colors } from '@/constants/theme';
import { useColorScheme } from '@/hooks/use-color-scheme';