This commit is contained in:
freedakgmail
2025-11-23 18:03:04 +08:00
parent 9cdd751a56
commit e44dd0bd95
489 changed files with 264491 additions and 4157 deletions
+4 -2
View File
@@ -1,8 +1,8 @@
// 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" | "/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/user/activity-logs" | "/api/user/change-password" | "/api/user/profile"
type AppRoutes = "/" | "/auth/register" | "/auth/signin" | "/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 = "/"
type RedirectRoutes = never
@@ -22,6 +22,7 @@ interface ParamMap {
"/api/trees/[treeId]/invite": { "treeId": string; }
"/api/trees/[treeId]/members": { "treeId": string; }
"/api/trees/[treeId]/members/[memberId]": { "treeId": string; "memberId": string; }
"/api/trees/[treeId]/relationship": { "treeId": string; }
"/api/user/activity-logs": {}
"/api/user/change-password": {}
"/api/user/profile": {}
@@ -30,6 +31,7 @@ interface ParamMap {
"/members": {}
"/members/[id]": { "id": string; }
"/members/new": {}
"/relationship": {}
"/settings": {}
"/timeline": {}
"/tree": {}
+18
View File
@@ -101,6 +101,15 @@ type RouteHandlerConfig<Route extends AppRouteHandlerRoutes = AppRouteHandlerRou
type __Unused = __Check
}
// Validate ../../app/relationship/page.tsx
{
type __IsExpected<Specific extends AppPageConfig<"/relationship">> = Specific
const handler = {} as typeof import("../../app/relationship/page.js")
type __Check = __IsExpected<typeof handler>
// @ts-ignore
type __Unused = __Check
}
// Validate ../../app/settings/page.tsx
{
type __IsExpected<Specific extends AppPageConfig<"/settings">> = Specific
@@ -209,6 +218,15 @@ type RouteHandlerConfig<Route extends AppRouteHandlerRoutes = AppRouteHandlerRou
type __Unused = __Check
}
// Validate ../../app/api/trees/[treeId]/relationship/route.ts
{
type __IsExpected<Specific extends RouteHandlerConfig<"/api/trees/[treeId]/relationship">> = Specific
const handler = {} as typeof import("../../app/api/trees/[treeId]/relationship/route.js")
type __Check = __IsExpected<typeof handler>
// @ts-ignore
type __Unused = __Check
}
// Validate ../../app/api/trees/[treeId]/route.ts
{
type __IsExpected<Specific extends RouteHandlerConfig<"/api/trees/[treeId]">> = Specific