correction de l'update du
workflow
This commit is contained in:
3
.next/dev/types/routes.d.ts
vendored
3
.next/dev/types/routes.d.ts
vendored
@@ -2,7 +2,7 @@
|
||||
// Do not edit this file manually
|
||||
|
||||
type AppRoutes = "/" | "/checkout" | "/dashboard" | "/features" | "/login" | "/pricing" | "/profile" | "/project/[id]" | "/project/[id]/ideas" | "/project/[id]/settings" | "/project/[id]/workflow" | "/project/[id]/world" | "/signup"
|
||||
type AppRouteHandlerRoutes = "/api/ai/generate" | "/api/ai/transform" | "/api/auth/[...nextauth]" | "/api/auth/register" | "/api/chapters" | "/api/chapters/[id]" | "/api/entities" | "/api/entities/[id]" | "/api/ideas" | "/api/ideas/[id]" | "/api/projects" | "/api/projects/[id]"
|
||||
type AppRouteHandlerRoutes = "/api/ai/generate" | "/api/ai/transform" | "/api/auth/[...nextauth]" | "/api/auth/register" | "/api/chapters" | "/api/chapters/[id]" | "/api/entities" | "/api/entities/[id]" | "/api/ideas" | "/api/ideas/[id]" | "/api/projects" | "/api/projects/[id]" | "/api/projects/[id]/workflow"
|
||||
type PageRoutes = never
|
||||
type LayoutRoutes = "/" | "/project/[id]"
|
||||
type RedirectRoutes = never
|
||||
@@ -24,6 +24,7 @@ interface ParamMap {
|
||||
"/api/ideas/[id]": { "id": string; }
|
||||
"/api/projects": {}
|
||||
"/api/projects/[id]": { "id": string; }
|
||||
"/api/projects/[id]/workflow": { "id": string; }
|
||||
"/checkout": {}
|
||||
"/dashboard": {}
|
||||
"/features": {}
|
||||
|
||||
@@ -263,6 +263,15 @@ type RouteHandlerConfig<Route extends AppRouteHandlerRoutes = AppRouteHandlerRou
|
||||
type __Unused = __Check
|
||||
}
|
||||
|
||||
// Validate ../../../src/app/api/projects/[id]/workflow/route.ts
|
||||
{
|
||||
type __IsExpected<Specific extends RouteHandlerConfig<"/api/projects/[id]/workflow">> = Specific
|
||||
const handler = {} as typeof import("../../../src/app/api/projects/[id]/workflow/route.js")
|
||||
type __Check = __IsExpected<typeof handler>
|
||||
// @ts-ignore
|
||||
type __Unused = __Check
|
||||
}
|
||||
|
||||
// Validate ../../../src/app/api/projects/route.ts
|
||||
{
|
||||
type __IsExpected<Specific extends RouteHandlerConfig<"/api/projects">> = Specific
|
||||
|
||||
Reference in New Issue
Block a user