This commit is contained in:
freedakgmail
2025-11-24 16:07:24 +08:00
parent 3d075c6076
commit b25f4bea02
426 changed files with 3619 additions and 4468 deletions
+2 -1
View File
@@ -2,7 +2,7 @@
// Do not edit this file manually
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]/members/[memberId]/history" | "/api/trees/[treeId]/relationship" | "/api/upload" | "/api/user/activity-logs" | "/api/user/change-password" | "/api/user/profile"
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]/members/[memberId]/history" | "/api/trees/[treeId]/relationship" | "/api/upload" | "/api/user/activity-logs" | "/api/user/change-password" | "/api/user/profile" | "/uploads/[filename]"
type PageRoutes = never
type LayoutRoutes = "/"
type RedirectRoutes = never
@@ -39,6 +39,7 @@ interface ParamMap {
"/timeline": {}
"/tree": {}
"/trees/new": {}
"/uploads/[filename]": { "filename": string; }
}
+9
View File
@@ -299,6 +299,15 @@ type RouteHandlerConfig<Route extends AppRouteHandlerRoutes = AppRouteHandlerRou
type __Unused = __Check
}
// Validate ../../../app/uploads/[filename]/route.ts
{
type __IsExpected<Specific extends RouteHandlerConfig<"/uploads/[filename]">> = Specific
const handler = {} as typeof import("../../../app/uploads/[filename]/route.js")
type __Check = __IsExpected<typeof handler>
// @ts-ignore
type __Unused = __Check
}