|
| 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 './routes/__root' |
| 12 | +import { Route as IndexRouteImport } from './routes/[index]' |
| 13 | +import { Route as RouteRouteImport } from './routes/[route]' |
| 14 | +import { Route as LazyRouteImport } from './routes/[lazy]' |
| 15 | +import { Route as BlogRouteImport } from './routes/blog[_]' |
| 16 | +import { Route as LayoutRouteImport } from './routes/[_]layout' |
| 17 | + |
| 18 | +const IndexRoute = IndexRouteImport.update({ |
| 19 | + id: '/index', |
| 20 | + path: '/index', |
| 21 | + getParentRoute: () => rootRouteImport, |
| 22 | +} as any) |
| 23 | +const RouteRoute = RouteRouteImport.update({ |
| 24 | + id: '/route', |
| 25 | + path: '/route', |
| 26 | + getParentRoute: () => rootRouteImport, |
| 27 | +} as any) |
| 28 | +const LazyRoute = LazyRouteImport.update({ |
| 29 | + id: '/lazy', |
| 30 | + path: '/lazy', |
| 31 | + getParentRoute: () => rootRouteImport, |
| 32 | +} as any) |
| 33 | +const BlogRoute = BlogRouteImport.update({ |
| 34 | + id: '/blog_', |
| 35 | + path: '/blog_', |
| 36 | + getParentRoute: () => rootRouteImport, |
| 37 | +} as any) |
| 38 | +const LayoutRoute = LayoutRouteImport.update({ |
| 39 | + id: '/_layout', |
| 40 | + path: '/_layout', |
| 41 | + getParentRoute: () => rootRouteImport, |
| 42 | +} as any) |
| 43 | + |
| 44 | +export interface FileRoutesByFullPath { |
| 45 | + '/_layout': typeof LayoutRoute |
| 46 | + '/blog_': typeof BlogRoute |
| 47 | + '/index': typeof IndexRoute |
| 48 | + '/lazy': typeof LazyRoute |
| 49 | + '/route': typeof RouteRoute |
| 50 | +} |
| 51 | +export interface FileRoutesByTo { |
| 52 | + '/_layout': typeof LayoutRoute |
| 53 | + '/blog_': typeof BlogRoute |
| 54 | + '/index': typeof IndexRoute |
| 55 | + '/lazy': typeof LazyRoute |
| 56 | + '/route': typeof RouteRoute |
| 57 | +} |
| 58 | +export interface FileRoutesById { |
| 59 | + __root__: typeof rootRouteImport |
| 60 | + '/_layout': typeof LayoutRoute |
| 61 | + '/blog_': typeof BlogRoute |
| 62 | + '/index': typeof IndexRoute |
| 63 | + '/lazy': typeof LazyRoute |
| 64 | + '/route': typeof RouteRoute |
| 65 | +} |
| 66 | +export interface FileRouteTypes { |
| 67 | + fileRoutesByFullPath: FileRoutesByFullPath |
| 68 | + fullPaths: '/_layout' | '/blog_' | '/index' | '/lazy' | '/route' |
| 69 | + fileRoutesByTo: FileRoutesByTo |
| 70 | + to: '/_layout' | '/blog_' | '/index' | '/lazy' | '/route' |
| 71 | + id: '__root__' | '/_layout' | '/blog_' | '/index' | '/lazy' | '/route' |
| 72 | + fileRoutesById: FileRoutesById |
| 73 | +} |
| 74 | +export interface RootRouteChildren { |
| 75 | + LayoutRoute: typeof LayoutRoute |
| 76 | + BlogRoute: typeof BlogRoute |
| 77 | + IndexRoute: typeof IndexRoute |
| 78 | + LazyRoute: typeof LazyRoute |
| 79 | + RouteRoute: typeof RouteRoute |
| 80 | +} |
| 81 | + |
| 82 | +declare module '@tanstack/react-router' { |
| 83 | + interface FileRoutesByPath { |
| 84 | + '/index': { |
| 85 | + id: '/index' |
| 86 | + path: '/index' |
| 87 | + fullPath: '/index' |
| 88 | + preLoaderRoute: typeof IndexRouteImport |
| 89 | + parentRoute: typeof rootRouteImport |
| 90 | + } |
| 91 | + '/route': { |
| 92 | + id: '/route' |
| 93 | + path: '/route' |
| 94 | + fullPath: '/route' |
| 95 | + preLoaderRoute: typeof RouteRouteImport |
| 96 | + parentRoute: typeof rootRouteImport |
| 97 | + } |
| 98 | + '/lazy': { |
| 99 | + id: '/lazy' |
| 100 | + path: '/lazy' |
| 101 | + fullPath: '/lazy' |
| 102 | + preLoaderRoute: typeof LazyRouteImport |
| 103 | + parentRoute: typeof rootRouteImport |
| 104 | + } |
| 105 | + '/blog_': { |
| 106 | + id: '/blog_' |
| 107 | + path: '/blog_' |
| 108 | + fullPath: '/blog_' |
| 109 | + preLoaderRoute: typeof BlogRouteImport |
| 110 | + parentRoute: typeof rootRouteImport |
| 111 | + } |
| 112 | + '/_layout': { |
| 113 | + id: '/_layout' |
| 114 | + path: '/_layout' |
| 115 | + fullPath: '/_layout' |
| 116 | + preLoaderRoute: typeof LayoutRouteImport |
| 117 | + parentRoute: typeof rootRouteImport |
| 118 | + } |
| 119 | + } |
| 120 | +} |
| 121 | + |
| 122 | +const rootRouteChildren: RootRouteChildren = { |
| 123 | + LayoutRoute: LayoutRoute, |
| 124 | + BlogRoute: BlogRoute, |
| 125 | + IndexRoute: IndexRoute, |
| 126 | + LazyRoute: LazyRoute, |
| 127 | + RouteRoute: RouteRoute, |
| 128 | +} |
| 129 | +export const routeTree = rootRouteImport |
| 130 | + ._addFileChildren(rootRouteChildren) |
| 131 | + ._addFileTypes<FileRouteTypes>() |
0 commit comments