Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GetStream/discord-clone-nextjs
/ functions
Functions
67 in github.com/GetStream/discord-clone-nextjs
⨍
Functions
67
◇
Types & classes
0
↓ 7 callers
Function
useDiscordContext
()
contexts/DiscordContext.tsx:231
↓ 2 callers
Function
buttonDisabled
()
components/ServerList/CreateServerForm.tsx:134
↓ 2 callers
Function
buttonDisabled
()
components/ChannelList/CreateChannelForm/CreateChannelForm.tsx:183
↓ 2 callers
Function
getUserToken
(userId: string, userName: string)
app/page.tsx:93
↓ 1 callers
Function
checkIfUrl
(path: string)
components/ServerList/ServerList.tsx:95
↓ 1 callers
Function
formatDate
(date: Date | string)
components/MessageList/CustomMessage/CustomMessage.tsx:52
↓ 1 callers
Function
formatDate
(date: Date)
components/MessageList/CustomDateSeparator/CustomDateSeparator.tsx:8
↓ 1 callers
Function
useClient
({ apiKey, user, tokenOrProvider, }: UseClientOptions)
hooks/useClient.ts:10
↓ 1 callers
Function
useVideoClient
({ apiKey, user, tokenOrProvider, }: UseClientOptions)
hooks/useVideoClient.ts:5
↓ 1 callers
Function
userChanged
(user: UserObject, checked: boolean)
components/ChannelList/CreateChannelForm/CreateChannelForm.tsx:189
Function
Apps
({ className = 'w-5 h-5' }: IconProps)
components/ChannelList/Icons.tsx:404
Function
ArrowUturnLeft
({ className = 'w-5 h-5', }: IconProps)
components/ChannelList/Icons.tsx:417
Function
Bell
({ className = 'h-5 w-5' }: IconProps)
components/ChannelList/Icons.tsx:131
Function
Boost
({ className = 'h-5 w-5' }: IconProps)
components/ChannelList/Icons.tsx:148
Function
CallLayout
()
components/MyCall/CallLayout.tsx:11
Function
CallList
()
components/ChannelList/CallList/CallList.tsx:7
Function
CategoryItem
({ category, serverName, channels, }: CategoryItemProps)
components/ChannelList/CategoryItem/CategoryItem.tsx:16
Function
ChannelListBottomBar
()
components/ChannelList/BottomBar/ChannelListBottomBar.tsx:8
Function
ChannelListMenuRow
({ name, icon, bottomBorder = true, purple = false, red = false, reverseOrder = false, }: ListRowE
components/ChannelList/TopBar/ChannelListMenuRow.tsx:3
Function
ChannelListTopBar
({ serverName, }: { serverName: string; })
components/ChannelList/TopBar/ChannelListTopBar.tsx:6
Function
ChevronDown
({ className = 'h-5 w-5 text-gray-500', }: IconProps)
components/ChannelList/Icons.tsx:110
Function
ChevronRight
({ className = 'h-5 w-5 text-gray-500', }: IconProps)
components/ChannelList/Icons.tsx:89
Function
CloseCircle
({ className = 'w-8 h-8 text-gray-500 hover:text-black hover:font-bold', })
components/ChannelList/Icons.tsx:49
Function
CloseIcon
({ className = 'h-5 w-5 text-gray-500', }: IconProps)
components/ChannelList/Icons.tsx:28
Function
CloseMark
({ className = 'w-5 h-5' }: IconProps)
components/ChannelList/Icons.tsx:438
Function
CreateChannelForm
()
components/ChannelList/CreateChannelForm/CreateChannelForm.tsx:19
Function
CreateServerForm
()
components/ServerList/CreateServerForm.tsx:18
Function
CustomChannelHeader
()
components/MessageList/CustomChannelHeader/CustomChannelHeader.tsx:3
Function
CustomChannelList
()
components/ChannelList/CustomChannelList.tsx:10
Function
CustomChannelPreview
(props: ChannelPreviewUIComponentProps)
components/ChannelList/CustomChannelPreview.tsx:6
Function
CustomDateSeparator
( props: DateSeparatorProps )
components/MessageList/CustomDateSeparator/CustomDateSeparator.tsx:3
Function
CustomMessage
()
components/MessageList/CustomMessage/CustomMessage.tsx:10
Function
DiscordContextProvider
({ children, }: { children: React.ReactNode; })
contexts/DiscordContext.tsx:50
Function
Emoji
({ className = 'w-full h-full' }: IconProps)
components/ChannelList/Icons.tsx:370
Function
FaceSmile
({ className = 'h-5 w-5' }: IconProps)
components/ChannelList/Icons.tsx:165
Function
FolderPlus
({ className = 'h-5 w-5' }: IconProps)
components/ChannelList/Icons.tsx:182
Function
GET
()
app/api/users/route.ts:4
Function
GIF
({ className = 'w-full h-full' }: IconProps)
components/ChannelList/Icons.tsx:353
Function
Gear
({ className = 'h-5 w-5' }: IconProps)
components/ChannelList/Icons.tsx:199
Function
Home
()
app/page.tsx:28
Function
Home
()
app/register/page.tsx:3
Function
LeaveServer
({ className = 'h-5 w-5' }: IconProps)
components/ChannelList/Icons.tsx:216
Function
MessageComposer
()
components/MessageList/MessageComposer/MessageComposer.tsx:12
Function
MessageOptions
({ showEmojiReactions, }: { showEmojiReactions: Dispatch<SetStateAction<boolean>>; })
components/MessageList/CustomMessage/MessageOptions.tsx:4
Function
Mic
({ className = 'w-full h-full' }: IconProps)
components/ChannelList/Icons.tsx:308
Function
MyCall
({ callId }: { callId: string })
components/MyCall/MyCall.tsx:9
Function
MyChat
({ apiKey, user, token, }: { apiKey: string; user: User; token: string; })
components/MyChat.tsx:26
Function
POST
(request: Request)
app/api/token/route.ts:3
Function
POST
(request: Request)
app/api/register-user/route.ts:4
Function
Pen
({ className = 'h-5 w-5' }: IconProps)
components/ChannelList/Icons.tsx:233
Function
PersonAdd
({ className = 'h-5 w-5' }: IconProps)
components/ChannelList/Icons.tsx:246
Function
PersonIcon
({ className = 'h-8 w-8' }: IconProps)
components/ChannelList/Icons.tsx:70
Function
PlusCircle
({ className = 'h-5 w-5' }: IconProps)
components/ChannelList/Icons.tsx:259
Function
PlusIcon
({ className = 'h-5 w-5 text-gray-500', }: IconProps)
components/ChannelList/Icons.tsx:7
Function
Present
({ className = 'w-full h-full', }: IconProps)
components/ChannelList/Icons.tsx:338
Function
RootLayout
({ children, }: { children: React.ReactNode; })
app/layout.tsx:14
Function
ServerList
()
components/ServerList/ServerList.tsx:10
Function
Shield
({ className = 'h-5 w-5' }: IconProps)
components/ChannelList/Icons.tsx:276
Function
Speaker
({ className = 'w-full h-full', }: IconProps)
components/ChannelList/Icons.tsx:322
Function
SpeakerMuted
({ className = 'h-5 w-5', }: IconProps)
components/ChannelList/Icons.tsx:293
Function
Thread
({ className = 'w-5 h-5' }: IconProps)
components/ChannelList/Icons.tsx:387
Function
UserCard
({ user }: { user: UserObject })
components/ServerList/UserCard.tsx:4
Function
UserRow
({ user, userChanged, }: { user: UserObject; userChanged: (user: UserObject, checked: boolean) => void
components/ChannelList/CreateChannelForm/UserRow.tsx:5
Function
afterAuth
(auth, request)
middleware.ts:15
Function
createClicked
()
components/ServerList/CreateServerForm.tsx:156
Function
createClicked
()
components/ChannelList/CreateChannelForm/CreateChannelForm.tsx:203
Function
userChanged
(user: UserObject, checked: boolean)
components/ServerList/CreateServerForm.tsx:142