/
opt
/
canhelp
/
apps
/
web
/
.next
/
types
/
/opt/canhelp/apps/web/.next/types
mkdir
upload
Name
Size
Mode
Actions
app/
-
0755
rm
cache-life.d.ts
5863
0644
edit
dl
rm
package.json
18
0644
edit
dl
rm
routes.d.ts
2474
0644
edit
dl
rm
validator.ts
10324
0644
edit
dl
rm
Edit:
/opt/canhelp/apps/web/.next/types/validator.ts
(10324B)
// This file is generated automatically by Next.js // Do not edit this file manually // This file validates that all pages and layouts export the correct types import type { AppRoutes, LayoutRoutes, ParamMap } from "./routes.js" import type { ResolvingMetadata, ResolvingViewport } from "next/types.js" type AppPageConfig<Route extends AppRoutes = AppRoutes> = { default: React.ComponentType<{ params: Promise<ParamMap[Route]> } & any> | ((props: { params: Promise<ParamMap[Route]> } & any) => React.ReactNode | Promise<React.ReactNode> | never | void | Promise<void>) generateStaticParams?: (props: { params: ParamMap[Route] }) => Promise<any[]> | any[] generateMetadata?: ( props: { params: Promise<ParamMap[Route]> } & any, parent: ResolvingMetadata ) => Promise<any> | any generateViewport?: ( props: { params: Promise<ParamMap[Route]> } & any, parent: ResolvingViewport ) => Promise<any> | any metadata?: any viewport?: any } type LayoutConfig<Route extends LayoutRoutes = LayoutRoutes> = { default: React.ComponentType<LayoutProps<Route>> | ((props: LayoutProps<Route>) => React.ReactNode | Promise<React.ReactNode> | never | void | Promise<void>) generateStaticParams?: (props: { params: ParamMap[Route] }) => Promise<any[]> | any[] generateMetadata?: ( props: { params: Promise<ParamMap[Route]> } & any, parent: ResolvingMetadata ) => Promise<any> | any generateViewport?: ( props: { params: Promise<ParamMap[Route]> } & any, parent: ResolvingViewport ) => Promise<any> | any metadata?: any viewport?: any } // Validate ../../src/app/(auth)/forgot-password/page.tsx { type __IsExpected<Specific extends AppPageConfig<"/forgot-password">> = Specific const handler = {} as typeof import("../../src/app/(auth)/forgot-password/page.js") type __Check = __IsExpected<typeof handler> // @ts-ignore type __Unused = __Check } // Validate ../../src/app/(auth)/login/page.tsx { type __IsExpected<Specific extends AppPageConfig<"/login">> = Specific const handler = {} as typeof import("../../src/app/(auth)/login/page.js") type __Check = __IsExpected<typeof handler> // @ts-ignore type __Unused = __Check } // Validate ../../src/app/(auth)/register/page.tsx { type __IsExpected<Specific extends AppPageConfig<"/register">> = Specific const handler = {} as typeof import("../../src/app/(auth)/register/page.js") type __Check = __IsExpected<typeof handler> // @ts-ignore type __Unused = __Check } // Validate ../../src/app/(auth)/reset-password/page.tsx { type __IsExpected<Specific extends AppPageConfig<"/reset-password">> = Specific const handler = {} as typeof import("../../src/app/(auth)/reset-password/page.js") type __Check = __IsExpected<typeof handler> // @ts-ignore type __Unused = __Check } // Validate ../../src/app/admin/page.tsx { type __IsExpected<Specific extends AppPageConfig<"/admin">> = Specific const handler = {} as typeof import("../../src/app/admin/page.js") type __Check = __IsExpected<typeof handler> // @ts-ignore type __Unused = __Check } // Validate ../../src/app/become-specialist/page.tsx { type __IsExpected<Specific extends AppPageConfig<"/become-specialist">> = Specific const handler = {} as typeof import("../../src/app/become-specialist/page.js") type __Check = __IsExpected<typeof handler> // @ts-ignore type __Unused = __Check } // Validate ../../src/app/chat/page.tsx { type __IsExpected<Specific extends AppPageConfig<"/chat">> = Specific const handler = {} as typeof import("../../src/app/chat/page.js") type __Check = __IsExpected<typeof handler> // @ts-ignore type __Unused = __Check } // Validate ../../src/app/dashboard/page.tsx { type __IsExpected<Specific extends AppPageConfig<"/dashboard">> = Specific const handler = {} as typeof import("../../src/app/dashboard/page.js") type __Check = __IsExpected<typeof handler> // @ts-ignore type __Unused = __Check } // Validate ../../src/app/delete-account/page.tsx { type __IsExpected<Specific extends AppPageConfig<"/delete-account">> = Specific const handler = {} as typeof import("../../src/app/delete-account/page.js") type __Check = __IsExpected<typeof handler> // @ts-ignore type __Unused = __Check } // Validate ../../src/app/favorites/page.tsx { type __IsExpected<Specific extends AppPageConfig<"/favorites">> = Specific const handler = {} as typeof import("../../src/app/favorites/page.js") type __Check = __IsExpected<typeof handler> // @ts-ignore type __Unused = __Check } // Validate ../../src/app/maintenance/page.tsx { type __IsExpected<Specific extends AppPageConfig<"/maintenance">> = Specific const handler = {} as typeof import("../../src/app/maintenance/page.js") type __Check = __IsExpected<typeof handler> // @ts-ignore type __Unused = __Check } // Validate ../../src/app/notifications/page.tsx { type __IsExpected<Specific extends AppPageConfig<"/notifications">> = Specific const handler = {} as typeof import("../../src/app/notifications/page.js") type __Check = __IsExpected<typeof handler> // @ts-ignore type __Unused = __Check } // Validate ../../src/app/page.tsx { type __IsExpected<Specific extends AppPageConfig<"/">> = Specific const handler = {} as typeof import("../../src/app/page.js") type __Check = __IsExpected<typeof handler> // @ts-ignore type __Unused = __Check } // Validate ../../src/app/payment/page.tsx { type __IsExpected<Specific extends AppPageConfig<"/payment">> = Specific const handler = {} as typeof import("../../src/app/payment/page.js") type __Check = __IsExpected<typeof handler> // @ts-ignore type __Unused = __Check } // Validate ../../src/app/pricing/page.tsx { type __IsExpected<Specific extends AppPageConfig<"/pricing">> = Specific const handler = {} as typeof import("../../src/app/pricing/page.js") type __Check = __IsExpected<typeof handler> // @ts-ignore type __Unused = __Check } // Validate ../../src/app/privacy/page.tsx { type __IsExpected<Specific extends AppPageConfig<"/privacy">> = Specific const handler = {} as typeof import("../../src/app/privacy/page.js") type __Check = __IsExpected<typeof handler> // @ts-ignore type __Unused = __Check } // Validate ../../src/app/profile/page.tsx { type __IsExpected<Specific extends AppPageConfig<"/profile">> = Specific const handler = {} as typeof import("../../src/app/profile/page.js") type __Check = __IsExpected<typeof handler> // @ts-ignore type __Unused = __Check } // Validate ../../src/app/schedule/page.tsx { type __IsExpected<Specific extends AppPageConfig<"/schedule">> = Specific const handler = {} as typeof import("../../src/app/schedule/page.js") type __Check = __IsExpected<typeof handler> // @ts-ignore type __Unused = __Check } // Validate ../../src/app/site/[slug]/page.tsx { type __IsExpected<Specific extends AppPageConfig<"/site/[slug]">> = Specific const handler = {} as typeof import("../../src/app/site/[slug]/page.js") type __Check = __IsExpected<typeof handler> // @ts-ignore type __Unused = __Check } // Validate ../../src/app/specialist-setup/page.tsx { type __IsExpected<Specific extends AppPageConfig<"/specialist-setup">> = Specific const handler = {} as typeof import("../../src/app/specialist-setup/page.js") type __Check = __IsExpected<typeof handler> // @ts-ignore type __Unused = __Check } // Validate ../../src/app/specialist-tasks/page.tsx { type __IsExpected<Specific extends AppPageConfig<"/specialist-tasks">> = Specific const handler = {} as typeof import("../../src/app/specialist-tasks/page.js") type __Check = __IsExpected<typeof handler> // @ts-ignore type __Unused = __Check } // Validate ../../src/app/specialists/page.tsx { type __IsExpected<Specific extends AppPageConfig<"/specialists">> = Specific const handler = {} as typeof import("../../src/app/specialists/page.js") type __Check = __IsExpected<typeof handler> // @ts-ignore type __Unused = __Check } // Validate ../../src/app/support/page.tsx { type __IsExpected<Specific extends AppPageConfig<"/support">> = Specific const handler = {} as typeof import("../../src/app/support/page.js") type __Check = __IsExpected<typeof handler> // @ts-ignore type __Unused = __Check } // Validate ../../src/app/tasks/[id]/offer/page.tsx { type __IsExpected<Specific extends AppPageConfig<"/tasks/[id]/offer">> = Specific const handler = {} as typeof import("../../src/app/tasks/[id]/offer/page.js") type __Check = __IsExpected<typeof handler> // @ts-ignore type __Unused = __Check } // Validate ../../src/app/tasks/[id]/page.tsx { type __IsExpected<Specific extends AppPageConfig<"/tasks/[id]">> = Specific const handler = {} as typeof import("../../src/app/tasks/[id]/page.js") type __Check = __IsExpected<typeof handler> // @ts-ignore type __Unused = __Check } // Validate ../../src/app/tasks/new/page.tsx { type __IsExpected<Specific extends AppPageConfig<"/tasks/new">> = Specific const handler = {} as typeof import("../../src/app/tasks/new/page.js") type __Check = __IsExpected<typeof handler> // @ts-ignore type __Unused = __Check } // Validate ../../src/app/tasks/page.tsx { type __IsExpected<Specific extends AppPageConfig<"/tasks">> = Specific const handler = {} as typeof import("../../src/app/tasks/page.js") type __Check = __IsExpected<typeof handler> // @ts-ignore type __Unused = __Check } // Validate ../../src/app/users/[id]/page.tsx { type __IsExpected<Specific extends AppPageConfig<"/users/[id]">> = Specific const handler = {} as typeof import("../../src/app/users/[id]/page.js") type __Check = __IsExpected<typeof handler> // @ts-ignore type __Unused = __Check } // Validate ../../src/app/layout.tsx { type __IsExpected<Specific extends LayoutConfig<"/">> = Specific const handler = {} as typeof import("../../src/app/layout.js") type __Check = __IsExpected<typeof handler> // @ts-ignore type __Unused = __Check } // Validate ../../src/app/site/[slug]/layout.tsx { type __IsExpected<Specific extends LayoutConfig<"/site/[slug]">> = Specific const handler = {} as typeof import("../../src/app/site/[slug]/layout.js") type __Check = __IsExpected<typeof handler> // @ts-ignore type __Unused = __Check }
Save
cmd:
run