MCPcopy Create free account

hub / github.com/adrianhajdin/project_nextjs13_flexibble / functions

Functions47 in github.com/adrianhajdin/project_nextjs13_flexibble

↓ 8 callersFunctionmakeGraphQLRequest
(query: string, variables = {})
lib/actions.ts:36
↓ 6 callersFunctionhandleStateChange
(fieldName: keyof FormState, value: string)
components/ProjectForm.tsx:33
↓ 4 callersFunctiongetCurrentUser
()
lib/session.ts:80
↓ 3 callersFunctionrenderLink
()
app/project/[id]/page.tsx:21
↓ 2 callersFunctionfetchToken
()
lib/actions.ts:13
↓ 2 callersFunctiongetProjectDetails
(id: string)
lib/actions.ts:103
↓ 2 callersFunctiongetUser
(email: string)
lib/actions.ts:127
↓ 2 callersFunctiongetUserProjects
(id: string, last?: number)
lib/actions.ts:122
↓ 2 callersFunctionhandleNavigation
(type: string)
components/LoadMore.tsx:17
↓ 2 callersFunctionuploadImage
(imagePath: string)
lib/actions.ts:22
↓ 1 callersFunctioncreateNewProject
(form: ProjectForm, creatorId: string, token: string)
lib/actions.ts:50
↓ 1 callersFunctioncreateUser
(name: string, email: string, avatarUrl: string)
lib/actions.ts:108
↓ 1 callersFunctiondeleteProject
(id: string, token: string)
lib/actions.ts:98
↓ 1 callersFunctionfetchAllProjects
(category?: string | null, endcursor?: string | null)
lib/actions.ts:44
↓ 1 callersFunctionfetchProviders
()
components/AuthProviders.tsx:24
↓ 1 callersFunctionhandleChangeImage
(e: ChangeEvent<HTMLInputElement>)
components/ProjectForm.tsx:37
↓ 1 callersFunctionhandleTags
(item: string)
components/Categories.tsx:14
↓ 1 callersFunctionisBase64DataURL
(value: string)
lib/actions.ts:71
↓ 1 callersFunctionsignIn
({ user }: { user: AdapterUser | User })
lib/session.ts:61
↓ 1 callersFunctionupdateProject
(form: ProjectForm, projectId: string, token: string)
lib/actions.ts:70
FunctionAuthProviders
()
components/AuthProviders.tsx:20
FunctionButton
({ title, leftIcon, rightIcon, handleClick, submitting, type, bgColor, textColor }: Props)
components/Button.tsx:15
FunctionCategories
()
components/Categories.tsx:7
FunctionCreateProject
()
app/create-project/page.tsx:7
FunctionCustomMenu
({ title, state, filters, setState }: Props)
components/CustomMenu.tsx:14
FunctionEditProject
({ params: { id } }: { params: { id: string } })
app/edit-project/[id]/page.tsx:9
FunctionFooter
()
components/Footer.tsx:20
FunctionFooterColumn
({ title, links }: ColumnProps)
components/Footer.tsx:11
FunctionFormField
({ type, title, state, placeholder, isTextArea, setState }: Props)
components/FormField.tsx:10
FunctionGET
(req: NextRequest)
app/api/auth/token/route.ts:6
FunctionHome
({ searchParams: { category, endcursor } }: Props)
app/page.tsx:32
FunctionLoadMore
({ startCursor, endCursor, hasPreviousPage, hasNextPage }: Props)
components/LoadMore.tsx:14
FunctionModal
({ children }: { children: ReactNode })
components/Modal.tsx:7
FunctionNavbar
()
components/Navbar.tsx:11
FunctionPOST
(request: Request)
app/api/upload/route.ts:10
FunctionProfileMenu
({ session }: { session: SessionInterface })
components/ProfileMenu.tsx:11
FunctionProfilePage
({ user }: Props)
components/ProfilePage.tsx:12
FunctionProject
({ params: { id } }: { params: { id: string } })
app/project/[id]/page.tsx:11
FunctionProjectActions
({ projectId }: Props)
components/ProjectActions.tsx:14
FunctionProjectCard
({ id, image, title, name, avatarUrl, userId }: Props)
components/ProjectCard.tsx:17
FunctionProjectForm
({ type, session, project }: Props)
components/ProjectForm.tsx:20
FunctionRelatedProjects
({ userId, projectId }: Props)
components/RelatedProjects.tsx:12
FunctionRootLayout
({ children }: { children: React.ReactNode })
app/layout.tsx:10
FunctionUserProfile
({ params }: Props)
app/profile/[id]/page.tsx:11
FunctionhandleDeleteProject
()
components/ProjectActions.tsx:19
FunctionhandleFormSubmit
(e: FormEvent)
components/ProjectForm.tsx:61
Functionsession
({ session })
lib/session.ts:41