/opt/canhelp/apps/web/.next/types
NameSizeModeActions
app/-0755rm
cache-life.d.ts58630644editdlrm
package.json180644editdlrm
routes.d.ts24740644editdlrm
validator.ts103240644editdlrm
Edit: /opt/canhelp/apps/web/.next/types/routes.d.ts (2474B)
// This file is generated automatically by Next.js // Do not edit this file manually type AppRoutes = "/" | "/admin" | "/become-specialist" | "/chat" | "/dashboard" | "/delete-account" | "/favorites" | "/forgot-password" | "/login" | "/maintenance" | "/notifications" | "/payment" | "/pricing" | "/privacy" | "/profile" | "/register" | "/reset-password" | "/schedule" | "/site/[slug]" | "/specialist-setup" | "/specialist-tasks" | "/specialists" | "/support" | "/tasks" | "/tasks/[id]" | "/tasks/[id]/offer" | "/tasks/new" | "/users/[id]" type PageRoutes = never type LayoutRoutes = "/" | "/site/[slug]" type RedirectRoutes = never type RewriteRoutes = never type Routes = AppRoutes | PageRoutes | LayoutRoutes | RedirectRoutes | RewriteRoutes interface ParamMap { "/": {} "/admin": {} "/become-specialist": {} "/chat": {} "/dashboard": {} "/delete-account": {} "/favorites": {} "/forgot-password": {} "/login": {} "/maintenance": {} "/notifications": {} "/payment": {} "/pricing": {} "/privacy": {} "/profile": {} "/register": {} "/reset-password": {} "/schedule": {} "/site/[slug]": { "slug": string; } "/specialist-setup": {} "/specialist-tasks": {} "/specialists": {} "/support": {} "/tasks": {} "/tasks/[id]": { "id": string; } "/tasks/[id]/offer": { "id": string; } "/tasks/new": {} "/users/[id]": { "id": string; } } export type ParamsOf = ParamMap[Route] interface LayoutSlotMap { "/": never "/site/[slug]": never } export type { AppRoutes, PageRoutes, LayoutRoutes, RedirectRoutes, RewriteRoutes, ParamMap } declare global { /** * Props for Next.js App Router page components * @example * ```tsx * export default function Page(props: PageProps<'/blog/[slug]'>) { * const { slug } = await props.params * return
Blog post: {slug}
* } * ``` */ interface PageProps { params: Promise searchParams: Promise> } /** * Props for Next.js App Router layout components * @example * ```tsx * export default function Layout(props: LayoutProps<'/dashboard'>) { * return
{props.children}
* } * ``` */ type LayoutProps = { params: Promise children: React.ReactNode } & { [K in LayoutSlotMap[LayoutRoute]]: React.ReactNode } }