MCPcopy Index your code

hub / github.com/Sh031224/Slog / functions

Functions104 in github.com/Sh031224/Slog

↓ 83 callersFunctioncn
(...inputs: ClassValue[])
src/lib/utils.ts:9
↓ 9 callersFunctionbuildKey
(...tag: string[])
src/lib/utils.ts:13
↓ 5 callersFunctiondispatch
(action: Action)
src/shared/components/ui/use-toast.ts:129
↓ 4 callersFunctionuseFormField
()
src/shared/components/ui/form.tsx:34
↓ 3 callersFunctionfetchPosts
(params: FetchPostsParams)
src/app/(explore)/actions.ts:24
↓ 3 callersFunctionprettyFormatter
(date: Date)
src/lib/utils.ts:35
↓ 3 callersFunctiontoast
({ ...props }: Toast)
src/shared/components/ui/use-toast.ts:138
↓ 2 callersFunctionaddToRemoveQueue
(toastId: string)
src/shared/components/ui/use-toast.ts:56
↓ 2 callersFunctionfetchPostDetail
(id: number)
src/app/post/[id]/actions.ts:11
↓ 2 callersFunctionhandleClickSocial
(provider: string)
src/features/(auth)/sign-in/components/sign-in-form.tsx:69
↓ 2 callersFunctionmakePrisma
()
src/lib/database.ts:4
↓ 2 callersFunctionparseURL
(input: string | UrlObject)
src/lib/utils.ts:17
↓ 2 callersFunctiontemplate
( url: string, { title, description, buttonText }: { title: string; description: string; but
src/lib/templates/mail.ts:17
↓ 1 callersFunctioncalculateReadingTime
(content: string, wpm = 225)
src/lib/utils.ts:55
↓ 1 callersFunctioncheckHideComment
({ comment, user }: Params)
src/features/post/[id]/helpers/index.ts:19
↓ 1 callersFunctioncheckOwnComment
({ comment, user }: Params)
src/features/post/[id]/helpers/index.ts:15
↓ 1 callersFunctioncreateComment
( { postId, ...params }: CreateCommentParams, userId?: string )
src/app/post/[id]/actions.ts:117
↓ 1 callersFunctioncreatePostView
(postId: number, ip: string)
src/app/post/[id]/actions.ts:26
↓ 1 callersFunctioncreateReply
( { commentId, postId, ...params }: CreateCommentParams, userId?: string )
src/app/post/[id]/actions.ts:136
↓ 1 callersFunctiondismiss
()
src/shared/components/ui/use-toast.ts:146
↓ 1 callersFunctionencrypt
(data: string)
src/lib/encrypt.ts:1
↓ 1 callersFunctionfetchCategories
()
src/app/(explore)/actions.ts:11
↓ 1 callersFunctionfetchComments
(postId: number)
src/app/post/[id]/actions.ts:64
↓ 1 callersFunctionfindImageCount
(content: string)
src/lib/utils.ts:43
↓ 1 callersFunctiongenId
()
src/shared/components/ui/use-toast.ts:25
↓ 1 callersFunctionloadMore
()
src/features/(explore)/components/posts/index.tsx:31
↓ 1 callersFunctiononSubmit
({ email }: SignInForm)
src/features/(auth)/sign-in/components/sign-in-form.tsx:44
↓ 1 callersFunctionredirect
({ url, baseUrl })
src/lib/auth.ts:107
↓ 1 callersFunctionreducer
(state: State, action: Action)
src/shared/components/ui/use-toast.ts:72
↓ 1 callersFunctionsignInTemplate
(url: string)
src/lib/templates/mail.ts:1
↓ 1 callersFunctionsignUpTemplate
(url: string)
src/lib/templates/mail.ts:9
↓ 1 callersFunctionstrip
(html: string)
src/lib/utils.ts:49
↓ 1 callersFunctionupdateComment
( id: number, { postId, ...params }: CreateCommentParams )
src/app/post/[id]/actions.ts:156
↓ 1 callersFunctionupdateReply
( id: number, { postId, ...params }: CreateCommentParams )
src/app/post/[id]/actions.ts:170
↓ 1 callersFunctionuseToast
()
src/shared/components/ui/use-toast.ts:167
FunctionActiveLink
({ children, activeClassName, className, ...rest }: Props)
src/shared/components/active-link/index.tsx:13
FunctionAlertDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/shared/components/ui/alert-dialog.tsx:68
FunctionAlertDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/shared/components/ui/alert-dialog.tsx:54
FunctionAlertDialogPortal
({ className, ...props }: AlertDialogPrimitive.AlertDialogPortalProps)
src/shared/components/ui/alert-dialog.tsx:13
FunctionAside
({ title, children }: Props)
src/shared/components/aside/index.tsx:8
FunctionAuthLayout
({ children }: Props)
src/app/(auth)/layout.tsx:5
FunctionCardSkeletons
()
src/features/(explore)/components/posts/card-skeletons.tsx:3
FunctionCategories
()
src/features/(explore)/components/categories/index.tsx:6
FunctionCategorySelectBox
({ categories }: Props)
src/features/(explore)/components/categories/category-select-box.tsx:20
FunctionCommandDialog
({ children, ...props }: CommandDialogProps)
src/shared/components/ui/command.tsx:28
FunctionCommandShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
src/shared/components/ui/command.tsx:125
FunctionCommentForm
({ defaultValues, user, onCancel, onSubmit }: Props)
src/features/post/[id]/components/comments/comment-form.tsx:38
FunctionCommentItem
({ comment, user, postId, createAction, updateAction, deleteAction }: Props)
src/features/post/[id]/components/comments/comment-item.tsx:51
FunctionCommentList
({ user, postId, comments }: Props)
src/features/post/[id]/components/comments/comment-list.tsx:23
FunctionCommentSkeletons
()
src/features/post/[id]/components/comments/comment-skeletons.tsx:3
FunctionComments
({ postId }: Props)
src/features/post/[id]/components/comments/index.tsx:10
FunctionContainer
({ children }: Props)
src/shared/components/container/index.tsx:5
FunctionDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/shared/components/ui/dialog.tsx:74
FunctionDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/shared/components/ui/dialog.tsx:60
FunctionDialogPortal
({ className, ...props }: DialogPrimitive.DialogPortalProps)
src/shared/components/ui/dialog.tsx:13
FunctionDropdownMenuShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
src/shared/components/ui/dropdown-menu.tsx:171
FunctionExploreLayout
({ children }: Props)
src/app/(explore)/layout.tsx:12
FunctionExploreLoading
()
src/app/(explore)/loading.tsx:3
FunctionExplorePage
({ searchParams }: { searchParams: { [key: string]: string | string[] | undefined }; })
src/app/(explore)/page.tsx:9
FunctionFacebookIcon
({ ...props }: LucideProps)
src/shared/components/icons/facebook-icon.tsx:3
FunctionFooter
()
src/shared/components/footer/index.tsx:3
FunctionFormField
({ ...props }: ControllerProps<TFieldValues, TName>)
src/shared/components/ui/form.tsx:21
FunctionGET
()
src/app/rss.xml/route.ts:5
FunctionGithubIcon
({ ...props }: LucideProps)
src/shared/components/icons/github-icon.tsx:3
FunctionHeader
()
src/shared/components/header/index.tsx:13
FunctionMarkdown
({ content }: Props)
src/shared/components/markdown/index.tsx:11
FunctionMarkdownCode
({ children, ...props }: Props)
src/shared/components/markdown/markdown-code.tsx:11
FunctionMarkdownHeading
({ children, as, className, ...props }: Props<T>)
src/shared/components/markdown/markdown-heading.tsx:16
FunctionPOST
(request: Request)
src/app/api/post/upload/route.ts:4
FunctionPostDetail
({ post }: Props)
src/features/post/[id]/index.tsx:14
FunctionPostHeader
({ post }: Props)
src/features/post/[id]/components/post-header/index.tsx:10
FunctionPostLayout
({ children }: Props)
src/app/post/[id]/layout.tsx:5
FunctionPostLoading
()
src/app/post/[id]/loading.tsx:3
FunctionPostPage
({ params: { id } }: Props)
src/app/post/[id]/page.tsx:49
FunctionPosts
({ initialPosts, params, fetchPosts }: Props)
src/features/(explore)/components/posts/index.tsx:16
FunctionPrivacy
()
src/features/(auth)/privacy/index.tsx:14
FunctionPrivacyPage
()
src/app/(auth)/privacy/page.tsx:3
FunctionProfileNav
({ user }: Props)
src/shared/components/header/profile-nav.tsx:20
FunctionRootLayout
({ children }: Props)
src/app/layout.tsx:44
FunctionSearchMenu
({ ...props }: DialogProps)
src/shared/components/header/search-menu.tsx:21
FunctionSettingsLoading
()
src/app/(user)/settings/loading.tsx:1
FunctionSettingsPage
()
src/app/(user)/settings/page.tsx:3
FunctionSideNav
({ href, children, disabled }: Props)
src/shared/components/side-nav/index.tsx:13
FunctionSignIn
()
src/features/(auth)/sign-in/index.tsx:3
FunctionSignInButton
()
src/shared/components/header/sign-in-button.tsx:10
FunctionSignInForm
()
src/features/(auth)/sign-in/components/sign-in-form.tsx:29
FunctionSignInPage
()
src/app/(auth)/sign-in/page.tsx:12
FunctionSkeleton
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/shared/components/ui/skeleton.tsx:3
FunctionThemeProvider
({ children, ...props }: ThemeProviderProps)
src/shared/components/theme-provider.tsx:6
FunctionThemeToggle
()
src/shared/components/header/theme-toggle.tsx:14
FunctionToaster
()
src/shared/components/ui/toaster.tsx:13
FunctionUserLayout
({ children }: Props)
src/app/(user)/layout.tsx:11
Functionauthorized
()
src/lib/auth.ts:84
FunctiondeleteComment
(commentId: number, postId: number)
src/app/post/[id]/actions.ts:184
FunctiondeleteReply
(replyId: number, postId: number)
src/app/post/[id]/actions.ts:194
Functiondown
(e: KeyboardEvent)
src/shared/components/header/search-menu.tsx:28
FunctiongenerateMetadata
({ params: { id } }: Props)
src/app/post/[id]/page.tsx:19
FunctionhandleDeleteComment
()
src/features/post/[id]/components/comments/comment-item.tsx:65
FunctionhandleSignOut
(e: Event)
src/shared/components/header/profile-nav.tsx:21
Functionjwt
({ user, token })
src/lib/auth.ts:87
next →1–100 of 104, ranked by callers