| |
|
|
| |
|
|
| |
|
|
| |
| |
| |
|
|
| import { Route as rootRouteImport } from './routes/__root' |
| import { Route as IndexRouteImport } from './routes/index' |
| import { Route as ApiDownloadZipRouteImport } from './routes/api/download-zip' |
|
|
| const IndexRoute = IndexRouteImport.update({ |
| id: '/', |
| path: '/', |
| getParentRoute: () => rootRouteImport, |
| } as any) |
| const ApiDownloadZipRoute = ApiDownloadZipRouteImport.update({ |
| id: '/api/download-zip', |
| path: '/api/download-zip', |
| getParentRoute: () => rootRouteImport, |
| } as any) |
|
|
| export interface FileRoutesByFullPath { |
| '/': typeof IndexRoute |
| '/api/download-zip': typeof ApiDownloadZipRoute |
| } |
| export interface FileRoutesByTo { |
| '/': typeof IndexRoute |
| '/api/download-zip': typeof ApiDownloadZipRoute |
| } |
| export interface FileRoutesById { |
| __root__: typeof rootRouteImport |
| '/': typeof IndexRoute |
| '/api/download-zip': typeof ApiDownloadZipRoute |
| } |
| export interface FileRouteTypes { |
| fileRoutesByFullPath: FileRoutesByFullPath |
| fullPaths: '/' | '/api/download-zip' |
| fileRoutesByTo: FileRoutesByTo |
| to: '/' | '/api/download-zip' |
| id: '__root__' | '/' | '/api/download-zip' |
| fileRoutesById: FileRoutesById |
| } |
| export interface RootRouteChildren { |
| IndexRoute: typeof IndexRoute |
| ApiDownloadZipRoute: typeof ApiDownloadZipRoute |
| } |
|
|
| declare module '@tanstack/react-router' { |
| interface FileRoutesByPath { |
| '/': { |
| id: '/' |
| path: '/' |
| fullPath: '/' |
| preLoaderRoute: typeof IndexRouteImport |
| parentRoute: typeof rootRouteImport |
| } |
| '/api/download-zip': { |
| id: '/api/download-zip' |
| path: '/api/download-zip' |
| fullPath: '/api/download-zip' |
| preLoaderRoute: typeof ApiDownloadZipRouteImport |
| parentRoute: typeof rootRouteImport |
| } |
| } |
| } |
|
|
| const rootRouteChildren: RootRouteChildren = { |
| IndexRoute: IndexRoute, |
| ApiDownloadZipRoute: ApiDownloadZipRoute, |
| } |
| export const routeTree = rootRouteImport |
| ._addFileChildren(rootRouteChildren) |
| ._addFileTypes<FileRouteTypes>() |
|
|