This commit is contained in:
2026-04-12 22:51:57 +02:00
parent a5ccf2047b
commit c26c3b9485
37 changed files with 934 additions and 34 deletions

View File

@@ -1,7 +1,7 @@
// This file is generated automatically by Next.js
// Do not edit this file manually
type AppRoutes = "/" | "/afrolife" | "/afrolife/[id]" | "/annuaire" | "/annuaire/[id]" | "/blog" | "/blog/[id]" | "/dashboard" | "/login" | "/register" | "/subscription" | "/suspended"
type AppRoutes = "/" | "/afrolife" | "/afrolife/[id]" | "/annuaire" | "/annuaire/[id]" | "/blog" | "/blog/[id]" | "/cgu" | "/cgv" | "/dashboard" | "/login" | "/register" | "/subscription" | "/suspended"
type AppRouteHandlerRoutes = "/api/admin/reports" | "/api/admin/reports/[id]" | "/api/analytics" | "/api/analytics/businesses/[id]" | "/api/auth/login" | "/api/auth/register" | "/api/blog" | "/api/blog/[id]" | "/api/businesses" | "/api/businesses/[id]" | "/api/businesses/[id]/view" | "/api/businesses/me" | "/api/conversations" | "/api/conversations/[id]" | "/api/conversations/[id]/archive" | "/api/gemini" | "/api/interviews" | "/api/interviews/[id]" | "/api/messages" | "/api/messages/[id]/report" | "/api/messages/unread" | "/api/offers" | "/api/offers/[id]" | "/api/users" | "/api/users/me" | "/api/users/profile"
type PageRoutes = never
type LayoutRoutes = "/"
@@ -44,6 +44,8 @@ interface ParamMap {
"/api/users/profile": {}
"/blog": {}
"/blog/[id]": { "id": string; }
"/cgu": {}
"/cgv": {}
"/dashboard": {}
"/login": {}
"/register": {}

View File

@@ -101,6 +101,24 @@ type RouteHandlerConfig<Route extends AppRouteHandlerRoutes = AppRouteHandlerRou
type __Unused = __Check
}
// Validate ../../../app/cgu/page.tsx
{
type __IsExpected<Specific extends AppPageConfig<"/cgu">> = Specific
const handler = {} as typeof import("../../../app/cgu/page.js")
type __Check = __IsExpected<typeof handler>
// @ts-ignore
type __Unused = __Check
}
// Validate ../../../app/cgv/page.tsx
{
type __IsExpected<Specific extends AppPageConfig<"/cgv">> = Specific
const handler = {} as typeof import("../../../app/cgv/page.js")
type __Check = __IsExpected<typeof handler>
// @ts-ignore
type __Unused = __Check
}
// Validate ../../../app/dashboard/page.tsx
{
type __IsExpected<Specific extends AppPageConfig<"/dashboard">> = Specific