|
| 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 nestedCallbackRouteImport } from './routes/nested/callback' |
| 14 | +import { Route as nestedAuthRouteImport } from './routes/nested/auth' |
| 15 | +import { Route as nestedHomeRouteImport } from './routes/nested/home' |
| 16 | + |
| 17 | +const IndexRoute = IndexRouteImport.update({ |
| 18 | + id: '/', |
| 19 | + path: '/', |
| 20 | + getParentRoute: () => rootRouteImport, |
| 21 | +} as any) |
| 22 | +const nestedCallbackRoute = nestedCallbackRouteImport.update({ |
| 23 | + id: '/nested/_callback', |
| 24 | + path: '/nested/_callback', |
| 25 | + getParentRoute: () => rootRouteImport, |
| 26 | +} as any) |
| 27 | +const nestedAuthRoute = nestedAuthRouteImport.update({ |
| 28 | + id: '/nested/_auth', |
| 29 | + path: '/nested/_auth', |
| 30 | + getParentRoute: () => rootRouteImport, |
| 31 | +} as any) |
| 32 | +const nestedHomeRoute = nestedHomeRouteImport.update({ |
| 33 | + id: '/nested/', |
| 34 | + path: '/nested/', |
| 35 | + getParentRoute: () => rootRouteImport, |
| 36 | +} as any) |
| 37 | + |
| 38 | +export interface FileRoutesByFullPath { |
| 39 | + '/': typeof IndexRoute |
| 40 | + '/nested': typeof nestedHomeRoute |
| 41 | + '/nested/_auth': typeof nestedAuthRoute |
| 42 | + '/nested/_callback': typeof nestedCallbackRoute |
| 43 | +} |
| 44 | +export interface FileRoutesByTo { |
| 45 | + '/': typeof IndexRoute |
| 46 | + '/nested': typeof nestedHomeRoute |
| 47 | + '/nested/_auth': typeof nestedAuthRoute |
| 48 | + '/nested/_callback': typeof nestedCallbackRoute |
| 49 | +} |
| 50 | +export interface FileRoutesById { |
| 51 | + __root__: typeof rootRouteImport |
| 52 | + '/': typeof IndexRoute |
| 53 | + '/nested/': typeof nestedHomeRoute |
| 54 | + '/nested/_auth': typeof nestedAuthRoute |
| 55 | + '/nested/_callback': typeof nestedCallbackRoute |
| 56 | +} |
| 57 | +export interface FileRouteTypes { |
| 58 | + fileRoutesByFullPath: FileRoutesByFullPath |
| 59 | + fullPaths: '/' | '/nested' | '/nested/_auth' | '/nested/_callback' |
| 60 | + fileRoutesByTo: FileRoutesByTo |
| 61 | + to: '/' | '/nested' | '/nested/_auth' | '/nested/_callback' |
| 62 | + id: '__root__' | '/' | '/nested/' | '/nested/_auth' | '/nested/_callback' |
| 63 | + fileRoutesById: FileRoutesById |
| 64 | +} |
| 65 | +export interface RootRouteChildren { |
| 66 | + IndexRoute: typeof IndexRoute |
| 67 | + nestedHomeRoute: typeof nestedHomeRoute |
| 68 | + nestedAuthRoute: typeof nestedAuthRoute |
| 69 | + nestedCallbackRoute: typeof nestedCallbackRoute |
| 70 | +} |
| 71 | + |
| 72 | +declare module '@tanstack/react-router' { |
| 73 | + interface FileRoutesByPath { |
| 74 | + '/': { |
| 75 | + id: '/' |
| 76 | + path: '/' |
| 77 | + fullPath: '/' |
| 78 | + preLoaderRoute: typeof IndexRouteImport |
| 79 | + parentRoute: typeof rootRouteImport |
| 80 | + } |
| 81 | + '/nested/_callback': { |
| 82 | + id: '/nested/_callback' |
| 83 | + path: '/nested/_callback' |
| 84 | + fullPath: '/nested/_callback' |
| 85 | + preLoaderRoute: typeof nestedCallbackRouteImport |
| 86 | + parentRoute: typeof rootRouteImport |
| 87 | + } |
| 88 | + '/nested/_auth': { |
| 89 | + id: '/nested/_auth' |
| 90 | + path: '/nested/_auth' |
| 91 | + fullPath: '/nested/_auth' |
| 92 | + preLoaderRoute: typeof nestedAuthRouteImport |
| 93 | + parentRoute: typeof rootRouteImport |
| 94 | + } |
| 95 | + '/nested/': { |
| 96 | + id: '/nested/' |
| 97 | + path: '/nested' |
| 98 | + fullPath: '/nested' |
| 99 | + preLoaderRoute: typeof nestedHomeRouteImport |
| 100 | + parentRoute: typeof rootRouteImport |
| 101 | + } |
| 102 | + } |
| 103 | +} |
| 104 | + |
| 105 | +const rootRouteChildren: RootRouteChildren = { |
| 106 | + IndexRoute: IndexRoute, |
| 107 | + nestedHomeRoute: nestedHomeRoute, |
| 108 | + nestedAuthRoute: nestedAuthRoute, |
| 109 | + nestedCallbackRoute: nestedCallbackRoute, |
| 110 | +} |
| 111 | +export const routeTree = rootRouteImport |
| 112 | + ._addFileChildren(rootRouteChildren) |
| 113 | + ._addFileTypes<FileRouteTypes>() |
0 commit comments