MCPcopy Create free account

hub / github.com/JohnMwendwa/vet-management-system / functions

Functions68 in github.com/JohnMwendwa/vet-management-system

↓ 12 callersFunctionconnectDB
()
src/database/connection.ts:4
↓ 4 callersFunctionuseLayoutContext
()
src/contexts/layout-context.tsx:31
↓ 3 callersFunctionhashPassword
(password: string)
src/database/auth/index.ts:3
↓ 1 callersFunctioncreateUser
( firstName: string, lastName: string, email: string, password: string, confirmPassword: string )
src/components/SignupForm.tsx:19
↓ 1 callersFunctionfetchClients
()
src/app/dashboard/clients/page.tsx:7
↓ 1 callersFunctionfetchEmployees
()
src/app/dashboard/employees/page.tsx:7
↓ 1 callersFunctionfetchStatistics
()
src/app/dashboard/(index)/page.tsx:7
↓ 1 callersFunctionfetchUserDetails
()
src/app/dashboard/profile/page.tsx:8
↓ 1 callersMethodfindByCredentials
(email: string, password: string)
src/database/models/User.ts:16
↓ 1 callersFunctionformatDate
(date: Date)
src/helpers/format-date.ts:1
FunctionAboutPage
()
src/app/about/page.tsx:1
FunctionAddDialog
({ title, url, userRole, children, className, ...rest }: AddDialogProps)
src/components/AddDialog.tsx:50
FunctionAppointmentsPage
()
src/app/dashboard/appointments/page.tsx:3
FunctionCalendar
({ events }: CalendarProps)
src/components/Calendar.tsx:15
FunctionClients
({ data }: ClientsProps)
src/components/dashboard/Clients.tsx:22
FunctionClientsLoadingSkeleton
()
src/app/dashboard/clients/loading.tsx:3
FunctionClientsPage
()
src/app/dashboard/clients/page.tsx:17
FunctionClientsSkeleton
()
src/components/dashboard/skeletons/ClientsSkeleton.tsx:1
FunctionConfigurator
()
src/components/layouts/Configurator.tsx:12
FunctionConfiguratorBtn
()
src/components/layouts/ConfiguratorBtn.tsx:8
FunctionDELETE
(req: NextRequest)
src/app/api/employees/route.ts:209
FunctionDELETE
(req: NextRequest)
src/app/api/clients/route.ts:192
FunctionDashboardLayout
({ children }: { children: ReactNode })
src/components/layouts/Dashboard.tsx:9
FunctionDashboardLoadingSkeeton
()
src/app/dashboard/(index)/loading.tsx:3
FunctionDashboardPage
()
src/app/dashboard/(index)/page.tsx:37
FunctionDashboardSkeleton
()
src/components/dashboard/skeletons/DashboardSkeleton.tsx:1
FunctionDeleteDialog
({ name, email, url, id }: DeleteDialogProps)
src/components/DeleteDialog.tsx:26
FunctionEditDialog
({ first, last, userEmail, url, id, userRole, }: EditDialogProps)
src/components/EditDialog.tsx:29
FunctionEmployees
({ data }: EmployeesProps)
src/components/dashboard/Employees.tsx:42
FunctionEmployeesLoadingSkeleton
()
src/app/dashboard/employees/loading.tsx:3
FunctionEmployeesPage
()
src/app/dashboard/employees/page.tsx:17
FunctionEmployeesSkeleton
()
src/components/dashboard/skeletons/EmployeesSkeleton.tsx:1
FunctionFooter
()
src/components/layouts/Footer.tsx:3
FunctionHome
({ employees, newClients, totalClients, weekySales, totalSales, }: HomeProps)
src/components/dashboard/Home.tsx:20
FunctionHome
()
src/app/page.tsx:4
FunctionLayoutContextProvider
({ children }: ProviderProps)
src/contexts/layout-context.tsx:22
FunctionLoginForm
()
src/components/LoginForm.tsx:20
FunctionNavbar
()
src/components/layouts/Navbar.tsx:37
FunctionNotificationsPage
()
src/app/dashboard/notifications/page.tsx:1
FunctionPATCH
(req: NextRequest)
src/app/api/employees/route.ts:105
FunctionPATCH
(req: NextRequest)
src/app/api/clients/route.ts:103
FunctionPOST
(req: NextRequest)
src/app/api/auth/signup/route.ts:7
FunctionPOST
(req: NextRequest)
src/app/api/employees/route.ts:10
FunctionPOST
(req: NextRequest)
src/app/api/clients/route.ts:9
FunctionProfile
({ name, email }: ProfileProps)
src/components/dashboard/Profile.tsx:23
FunctionProfileLoadingSkeleton
()
src/app/dashboard/profile/loading.tsx:3
FunctionProfilePage
()
src/app/dashboard/profile/page.tsx:15
FunctionProfileSkeleton
()
src/components/dashboard/skeletons/ProfileSkeleton.tsx:1
FunctionProviders
({ children }: ProvidersProps)
src/components/Providers.tsx:13
FunctionRootLayout
({ children, }: { children: React.ReactNode; })
src/app/layout.tsx:17
FunctionSidebar
({ brandImg = "/dog.jpg", brandName = "Vet Service", }: SidebarProps)
src/components/layouts/Sidebar.tsx:34
FunctionSignupForm
()
src/components/SignupForm.tsx:48
FunctionSignupPage
()
src/app/signup/page.tsx:4
FunctionStatisticsCard
({ color, icon, title, value, footer, }: StatisticsCardProps)
src/components/StatisticsCard.tsx:18
FunctionWavesSvg
()
src/components/WavesSvg.tsx:3
Functionauthorize
(credentials)
src/app/api/auth/[...nextauth]/route.ts:21
FunctiongenerateUsers
(num: number)
src/database/seed/users.ts:6
FunctionhandleOpen
()
src/components/AddDialog.tsx:130
FunctionhandleOpen
()
src/components/EditDialog.tsx:93
FunctionhandleOpen
()
src/components/DeleteDialog.tsx:30
FunctionhandleShowPass
()
src/components/LoginForm.tsx:36
FunctionhandleSubmit
(e: FormEvent)
src/components/AddDialog.tsx:68
FunctionhandleSubmit
(e: FormEvent)
src/components/EditDialog.tsx:45
FunctionhandleSubmit
(e: FormEvent)
src/components/DeleteDialog.tsx:32
FunctionhandleSubmit
(e: FormEvent)
src/components/SignupForm.tsx:60
FunctionhandleSubmit
(e: FormEvent)
src/components/LoginForm.tsx:38
FunctionlayoutReducer
(state: StateProps, action: Action)
src/reducers/layout-reducer.ts:67
FunctionverifyPassword
( password: string, hashedPassword: string )
src/database/auth/index.ts:9