0.0.4.0
This commit is contained in:
Vendored
+4
-2
@@ -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-test" | "/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-test": {}
|
||||
"/settings": {}
|
||||
"/timeline": {}
|
||||
"/tree": {}
|
||||
|
||||
@@ -101,6 +101,15 @@ type RouteHandlerConfig<Route extends AppRouteHandlerRoutes = AppRouteHandlerRou
|
||||
type __Unused = __Check
|
||||
}
|
||||
|
||||
// Validate ../../../app/relationship-test/page.tsx
|
||||
{
|
||||
type __IsExpected<Specific extends AppPageConfig<"/relationship-test">> = Specific
|
||||
const handler = {} as typeof import("../../../app/relationship-test/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
|
||||
|
||||
Reference in New Issue
Block a user