Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adrianhajdin/project_nextjs13_flexibble
/ functions
Functions
47 in github.com/adrianhajdin/project_nextjs13_flexibble
⨍
Functions
47
◇
Types & classes
4
↓ 8 callers
Function
makeGraphQLRequest
(query: string, variables = {})
lib/actions.ts:36
↓ 6 callers
Function
handleStateChange
(fieldName: keyof FormState, value: string)
components/ProjectForm.tsx:33
↓ 4 callers
Function
getCurrentUser
()
lib/session.ts:80
↓ 3 callers
Function
renderLink
()
app/project/[id]/page.tsx:21
↓ 2 callers
Function
fetchToken
()
lib/actions.ts:13
↓ 2 callers
Function
getProjectDetails
(id: string)
lib/actions.ts:103
↓ 2 callers
Function
getUser
(email: string)
lib/actions.ts:127
↓ 2 callers
Function
getUserProjects
(id: string, last?: number)
lib/actions.ts:122
↓ 2 callers
Function
handleNavigation
(type: string)
components/LoadMore.tsx:17
↓ 2 callers
Function
uploadImage
(imagePath: string)
lib/actions.ts:22
↓ 1 callers
Function
createNewProject
(form: ProjectForm, creatorId: string, token: string)
lib/actions.ts:50
↓ 1 callers
Function
createUser
(name: string, email: string, avatarUrl: string)
lib/actions.ts:108
↓ 1 callers
Function
deleteProject
(id: string, token: string)
lib/actions.ts:98
↓ 1 callers
Function
fetchAllProjects
(category?: string | null, endcursor?: string | null)
lib/actions.ts:44
↓ 1 callers
Function
fetchProviders
()
components/AuthProviders.tsx:24
↓ 1 callers
Function
handleChangeImage
(e: ChangeEvent<HTMLInputElement>)
components/ProjectForm.tsx:37
↓ 1 callers
Function
handleTags
(item: string)
components/Categories.tsx:14
↓ 1 callers
Function
isBase64DataURL
(value: string)
lib/actions.ts:71
↓ 1 callers
Function
signIn
({ user }: { user: AdapterUser | User })
lib/session.ts:61
↓ 1 callers
Function
updateProject
(form: ProjectForm, projectId: string, token: string)
lib/actions.ts:70
Function
AuthProviders
()
components/AuthProviders.tsx:20
Function
Button
({ title, leftIcon, rightIcon, handleClick, submitting, type, bgColor, textColor }: Props)
components/Button.tsx:15
Function
Categories
()
components/Categories.tsx:7
Function
CreateProject
()
app/create-project/page.tsx:7
Function
CustomMenu
({ title, state, filters, setState }: Props)
components/CustomMenu.tsx:14
Function
EditProject
({ params: { id } }: { params: { id: string } })
app/edit-project/[id]/page.tsx:9
Function
Footer
()
components/Footer.tsx:20
Function
FooterColumn
({ title, links }: ColumnProps)
components/Footer.tsx:11
Function
FormField
({ type, title, state, placeholder, isTextArea, setState }: Props)
components/FormField.tsx:10
Function
GET
(req: NextRequest)
app/api/auth/token/route.ts:6
Function
Home
({ searchParams: { category, endcursor } }: Props)
app/page.tsx:32
Function
LoadMore
({ startCursor, endCursor, hasPreviousPage, hasNextPage }: Props)
components/LoadMore.tsx:14
Function
Modal
({ children }: { children: ReactNode })
components/Modal.tsx:7
Function
Navbar
()
components/Navbar.tsx:11
Function
POST
(request: Request)
app/api/upload/route.ts:10
Function
ProfileMenu
({ session }: { session: SessionInterface })
components/ProfileMenu.tsx:11
Function
ProfilePage
({ user }: Props)
components/ProfilePage.tsx:12
Function
Project
({ params: { id } }: { params: { id: string } })
app/project/[id]/page.tsx:11
Function
ProjectActions
({ projectId }: Props)
components/ProjectActions.tsx:14
Function
ProjectCard
({ id, image, title, name, avatarUrl, userId }: Props)
components/ProjectCard.tsx:17
Function
ProjectForm
({ type, session, project }: Props)
components/ProjectForm.tsx:20
Function
RelatedProjects
({ userId, projectId }: Props)
components/RelatedProjects.tsx:12
Function
RootLayout
({ children }: { children: React.ReactNode })
app/layout.tsx:10
Function
UserProfile
({ params }: Props)
app/profile/[id]/page.tsx:11
Function
handleDeleteProject
()
components/ProjectActions.tsx:19
Function
handleFormSubmit
(e: FormEvent)
components/ProjectForm.tsx:61
Function
session
({ session })
lib/session.ts:41