Guest User

Untitled

a guest
Oct 23rd, 2025
16
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* eslint-disable */
  2.  
  3. // @ts-nocheck
  4.  
  5. // noinspection JSUnusedGlobalSymbols
  6.  
  7. // This file was automatically generated by TanStack Router.
  8. // You should NOT make any changes in this file as it will be overwritten.
  9. // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
  10.  
  11. import { Route as rootRouteImport } from './renderer/routes/__root'
  12. import { Route as ProtectedRouteImport } from './renderer/routes/protected'
  13. import { Route as IndexRouteImport } from './renderer/routes/index'
  14. import { Route as HistoryIndexRouteImport } from './renderer/routes/history/index'
  15. import { Route as ExampleIdRouteImport } from './renderer/routes/example.$id'
  16. import { Route as AuthSignUpRouteImport } from './renderer/routes/auth/signUp'
  17. import { Route as AuthSignInRouteImport } from './renderer/routes/auth/signIn'
  18.  
  19. const ProtectedRoute = ProtectedRouteImport.update({
  20.   id: '/protected',
  21.   path: '/protected',
  22.   getParentRoute: () => rootRouteImport,
  23. } as any)
  24. const IndexRoute = IndexRouteImport.update({
  25.   id: '/',
  26.   path: '/',
  27.   getParentRoute: () => rootRouteImport,
  28. } as any)
  29. const HistoryIndexRoute = HistoryIndexRouteImport.update({
  30.   id: '/history/',
  31.   path: '/history/',
  32.   getParentRoute: () => rootRouteImport,
  33. } as any)
  34. const ExampleIdRoute = ExampleIdRouteImport.update({
  35.   id: '/example/$id',
  36.   path: '/example/$id',
  37.   getParentRoute: () => rootRouteImport,
  38. } as any)
  39. const AuthSignUpRoute = AuthSignUpRouteImport.update({
  40.   id: '/auth/signUp',
  41.   path: '/auth/signUp',
  42.   getParentRoute: () => rootRouteImport,
  43. } as any)
  44. const AuthSignInRoute = AuthSignInRouteImport.update({
  45.   id: '/auth/signIn',
  46.   path: '/auth/signIn',
  47.   getParentRoute: () => rootRouteImport,
  48. } as any)
  49.  
  50. export interface FileRoutesByFullPath {
  51.   '/': typeof IndexRoute
  52.   '/protected': typeof ProtectedRoute
  53.   '/auth/signIn': typeof AuthSignInRoute
  54.   '/auth/signUp': typeof AuthSignUpRoute
  55.   '/example/$id': typeof ExampleIdRoute
  56.   '/history': typeof HistoryIndexRoute
  57. }
  58. export interface FileRoutesByTo {
  59.   '/': typeof IndexRoute
  60.   '/protected': typeof ProtectedRoute
  61.   '/auth/signIn': typeof AuthSignInRoute
  62.   '/auth/signUp': typeof AuthSignUpRoute
  63.   '/example/$id': typeof ExampleIdRoute
  64.   '/history': typeof HistoryIndexRoute
  65. }
  66. export interface FileRoutesById {
  67.   __root__: typeof rootRouteImport
  68.   '/': typeof IndexRoute
  69.   '/protected': typeof ProtectedRoute
  70.   '/auth/signIn': typeof AuthSignInRoute
  71.   '/auth/signUp': typeof AuthSignUpRoute
  72.   '/example/$id': typeof ExampleIdRoute
  73.   '/history/': typeof HistoryIndexRoute
  74. }
  75. export interface FileRouteTypes {
  76.   fileRoutesByFullPath: FileRoutesByFullPath
  77.   fullPaths:
  78.     | '/'
  79.     | '/protected'
  80.     | '/auth/signIn'
  81.     | '/auth/signUp'
  82.     | '/example/$id'
  83.     | '/history'
  84.   fileRoutesByTo: FileRoutesByTo
  85.   to:
  86.     | '/'
  87.     | '/protected'
  88.     | '/auth/signIn'
  89.     | '/auth/signUp'
  90.     | '/example/$id'
  91.     | '/history'
  92.   id:
  93.     | '__root__'
  94.     | '/'
  95.     | '/protected'
  96.     | '/auth/signIn'
  97.     | '/auth/signUp'
  98.     | '/example/$id'
  99.     | '/history/'
  100.   fileRoutesById: FileRoutesById
  101. }
  102. export interface RootRouteChildren {
  103.   IndexRoute: typeof IndexRoute
  104.   ProtectedRoute: typeof ProtectedRoute
  105.   AuthSignInRoute: typeof AuthSignInRoute
  106.   AuthSignUpRoute: typeof AuthSignUpRoute
  107.   ExampleIdRoute: typeof ExampleIdRoute
  108.   HistoryIndexRoute: typeof HistoryIndexRoute
  109. }
  110.  
  111. declare module '@tanstack/react-router' {
  112.   interface FileRoutesByPath {
  113.     '/protected': {
  114.       id: '/protected'
  115.       path: '/protected'
  116.       fullPath: '/protected'
  117.       preLoaderRoute: typeof ProtectedRouteImport
  118.       parentRoute: typeof rootRouteImport
  119.     }
  120.     '/': {
  121.       id: '/'
  122.       path: '/'
  123.       fullPath: '/'
  124.       preLoaderRoute: typeof IndexRouteImport
  125.       parentRoute: typeof rootRouteImport
  126.     }
  127.     '/history/': {
  128.       id: '/history/'
  129.       path: '/history'
  130.       fullPath: '/history'
  131.       preLoaderRoute: typeof HistoryIndexRouteImport
  132.       parentRoute: typeof rootRouteImport
  133.     }
  134.     '/example/$id': {
  135.       id: '/example/$id'
  136.       path: '/example/$id'
  137.       fullPath: '/example/$id'
  138.       preLoaderRoute: typeof ExampleIdRouteImport
  139.       parentRoute: typeof rootRouteImport
  140.     }
  141.     '/auth/signUp': {
  142.       id: '/auth/signUp'
  143.       path: '/auth/signUp'
  144.       fullPath: '/auth/signUp'
  145.       preLoaderRoute: typeof AuthSignUpRouteImport
  146.       parentRoute: typeof rootRouteImport
  147.     }
  148.     '/auth/signIn': {
  149.       id: '/auth/signIn'
  150.       path: '/auth/signIn'
  151.       fullPath: '/auth/signIn'
  152.       preLoaderRoute: typeof AuthSignInRouteImport
  153.       parentRoute: typeof rootRouteImport
  154.     }
  155.   }
  156. }
  157.  
  158. const rootRouteChildren: RootRouteChildren = {
  159.   IndexRoute: IndexRoute,
  160.   ProtectedRoute: ProtectedRoute,
  161.   AuthSignInRoute: AuthSignInRoute,
  162.   AuthSignUpRoute: AuthSignUpRoute,
  163.   ExampleIdRoute: ExampleIdRoute,
  164.   HistoryIndexRoute: HistoryIndexRoute,
  165. }
  166. export const routeTree = rootRouteImport
  167.   ._addFileChildren(rootRouteChildren)
  168.   ._addFileTypes<FileRouteTypes>()
  169.  
Add Comment
Please, Sign In to add comment