This commit is contained in:
freedakgmail
2025-11-23 19:51:42 +08:00
parent 3b0d8255f6
commit bec270c9af
284 changed files with 23731 additions and 1862 deletions
+2 -1
View File
@@ -1,7 +1,7 @@
// This file is generated automatically by Next.js
// Do not edit this file manually
type AppRoutes = "/" | "/auth/register" | "/auth/signin" | "/members" | "/members/[id]" | "/members/new" | "/relationship" | "/settings" | "/timeline" | "/tree" | "/trees/new"
type AppRoutes = "/" | "/auth/register" | "/auth/signin" | "/help" | "/members" | "/members/[id]" | "/members/new" | "/relationship" | "/settings" | "/timeline" | "/tree" | "/trees/new"
type AppRouteHandlerRoutes = "/api/auth/[...nextauth]" | "/api/auth/register" | "/api/trees" | "/api/trees/[treeId]" | "/api/trees/[treeId]/activity-logs" | "/api/trees/[treeId]/collaborators" | "/api/trees/[treeId]/import" | "/api/trees/[treeId]/invite" | "/api/trees/[treeId]/members" | "/api/trees/[treeId]/members/[memberId]" | "/api/trees/[treeId]/relationship" | "/api/user/activity-logs" | "/api/user/change-password" | "/api/user/profile"
type PageRoutes = never
type LayoutRoutes = "/"
@@ -28,6 +28,7 @@ interface ParamMap {
"/api/user/profile": {}
"/auth/register": {}
"/auth/signin": {}
"/help": {}
"/members": {}
"/members/[id]": { "id": string; }
"/members/new": {}
+9
View File
@@ -65,6 +65,15 @@ type RouteHandlerConfig<Route extends AppRouteHandlerRoutes = AppRouteHandlerRou
type __Unused = __Check
}
// Validate ../../app/help/page.tsx
{
type __IsExpected<Specific extends AppPageConfig<"/help">> = Specific
const handler = {} as typeof import("../../app/help/page.js")
type __Check = __IsExpected<typeof handler>
// @ts-ignore
type __Unused = __Check
}
// Validate ../../app/members/[id]/page.tsx
{
type __IsExpected<Specific extends AppPageConfig<"/members/[id]">> = Specific