MCPcopy Create free account

hub / github.com/aadeshkulkarni/figuringout / functions

Functions86 in github.com/aadeshkulkarni/figuringout

↓ 39 callersFunctioncn
(...inputs: ClassValue[])
lib/utils.ts:4
↓ 6 callersFunctionformatDate
(date: { toLocaleString: (arg0: string, arg1: { weekday: string; year: string; month: string; day: string; hou
app/lib/util.ts:1
↓ 6 callersFunctionusePost
()
app/contexts/PostProvider.tsx:53
↓ 3 callersFunctionusePosts
()
app/contexts/PostsProvider.tsx:45
↓ 2 callersFunctionfetchPostById
(postId: string)
app/actions/posts.ts:58
↓ 2 callersFunctiongetAllPosts
()
app/contexts/PostsProvider.tsx:19
↓ 2 callersFunctiongetPostById
(postId: string)
app/contexts/PostProvider.tsx:19
↓ 1 callersFunctionfetchPosts
()
app/actions/posts.ts:9
↓ 1 callersFunctionfetchSearchSuggestions
()
app/actions/users.ts:3
↓ 1 callersFunctioninit
()
components/post/Post.tsx:17
↓ 1 callersFunctionregisterServiceWorker
()
components/pwa/PushNotificationManager.tsx:31
↓ 1 callersFunctionsendNotification
(message: string)
app/actions/pwa.ts:28
↓ 1 callersFunctionsubscribeUser
(sub: PushSubscription)
app/actions/pwa.ts:14
↓ 1 callersFunctionunsubscribeUser
()
app/actions/pwa.ts:21
↓ 1 callersFunctionurlBase64ToUint8Array
(base64String: string)
components/pwa/PushNotificationManager.tsx:6
FunctionCommandDialog
({ children, ...props }: CommandDialogProps)
components/ui/command.tsx:28
FunctionCommandShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
components/ui/command.tsx:129
FunctionCommentMenu
({ isAuthor })
components/comments/CommentMenu.tsx:15
FunctionComments
()
components/comments/Comments.tsx:24
FunctionCreateComment
({ postId, total })
components/comments/CreateComment.tsx:27
FunctionCreatePost
({ openOnLoad = false, children}: { openOnLoad?: boolean, children?: React.ReactElement })
components/posts/CreatePost.tsx:24
FunctionDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
components/ui/dialog.tsx:70
FunctionDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
components/ui/dialog.tsx:56
FunctionDropdownMenuShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
components/ui/dropdown-menu.tsx:171
FunctionFooter
()
components/Footer.tsx:4
FunctionGET
()
app/api/post/route.ts:7
FunctionGET
(request: Request, { params }: { params: Promise<{ slug: string }> })
app/api/post/like/[postId]/route.ts:7
FunctionGET
(request: Request, { params }: { params: Promise<{ slug: string }> })
app/api/post/comment/[postId]/route.ts:7
FunctionGoBack
()
components/GoBack.tsx:8
FunctionHeader
()
components/Header.tsx:18
FunctionHome
()
app/page.tsx:9
FunctionInstallPrompt
()
components/pwa/InstallPrompt.tsx:8
FunctionLandingLayout
({ children }: { children: React.ReactNode })
app/(policies)/layout.tsx:4
FunctionLogin
()
app/login/page.tsx:6
FunctionNav
()
components/Header.tsx:30
FunctionNoPosts
()
components/posts/Post.tsx:94
FunctionPOST
(req: Request)
app/api/post/route.ts:18
FunctionPOST
(request: Request)
app/api/post/comment/route.ts:8
FunctionPage
({ params }: { params: Promise<{ postId: string }> })
app/post/[postId]/page.tsx:4
FunctionPoliciesPage
()
app/(policies)/policies/page.tsx:4
FunctionPost
({ postId }: { postId: string })
components/post/Post.tsx:14
FunctionPost
({ _id, user, content, likes, comments, createdAt })
components/posts/Post.tsx:15
FunctionPostActions
()
components/post/PostActions.tsx:9
FunctionPostContent
()
components/post/PostContent.tsx:5
FunctionPostFooter
()
components/post/PostFooter.tsx:6
FunctionPostHeader
()
components/post/PostHeader.tsx:9
FunctionPostList
()
components/posts/PostList.tsx:7
FunctionPostListShimmer
()
components/shimmer/PostListShimmer.tsx:4
FunctionPostMenu
({ isAuthor })
components/posts/PostMenu.tsx:16
FunctionPostProvider
({ value, children }: { value: Object; children: React.ReactNode })
app/contexts/PostProvider.tsx:16
FunctionPostSchimmer
()
components/posts/Post.tsx:102
FunctionPostShimmer
()
components/shimmer/PostShimmer.tsx:4
FunctionPostsProvider
({ children }: { children: React.ReactNode })
app/contexts/PostsProvider.tsx:16
FunctionProviders
({ children }: { children: React.ReactNode })
app/providers.tsx:7
FunctionPushNotificationManager
()
components/pwa/PushNotificationManager.tsx:19
FunctionRootLayout
({ children, }: Readonly<{ children: React.ReactNode; }>)
app/layout.tsx:26
FunctionSearch
()
app/search/page.tsx:18
FunctionSheetFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
components/ui/sheet.tsx:91
FunctionSheetHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
components/ui/sheet.tsx:77
FunctionSideNavbar
()
components/SideNavbar.tsx:41
FunctionSignup
()
app/signup/page.tsx:16
FunctionTermsAndConditions
()
app/(policies)/terms/page.tsx:5
FunctionThemeProvider
({ children, ...props }: ThemeProviderProps)
components/ThemeProvider.tsx:7
FunctionThemeToggle
()
components/ThemeToggle.tsx:15
FunctionToaster
({ ...props }: ToasterProps)
components/ui/sonner.tsx:8
FunctionaddComment
(postId: string, comment: string)
app/contexts/PostProvider.tsx:31
FunctioncreatePost
()
components/posts/CreatePost.tsx:41
FunctioneditPost
(e: React.MouseEvent<HTMLElement>)
components/posts/PostMenu.tsx:18
Functionheaders
()
next.config.ts:21
FunctionlikePost
(event:any)
components/post/PostActions.tsx:17
FunctionlikePost
(e: React.MouseEvent<HTMLButtonElement>)
components/posts/Post.tsx:24
FunctionlikePost
(postId: string)
app/contexts/PostProvider.tsx:24
FunctionlikePost
(userId: string)
app/contexts/PostsProvider.tsx:24
Functionmanifest
()
app/manifest.ts:3
FunctiononChange
(e: ChangeEvent<HTMLInputElement>)
app/signup/page.tsx:20
FunctiononContentChange
(e: ChangeEvent<HTMLTextAreaElement>)
components/comments/CreateComment.tsx:36
FunctiononContentChange
(e: ChangeEvent<HTMLTextAreaElement>)
components/posts/CreatePost.tsx:33
Functionpage
()
app/activity/page.tsx:4
Functionpage
()
app/profile/page.tsx:3
Functionpage
()
app/create/page.tsx:8
Functionpage
()
app/(policies)/contact/page.tsx:4
Functionpage
()
app/(policies)/privacy/page.tsx:5
FunctionsendTestNotification
()
components/pwa/PushNotificationManager.tsx:56
Functionsignup
()
app/signup/page.tsx:23
FunctionsubscribeToPush
()
components/pwa/PushNotificationManager.tsx:40
FunctionunsubscribeFromPush
()
components/pwa/PushNotificationManager.tsx:50