Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IFS49F/poker
/ functions
Functions
50 in github.com/IFS49F/poker
⨍
Functions
50
◇
Types & classes
20
↓ 4 callers
Function
buildStateUpdate
( state: RoomState, action?: Action, revealScores = false, )
apps/server/src/state.ts:26
↓ 4 callers
Function
maskScores
(state: RoomState | null)
apps/server/src/state.ts:8
↓ 3 callers
Function
defaultState
()
apps/server/src/state.ts:3
↓ 3 callers
Function
getKey
(key: string)
apps/server/src/redis.ts:11
↓ 3 callers
Function
isInvalidKey
(key: string | undefined | null)
apps/server/src/redis.ts:8
↓ 3 callers
Method
pingPlayerState
( playerId: string, state: keyof PlayerActions[string], value: boolean | SpeakingAction, timeo
apps/web/src/lib/player-state-pinger.ts:34
↓ 2 callers
Method
setPlayerState
( playerId: string, state: keyof PlayerActions[string], value: boolean | SpeakingAction | undefine
apps/web/src/lib/player-state-pinger.ts:49
↓ 1 callers
Function
addPlayer
( state: RoomState, player: Omit<Player, "score" | "voted">, )
apps/server/src/state.ts:35
↓ 1 callers
Method
clearTimeouts
()
apps/web/src/lib/player-state-pinger.ts:66
↓ 1 callers
Function
clearVotes
(state: RoomState)
apps/server/src/state.ts:82
↓ 1 callers
Function
closeRoomStore
()
apps/server/src/redis.ts:46
↓ 1 callers
Function
getPlayerPayload
(payload: PlayPayload, socketId: string)
apps/server/src/socket.ts:33
↓ 1 callers
Method
handleAction
({ type, playerId }: Action)
apps/web/src/pages/Room/Room.tsx:161
↓ 1 callers
Function
isRoomEmpty
(io: PokerServer, room: string)
apps/server/src/socket.ts:30
↓ 1 callers
Function
normalizeRoom
(room = "")
apps/server/src/socket.ts:28
↓ 1 callers
Function
registerSocketHandlers
(io: PokerServer)
apps/server/src/socket.ts:42
↓ 1 callers
Function
removePlayer
(state: RoomState, socketId: string)
apps/server/src/state.ts:92
↓ 1 callers
Method
render
()
apps/web/src/pages/Room/Room.tsx:31
↓ 1 callers
Function
showScores
(state: RoomState)
apps/server/src/state.ts:77
↓ 1 callers
Function
shutdownSocketServer
()
apps/server/src/socket.ts:192
↓ 1 callers
Function
updatePlayerVote
( state: RoomState, socketId: string, score: string, )
apps/server/src/state.ts:47
Function
Actions
({ show, myScore, onVote, onShow, onClear }: ActionsProps)
apps/web/src/components/Actions/Actions.tsx:14
Function
App
()
apps/web/src/pages/App/App.tsx:5
Function
Bounce
({ children, ...props }: TransitionProps)
apps/web/src/components/Votes/Votes.tsx:33
Function
DonationBanner
()
apps/web/src/components/DonationBanner/DonationBanner.tsx:4
Function
Fade
({ children, ...props }: TransitionProps)
apps/web/src/components/Votes/Votes.tsx:23
Function
Landing
()
apps/web/src/pages/Landing/Landing.tsx:88
Function
PopIn
({ children, ...props }: TransitionProps)
apps/web/src/components/Votes/Votes.tsx:43
Function
Room
()
apps/web/src/pages/Room/Room.tsx:294
Function
Votes
({ me, myScore, highlightScore, team, playerAction, show }: VotesProps)
apps/web/src/components/Votes/Votes.tsx:62
Method
componentDidMount
()
apps/web/src/pages/Landing/Landing.tsx:25
Method
componentDidMount
()
apps/web/src/pages/Room/Room.tsx:102
Method
componentWillUnmount
()
apps/web/src/pages/Room/Room.tsx:156
Method
constructor
(props: ShareProps)
apps/web/src/components/Share/Share.tsx:17
Method
constructor
(props: JoinProps)
apps/web/src/components/Join/Join.tsx:14
Method
constructor
(props: LandingProps)
apps/web/src/pages/Landing/Landing.tsx:17
Method
constructor
(props: RoomProps)
apps/web/src/pages/Room/Room.tsx:84
Method
constructor
(props: { setState: SetState })
apps/web/src/lib/player-state-pinger.ts:22
Function
del
(key: string)
apps/server/src/redis.ts:37
Function
fetch
(request, bunServer)
apps/server/src/index.ts:40
Function
get
(key: string)
apps/server/src/redis.ts:14
Function
onMouseEnter
()
apps/web/src/components/Summary/Summary.tsx:25
Function
onMouseLeave
()
apps/web/src/components/Summary/Summary.tsx:28
Method
render
()
apps/web/src/components/Share/Share.tsx:35
Method
render
()
apps/web/src/components/Join/Join.tsx:32
Method
render
()
apps/web/src/pages/Landing/Landing.tsx:41
Method
render
()
apps/web/src/pages/Room/Room.tsx:45
Method
render
()
apps/web/src/pages/Room/Room.tsx:249
Function
set
(key: string, value: RoomState | string)
apps/server/src/redis.ts:27
Function
shutdown
()
apps/server/src/index.ts:59