Files
better-auth/examples/tanstack-example/app/routeTree.gen.ts
2024-10-29 23:36:06 +03:00

137 lines
3.0 KiB
TypeScript

/* prettier-ignore-start */
/* eslint-disable */
// @ts-nocheck
// noinspection JSUnusedGlobalSymbols
// This file is auto-generated by TanStack Router
// Import Routes
import { Route as rootRoute } from './routes/__root'
import { Route as IndexImport } from './routes/index'
import { Route as AuthSignupImport } from './routes/auth/signup'
import { Route as AuthSigninImport } from './routes/auth/signin'
// Create/Update Routes
const IndexRoute = IndexImport.update({
id: '/',
path: '/',
getParentRoute: () => rootRoute,
} as any)
const AuthSignupRoute = AuthSignupImport.update({
id: '/auth/signup',
path: '/auth/signup',
getParentRoute: () => rootRoute,
} as any)
const AuthSigninRoute = AuthSigninImport.update({
id: '/auth/signin',
path: '/auth/signin',
getParentRoute: () => rootRoute,
} as any)
// Populate the FileRoutesByPath interface
declare module '@tanstack/react-router' {
interface FileRoutesByPath {
'/': {
id: '/'
path: '/'
fullPath: '/'
preLoaderRoute: typeof IndexImport
parentRoute: typeof rootRoute
}
'/auth/signin': {
id: '/auth/signin'
path: '/auth/signin'
fullPath: '/auth/signin'
preLoaderRoute: typeof AuthSigninImport
parentRoute: typeof rootRoute
}
'/auth/signup': {
id: '/auth/signup'
path: '/auth/signup'
fullPath: '/auth/signup'
preLoaderRoute: typeof AuthSignupImport
parentRoute: typeof rootRoute
}
}
}
// Create and export the route tree
export interface FileRoutesByFullPath {
'/': typeof IndexRoute
'/auth/signin': typeof AuthSigninRoute
'/auth/signup': typeof AuthSignupRoute
}
export interface FileRoutesByTo {
'/': typeof IndexRoute
'/auth/signin': typeof AuthSigninRoute
'/auth/signup': typeof AuthSignupRoute
}
export interface FileRoutesById {
__root__: typeof rootRoute
'/': typeof IndexRoute
'/auth/signin': typeof AuthSigninRoute
'/auth/signup': typeof AuthSignupRoute
}
export interface FileRouteTypes {
fileRoutesByFullPath: FileRoutesByFullPath
fullPaths: '/' | '/auth/signin' | '/auth/signup'
fileRoutesByTo: FileRoutesByTo
to: '/' | '/auth/signin' | '/auth/signup'
id: '__root__' | '/' | '/auth/signin' | '/auth/signup'
fileRoutesById: FileRoutesById
}
export interface RootRouteChildren {
IndexRoute: typeof IndexRoute
AuthSigninRoute: typeof AuthSigninRoute
AuthSignupRoute: typeof AuthSignupRoute
}
const rootRouteChildren: RootRouteChildren = {
IndexRoute: IndexRoute,
AuthSigninRoute: AuthSigninRoute,
AuthSignupRoute: AuthSignupRoute,
}
export const routeTree = rootRoute
._addFileChildren(rootRouteChildren)
._addFileTypes<FileRouteTypes>()
/* prettier-ignore-end */
/* ROUTE_MANIFEST_START
{
"routes": {
"__root__": {
"filePath": "__root.tsx",
"children": [
"/",
"/auth/signin",
"/auth/signup"
]
},
"/": {
"filePath": "index.tsx"
},
"/auth/signin": {
"filePath": "auth/signin.tsx"
},
"/auth/signup": {
"filePath": "auth/signup.tsx"
}
}
}
ROUTE_MANIFEST_END */