0.2.0.0
This commit is contained in:
Vendored
+6
-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" | "/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" | "/uploads/[filename]"
|
||||
type AppRoutes = "/" | "/admin" | "/auth/register" | "/auth/signin" | "/help" | "/members" | "/members/[id]" | "/members/new" | "/relationship" | "/settings" | "/timeline" | "/tree" | "/trees/new"
|
||||
type AppRouteHandlerRoutes = "/api/admin/login-logs" | "/api/admin/users" | "/api/admin/users/[userId]" | "/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
|
||||
@@ -12,6 +12,10 @@ type Routes = AppRoutes | PageRoutes | LayoutRoutes | RedirectRoutes | RewriteRo
|
||||
|
||||
interface ParamMap {
|
||||
"/": {}
|
||||
"/admin": {}
|
||||
"/api/admin/login-logs": {}
|
||||
"/api/admin/users": {}
|
||||
"/api/admin/users/[userId]": { "userId": string; }
|
||||
"/api/auth/[...nextauth]": { "nextauth": string[]; }
|
||||
"/api/auth/register": {}
|
||||
"/api/trees": {}
|
||||
|
||||
@@ -47,6 +47,15 @@ type RouteHandlerConfig<Route extends AppRouteHandlerRoutes = AppRouteHandlerRou
|
||||
}
|
||||
|
||||
|
||||
// Validate ../../app/admin/page.tsx
|
||||
{
|
||||
type __IsExpected<Specific extends AppPageConfig<"/admin">> = Specific
|
||||
const handler = {} as typeof import("../../app/admin/page.js")
|
||||
type __Check = __IsExpected<typeof handler>
|
||||
// @ts-ignore
|
||||
type __Unused = __Check
|
||||
}
|
||||
|
||||
// Validate ../../app/auth/register/page.tsx
|
||||
{
|
||||
type __IsExpected<Specific extends AppPageConfig<"/auth/register">> = Specific
|
||||
@@ -155,6 +164,33 @@ type RouteHandlerConfig<Route extends AppRouteHandlerRoutes = AppRouteHandlerRou
|
||||
type __Unused = __Check
|
||||
}
|
||||
|
||||
// Validate ../../app/api/admin/login-logs/route.ts
|
||||
{
|
||||
type __IsExpected<Specific extends RouteHandlerConfig<"/api/admin/login-logs">> = Specific
|
||||
const handler = {} as typeof import("../../app/api/admin/login-logs/route.js")
|
||||
type __Check = __IsExpected<typeof handler>
|
||||
// @ts-ignore
|
||||
type __Unused = __Check
|
||||
}
|
||||
|
||||
// Validate ../../app/api/admin/users/[userId]/route.ts
|
||||
{
|
||||
type __IsExpected<Specific extends RouteHandlerConfig<"/api/admin/users/[userId]">> = Specific
|
||||
const handler = {} as typeof import("../../app/api/admin/users/[userId]/route.js")
|
||||
type __Check = __IsExpected<typeof handler>
|
||||
// @ts-ignore
|
||||
type __Unused = __Check
|
||||
}
|
||||
|
||||
// Validate ../../app/api/admin/users/route.ts
|
||||
{
|
||||
type __IsExpected<Specific extends RouteHandlerConfig<"/api/admin/users">> = Specific
|
||||
const handler = {} as typeof import("../../app/api/admin/users/route.js")
|
||||
type __Check = __IsExpected<typeof handler>
|
||||
// @ts-ignore
|
||||
type __Unused = __Check
|
||||
}
|
||||
|
||||
// Validate ../../app/api/auth/[...nextauth]/route.ts
|
||||
{
|
||||
type __IsExpected<Specific extends RouteHandlerConfig<"/api/auth/[...nextauth]">> = Specific
|
||||
|
||||
Reference in New Issue
Block a user