MCPcopy Create free account

hub / github.com/boostcampwm-2021/web09-Duxcord / functions

Functions249 in github.com/boostcampwm-2021/web09-Duxcord

↓ 38 callersFunctionfireToast
({ message, type, duration = 2000 }: ToastData)
client/src/hooks/useToast.ts:11
↓ 21 callersFunctionaccessControl
({ signIn = true }: { signIn: boolean } = { signIn: true })
server/src/utils/access-control.middleware.ts:4
↓ 20 callersFunctionmockRequest
(groupName: string)
server/src/utils/validators/group.validator.test.ts:24
↓ 20 callersFunctionmockResponse
()
server/src/utils/validators/group.validator.test.ts:18
↓ 14 callersFunctionmockFetch
(data: string | undefined, body: any | undefined = undefined)
client/src/utils/test/api.test.ts:18
↓ 14 callersFunctionuseSelectedGroup
()
client/src/hooks/useSelectedGroup.ts:4
↓ 12 callersFunctionuseSelectedChannel
()
client/src/hooks/useSelectedChannel.ts:4
↓ 11 callersFunctionpostFetchOptions
(body: Body)
client/src/utils/api/fetchOptions.ts:5
↓ 10 callersFunctionuseToast
()
client/src/hooks/useToast.ts:7
↓ 9 callersFunctionmockRequest
()
server/src/utils/validators/chat.validator.test.ts:24
↓ 9 callersFunctionmockResponse
()
server/src/utils/validators/chat.validator.test.ts:11
↓ 9 callersFunctionuseUserdata
( options?: Partial<PublicConfiguration<UserData, any, BareFetcher<UserData>>>, )
client/src/hooks/useUserdata.ts:7
↓ 8 callersFunctionmockRequest
()
server/src/controllers/group.controller.test.ts:23
↓ 8 callersFunctionmockResponse
()
server/src/controllers/group.controller.test.ts:10
↓ 7 callersFunctionvalidateForm
(ID: string, userName: string, password: string)
client/src/utils/checkResponse.ts:23
↓ 7 callersFunctionvalidateID
(ID: string)
client/src/utils/checkResponse.ts:8
↓ 7 callersFunctionvalidatePassword
(password: string)
client/src/utils/checkResponse.ts:18
↓ 6 callersMethoddeleteChannelValidator
(req: Request, res: Response, next: NextFunction)
server/src/utils/validators/group.validator.ts:107
↓ 6 callersFunctionuseGroups
( options?: Partial<PublicConfiguration<GroupData[], any, BareFetcher<GroupData[]>>>, )
client/src/hooks/useGroups.ts:23
↓ 5 callersFunctioncurry
(f: any)
client/src/utils/functionalProgramming.ts:2
↓ 5 callersFunctionf
(a: HTMLElement)
client/src/utils/test/functionalProgramming.test.ts:10
↓ 4 callersMethodcreateChatValidator
(req: Request, res: Response, next: NextFunction)
server/src/utils/validators/channel.validator.ts:8
↓ 4 callersMethodcreateThreadValidator
(req: Request, res: Response, next: NextFunction)
server/src/utils/validators/chat.validator.ts:26
↓ 4 callersFunctiongo
(...args: any)
client/src/utils/functionalProgramming.ts:41
↓ 4 callersFunctionmakeChatSection
(chats: ChatData[][] | undefined)
client/src/utils/makeChatSection.ts:1
↓ 4 callersFunctionmockRequest
()
server/src/controllers/chat.controller.test.ts:30
↓ 4 callersFunctionmockRequest
(content: string)
server/src/utils/validators/channel.validator.test.ts:16
↓ 4 callersFunctionmockResponse
()
server/src/controllers/chat.controller.test.ts:16
↓ 4 callersFunctionmockResponse
()
server/src/utils/validators/channel.validator.test.ts:10
↓ 4 callersFunctionplaySoundEffect
(soundEffect: SoundEffect)
client/src/utils/playSoundEffect.ts:5
↓ 4 callersFunctionrenderApp
({ path }: Path)
client/src/App.test.tsx:14
↓ 4 callersFunctionrenderSignUp
()
client/src/pages/SignUp/index.test.tsx:7
↓ 4 callersFunctionscrollToBottom
({ smooth }: { smooth: boolean })
client/src/components/Meet/MeetChat/index.tsx:52
↓ 4 callersFunctionuseUserDevice
()
client/src/hooks/useUserDevice.ts:4
↓ 4 callersFunctionvalidateUserName
(userName: string)
client/src/utils/checkResponse.ts:13
↓ 3 callersFunctionapplyDeviceStatus
({ stream, video, audio, }: { stream: MediaStream; video: boolean; audio: boolean; })
client/src/utils/stream.ts:1
↓ 3 callersFunctioncheckLogin
(status: number, responseMessage: string)
client/src/utils/checkResponse.ts:1
↓ 3 callersMethodcreateChannelValidator
(req: Request, res: Response, next: NextFunction)
server/src/utils/validators/group.validator.ts:66
↓ 3 callersMethodcreateGroupValidator
(req: Request, res: Response, next: NextFunction)
server/src/utils/validators/group.validator.ts:43
↓ 3 callersFunctiondeleteFetchOptions
()
client/src/utils/api/fetchOptions.ts:16
↓ 3 callersMethoddeleteGroupValidator
(req: Request, res: Response, next: NextFunction)
server/src/utils/validators/group.validator.ts:94
↓ 3 callersMethodfindByID
(userID: number)
server/src/db/repositories/user.repository.ts:6
↓ 3 callersFunctiongetDay
(targetDay: string)
client/src/utils/makeChatSection.ts:17
↓ 3 callersFunctiongetPresignedUrl
(uploadName: string)
client/src/utils/api/getPresignedUrl.ts:4
↓ 3 callersFunctionisSendPossible
( IDResponseText: string, userNameResponseText: string, passwordResponseText: string, )
client/src/utils/checkResponse.ts:28
↓ 3 callersMethodjoinGroupValidator
(req: Request, res: Response, next: NextFunction)
server/src/utils/validators/group.validator.ts:75
↓ 3 callersFunctionloadItem
(key: string)
client/src/utils/storage.ts:5
↓ 3 callersFunctiononToggleDevice
(target: 'mic' | 'speaker' | 'cam')
client/src/components/SideBar/Profile/index.tsx:40
↓ 3 callersMethodreactionValidator
(req: Request, res: Response, next: NextFunction)
server/src/utils/validators/chat.validator.ts:8
↓ 3 callersFunctionrenderSignIn
()
client/src/pages/SignIn/index.test.tsx:7
↓ 3 callersFunctionuploadFile
(file: File)
client/src/utils/uploadFile.ts:4
↓ 3 callersFunctionuseScroll
( targetRef: RefObject<HTMLElementTagNameMap[keyof HTMLElementTagNameMap]>, )
client/src/hooks/useScroll.ts:3
↓ 3 callersFunctionuseSelectedUser
()
client/src/hooks/useSelectedUser.ts:4
↓ 2 callersFunctionappInit
()
server/src/index.ts:15
↓ 2 callersMethodcaptureStream
()
client/src/utils/capture.ts:5
↓ 2 callersMethodcreateChannel
(req: Request, res: Response, next: NextFunction)
server/src/controllers/group.controller.ts:71
↓ 2 callersFunctiondeleteChannel
({ groupID, channelType, channelID, }: { groupID: number; channelType: 'chatting' | 'meeting'; cha
client/src/utils/api/deleteChannel.ts:4
↓ 2 callersMethoddeleteChannel
(req: Request, res: Response, next: NextFunction)
server/src/controllers/group.controller.ts:104
↓ 2 callersFunctiondeleteGroup
({ groupID }: { groupID: number })
client/src/utils/api/deleteGroup.ts:4
↓ 2 callersMethodfindByIDWithLeaderID
(groupID: string)
server/src/db/repositories/group.repository.ts:6
↓ 2 callersMethodfindThreadsByChatID
(chatID: string)
server/src/db/repositories/thread.repository.ts:6
↓ 2 callersMethodfindUsersByGroupID
(groupID: number)
server/src/db/repositories/groupmember.repository.ts:33
↓ 2 callersFunctiongetInitState
()
client/src/redux/userDevice/slice.ts:10
↓ 2 callersFunctiongetPresignUrl
(fileName)
server/src/utils/S3.ts:22
↓ 2 callersMethodgetThreadValidator
(req: Request, res: Response, next: NextFunction)
server/src/utils/validators/chat.validator.ts:47
↓ 2 callersFunctiongetURLParams
()
client/src/utils/getURLParams.ts:1
↓ 2 callersMethodgroupIDValidator
(req: Request, res: Response, next: NextFunction)
server/src/utils/validators/group.validator.ts:56
↓ 2 callersMethodhandleReaction
(req: Request, res: Response, next: NextFunction)
server/src/controllers/chat.controller.ts:12
↓ 2 callersFunctionmockRequest
()
server/src/controllers/channel.controller.test.ts:21
↓ 2 callersFunctionmockRequest
(value: boolean)
server/src/utils/access-control.middleware.test.ts:5
↓ 2 callersFunctionmockResponse
()
server/src/controllers/channel.controller.test.ts:9
↓ 2 callersFunctionmockResponse
()
server/src/utils/access-control.middleware.test.ts:15
↓ 2 callersFunctiononUserSelected
(user: UserData, isOnline: boolean)
client/src/components/Chat/UserConnection/index.tsx:20
↓ 2 callersFunctionpatchFetchOptions
(body: Body)
client/src/utils/api/fetchOptions.ts:23
↓ 2 callersFunctionpatchUserdata
({ username, thumbnail, bio, }: { username: string; thumbnail: string | null; bio: string; })
client/src/utils/api/patchUserdata.ts:4
↓ 2 callersFunctionpostChat
({ channelID, content, files, }: { channelID: number; content: string | null; files: string[] | nu
client/src/utils/api/postChat.ts:4
↓ 2 callersFunctionpostCreateChannel
({ groupID, channelType, channelName, }: { groupID: number; channelType: 'chatting' | 'meeting'; c
client/src/utils/api/postCreateChannel.ts:4
↓ 2 callersFunctionpostCreateGroup
({ groupName, groupThumbnail, }: { groupName: string; groupThumbnail: string | null; })
client/src/utils/api/postCreateGroup.ts:4
↓ 2 callersFunctionpostCreateThread
({ chatID, content }: { chatID: number; content: string })
client/src/utils/api/postCreateThread.ts:4
↓ 2 callersFunctionpostJoinGroup
({ groupCode }: { groupCode: string })
client/src/utils/api/postJoinGroup.ts:4
↓ 2 callersFunctionpostLikeChat
({ chatID }: { chatID: number })
client/src/utils/api/postLikeChat.ts:4
↓ 2 callersFunctionpostLogout
()
client/src/utils/api/postSignOut.ts:4
↓ 2 callersFunctionpostSignIn
(loginID: string, password: string)
client/src/utils/api/postSignIn.ts:4
↓ 2 callersFunctionpostSignUp
(loginID: string, username: string, password: string)
client/src/utils/api/postSignUp.ts:4
↓ 2 callersFunctionsaveItem
(key: string, value: { mic: boolean; speaker: boolean; cam: boolean })
client/src/utils/storage.ts:1
↓ 2 callersFunctionuseChats
(id: number | null, options?: SWRInfiniteConfiguration)
client/src/hooks/useChats.ts:5
↓ 1 callersFunctioncapture
()
client/src/utils/capture.ts:20
↓ 1 callersFunctioncheckMeetingUserList
(meetingchannelList)
server/src/controllers/socket/meet.socket.ts:13
↓ 1 callersMethodcheckUserInGroup
(groupID: number, userID: number)
server/src/db/repositories/groupmember.repository.ts:6
↓ 1 callersFunctionconnectDB
()
server/src/loaders/orm.loader.ts:42
↓ 1 callersMethodcreateChat
(req: Request, res: Response, next: NextFunction)
server/src/controllers/channel.controller.ts:23
↓ 1 callersFunctioncreateGroup
()
client/src/components/Modal/GroupCreate/index.tsx:35
↓ 1 callersMethodcreateGroup
(req: Request, res: Response, next: NextFunction)
server/src/controllers/group.controller.ts:20
↓ 1 callersMethodcreateThread
(req: Request, res: Response, next: NextFunction)
server/src/controllers/chat.controller.ts:41
↓ 1 callersMethoddeleteGroup
(req: Request, res: Response, next: NextFunction)
server/src/controllers/group.controller.ts:96
↓ 1 callersFunctiondrawImageOnCanvas
(imageBitmap: ImageBitmap, index: number)
client/src/utils/capture.ts:43
↓ 1 callersFunctionencodeBase64
(str: string)
client/src/hooks/useToast.ts:9
↓ 1 callersFunctionencodeBase64
(str: string)
server/src/controllers/group.controller.ts:14
↓ 1 callersFunctionexpressLoader
(app)
server/src/loaders/express.loader.ts:9
↓ 1 callersFunctionfetchFile
(presignedURL: string, file: File)
client/src/utils/uploadFile.ts:21
next →1–100 of 249, ranked by callers