Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostcampwm-2021/web09-Duxcord
/ functions
Functions
249 in github.com/boostcampwm-2021/web09-Duxcord
⨍
Functions
249
◇
Types & classes
119
↓ 38 callers
Function
fireToast
({ message, type, duration = 2000 }: ToastData)
client/src/hooks/useToast.ts:11
↓ 21 callers
Function
accessControl
({ signIn = true }: { signIn: boolean } = { signIn: true })
server/src/utils/access-control.middleware.ts:4
↓ 20 callers
Function
mockRequest
(groupName: string)
server/src/utils/validators/group.validator.test.ts:24
↓ 20 callers
Function
mockResponse
()
server/src/utils/validators/group.validator.test.ts:18
↓ 14 callers
Function
mockFetch
(data: string | undefined, body: any | undefined = undefined)
client/src/utils/test/api.test.ts:18
↓ 14 callers
Function
useSelectedGroup
()
client/src/hooks/useSelectedGroup.ts:4
↓ 12 callers
Function
useSelectedChannel
()
client/src/hooks/useSelectedChannel.ts:4
↓ 11 callers
Function
postFetchOptions
(body: Body)
client/src/utils/api/fetchOptions.ts:5
↓ 10 callers
Function
useToast
()
client/src/hooks/useToast.ts:7
↓ 9 callers
Function
mockRequest
()
server/src/utils/validators/chat.validator.test.ts:24
↓ 9 callers
Function
mockResponse
()
server/src/utils/validators/chat.validator.test.ts:11
↓ 9 callers
Function
useUserdata
( options?: Partial<PublicConfiguration<UserData, any, BareFetcher<UserData>>>, )
client/src/hooks/useUserdata.ts:7
↓ 8 callers
Function
mockRequest
()
server/src/controllers/group.controller.test.ts:23
↓ 8 callers
Function
mockResponse
()
server/src/controllers/group.controller.test.ts:10
↓ 7 callers
Function
validateForm
(ID: string, userName: string, password: string)
client/src/utils/checkResponse.ts:23
↓ 7 callers
Function
validateID
(ID: string)
client/src/utils/checkResponse.ts:8
↓ 7 callers
Function
validatePassword
(password: string)
client/src/utils/checkResponse.ts:18
↓ 6 callers
Method
deleteChannelValidator
(req: Request, res: Response, next: NextFunction)
server/src/utils/validators/group.validator.ts:107
↓ 6 callers
Function
useGroups
( options?: Partial<PublicConfiguration<GroupData[], any, BareFetcher<GroupData[]>>>, )
client/src/hooks/useGroups.ts:23
↓ 5 callers
Function
curry
(f: any)
client/src/utils/functionalProgramming.ts:2
↓ 5 callers
Function
f
(a: HTMLElement)
client/src/utils/test/functionalProgramming.test.ts:10
↓ 4 callers
Method
createChatValidator
(req: Request, res: Response, next: NextFunction)
server/src/utils/validators/channel.validator.ts:8
↓ 4 callers
Method
createThreadValidator
(req: Request, res: Response, next: NextFunction)
server/src/utils/validators/chat.validator.ts:26
↓ 4 callers
Function
go
(...args: any)
client/src/utils/functionalProgramming.ts:41
↓ 4 callers
Function
makeChatSection
(chats: ChatData[][] | undefined)
client/src/utils/makeChatSection.ts:1
↓ 4 callers
Function
mockRequest
()
server/src/controllers/chat.controller.test.ts:30
↓ 4 callers
Function
mockRequest
(content: string)
server/src/utils/validators/channel.validator.test.ts:16
↓ 4 callers
Function
mockResponse
()
server/src/controllers/chat.controller.test.ts:16
↓ 4 callers
Function
mockResponse
()
server/src/utils/validators/channel.validator.test.ts:10
↓ 4 callers
Function
playSoundEffect
(soundEffect: SoundEffect)
client/src/utils/playSoundEffect.ts:5
↓ 4 callers
Function
renderApp
({ path }: Path)
client/src/App.test.tsx:14
↓ 4 callers
Function
renderSignUp
()
client/src/pages/SignUp/index.test.tsx:7
↓ 4 callers
Function
scrollToBottom
({ smooth }: { smooth: boolean })
client/src/components/Meet/MeetChat/index.tsx:52
↓ 4 callers
Function
useUserDevice
()
client/src/hooks/useUserDevice.ts:4
↓ 4 callers
Function
validateUserName
(userName: string)
client/src/utils/checkResponse.ts:13
↓ 3 callers
Function
applyDeviceStatus
({ stream, video, audio, }: { stream: MediaStream; video: boolean; audio: boolean; })
client/src/utils/stream.ts:1
↓ 3 callers
Function
checkLogin
(status: number, responseMessage: string)
client/src/utils/checkResponse.ts:1
↓ 3 callers
Method
createChannelValidator
(req: Request, res: Response, next: NextFunction)
server/src/utils/validators/group.validator.ts:66
↓ 3 callers
Method
createGroupValidator
(req: Request, res: Response, next: NextFunction)
server/src/utils/validators/group.validator.ts:43
↓ 3 callers
Function
deleteFetchOptions
()
client/src/utils/api/fetchOptions.ts:16
↓ 3 callers
Method
deleteGroupValidator
(req: Request, res: Response, next: NextFunction)
server/src/utils/validators/group.validator.ts:94
↓ 3 callers
Method
findByID
(userID: number)
server/src/db/repositories/user.repository.ts:6
↓ 3 callers
Function
getDay
(targetDay: string)
client/src/utils/makeChatSection.ts:17
↓ 3 callers
Function
getPresignedUrl
(uploadName: string)
client/src/utils/api/getPresignedUrl.ts:4
↓ 3 callers
Function
isSendPossible
( IDResponseText: string, userNameResponseText: string, passwordResponseText: string, )
client/src/utils/checkResponse.ts:28
↓ 3 callers
Method
joinGroupValidator
(req: Request, res: Response, next: NextFunction)
server/src/utils/validators/group.validator.ts:75
↓ 3 callers
Function
loadItem
(key: string)
client/src/utils/storage.ts:5
↓ 3 callers
Function
onToggleDevice
(target: 'mic' | 'speaker' | 'cam')
client/src/components/SideBar/Profile/index.tsx:40
↓ 3 callers
Method
reactionValidator
(req: Request, res: Response, next: NextFunction)
server/src/utils/validators/chat.validator.ts:8
↓ 3 callers
Function
renderSignIn
()
client/src/pages/SignIn/index.test.tsx:7
↓ 3 callers
Function
uploadFile
(file: File)
client/src/utils/uploadFile.ts:4
↓ 3 callers
Function
useScroll
( targetRef: RefObject<HTMLElementTagNameMap[keyof HTMLElementTagNameMap]>, )
client/src/hooks/useScroll.ts:3
↓ 3 callers
Function
useSelectedUser
()
client/src/hooks/useSelectedUser.ts:4
↓ 2 callers
Function
appInit
()
server/src/index.ts:15
↓ 2 callers
Method
captureStream
()
client/src/utils/capture.ts:5
↓ 2 callers
Method
createChannel
(req: Request, res: Response, next: NextFunction)
server/src/controllers/group.controller.ts:71
↓ 2 callers
Function
deleteChannel
({ groupID, channelType, channelID, }: { groupID: number; channelType: 'chatting' | 'meeting'; cha
client/src/utils/api/deleteChannel.ts:4
↓ 2 callers
Method
deleteChannel
(req: Request, res: Response, next: NextFunction)
server/src/controllers/group.controller.ts:104
↓ 2 callers
Function
deleteGroup
({ groupID }: { groupID: number })
client/src/utils/api/deleteGroup.ts:4
↓ 2 callers
Method
findByIDWithLeaderID
(groupID: string)
server/src/db/repositories/group.repository.ts:6
↓ 2 callers
Method
findThreadsByChatID
(chatID: string)
server/src/db/repositories/thread.repository.ts:6
↓ 2 callers
Method
findUsersByGroupID
(groupID: number)
server/src/db/repositories/groupmember.repository.ts:33
↓ 2 callers
Function
getInitState
()
client/src/redux/userDevice/slice.ts:10
↓ 2 callers
Function
getPresignUrl
(fileName)
server/src/utils/S3.ts:22
↓ 2 callers
Method
getThreadValidator
(req: Request, res: Response, next: NextFunction)
server/src/utils/validators/chat.validator.ts:47
↓ 2 callers
Function
getURLParams
()
client/src/utils/getURLParams.ts:1
↓ 2 callers
Method
groupIDValidator
(req: Request, res: Response, next: NextFunction)
server/src/utils/validators/group.validator.ts:56
↓ 2 callers
Method
handleReaction
(req: Request, res: Response, next: NextFunction)
server/src/controllers/chat.controller.ts:12
↓ 2 callers
Function
mockRequest
()
server/src/controllers/channel.controller.test.ts:21
↓ 2 callers
Function
mockRequest
(value: boolean)
server/src/utils/access-control.middleware.test.ts:5
↓ 2 callers
Function
mockResponse
()
server/src/controllers/channel.controller.test.ts:9
↓ 2 callers
Function
mockResponse
()
server/src/utils/access-control.middleware.test.ts:15
↓ 2 callers
Function
onUserSelected
(user: UserData, isOnline: boolean)
client/src/components/Chat/UserConnection/index.tsx:20
↓ 2 callers
Function
patchFetchOptions
(body: Body)
client/src/utils/api/fetchOptions.ts:23
↓ 2 callers
Function
patchUserdata
({ username, thumbnail, bio, }: { username: string; thumbnail: string | null; bio: string; })
client/src/utils/api/patchUserdata.ts:4
↓ 2 callers
Function
postChat
({ channelID, content, files, }: { channelID: number; content: string | null; files: string[] | nu
client/src/utils/api/postChat.ts:4
↓ 2 callers
Function
postCreateChannel
({ groupID, channelType, channelName, }: { groupID: number; channelType: 'chatting' | 'meeting'; c
client/src/utils/api/postCreateChannel.ts:4
↓ 2 callers
Function
postCreateGroup
({ groupName, groupThumbnail, }: { groupName: string; groupThumbnail: string | null; })
client/src/utils/api/postCreateGroup.ts:4
↓ 2 callers
Function
postCreateThread
({ chatID, content }: { chatID: number; content: string })
client/src/utils/api/postCreateThread.ts:4
↓ 2 callers
Function
postJoinGroup
({ groupCode }: { groupCode: string })
client/src/utils/api/postJoinGroup.ts:4
↓ 2 callers
Function
postLikeChat
({ chatID }: { chatID: number })
client/src/utils/api/postLikeChat.ts:4
↓ 2 callers
Function
postLogout
()
client/src/utils/api/postSignOut.ts:4
↓ 2 callers
Function
postSignIn
(loginID: string, password: string)
client/src/utils/api/postSignIn.ts:4
↓ 2 callers
Function
postSignUp
(loginID: string, username: string, password: string)
client/src/utils/api/postSignUp.ts:4
↓ 2 callers
Function
saveItem
(key: string, value: { mic: boolean; speaker: boolean; cam: boolean })
client/src/utils/storage.ts:1
↓ 2 callers
Function
useChats
(id: number | null, options?: SWRInfiniteConfiguration)
client/src/hooks/useChats.ts:5
↓ 1 callers
Function
capture
()
client/src/utils/capture.ts:20
↓ 1 callers
Function
checkMeetingUserList
(meetingchannelList)
server/src/controllers/socket/meet.socket.ts:13
↓ 1 callers
Method
checkUserInGroup
(groupID: number, userID: number)
server/src/db/repositories/groupmember.repository.ts:6
↓ 1 callers
Function
connectDB
()
server/src/loaders/orm.loader.ts:42
↓ 1 callers
Method
createChat
(req: Request, res: Response, next: NextFunction)
server/src/controllers/channel.controller.ts:23
↓ 1 callers
Function
createGroup
()
client/src/components/Modal/GroupCreate/index.tsx:35
↓ 1 callers
Method
createGroup
(req: Request, res: Response, next: NextFunction)
server/src/controllers/group.controller.ts:20
↓ 1 callers
Method
createThread
(req: Request, res: Response, next: NextFunction)
server/src/controllers/chat.controller.ts:41
↓ 1 callers
Method
deleteGroup
(req: Request, res: Response, next: NextFunction)
server/src/controllers/group.controller.ts:96
↓ 1 callers
Function
drawImageOnCanvas
(imageBitmap: ImageBitmap, index: number)
client/src/utils/capture.ts:43
↓ 1 callers
Function
encodeBase64
(str: string)
client/src/hooks/useToast.ts:9
↓ 1 callers
Function
encodeBase64
(str: string)
server/src/controllers/group.controller.ts:14
↓ 1 callers
Function
expressLoader
(app)
server/src/loaders/express.loader.ts:9
↓ 1 callers
Function
fetchFile
(presignedURL: string, file: File)
client/src/utils/uploadFile.ts:21
next →
1–100 of 249, ranked by callers