/opt/canhelp/apps/web/.next/types
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
= {
default: React.ComponentType<{ params: Promise } & any> | ((props: { params: Promise } & any) => React.ReactNode | Promise | never | void | Promise)
generateStaticParams?: (props: { params: ParamMap[Route] }) => Promise | any[]
generateMetadata?: (
props: { params: Promise } & any,
parent: ResolvingMetadata
) => Promise | any
generateViewport?: (
props: { params: Promise } & any,
parent: ResolvingViewport
) => Promise | any
metadata?: any
viewport?: any
}
type LayoutConfig = {
default: React.ComponentType> | ((props: LayoutProps) => React.ReactNode | Promise | never | void | Promise)
generateStaticParams?: (props: { params: ParamMap[Route] }) => Promise | any[]
generateMetadata?: (
props: { params: Promise } & any,
parent: ResolvingMetadata
) => Promise | any
generateViewport?: (
props: { params: Promise } & any,
parent: ResolvingViewport
) => Promise | any
metadata?: any
viewport?: any
}
// Validate ../../src/app/(auth)/forgot-password/page.tsx
{
type __IsExpected> = Specific
const handler = {} as typeof import("../../src/app/(auth)/forgot-password/page.js")
type __Check = __IsExpected
// @ts-ignore
type __Unused = __Check
}
// Validate ../../src/app/(auth)/login/page.tsx
{
type __IsExpected> = Specific
const handler = {} as typeof import("../../src/app/(auth)/login/page.js")
type __Check = __IsExpected
// @ts-ignore
type __Unused = __Check
}
// Validate ../../src/app/(auth)/register/page.tsx
{
type __IsExpected> = Specific
const handler = {} as typeof import("../../src/app/(auth)/register/page.js")
type __Check = __IsExpected
// @ts-ignore
type __Unused = __Check
}
// Validate ../../src/app/(auth)/reset-password/page.tsx
{
type __IsExpected> = Specific
const handler = {} as typeof import("../../src/app/(auth)/reset-password/page.js")
type __Check = __IsExpected
// @ts-ignore
type __Unused = __Check
}
// Validate ../../src/app/admin/page.tsx
{
type __IsExpected> = Specific
const handler = {} as typeof import("../../src/app/admin/page.js")
type __Check = __IsExpected
// @ts-ignore
type __Unused = __Check
}
// Validate ../../src/app/become-specialist/page.tsx
{
type __IsExpected> = Specific
const handler = {} as typeof import("../../src/app/become-specialist/page.js")
type __Check = __IsExpected
// @ts-ignore
type __Unused = __Check
}
// Validate ../../src/app/chat/page.tsx
{
type __IsExpected> = Specific
const handler = {} as typeof import("../../src/app/chat/page.js")
type __Check = __IsExpected
// @ts-ignore
type __Unused = __Check
}
// Validate ../../src/app/dashboard/page.tsx
{
type __IsExpected> = Specific
const handler = {} as typeof import("../../src/app/dashboard/page.js")
type __Check = __IsExpected
// @ts-ignore
type __Unused = __Check
}
// Validate ../../src/app/delete-account/page.tsx
{
type __IsExpected> = Specific
const handler = {} as typeof import("../../src/app/delete-account/page.js")
type __Check = __IsExpected
// @ts-ignore
type __Unused = __Check
}
// Validate ../../src/app/favorites/page.tsx
{
type __IsExpected> = Specific
const handler = {} as typeof import("../../src/app/favorites/page.js")
type __Check = __IsExpected
// @ts-ignore
type __Unused = __Check
}
// Validate ../../src/app/maintenance/page.tsx
{
type __IsExpected> = Specific
const handler = {} as typeof import("../../src/app/maintenance/page.js")
type __Check = __IsExpected
// @ts-ignore
type __Unused = __Check
}
// Validate ../../src/app/notifications/page.tsx
{
type __IsExpected> = Specific
const handler = {} as typeof import("../../src/app/notifications/page.js")
type __Check = __IsExpected
// @ts-ignore
type __Unused = __Check
}
// Validate ../../src/app/page.tsx
{
type __IsExpected> = Specific
const handler = {} as typeof import("../../src/app/page.js")
type __Check = __IsExpected
// @ts-ignore
type __Unused = __Check
}
// Validate ../../src/app/payment/page.tsx
{
type __IsExpected> = Specific
const handler = {} as typeof import("../../src/app/payment/page.js")
type __Check = __IsExpected
// @ts-ignore
type __Unused = __Check
}
// Validate ../../src/app/pricing/page.tsx
{
type __IsExpected> = Specific
const handler = {} as typeof import("../../src/app/pricing/page.js")
type __Check = __IsExpected
// @ts-ignore
type __Unused = __Check
}
// Validate ../../src/app/privacy/page.tsx
{
type __IsExpected> = Specific
const handler = {} as typeof import("../../src/app/privacy/page.js")
type __Check = __IsExpected
// @ts-ignore
type __Unused = __Check
}
// Validate ../../src/app/profile/page.tsx
{
type __IsExpected> = Specific
const handler = {} as typeof import("../../src/app/profile/page.js")
type __Check = __IsExpected
// @ts-ignore
type __Unused = __Check
}
// Validate ../../src/app/schedule/page.tsx
{
type __IsExpected> = Specific
const handler = {} as typeof import("../../src/app/schedule/page.js")
type __Check = __IsExpected
// @ts-ignore
type __Unused = __Check
}
// Validate ../../src/app/site/[slug]/page.tsx
{
type __IsExpected> = Specific
const handler = {} as typeof import("../../src/app/site/[slug]/page.js")
type __Check = __IsExpected
// @ts-ignore
type __Unused = __Check
}
// Validate ../../src/app/specialist-setup/page.tsx
{
type __IsExpected> = Specific
const handler = {} as typeof import("../../src/app/specialist-setup/page.js")
type __Check = __IsExpected
// @ts-ignore
type __Unused = __Check
}
// Validate ../../src/app/specialist-tasks/page.tsx
{
type __IsExpected> = Specific
const handler = {} as typeof import("../../src/app/specialist-tasks/page.js")
type __Check = __IsExpected
// @ts-ignore
type __Unused = __Check
}
// Validate ../../src/app/specialists/page.tsx
{
type __IsExpected> = Specific
const handler = {} as typeof import("../../src/app/specialists/page.js")
type __Check = __IsExpected
// @ts-ignore
type __Unused = __Check
}
// Validate ../../src/app/support/page.tsx
{
type __IsExpected> = Specific
const handler = {} as typeof import("../../src/app/support/page.js")
type __Check = __IsExpected
// @ts-ignore
type __Unused = __Check
}
// Validate ../../src/app/tasks/[id]/offer/page.tsx
{
type __IsExpected> = Specific
const handler = {} as typeof import("../../src/app/tasks/[id]/offer/page.js")
type __Check = __IsExpected
// @ts-ignore
type __Unused = __Check
}
// Validate ../../src/app/tasks/[id]/page.tsx
{
type __IsExpected> = Specific
const handler = {} as typeof import("../../src/app/tasks/[id]/page.js")
type __Check = __IsExpected
// @ts-ignore
type __Unused = __Check
}
// Validate ../../src/app/tasks/new/page.tsx
{
type __IsExpected> = Specific
const handler = {} as typeof import("../../src/app/tasks/new/page.js")
type __Check = __IsExpected
// @ts-ignore
type __Unused = __Check
}
// Validate ../../src/app/tasks/page.tsx
{
type __IsExpected> = Specific
const handler = {} as typeof import("../../src/app/tasks/page.js")
type __Check = __IsExpected
// @ts-ignore
type __Unused = __Check
}
// Validate ../../src/app/users/[id]/page.tsx
{
type __IsExpected> = Specific
const handler = {} as typeof import("../../src/app/users/[id]/page.js")
type __Check = __IsExpected
// @ts-ignore
type __Unused = __Check
}
// Validate ../../src/app/layout.tsx
{
type __IsExpected> = Specific
const handler = {} as typeof import("../../src/app/layout.js")
type __Check = __IsExpected
// @ts-ignore
type __Unused = __Check
}
// Validate ../../src/app/site/[slug]/layout.tsx
{
type __IsExpected> = Specific
const handler = {} as typeof import("../../src/app/site/[slug]/layout.js")
type __Check = __IsExpected
// @ts-ignore
type __Unused = __Check
}