190 lines
5.8 KiB
TypeScript
190 lines
5.8 KiB
TypeScript
/* eslint-disable */
|
|
|
|
// @ts-nocheck
|
|
|
|
// noinspection JSUnusedGlobalSymbols
|
|
|
|
// This file was automatically generated by TanStack Router.
|
|
// You should NOT make any changes in this file as it will be overwritten.
|
|
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
|
|
|
|
import { Route as rootRouteImport } from './routes/__root'
|
|
import { Route as AboutRouteImport } from './routes/about'
|
|
import { Route as IndexRouteImport } from './routes/index'
|
|
import { Route as AdminLogsRouteImport } from './routes/admin/logs'
|
|
import { Route as authLoginRouteImport } from './routes/(auth)/login'
|
|
import { Route as authUserSignupRouteImport } from './routes/(auth)/user.signup'
|
|
import { Route as authUserResetpasswordRouteImport } from './routes/(auth)/user.resetpassword'
|
|
import { Route as authUserProfileRouteImport } from './routes/(auth)/user.profile'
|
|
|
|
const AboutRoute = AboutRouteImport.update({
|
|
id: '/about',
|
|
path: '/about',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const IndexRoute = IndexRouteImport.update({
|
|
id: '/',
|
|
path: '/',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AdminLogsRoute = AdminLogsRouteImport.update({
|
|
id: '/admin/logs',
|
|
path: '/admin/logs',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const authLoginRoute = authLoginRouteImport.update({
|
|
id: '/(auth)/login',
|
|
path: '/login',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const authUserSignupRoute = authUserSignupRouteImport.update({
|
|
id: '/(auth)/user/signup',
|
|
path: '/user/signup',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const authUserResetpasswordRoute = authUserResetpasswordRouteImport.update({
|
|
id: '/(auth)/user/resetpassword',
|
|
path: '/user/resetpassword',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const authUserProfileRoute = authUserProfileRouteImport.update({
|
|
id: '/(auth)/user/profile',
|
|
path: '/user/profile',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
|
|
export interface FileRoutesByFullPath {
|
|
'/': typeof IndexRoute
|
|
'/about': typeof AboutRoute
|
|
'/login': typeof authLoginRoute
|
|
'/admin/logs': typeof AdminLogsRoute
|
|
'/user/profile': typeof authUserProfileRoute
|
|
'/user/resetpassword': typeof authUserResetpasswordRoute
|
|
'/user/signup': typeof authUserSignupRoute
|
|
}
|
|
export interface FileRoutesByTo {
|
|
'/': typeof IndexRoute
|
|
'/about': typeof AboutRoute
|
|
'/login': typeof authLoginRoute
|
|
'/admin/logs': typeof AdminLogsRoute
|
|
'/user/profile': typeof authUserProfileRoute
|
|
'/user/resetpassword': typeof authUserResetpasswordRoute
|
|
'/user/signup': typeof authUserSignupRoute
|
|
}
|
|
export interface FileRoutesById {
|
|
__root__: typeof rootRouteImport
|
|
'/': typeof IndexRoute
|
|
'/about': typeof AboutRoute
|
|
'/(auth)/login': typeof authLoginRoute
|
|
'/admin/logs': typeof AdminLogsRoute
|
|
'/(auth)/user/profile': typeof authUserProfileRoute
|
|
'/(auth)/user/resetpassword': typeof authUserResetpasswordRoute
|
|
'/(auth)/user/signup': typeof authUserSignupRoute
|
|
}
|
|
export interface FileRouteTypes {
|
|
fileRoutesByFullPath: FileRoutesByFullPath
|
|
fullPaths:
|
|
| '/'
|
|
| '/about'
|
|
| '/login'
|
|
| '/admin/logs'
|
|
| '/user/profile'
|
|
| '/user/resetpassword'
|
|
| '/user/signup'
|
|
fileRoutesByTo: FileRoutesByTo
|
|
to:
|
|
| '/'
|
|
| '/about'
|
|
| '/login'
|
|
| '/admin/logs'
|
|
| '/user/profile'
|
|
| '/user/resetpassword'
|
|
| '/user/signup'
|
|
id:
|
|
| '__root__'
|
|
| '/'
|
|
| '/about'
|
|
| '/(auth)/login'
|
|
| '/admin/logs'
|
|
| '/(auth)/user/profile'
|
|
| '/(auth)/user/resetpassword'
|
|
| '/(auth)/user/signup'
|
|
fileRoutesById: FileRoutesById
|
|
}
|
|
export interface RootRouteChildren {
|
|
IndexRoute: typeof IndexRoute
|
|
AboutRoute: typeof AboutRoute
|
|
authLoginRoute: typeof authLoginRoute
|
|
AdminLogsRoute: typeof AdminLogsRoute
|
|
authUserProfileRoute: typeof authUserProfileRoute
|
|
authUserResetpasswordRoute: typeof authUserResetpasswordRoute
|
|
authUserSignupRoute: typeof authUserSignupRoute
|
|
}
|
|
|
|
declare module '@tanstack/react-router' {
|
|
interface FileRoutesByPath {
|
|
'/about': {
|
|
id: '/about'
|
|
path: '/about'
|
|
fullPath: '/about'
|
|
preLoaderRoute: typeof AboutRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/': {
|
|
id: '/'
|
|
path: '/'
|
|
fullPath: '/'
|
|
preLoaderRoute: typeof IndexRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/admin/logs': {
|
|
id: '/admin/logs'
|
|
path: '/admin/logs'
|
|
fullPath: '/admin/logs'
|
|
preLoaderRoute: typeof AdminLogsRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/(auth)/login': {
|
|
id: '/(auth)/login'
|
|
path: '/login'
|
|
fullPath: '/login'
|
|
preLoaderRoute: typeof authLoginRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/(auth)/user/signup': {
|
|
id: '/(auth)/user/signup'
|
|
path: '/user/signup'
|
|
fullPath: '/user/signup'
|
|
preLoaderRoute: typeof authUserSignupRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/(auth)/user/resetpassword': {
|
|
id: '/(auth)/user/resetpassword'
|
|
path: '/user/resetpassword'
|
|
fullPath: '/user/resetpassword'
|
|
preLoaderRoute: typeof authUserResetpasswordRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/(auth)/user/profile': {
|
|
id: '/(auth)/user/profile'
|
|
path: '/user/profile'
|
|
fullPath: '/user/profile'
|
|
preLoaderRoute: typeof authUserProfileRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
}
|
|
}
|
|
|
|
const rootRouteChildren: RootRouteChildren = {
|
|
IndexRoute: IndexRoute,
|
|
AboutRoute: AboutRoute,
|
|
authLoginRoute: authLoginRoute,
|
|
AdminLogsRoute: AdminLogsRoute,
|
|
authUserProfileRoute: authUserProfileRoute,
|
|
authUserResetpasswordRoute: authUserResetpasswordRoute,
|
|
authUserSignupRoute: authUserSignupRoute,
|
|
}
|
|
export const routeTree = rootRouteImport
|
|
._addFileChildren(rootRouteChildren)
|
|
._addFileTypes<FileRouteTypes>()
|