MCPcopy Create free account

hub / github.com/JacobSNGoodwin/ranker-course / functions

Functions107 in github.com/JacobSNGoodwin/ranker-course

↓ 7 callersMethodgetPoll
(pollID: string)
server/src/polls/polls.repository.ts:69
↓ 5 callersMethodgetPoll
(pollID: string)
server/src/polls/polls.service.ts:111
↓ 2 callersMethodaddParticipant
(addParticipant: AddParticipantFields)
server/src/polls/polls.service.ts:92
↓ 2 callersFunctioncreateUserID
()
server/src/ids.ts:8
↓ 2 callersFunctiongetTokenPayload
(accessToken: string)
client/src/util.tsx:24
↓ 2 callersFunctionhandleCloseSnackBar
()
client/src/components/ui/SnackBar.tsx:33
↓ 2 callersMethodregisterAsync
({ useFactory, imports, inject, }: RedisAsyncModuleOptions)
server/src/redis.module.ts:21
↓ 2 callersMethodremoveParticipant
( @MessageBody('id') id: string, @ConnectedSocket() client: SocketWithAuth, )
server/src/polls/polls.gateway.ts:101
↓ 1 callersMethodaddNomination
({ pollID, userID, text, }: AddNominationFields)
server/src/polls/polls.service.ts:115
↓ 1 callersMethodaddParticipantRankings
({ pollID, userID, rankings, }: AddParticipantRankingsData)
server/src/polls/polls.repository.ts:222
↓ 1 callersMethodaddResults
(pollID: string, results: Results)
server/src/polls/polls.repository.ts:255
↓ 1 callersFunctionareFieldsValid
()
client/src/pages/Create.tsx:13
↓ 1 callersFunctionareFieldsValid
()
client/src/pages/Join.tsx:11
↓ 1 callersFunctionbootstrap
()
server/src/main.ts:7
↓ 1 callersMethodcancelPoll
(@ConnectedSocket() client: SocketWithAuth)
server/src/polls/polls.gateway.ts:199
↓ 1 callersMethodclosePoll
(@ConnectedSocket() client: SocketWithAuth)
server/src/polls/polls.gateway.ts:189
↓ 1 callersFunctioncolorizeText
(text: string)
client/src/util.tsx:3
↓ 1 callersMethodcomputeResults
(pollID: string)
server/src/polls/polls.service.ts:150
↓ 1 callersMethodcreate
(@Body() createPollDto: CreatePollDto)
server/src/polls/polls.contoller.ts:15
↓ 1 callersFunctioncreateNominationID
()
server/src/ids.ts:9
↓ 1 callersMethodcreatePoll
(fields: CreatePollFields)
server/src/polls/polls.service.ts:23
↓ 1 callersFunctioncreateSocketWithHandlers
({ socketIOUrl, state, actions, }: CreateSocketOptions)
client/src/socket-io.ts:14
↓ 1 callersFunctioncreateTokenMiddleware
(jwtService: JwtService, logger: Logger)
server/src/socket-io-adapter.ts:46
↓ 1 callersMethoddeletePoll
(pollID: string)
server/src/polls/polls.repository.ts:285
↓ 1 callersFunctiongetBoxStyle
(id: string)
client/src/components/NominationForm.tsx:32
↓ 1 callersFunctiongetRank
(id: string)
client/src/pages/Voting.tsx:28
↓ 1 callersFunctionhandleSubmitNomination
(nominationText: string)
client/src/components/NominationForm.tsx:27
↓ 1 callersMethodjoin
(@Body() joinPollDto: JoinPollDto)
server/src/polls/polls.contoller.ts:22
↓ 1 callersMethodjoinPoll
(fields: JoinPollFields)
server/src/polls/polls.service.ts:53
↓ 1 callersMethodnominate
( @MessageBody() nomination: NominationDto, @ConnectedSocket() client: SocketWithAuth, )
server/src/polls/polls.gateway.ts:120
↓ 1 callersMethodrejoinPoll
(fields: RejoinPollFields)
server/src/polls/polls.service.ts:82
↓ 1 callersMethodremoveNomination
( @MessageBody('id') nominationID: string, @ConnectedSocket() client: SocketWithAuth, )
server/src/polls/polls.gateway.ts:139
↓ 1 callersMethodstartPoll
(pollID: string)
server/src/polls/polls.service.ts:134
↓ 1 callersMethodstartVote
(@ConnectedSocket() client: SocketWithAuth)
server/src/polls/polls.gateway.ts:157
↓ 1 callersMethodsubmitRankings
( @ConnectedSocket() client: SocketWithAuth, @MessageBody('rankings') rankings: string[], )
server/src/polls/polls.gateway.ts:166
↓ 1 callersFunctionsubmitRemoveParticipant
()
client/src/pages/WaitingRoom.tsx:31
↓ 1 callersFunctiontoggleNomination
(id: string)
client/src/pages/Voting.tsx:13
FunctionApp
()
client/src/App.tsx:13
FunctionBottomSheet
({ isOpen = false, onClose, children, })
client/src/components/ui/BottomSheet.tsx:12
FunctionConfirmationDialog
({ message, showDialog, onCancel, onConfirm, })
client/src/components/ui/ConfirmationDialog.tsx:10
FunctionCountSelector
({ min, max, step, initial, onChange, })
client/src/components/ui/CountSelector.tsx:12
FunctionCreate
()
client/src/pages/Create.tsx:7
FunctionHorizontalSwipeList
({ children })
client/src/components/ui/HorizontalSwipeList.tsx:5
FunctionJoin
()
client/src/pages/Join.tsx:6
FunctionLoader
({ color, isLoading, width = 80 })
client/src/components/ui/Loader.tsx:16
FunctionNominationForm
({ isOpen, onClose, title, nominations = {}, onSubmitNomination, onRemoveNomination, userID, i
client/src/components/NominationForm.tsx:15
FunctionPages
()
client/src/Pages.tsx:21
FunctionParticipantList
({ isOpen, onClose, participants = {}, onRemoveParticipant, userID, isAdmin, })
client/src/components/ParticipantList.tsx:13
FunctionRankedCheckBox
({ value, rank, onSelect, })
client/src/components/ui/RankedCheckBox.tsx:9
FunctionResultCard
({ results })
client/src/components/ui/ResultCard.tsx:8
FunctionResults
()
client/src/pages/Results.tsx:7
FunctionResultsList
({ results })
client/src/components/ResultsList.tsx:10
FunctionSnackBar
({ type = 'standard', title, message, show, onClose, autoCloseDuration, })
client/src/components/ui/SnackBar.tsx:22
FunctionTemplate
(args)
client/src/stories/CountSelector.stories.tsx:20
FunctionTemplate
(args)
client/src/stories/SnackBar.stories.tsx:18
FunctionTemplate
(args)
client/src/stories/Loader.stories.tsx:17
FunctionTemplate
(args)
client/src/stories/HorizontalSwipeList.stories.tsx:11
FunctionTemplate
(args)
client/src/stories/ResultsList.stories.tsx:12
FunctionTemplate
(args)
client/src/stories/ResultCard.stories.tsx:12
FunctionTemplate
(args)
client/src/stories/NominationForm.stories.tsx:36
FunctionTemplate
(args)
client/src/stories/ParticipantList.stories.tsx:28
FunctionTemplate
(args)
client/src/stories/ConfirmationDialog.stories.tsx:18
FunctionTemplate
(args)
client/src/stories/BottomSheet.stories.tsx:15
FunctionTemplate
(args)
client/src/stories/RankedCheckBox.stories.tsx:14
FunctionVoting
()
client/src/pages/Voting.tsx:7
FunctionWaitingRoom
()
client/src/pages/WaitingRoom.tsx:12
FunctionWelcome
()
client/src/pages/Welcome.tsx:4
MethodaddNomination
({ pollID, nominationID, nomination, }: AddNominationData)
server/src/polls/polls.repository.ts:144
MethodaddParticipant
({ pollID, userID, name, }: AddParticipantData)
server/src/polls/polls.repository.ts:94
MethodafterInit
()
server/src/polls/polls.gateway.ts:39
MethodcanActivate
(context: ExecutionContext)
server/src/polls/gateway-admin.guard.ts:19
MethodcanActivate
(context: ExecutionContext)
server/src/polls/controller-auth.guard.ts:16
FunctioncanStartVote
()
client/src/state.ts:78
MethodcancelPoll
(pollID: string)
server/src/polls/polls.service.ts:162
Methodcatch
(exception: Error, host: ArgumentsHost)
server/src/exceptions/ws-catch-all-filter.ts:16
FunctionconfirmRemoveParticipant
(id: string)
client/src/pages/WaitingRoom.tsx:23
Methodconstructor
( private app: INestApplicationContext, private configService: ConfigService, )
server/src/socket-io-adapter.ts:10
Methodconstructor
(type: WsExceptionType, message: string | unknown)
server/src/exceptions/ws-exceptions.ts:8
Methodconstructor
(message: string | unknown)
server/src/exceptions/ws-exceptions.ts:19
Methodconstructor
(message: string | unknown)
server/src/exceptions/ws-exceptions.ts:25
Methodconstructor
(message: string | unknown)
server/src/exceptions/ws-exceptions.ts:31
Methodconstructor
(private readonly pollsService: PollsService)
server/src/polls/polls.gateway.ts:34
Methodconstructor
( private readonly pollsService: PollsService, private readonly jwtService: JwtService, )
server/src/polls/gateway-admin.guard.ts:15
Methodconstructor
( configService: ConfigService, @Inject(IORedisKey) private readonly redisClient: Redis, )
server/src/polls/polls.repository.ts:20
Methodconstructor
( private readonly pollsRepository: PollsRepository, private readonly jwtService: JwtService, )
server/src/polls/polls.service.ts:19
Methodconstructor
(private pollsService: PollsService)
server/src/polls/polls.contoller.ts:12
Methodconstructor
(private readonly jwtService: JwtService)
server/src/polls/controller-auth.guard.ts:14
MethodcreateIOServer
(port: number, options?: ServerOptions)
server/src/socket-io-adapter.ts:17
MethodcreatePoll
({ votesPerVoter, topic, pollID, userID, }: CreatePollData)
server/src/polls/polls.repository.ts:27
MethodhandleConnection
(client: SocketWithAuth)
server/src/polls/polls.gateway.ts:43
FunctionhandleCreatePoll
()
client/src/pages/Create.tsx:29
MethodhandleDisconnect
(client: SocketWithAuth)
server/src/polls/polls.gateway.ts:74
FunctionhandleJoinPoll
()
client/src/pages/Join.tsx:23
FunctionhasVoted
()
client/src/state.ts:83
FunctionisAdmin
()
client/src/state.ts:66
FunctionmakeRequest
( endpoint: string, reqInit?: RequestInit )
client/src/api.ts:15
Functionme
()
client/src/state.ts:52
FunctionnominationCount
()
client/src/state.ts:75
FunctionparticipantCount
()
client/src/state.ts:72
FunctionrankingsCount
()
client/src/state.ts:89
next →1–100 of 107, ranked by callers