MCPcopy Create free account

hub / github.com/adrianhajdin/project_next_14_ai_prompt_sharing / functions

Functions37 in github.com/adrianhajdin/project_next_14_ai_prompt_sharing

↓ 7 callersFunctionconnectToDB
()
utils/database.js:5
↓ 2 callersFunctionfilterPrompts
(searchtext)
components/Feed.jsx:40
↓ 2 callersFunctionsignIn
({ account, profile, user, credentials })
app/api/auth/[...nextauth]/route.js:22
↓ 1 callersFunctionfetchPosts
()
components/Feed.jsx:29
↓ 1 callersFunctionfetchPosts
()
app/profile/page.jsx:16
↓ 1 callersFunctionfetchPosts
()
app/profile/[id]/page.jsx:15
↓ 1 callersFunctiongetPromptDetails
()
app/update-prompt/page.jsx:17
↓ 1 callersFunctionhandleDelete
(post)
app/profile/page.jsx:30
↓ 1 callersFunctionhandleEdit
(post)
app/profile/page.jsx:26
↓ 1 callersFunctionhandleTagClick
(tagName)
components/Feed.jsx:63
FunctionCreatePrompt
()
app/create-prompt/page.jsx:9
FunctionDELETE
(request, { params })
app/api/prompt/[id]/route.js:43
FunctionFeed
()
components/Feed.jsx:21
FunctionForm
({ type, post, setPost, submitting, handleSubmit })
components/Form.jsx:3
FunctionGET
(request, { params })
app/api/users/[id]/posts/route.js:4
FunctionGET
(request)
app/api/prompt/route.js:4
FunctionGET
(request, { params })
app/api/prompt/[id]/route.js:4
FunctionHome
()
app/page.jsx:3
FunctionLoading
()
app/profile/loading.jsx:3
FunctionMyProfile
()
app/profile/page.jsx:9
FunctionNav
()
components/Nav.jsx:8
FunctionPATCH
(request, { params })
app/api/prompt/[id]/route.js:18
FunctionPOST
(request)
app/api/prompt/new/route.js:4
FunctionProfile
({ name, desc, data, handleEdit, handleDelete })
components/Profile.jsx:3
FunctionPromptCard
({ post, handleEdit, handleDelete, handleTagClick })
components/PromptCard.jsx:8
FunctionPromptCardList
({ data, handleTagClick })
components/Feed.jsx:7
FunctionProvider
({ children, session })
components/Provider.jsx:5
FunctionRootLayout
({ children })
app/layout.jsx:11
FunctionUpdatePrompt
()
app/update-prompt/page.jsx:8
FunctionUserProfile
({ params })
app/profile/[id]/page.jsx:8
FunctioncreatePrompt
(e)
app/create-prompt/page.jsx:16
FunctionhandleCopy
()
components/PromptCard.jsx:23
FunctionhandleProfileClick
()
components/PromptCard.jsx:15
FunctionhandleSearchChange
(e)
components/Feed.jsx:50
Functionsession
({ session })
app/api/auth/[...nextauth]/route.js:15
FunctionupdatePrompt
(e)
app/update-prompt/page.jsx:30
Functionwebpack
(config)
next.config.js:10