|
| 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 PathlessLayoutRouteImport } from './routes/_pathlessLayout' |
| 13 | +import { Route as PostsRouteRouteImport } from './routes/posts.route' |
| 14 | +import { Route as IndexRouteImport } from './routes/index' |
| 15 | +import { Route as PostsIndexRouteImport } from './routes/posts.index' |
| 16 | +import { Route as PostsPostIdRouteImport } from './routes/posts.$postId' |
| 17 | +import { Route as PathlessLayoutNestedLayoutRouteImport } from './routes/_pathlessLayout/_nested-layout' |
| 18 | +import { Route as PathlessLayoutNestedLayoutRouteBRouteImport } from './routes/_pathlessLayout/_nested-layout/route-b' |
| 19 | +import { Route as PathlessLayoutNestedLayoutRouteARouteImport } from './routes/_pathlessLayout/_nested-layout/route-a' |
| 20 | + |
| 21 | +const PathlessLayoutRoute = PathlessLayoutRouteImport.update({ |
| 22 | + id: '/_pathlessLayout', |
| 23 | + getParentRoute: () => rootRouteImport, |
| 24 | +} as any) |
| 25 | +const PostsRouteRoute = PostsRouteRouteImport.update({ |
| 26 | + id: '/posts', |
| 27 | + path: '/posts', |
| 28 | + getParentRoute: () => rootRouteImport, |
| 29 | +} as any) |
| 30 | +const IndexRoute = IndexRouteImport.update({ |
| 31 | + id: '/', |
| 32 | + path: '/', |
| 33 | + getParentRoute: () => rootRouteImport, |
| 34 | +} as any) |
| 35 | +const PostsIndexRoute = PostsIndexRouteImport.update({ |
| 36 | + id: '/', |
| 37 | + path: '/', |
| 38 | + getParentRoute: () => PostsRouteRoute, |
| 39 | +} as any) |
| 40 | +const PostsPostIdRoute = PostsPostIdRouteImport.update({ |
| 41 | + id: '/$postId', |
| 42 | + path: '/$postId', |
| 43 | + getParentRoute: () => PostsRouteRoute, |
| 44 | +} as any) |
| 45 | +const PathlessLayoutNestedLayoutRoute = |
| 46 | + PathlessLayoutNestedLayoutRouteImport.update({ |
| 47 | + id: '/_nested-layout', |
| 48 | + getParentRoute: () => PathlessLayoutRoute, |
| 49 | + } as any) |
| 50 | +const PathlessLayoutNestedLayoutRouteBRoute = |
| 51 | + PathlessLayoutNestedLayoutRouteBRouteImport.update({ |
| 52 | + id: '/route-b', |
| 53 | + path: '/route-b', |
| 54 | + getParentRoute: () => PathlessLayoutNestedLayoutRoute, |
| 55 | + } as any) |
| 56 | +const PathlessLayoutNestedLayoutRouteARoute = |
| 57 | + PathlessLayoutNestedLayoutRouteARouteImport.update({ |
| 58 | + id: '/route-a', |
| 59 | + path: '/route-a', |
| 60 | + getParentRoute: () => PathlessLayoutNestedLayoutRoute, |
| 61 | + } as any) |
| 62 | + |
| 63 | +export interface FileRoutesByFullPath { |
| 64 | + '/': typeof IndexRoute |
| 65 | + '/posts': typeof PostsRouteRouteWithChildren |
| 66 | + '/posts/$postId': typeof PostsPostIdRoute |
| 67 | + '/posts/': typeof PostsIndexRoute |
| 68 | + '/route-a': typeof PathlessLayoutNestedLayoutRouteARoute |
| 69 | + '/route-b': typeof PathlessLayoutNestedLayoutRouteBRoute |
| 70 | +} |
| 71 | +export interface FileRoutesByTo { |
| 72 | + '/': typeof IndexRoute |
| 73 | + '/posts/$postId': typeof PostsPostIdRoute |
| 74 | + '/posts': typeof PostsIndexRoute |
| 75 | + '/route-a': typeof PathlessLayoutNestedLayoutRouteARoute |
| 76 | + '/route-b': typeof PathlessLayoutNestedLayoutRouteBRoute |
| 77 | +} |
| 78 | +export interface FileRoutesById { |
| 79 | + __root__: typeof rootRouteImport |
| 80 | + '/': typeof IndexRoute |
| 81 | + '/posts': typeof PostsRouteRouteWithChildren |
| 82 | + '/_pathlessLayout': typeof PathlessLayoutRouteWithChildren |
| 83 | + '/_pathlessLayout/_nested-layout': typeof PathlessLayoutNestedLayoutRouteWithChildren |
| 84 | + '/posts/$postId': typeof PostsPostIdRoute |
| 85 | + '/posts/': typeof PostsIndexRoute |
| 86 | + '/_pathlessLayout/_nested-layout/route-a': typeof PathlessLayoutNestedLayoutRouteARoute |
| 87 | + '/_pathlessLayout/_nested-layout/route-b': typeof PathlessLayoutNestedLayoutRouteBRoute |
| 88 | +} |
| 89 | +export interface FileRouteTypes { |
| 90 | + fileRoutesByFullPath: FileRoutesByFullPath |
| 91 | + fullPaths: |
| 92 | + | '/' |
| 93 | + | '/posts' |
| 94 | + | '/posts/$postId' |
| 95 | + | '/posts/' |
| 96 | + | '/route-a' |
| 97 | + | '/route-b' |
| 98 | + fileRoutesByTo: FileRoutesByTo |
| 99 | + to: '/' | '/posts/$postId' | '/posts' | '/route-a' | '/route-b' |
| 100 | + id: |
| 101 | + | '__root__' |
| 102 | + | '/' |
| 103 | + | '/posts' |
| 104 | + | '/_pathlessLayout' |
| 105 | + | '/_pathlessLayout/_nested-layout' |
| 106 | + | '/posts/$postId' |
| 107 | + | '/posts/' |
| 108 | + | '/_pathlessLayout/_nested-layout/route-a' |
| 109 | + | '/_pathlessLayout/_nested-layout/route-b' |
| 110 | + fileRoutesById: FileRoutesById |
| 111 | +} |
| 112 | +export interface RootRouteChildren { |
| 113 | + IndexRoute: typeof IndexRoute |
| 114 | + PostsRouteRoute: typeof PostsRouteRouteWithChildren |
| 115 | + PathlessLayoutRoute: typeof PathlessLayoutRouteWithChildren |
| 116 | +} |
| 117 | + |
| 118 | +declare module '@tanstack/solid-router' { |
| 119 | + interface FileRoutesByPath { |
| 120 | + '/_pathlessLayout': { |
| 121 | + id: '/_pathlessLayout' |
| 122 | + path: '' |
| 123 | + fullPath: '' |
| 124 | + preLoaderRoute: typeof PathlessLayoutRouteImport |
| 125 | + parentRoute: typeof rootRouteImport |
| 126 | + } |
| 127 | + '/posts': { |
| 128 | + id: '/posts' |
| 129 | + path: '/posts' |
| 130 | + fullPath: '/posts' |
| 131 | + preLoaderRoute: typeof PostsRouteRouteImport |
| 132 | + parentRoute: typeof rootRouteImport |
| 133 | + } |
| 134 | + '/': { |
| 135 | + id: '/' |
| 136 | + path: '/' |
| 137 | + fullPath: '/' |
| 138 | + preLoaderRoute: typeof IndexRouteImport |
| 139 | + parentRoute: typeof rootRouteImport |
| 140 | + } |
| 141 | + '/posts/': { |
| 142 | + id: '/posts/' |
| 143 | + path: '/' |
| 144 | + fullPath: '/posts/' |
| 145 | + preLoaderRoute: typeof PostsIndexRouteImport |
| 146 | + parentRoute: typeof PostsRouteRoute |
| 147 | + } |
| 148 | + '/posts/$postId': { |
| 149 | + id: '/posts/$postId' |
| 150 | + path: '/$postId' |
| 151 | + fullPath: '/posts/$postId' |
| 152 | + preLoaderRoute: typeof PostsPostIdRouteImport |
| 153 | + parentRoute: typeof PostsRouteRoute |
| 154 | + } |
| 155 | + '/_pathlessLayout/_nested-layout': { |
| 156 | + id: '/_pathlessLayout/_nested-layout' |
| 157 | + path: '' |
| 158 | + fullPath: '' |
| 159 | + preLoaderRoute: typeof PathlessLayoutNestedLayoutRouteImport |
| 160 | + parentRoute: typeof PathlessLayoutRoute |
| 161 | + } |
| 162 | + '/_pathlessLayout/_nested-layout/route-b': { |
| 163 | + id: '/_pathlessLayout/_nested-layout/route-b' |
| 164 | + path: '/route-b' |
| 165 | + fullPath: '/route-b' |
| 166 | + preLoaderRoute: typeof PathlessLayoutNestedLayoutRouteBRouteImport |
| 167 | + parentRoute: typeof PathlessLayoutNestedLayoutRoute |
| 168 | + } |
| 169 | + '/_pathlessLayout/_nested-layout/route-a': { |
| 170 | + id: '/_pathlessLayout/_nested-layout/route-a' |
| 171 | + path: '/route-a' |
| 172 | + fullPath: '/route-a' |
| 173 | + preLoaderRoute: typeof PathlessLayoutNestedLayoutRouteARouteImport |
| 174 | + parentRoute: typeof PathlessLayoutNestedLayoutRoute |
| 175 | + } |
| 176 | + } |
| 177 | +} |
| 178 | + |
| 179 | +interface PostsRouteRouteChildren { |
| 180 | + PostsPostIdRoute: typeof PostsPostIdRoute |
| 181 | + PostsIndexRoute: typeof PostsIndexRoute |
| 182 | +} |
| 183 | + |
| 184 | +const PostsRouteRouteChildren: PostsRouteRouteChildren = { |
| 185 | + PostsPostIdRoute: PostsPostIdRoute, |
| 186 | + PostsIndexRoute: PostsIndexRoute, |
| 187 | +} |
| 188 | + |
| 189 | +const PostsRouteRouteWithChildren = PostsRouteRoute._addFileChildren( |
| 190 | + PostsRouteRouteChildren, |
| 191 | +) |
| 192 | + |
| 193 | +interface PathlessLayoutNestedLayoutRouteChildren { |
| 194 | + PathlessLayoutNestedLayoutRouteARoute: typeof PathlessLayoutNestedLayoutRouteARoute |
| 195 | + PathlessLayoutNestedLayoutRouteBRoute: typeof PathlessLayoutNestedLayoutRouteBRoute |
| 196 | +} |
| 197 | + |
| 198 | +const PathlessLayoutNestedLayoutRouteChildren: PathlessLayoutNestedLayoutRouteChildren = |
| 199 | + { |
| 200 | + PathlessLayoutNestedLayoutRouteARoute: |
| 201 | + PathlessLayoutNestedLayoutRouteARoute, |
| 202 | + PathlessLayoutNestedLayoutRouteBRoute: |
| 203 | + PathlessLayoutNestedLayoutRouteBRoute, |
| 204 | + } |
| 205 | + |
| 206 | +const PathlessLayoutNestedLayoutRouteWithChildren = |
| 207 | + PathlessLayoutNestedLayoutRoute._addFileChildren( |
| 208 | + PathlessLayoutNestedLayoutRouteChildren, |
| 209 | + ) |
| 210 | + |
| 211 | +interface PathlessLayoutRouteChildren { |
| 212 | + PathlessLayoutNestedLayoutRoute: typeof PathlessLayoutNestedLayoutRouteWithChildren |
| 213 | +} |
| 214 | + |
| 215 | +const PathlessLayoutRouteChildren: PathlessLayoutRouteChildren = { |
| 216 | + PathlessLayoutNestedLayoutRoute: PathlessLayoutNestedLayoutRouteWithChildren, |
| 217 | +} |
| 218 | + |
| 219 | +const PathlessLayoutRouteWithChildren = PathlessLayoutRoute._addFileChildren( |
| 220 | + PathlessLayoutRouteChildren, |
| 221 | +) |
| 222 | + |
| 223 | +const rootRouteChildren: RootRouteChildren = { |
| 224 | + IndexRoute: IndexRoute, |
| 225 | + PostsRouteRoute: PostsRouteRouteWithChildren, |
| 226 | + PathlessLayoutRoute: PathlessLayoutRouteWithChildren, |
| 227 | +} |
| 228 | +export const routeTree = rootRouteImport |
| 229 | + ._addFileChildren(rootRouteChildren) |
| 230 | + ._addFileTypes<FileRouteTypes>() |
0 commit comments