.
This commit is contained in:
6
.next/dev/types/routes.d.ts
vendored
6
.next/dev/types/routes.d.ts
vendored
@@ -1,7 +1,7 @@
|
||||
// This file is generated automatically by Next.js
|
||||
// Do not edit this file manually
|
||||
|
||||
type AppRoutes = "/" | "/afrolife" | "/afrolife/[id]" | "/blog" | "/blog/[id]" | "/dashboard" | "/directory" | "/directory/[id]" | "/login" | "/register" | "/subscription"
|
||||
type AppRoutes = "/" | "/afrolife" | "/afrolife/[id]" | "/annuaire" | "/annuaire/[id]" | "/blog" | "/blog/[id]" | "/dashboard" | "/login" | "/register" | "/subscription"
|
||||
type AppRouteHandlerRoutes = "/api/analytics" | "/api/auth/login" | "/api/auth/register" | "/api/blog" | "/api/blog/[id]" | "/api/businesses" | "/api/businesses/[id]" | "/api/businesses/[id]/view" | "/api/businesses/me" | "/api/gemini" | "/api/interviews" | "/api/interviews/[id]" | "/api/offers" | "/api/offers/[id]" | "/api/users"
|
||||
type PageRoutes = never
|
||||
type LayoutRoutes = "/"
|
||||
@@ -14,6 +14,8 @@ interface ParamMap {
|
||||
"/": {}
|
||||
"/afrolife": {}
|
||||
"/afrolife/[id]": { "id": string; }
|
||||
"/annuaire": {}
|
||||
"/annuaire/[id]": { "id": string; }
|
||||
"/api/analytics": {}
|
||||
"/api/auth/login": {}
|
||||
"/api/auth/register": {}
|
||||
@@ -32,8 +34,6 @@ interface ParamMap {
|
||||
"/blog": {}
|
||||
"/blog/[id]": { "id": string; }
|
||||
"/dashboard": {}
|
||||
"/directory": {}
|
||||
"/directory/[id]": { "id": string; }
|
||||
"/login": {}
|
||||
"/register": {}
|
||||
"/subscription": {}
|
||||
|
||||
@@ -65,6 +65,24 @@ type RouteHandlerConfig<Route extends AppRouteHandlerRoutes = AppRouteHandlerRou
|
||||
type __Unused = __Check
|
||||
}
|
||||
|
||||
// Validate ../../../app/annuaire/[id]/page.tsx
|
||||
{
|
||||
type __IsExpected<Specific extends AppPageConfig<"/annuaire/[id]">> = Specific
|
||||
const handler = {} as typeof import("../../../app/annuaire/[id]/page.js")
|
||||
type __Check = __IsExpected<typeof handler>
|
||||
// @ts-ignore
|
||||
type __Unused = __Check
|
||||
}
|
||||
|
||||
// Validate ../../../app/annuaire/page.tsx
|
||||
{
|
||||
type __IsExpected<Specific extends AppPageConfig<"/annuaire">> = Specific
|
||||
const handler = {} as typeof import("../../../app/annuaire/page.js")
|
||||
type __Check = __IsExpected<typeof handler>
|
||||
// @ts-ignore
|
||||
type __Unused = __Check
|
||||
}
|
||||
|
||||
// Validate ../../../app/blog/[id]/page.tsx
|
||||
{
|
||||
type __IsExpected<Specific extends AppPageConfig<"/blog/[id]">> = Specific
|
||||
@@ -92,24 +110,6 @@ type RouteHandlerConfig<Route extends AppRouteHandlerRoutes = AppRouteHandlerRou
|
||||
type __Unused = __Check
|
||||
}
|
||||
|
||||
// Validate ../../../app/directory/[id]/page.tsx
|
||||
{
|
||||
type __IsExpected<Specific extends AppPageConfig<"/directory/[id]">> = Specific
|
||||
const handler = {} as typeof import("../../../app/directory/[id]/page.js")
|
||||
type __Check = __IsExpected<typeof handler>
|
||||
// @ts-ignore
|
||||
type __Unused = __Check
|
||||
}
|
||||
|
||||
// Validate ../../../app/directory/page.tsx
|
||||
{
|
||||
type __IsExpected<Specific extends AppPageConfig<"/directory">> = Specific
|
||||
const handler = {} as typeof import("../../../app/directory/page.js")
|
||||
type __Check = __IsExpected<typeof handler>
|
||||
// @ts-ignore
|
||||
type __Unused = __Check
|
||||
}
|
||||
|
||||
// Validate ../../../app/login/page.tsx
|
||||
{
|
||||
type __IsExpected<Specific extends AppPageConfig<"/login">> = Specific
|
||||
|
||||
Reference in New Issue
Block a user