Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/brentvatne/hour-power
/ functions
Functions
85 in github.com/brentvatne/hour-power
⨍
Functions
85
◇
Types & classes
15
↓ 5 callers
Function
_getClientAsync
()
app/api/index.ts:203
↓ 4 callers
Function
alertAsync
({ title, message }: AlertOptions)
app/util/alertAsync.ts:7
↓ 4 callers
Function
sendJson
(res: FastifyReply, code: number, json: any)
server/api/index.ts:15
↓ 2 callers
Function
confirmAsync
(options: NativeConfirmOptions)
app/util/confirmAsync.ts:9
↓ 2 callers
Function
loadAsync
()
app/state/LocalStorage.ts:45
↓ 2 callers
Function
postAsync
(params: any)
server/api/index.ts:74
↓ 2 callers
Function
useInterval
( callback: () => void, delay: number | null | false )
app/hooks/useInterval.ts:3
↓ 1 callers
Function
_getValidTokenAsync
()
app/api/index.ts:178
↓ 1 callers
Function
fetchTokenAsync
(code: string, redirectUri: string)
app/api/index.ts:61
↓ 1 callers
Function
fetchTokenAsync
({ code, redirectUri, }: { code: string; redirectUri: string; })
server/api/index.ts:87
↓ 1 callers
Function
fetchTracksAsync
(playlistId: string)
app/api/index.ts:89
↓ 1 callers
Function
getAsync
(key: string, fallback: T | null = null)
app/state/LocalStorage.ts:36
↓ 1 callers
Function
getAuthCredentialsAsync
()
app/state/LocalStorage.ts:10
↓ 1 callers
Function
initializeAsync
()
app/hooks/usePersistedData.ts:18
↓ 1 callers
Function
loadAssetsAsync
()
app/hooks/useAssets.ts:8
↓ 1 callers
Function
pauseAsync
()
app/api/index.ts:155
↓ 1 callers
Function
playTrackAsync
({ uri, deviceId, time, }: { uri: string; deviceId: string; time?: number; })
app/api/index.ts:118
↓ 1 callers
Function
refreshTokenAsync
(refreshToken: string)
app/api/index.ts:45
↓ 1 callers
Function
refreshTokenAsync
(refreshToken: string)
server/api/index.ts:115
↓ 1 callers
Function
saveAsync
(data: any)
app/state/LocalStorage.ts:41
↓ 1 callers
Function
setAsync
( key: string, value: T )
app/state/LocalStorage.ts:23
↓ 1 callers
Function
updateFromAuthResponseAsync
()
app/hooks/useSpotifyAuth.ts:56
↓ 1 callers
Function
useAssets
(assets: { [key: string]: any })
app/hooks/useAssets.ts:4
↓ 1 callers
Function
usePersistedData
()
app/hooks/usePersistedData.ts:7
↓ 1 callers
Function
useSpotifyAuth
()
app/hooks/useSpotifyAuth.ts:26
Function
AnchorButton
(props: any)
app/components/AnchorButton.tsx:5
Function
App
()
app/App.tsx:36
Function
AppContainer
()
app/App.tsx:23
Function
Bold
(props: Props)
app/components/Text.tsx:36
Function
ClosePlayerButton
({ navigation }: any)
app/navigation/index.web.tsx:73
Function
DeviceIcon
({ type }: { type: Device["type"] })
app/components/DeviceIcon.tsx:5
Function
DeviceItem
({ data }: { data: Device })
app/screens/DevicePicker.tsx:148
Function
DevicePicker
({ navigation, route }: any)
app/screens/DevicePicker.tsx:34
Function
DevicePickerHeaderIOS
({ navigation }: any)
app/screens/DevicePicker.tsx:114
Function
EmptyListPlaceholder
()
app/screens/MyPlaylists.tsx:248
Function
Green
(props: ButtonProps)
app/components/Button.tsx:22
Function
HR
({ color = "#eee", size = 1, spaceAround = 15 })
app/components/Spacer.tsx:4
Function
Horizontal
({ size }: { size: number })
app/components/Spacer.tsx:19
Function
Italic
(props: Props)
app/components/Text.tsx:22
Function
Light
(props: Props)
app/components/Text.tsx:8
Function
List
({ playlists, isFetchingPlaylists, animatedScrollValue, }: { playlists: Playlist[] | undefined; isFe
app/screens/MyPlaylists.tsx:276
Function
LoadingPlaceholder
()
app/screens/DevicePicker.tsx:99
Function
LoadingPlaceholder
()
app/screens/MyPlaylists.tsx:173
Function
MyPlaylists
(props: any)
app/screens/MyPlaylists.tsx:436
Function
MyPlaylistsHeader
({ animatedScrollValue, }: { animatedScrollValue: Animated.Value; })
app/screens/MyPlaylists.tsx:43
Function
Navigation
()
app/navigation/index.web.tsx:100
Function
Navigation
()
app/navigation/index.tsx:86
Function
OpenSpotify
()
app/components/Button.tsx:56
Function
PauseButton
({ onPress }: ButtonProps)
app/screens/PlayerController.tsx:202
Function
PlatformRectButton
({ onPress, children }: any)
app/components/playlists/index.tsx:49
Function
PlayButton
({ onPress }: ButtonProps)
app/screens/PlayerController.tsx:213
Function
PlaybackDaemon
()
app/components/PlaybackDaemon.tsx:15
Function
Player
()
app/navigation/index.web.tsx:39
Function
Player
()
app/navigation/index.tsx:51
Function
PlayerController
({ navigation }: any)
app/screens/PlayerController.tsx:18
Function
PlayerControllerDeviceButton
({ device, navigation, }: Props)
app/screens/PlayerController/PlayerControllerDeviceButton.tsx:14
Function
PlayerControllerHeader
({ title, navigation }: any)
app/screens/PlayerController/PlayerControllerHeader.tsx:8
Function
PlayerControllerTracks
({ previous, current, next, }: Props)
app/screens/PlayerController/PlayerControllerTracks.tsx:14
Function
PlayerStatusBottomControl
()
app/components/PlayerStatusBottomControl.tsx:26
Function
PlaylistCover
({ images }: { images: string[] })
app/components/playlists/index.tsx:14
Function
PlaylistDescription
({ text }: { text: string | null })
app/components/playlists/index.tsx:31
Function
PlaylistItem
({ data, style, onPress, }: { data: Playlist; style: any; onPress: any; })
app/components/playlists/index.tsx:61
Function
ProgressBar
(props: ProgressBarProps)
app/screens/PlayerController.tsx:161
Function
Regular
(props: Props)
app/components/Text.tsx:15
Function
Root
()
app/navigation/index.web.tsx:18
Function
Root
()
app/navigation/index.tsx:18
Function
Secondary
(props: Props)
app/components/Text.tsx:51
Function
SemiBold
(props: Props)
app/components/Text.tsx:29
Function
SignIn
({ navigation }: any)
app/screens/SignIn.tsx:14
Function
StatusBar
(props: StatusBarProps)
app/components/StatusBar.tsx:5
Function
StopButton
({ onPress }: ButtonProps)
app/screens/PlayerController.tsx:191
Function
Subtitle
(props: Props)
app/components/Text.tsx:47
Function
Title
(props: Props)
app/components/Text.tsx:43
Function
TrackImage
({ track, size, style, faded, }: { track: Track | null; size?: "large"; style?: any; faded?: b
app/components/TrackImage.tsx:9
Function
TrackLoadingOverlay
({ isFetchingTracks, }: { isFetchingTracks: boolean; })
app/screens/MyPlaylists.tsx:192
Function
Vertical
({ size }: { size: number })
app/components/Spacer.tsx:15
Function
alertAsync
({ message }: { message: string })
app/util/alertAsync.web.ts:1
Function
clearAsync
()
app/state/LocalStorage.ts:19
Function
confirmAsync
({ message }: { message: string })
app/util/confirmAsync.web.ts:1
Function
fetchDevicesAsync
()
app/api/index.ts:160
Function
fetchPlaylistsAsync
()
app/api/index.ts:135
Function
getTokenAsync
()
app/state/LocalStorage.ts:14
Function
handleHandlerStateChange
( e: PanGestureHandlerStateChangeEvent | TapGestureHandlerStateChangeEvent )
app/components/PlayerStatusBottomControl.tsx:33
Function
setAuthCredentialsAsync
(credentials: Credentials)
app/state/LocalStorage.ts:6
Function
tick
()
app/hooks/useInterval.ts:17