|
| 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 HowItWorksRouteImport } from './routes/how-it-works' |
| 13 | +import { Route as ExploreRouteImport } from './routes/explore' |
| 14 | +import { Route as PostsRouteRouteImport } from './routes/posts.route' |
| 15 | +import { Route as IndexRouteImport } from './routes/index' |
| 16 | +import { Route as PostsIndexRouteImport } from './routes/posts.index' |
| 17 | +import { Route as PostsPostIdRouteImport } from './routes/posts.$postId' |
| 18 | + |
| 19 | +const HowItWorksRoute = HowItWorksRouteImport.update({ |
| 20 | + id: '/how-it-works', |
| 21 | + path: '/how-it-works', |
| 22 | + getParentRoute: () => rootRouteImport, |
| 23 | +} as any) |
| 24 | +const ExploreRoute = ExploreRouteImport.update({ |
| 25 | + id: '/explore', |
| 26 | + path: '/explore', |
| 27 | + getParentRoute: () => rootRouteImport, |
| 28 | +} as any) |
| 29 | +const PostsRouteRoute = PostsRouteRouteImport.update({ |
| 30 | + id: '/posts', |
| 31 | + path: '/posts', |
| 32 | + getParentRoute: () => rootRouteImport, |
| 33 | +} as any) |
| 34 | +const IndexRoute = IndexRouteImport.update({ |
| 35 | + id: '/', |
| 36 | + path: '/', |
| 37 | + getParentRoute: () => rootRouteImport, |
| 38 | +} as any) |
| 39 | +const PostsIndexRoute = PostsIndexRouteImport.update({ |
| 40 | + id: '/', |
| 41 | + path: '/', |
| 42 | + getParentRoute: () => PostsRouteRoute, |
| 43 | +} as any) |
| 44 | +const PostsPostIdRoute = PostsPostIdRouteImport.update({ |
| 45 | + id: '/$postId', |
| 46 | + path: '/$postId', |
| 47 | + getParentRoute: () => PostsRouteRoute, |
| 48 | +} as any) |
| 49 | + |
| 50 | +export interface FileRoutesByFullPath { |
| 51 | + '/': typeof IndexRoute |
| 52 | + '/posts': typeof PostsRouteRouteWithChildren |
| 53 | + '/explore': typeof ExploreRoute |
| 54 | + '/how-it-works': typeof HowItWorksRoute |
| 55 | + '/posts/$postId': typeof PostsPostIdRoute |
| 56 | + '/posts/': typeof PostsIndexRoute |
| 57 | +} |
| 58 | +export interface FileRoutesByTo { |
| 59 | + '/': typeof IndexRoute |
| 60 | + '/explore': typeof ExploreRoute |
| 61 | + '/how-it-works': typeof HowItWorksRoute |
| 62 | + '/posts/$postId': typeof PostsPostIdRoute |
| 63 | + '/posts': typeof PostsIndexRoute |
| 64 | +} |
| 65 | +export interface FileRoutesById { |
| 66 | + __root__: typeof rootRouteImport |
| 67 | + '/': typeof IndexRoute |
| 68 | + '/posts': typeof PostsRouteRouteWithChildren |
| 69 | + '/explore': typeof ExploreRoute |
| 70 | + '/how-it-works': typeof HowItWorksRoute |
| 71 | + '/posts/$postId': typeof PostsPostIdRoute |
| 72 | + '/posts/': typeof PostsIndexRoute |
| 73 | +} |
| 74 | +export interface FileRouteTypes { |
| 75 | + fileRoutesByFullPath: FileRoutesByFullPath |
| 76 | + fullPaths: |
| 77 | + | '/' |
| 78 | + | '/posts' |
| 79 | + | '/explore' |
| 80 | + | '/how-it-works' |
| 81 | + | '/posts/$postId' |
| 82 | + | '/posts/' |
| 83 | + fileRoutesByTo: FileRoutesByTo |
| 84 | + to: '/' | '/explore' | '/how-it-works' | '/posts/$postId' | '/posts' |
| 85 | + id: |
| 86 | + | '__root__' |
| 87 | + | '/' |
| 88 | + | '/posts' |
| 89 | + | '/explore' |
| 90 | + | '/how-it-works' |
| 91 | + | '/posts/$postId' |
| 92 | + | '/posts/' |
| 93 | + fileRoutesById: FileRoutesById |
| 94 | +} |
| 95 | +export interface RootRouteChildren { |
| 96 | + IndexRoute: typeof IndexRoute |
| 97 | + PostsRouteRoute: typeof PostsRouteRouteWithChildren |
| 98 | + ExploreRoute: typeof ExploreRoute |
| 99 | + HowItWorksRoute: typeof HowItWorksRoute |
| 100 | +} |
| 101 | + |
| 102 | +declare module '@tanstack/solid-router' { |
| 103 | + interface FileRoutesByPath { |
| 104 | + '/how-it-works': { |
| 105 | + id: '/how-it-works' |
| 106 | + path: '/how-it-works' |
| 107 | + fullPath: '/how-it-works' |
| 108 | + preLoaderRoute: typeof HowItWorksRouteImport |
| 109 | + parentRoute: typeof rootRouteImport |
| 110 | + } |
| 111 | + '/explore': { |
| 112 | + id: '/explore' |
| 113 | + path: '/explore' |
| 114 | + fullPath: '/explore' |
| 115 | + preLoaderRoute: typeof ExploreRouteImport |
| 116 | + parentRoute: typeof rootRouteImport |
| 117 | + } |
| 118 | + '/posts': { |
| 119 | + id: '/posts' |
| 120 | + path: '/posts' |
| 121 | + fullPath: '/posts' |
| 122 | + preLoaderRoute: typeof PostsRouteRouteImport |
| 123 | + parentRoute: typeof rootRouteImport |
| 124 | + } |
| 125 | + '/': { |
| 126 | + id: '/' |
| 127 | + path: '/' |
| 128 | + fullPath: '/' |
| 129 | + preLoaderRoute: typeof IndexRouteImport |
| 130 | + parentRoute: typeof rootRouteImport |
| 131 | + } |
| 132 | + '/posts/': { |
| 133 | + id: '/posts/' |
| 134 | + path: '/' |
| 135 | + fullPath: '/posts/' |
| 136 | + preLoaderRoute: typeof PostsIndexRouteImport |
| 137 | + parentRoute: typeof PostsRouteRoute |
| 138 | + } |
| 139 | + '/posts/$postId': { |
| 140 | + id: '/posts/$postId' |
| 141 | + path: '/$postId' |
| 142 | + fullPath: '/posts/$postId' |
| 143 | + preLoaderRoute: typeof PostsPostIdRouteImport |
| 144 | + parentRoute: typeof PostsRouteRoute |
| 145 | + } |
| 146 | + } |
| 147 | +} |
| 148 | + |
| 149 | +interface PostsRouteRouteChildren { |
| 150 | + PostsPostIdRoute: typeof PostsPostIdRoute |
| 151 | + PostsIndexRoute: typeof PostsIndexRoute |
| 152 | +} |
| 153 | + |
| 154 | +const PostsRouteRouteChildren: PostsRouteRouteChildren = { |
| 155 | + PostsPostIdRoute: PostsPostIdRoute, |
| 156 | + PostsIndexRoute: PostsIndexRoute, |
| 157 | +} |
| 158 | + |
| 159 | +const PostsRouteRouteWithChildren = PostsRouteRoute._addFileChildren( |
| 160 | + PostsRouteRouteChildren, |
| 161 | +) |
| 162 | + |
| 163 | +const rootRouteChildren: RootRouteChildren = { |
| 164 | + IndexRoute: IndexRoute, |
| 165 | + PostsRouteRoute: PostsRouteRouteWithChildren, |
| 166 | + ExploreRoute: ExploreRoute, |
| 167 | + HowItWorksRoute: HowItWorksRoute, |
| 168 | +} |
| 169 | +export const routeTree = rootRouteImport |
| 170 | + ._addFileChildren(rootRouteChildren) |
| 171 | + ._addFileTypes<FileRouteTypes>() |
0 commit comments