Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Sh031224/Slog
/ functions
Functions
104 in github.com/Sh031224/Slog
⨍
Functions
104
◇
Types & classes
8
↓ 83 callers
Function
cn
(...inputs: ClassValue[])
src/lib/utils.ts:9
↓ 9 callers
Function
buildKey
(...tag: string[])
src/lib/utils.ts:13
↓ 5 callers
Function
dispatch
(action: Action)
src/shared/components/ui/use-toast.ts:129
↓ 4 callers
Function
useFormField
()
src/shared/components/ui/form.tsx:34
↓ 3 callers
Function
fetchPosts
(params: FetchPostsParams)
src/app/(explore)/actions.ts:24
↓ 3 callers
Function
prettyFormatter
(date: Date)
src/lib/utils.ts:35
↓ 3 callers
Function
toast
({ ...props }: Toast)
src/shared/components/ui/use-toast.ts:138
↓ 2 callers
Function
addToRemoveQueue
(toastId: string)
src/shared/components/ui/use-toast.ts:56
↓ 2 callers
Function
fetchPostDetail
(id: number)
src/app/post/[id]/actions.ts:11
↓ 2 callers
Function
handleClickSocial
(provider: string)
src/features/(auth)/sign-in/components/sign-in-form.tsx:69
↓ 2 callers
Function
makePrisma
()
src/lib/database.ts:4
↓ 2 callers
Function
parseURL
(input: string | UrlObject)
src/lib/utils.ts:17
↓ 2 callers
Function
template
( url: string, { title, description, buttonText }: { title: string; description: string; but
src/lib/templates/mail.ts:17
↓ 1 callers
Function
calculateReadingTime
(content: string, wpm = 225)
src/lib/utils.ts:55
↓ 1 callers
Function
checkHideComment
({ comment, user }: Params)
src/features/post/[id]/helpers/index.ts:19
↓ 1 callers
Function
checkOwnComment
({ comment, user }: Params)
src/features/post/[id]/helpers/index.ts:15
↓ 1 callers
Function
createComment
( { postId, ...params }: CreateCommentParams, userId?: string )
src/app/post/[id]/actions.ts:117
↓ 1 callers
Function
createPostView
(postId: number, ip: string)
src/app/post/[id]/actions.ts:26
↓ 1 callers
Function
createReply
( { commentId, postId, ...params }: CreateCommentParams, userId?: string )
src/app/post/[id]/actions.ts:136
↓ 1 callers
Function
dismiss
()
src/shared/components/ui/use-toast.ts:146
↓ 1 callers
Function
encrypt
(data: string)
src/lib/encrypt.ts:1
↓ 1 callers
Function
fetchCategories
()
src/app/(explore)/actions.ts:11
↓ 1 callers
Function
fetchComments
(postId: number)
src/app/post/[id]/actions.ts:64
↓ 1 callers
Function
findImageCount
(content: string)
src/lib/utils.ts:43
↓ 1 callers
Function
genId
()
src/shared/components/ui/use-toast.ts:25
↓ 1 callers
Function
loadMore
()
src/features/(explore)/components/posts/index.tsx:31
↓ 1 callers
Function
onSubmit
({ email }: SignInForm)
src/features/(auth)/sign-in/components/sign-in-form.tsx:44
↓ 1 callers
Function
redirect
({ url, baseUrl })
src/lib/auth.ts:107
↓ 1 callers
Function
reducer
(state: State, action: Action)
src/shared/components/ui/use-toast.ts:72
↓ 1 callers
Function
signInTemplate
(url: string)
src/lib/templates/mail.ts:1
↓ 1 callers
Function
signUpTemplate
(url: string)
src/lib/templates/mail.ts:9
↓ 1 callers
Function
strip
(html: string)
src/lib/utils.ts:49
↓ 1 callers
Function
updateComment
( id: number, { postId, ...params }: CreateCommentParams )
src/app/post/[id]/actions.ts:156
↓ 1 callers
Function
updateReply
( id: number, { postId, ...params }: CreateCommentParams )
src/app/post/[id]/actions.ts:170
↓ 1 callers
Function
useToast
()
src/shared/components/ui/use-toast.ts:167
Function
ActiveLink
({ children, activeClassName, className, ...rest }: Props)
src/shared/components/active-link/index.tsx:13
Function
AlertDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/shared/components/ui/alert-dialog.tsx:68
Function
AlertDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/shared/components/ui/alert-dialog.tsx:54
Function
AlertDialogPortal
({ className, ...props }: AlertDialogPrimitive.AlertDialogPortalProps)
src/shared/components/ui/alert-dialog.tsx:13
Function
Aside
({ title, children }: Props)
src/shared/components/aside/index.tsx:8
Function
AuthLayout
({ children }: Props)
src/app/(auth)/layout.tsx:5
Function
CardSkeletons
()
src/features/(explore)/components/posts/card-skeletons.tsx:3
Function
Categories
()
src/features/(explore)/components/categories/index.tsx:6
Function
CategorySelectBox
({ categories }: Props)
src/features/(explore)/components/categories/category-select-box.tsx:20
Function
CommandDialog
({ children, ...props }: CommandDialogProps)
src/shared/components/ui/command.tsx:28
Function
CommandShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
src/shared/components/ui/command.tsx:125
Function
CommentForm
({ defaultValues, user, onCancel, onSubmit }: Props)
src/features/post/[id]/components/comments/comment-form.tsx:38
Function
CommentItem
({ comment, user, postId, createAction, updateAction, deleteAction }: Props)
src/features/post/[id]/components/comments/comment-item.tsx:51
Function
CommentList
({ user, postId, comments }: Props)
src/features/post/[id]/components/comments/comment-list.tsx:23
Function
CommentSkeletons
()
src/features/post/[id]/components/comments/comment-skeletons.tsx:3
Function
Comments
({ postId }: Props)
src/features/post/[id]/components/comments/index.tsx:10
Function
Container
({ children }: Props)
src/shared/components/container/index.tsx:5
Function
DialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/shared/components/ui/dialog.tsx:74
Function
DialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/shared/components/ui/dialog.tsx:60
Function
DialogPortal
({ className, ...props }: DialogPrimitive.DialogPortalProps)
src/shared/components/ui/dialog.tsx:13
Function
DropdownMenuShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
src/shared/components/ui/dropdown-menu.tsx:171
Function
ExploreLayout
({ children }: Props)
src/app/(explore)/layout.tsx:12
Function
ExploreLoading
()
src/app/(explore)/loading.tsx:3
Function
ExplorePage
({ searchParams }: { searchParams: { [key: string]: string | string[] | undefined }; })
src/app/(explore)/page.tsx:9
Function
FacebookIcon
({ ...props }: LucideProps)
src/shared/components/icons/facebook-icon.tsx:3
Function
Footer
()
src/shared/components/footer/index.tsx:3
Function
FormField
({ ...props }: ControllerProps<TFieldValues, TName>)
src/shared/components/ui/form.tsx:21
Function
GET
()
src/app/rss.xml/route.ts:5
Function
GithubIcon
({ ...props }: LucideProps)
src/shared/components/icons/github-icon.tsx:3
Function
Header
()
src/shared/components/header/index.tsx:13
Function
Markdown
({ content }: Props)
src/shared/components/markdown/index.tsx:11
Function
MarkdownCode
({ children, ...props }: Props)
src/shared/components/markdown/markdown-code.tsx:11
Function
MarkdownHeading
({ children, as, className, ...props }: Props<T>)
src/shared/components/markdown/markdown-heading.tsx:16
Function
POST
(request: Request)
src/app/api/post/upload/route.ts:4
Function
PostDetail
({ post }: Props)
src/features/post/[id]/index.tsx:14
Function
PostHeader
({ post }: Props)
src/features/post/[id]/components/post-header/index.tsx:10
Function
PostLayout
({ children }: Props)
src/app/post/[id]/layout.tsx:5
Function
PostLoading
()
src/app/post/[id]/loading.tsx:3
Function
PostPage
({ params: { id } }: Props)
src/app/post/[id]/page.tsx:49
Function
Posts
({ initialPosts, params, fetchPosts }: Props)
src/features/(explore)/components/posts/index.tsx:16
Function
Privacy
()
src/features/(auth)/privacy/index.tsx:14
Function
PrivacyPage
()
src/app/(auth)/privacy/page.tsx:3
Function
ProfileNav
({ user }: Props)
src/shared/components/header/profile-nav.tsx:20
Function
RootLayout
({ children }: Props)
src/app/layout.tsx:44
Function
SearchMenu
({ ...props }: DialogProps)
src/shared/components/header/search-menu.tsx:21
Function
SettingsLoading
()
src/app/(user)/settings/loading.tsx:1
Function
SettingsPage
()
src/app/(user)/settings/page.tsx:3
Function
SideNav
({ href, children, disabled }: Props)
src/shared/components/side-nav/index.tsx:13
Function
SignIn
()
src/features/(auth)/sign-in/index.tsx:3
Function
SignInButton
()
src/shared/components/header/sign-in-button.tsx:10
Function
SignInForm
()
src/features/(auth)/sign-in/components/sign-in-form.tsx:29
Function
SignInPage
()
src/app/(auth)/sign-in/page.tsx:12
Function
Skeleton
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/shared/components/ui/skeleton.tsx:3
Function
ThemeProvider
({ children, ...props }: ThemeProviderProps)
src/shared/components/theme-provider.tsx:6
Function
ThemeToggle
()
src/shared/components/header/theme-toggle.tsx:14
Function
Toaster
()
src/shared/components/ui/toaster.tsx:13
Function
UserLayout
({ children }: Props)
src/app/(user)/layout.tsx:11
Function
authorized
()
src/lib/auth.ts:84
Function
deleteComment
(commentId: number, postId: number)
src/app/post/[id]/actions.ts:184
Function
deleteReply
(replyId: number, postId: number)
src/app/post/[id]/actions.ts:194
Function
down
(e: KeyboardEvent)
src/shared/components/header/search-menu.tsx:28
Function
generateMetadata
({ params: { id } }: Props)
src/app/post/[id]/page.tsx:19
Function
handleDeleteComment
()
src/features/post/[id]/components/comments/comment-item.tsx:65
Function
handleSignOut
(e: Event)
src/shared/components/header/profile-nav.tsx:21
Function
jwt
({ user, token })
src/lib/auth.ts:87
next →
1–100 of 104, ranked by callers