0.0.1.2
This commit is contained in:
Vendored
+5
-3
@@ -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" | "/migrate" | "/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]/import" | "/api/trees/[treeId]/members" | "/api/trees/[treeId]/members/[memberId]" | "/api/user/change-password" | "/api/user/profile"
|
||||
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 PageRoutes = never
|
||||
type LayoutRoutes = "/"
|
||||
type RedirectRoutes = never
|
||||
@@ -17,9 +17,12 @@ interface ParamMap {
|
||||
"/api/trees": {}
|
||||
"/api/trees/[treeId]": { "treeId": string; }
|
||||
"/api/trees/[treeId]/activity-logs": { "treeId": string; }
|
||||
"/api/trees/[treeId]/collaborators": { "treeId": string; }
|
||||
"/api/trees/[treeId]/import": { "treeId": string; }
|
||||
"/api/trees/[treeId]/invite": { "treeId": string; }
|
||||
"/api/trees/[treeId]/members": { "treeId": string; }
|
||||
"/api/trees/[treeId]/members/[memberId]": { "treeId": string; "memberId": string; }
|
||||
"/api/user/activity-logs": {}
|
||||
"/api/user/change-password": {}
|
||||
"/api/user/profile": {}
|
||||
"/auth/register": {}
|
||||
@@ -27,7 +30,6 @@ interface ParamMap {
|
||||
"/members": {}
|
||||
"/members/[id]": { "id": string; }
|
||||
"/members/new": {}
|
||||
"/migrate": {}
|
||||
"/settings": {}
|
||||
"/timeline": {}
|
||||
"/tree": {}
|
||||
|
||||
@@ -92,15 +92,6 @@ type RouteHandlerConfig<Route extends AppRouteHandlerRoutes = AppRouteHandlerRou
|
||||
type __Unused = __Check
|
||||
}
|
||||
|
||||
// Validate ../../../app/migrate/page.tsx
|
||||
{
|
||||
type __IsExpected<Specific extends AppPageConfig<"/migrate">> = Specific
|
||||
const handler = {} as typeof import("../../../app/migrate/page.js")
|
||||
type __Check = __IsExpected<typeof handler>
|
||||
// @ts-ignore
|
||||
type __Unused = __Check
|
||||
}
|
||||
|
||||
// Validate ../../../app/page.tsx
|
||||
{
|
||||
type __IsExpected<Specific extends AppPageConfig<"/">> = Specific
|
||||
@@ -173,6 +164,15 @@ type RouteHandlerConfig<Route extends AppRouteHandlerRoutes = AppRouteHandlerRou
|
||||
type __Unused = __Check
|
||||
}
|
||||
|
||||
// Validate ../../../app/api/trees/[treeId]/collaborators/route.ts
|
||||
{
|
||||
type __IsExpected<Specific extends RouteHandlerConfig<"/api/trees/[treeId]/collaborators">> = Specific
|
||||
const handler = {} as typeof import("../../../app/api/trees/[treeId]/collaborators/route.js")
|
||||
type __Check = __IsExpected<typeof handler>
|
||||
// @ts-ignore
|
||||
type __Unused = __Check
|
||||
}
|
||||
|
||||
// Validate ../../../app/api/trees/[treeId]/import/route.ts
|
||||
{
|
||||
type __IsExpected<Specific extends RouteHandlerConfig<"/api/trees/[treeId]/import">> = Specific
|
||||
@@ -182,6 +182,15 @@ type RouteHandlerConfig<Route extends AppRouteHandlerRoutes = AppRouteHandlerRou
|
||||
type __Unused = __Check
|
||||
}
|
||||
|
||||
// Validate ../../../app/api/trees/[treeId]/invite/route.ts
|
||||
{
|
||||
type __IsExpected<Specific extends RouteHandlerConfig<"/api/trees/[treeId]/invite">> = Specific
|
||||
const handler = {} as typeof import("../../../app/api/trees/[treeId]/invite/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
|
||||
@@ -218,6 +227,15 @@ type RouteHandlerConfig<Route extends AppRouteHandlerRoutes = AppRouteHandlerRou
|
||||
type __Unused = __Check
|
||||
}
|
||||
|
||||
// Validate ../../../app/api/user/activity-logs/route.ts
|
||||
{
|
||||
type __IsExpected<Specific extends RouteHandlerConfig<"/api/user/activity-logs">> = Specific
|
||||
const handler = {} as typeof import("../../../app/api/user/activity-logs/route.js")
|
||||
type __Check = __IsExpected<typeof handler>
|
||||
// @ts-ignore
|
||||
type __Unused = __Check
|
||||
}
|
||||
|
||||
// Validate ../../../app/api/user/change-password/route.ts
|
||||
{
|
||||
type __IsExpected<Specific extends RouteHandlerConfig<"/api/user/change-password">> = Specific
|
||||
|
||||
Reference in New Issue
Block a user