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