0.0.8.5
This commit is contained in:
Vendored
+3
-1
@@ -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]/relationship" | "/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"
|
||||
type PageRoutes = never
|
||||
type LayoutRoutes = "/"
|
||||
type RedirectRoutes = never
|
||||
@@ -22,7 +22,9 @@ 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]/members/[memberId]/history": { "treeId": string; "memberId": string; }
|
||||
"/api/trees/[treeId]/relationship": { "treeId": string; }
|
||||
"/api/upload": {}
|
||||
"/api/user/activity-logs": {}
|
||||
"/api/user/change-password": {}
|
||||
"/api/user/profile": {}
|
||||
|
||||
@@ -209,6 +209,15 @@ type RouteHandlerConfig<Route extends AppRouteHandlerRoutes = AppRouteHandlerRou
|
||||
type __Unused = __Check
|
||||
}
|
||||
|
||||
// Validate ../../../app/api/trees/[treeId]/members/[memberId]/history/route.ts
|
||||
{
|
||||
type __IsExpected<Specific extends RouteHandlerConfig<"/api/trees/[treeId]/members/[memberId]/history">> = Specific
|
||||
const handler = {} as typeof import("../../../app/api/trees/[treeId]/members/[memberId]/history/route.js")
|
||||
type __Check = __IsExpected<typeof handler>
|
||||
// @ts-ignore
|
||||
type __Unused = __Check
|
||||
}
|
||||
|
||||
// Validate ../../../app/api/trees/[treeId]/members/[memberId]/route.ts
|
||||
{
|
||||
type __IsExpected<Specific extends RouteHandlerConfig<"/api/trees/[treeId]/members/[memberId]">> = Specific
|
||||
@@ -254,6 +263,15 @@ type RouteHandlerConfig<Route extends AppRouteHandlerRoutes = AppRouteHandlerRou
|
||||
type __Unused = __Check
|
||||
}
|
||||
|
||||
// Validate ../../../app/api/upload/route.ts
|
||||
{
|
||||
type __IsExpected<Specific extends RouteHandlerConfig<"/api/upload">> = Specific
|
||||
const handler = {} as typeof import("../../../app/api/upload/route.js")
|
||||
type __Check = __IsExpected<typeof handler>
|
||||
// @ts-ignore
|
||||
type __Unused = __Check
|
||||
}
|
||||
|
||||
// Validate ../../../app/api/user/activity-logs/route.ts
|
||||
{
|
||||
type __IsExpected<Specific extends RouteHandlerConfig<"/api/user/activity-logs">> = Specific
|
||||
|
||||
Reference in New Issue
Block a user