|
| 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 S1LayoutRouteImport } from './subtree/routes/_layout' |
| 14 | +import { Route as S1DotDotFooRoutesRouteRouteImport } from './subtree/foo/routes/route' |
| 15 | +import { Route as S1DotDotFooRoutesIndexRouteImport } from './subtree/foo/routes/index' |
| 16 | + |
| 17 | +const indexRoute = indexRouteImport.update({ |
| 18 | + id: '/', |
| 19 | + path: '/', |
| 20 | + getParentRoute: () => rootRouteImport, |
| 21 | +} as any) |
| 22 | +const S1LayoutRoute = S1LayoutRouteImport.update({ |
| 23 | + id: '/s1/_layout', |
| 24 | + path: '/s1', |
| 25 | + getParentRoute: () => rootRouteImport, |
| 26 | +} as any) |
| 27 | +const S1DotDotFooRoutesRouteRoute = S1DotDotFooRoutesRouteRouteImport.update({ |
| 28 | + id: '/foo', |
| 29 | + path: '/foo', |
| 30 | + getParentRoute: () => S1LayoutRoute, |
| 31 | +} as any) |
| 32 | +const S1DotDotFooRoutesIndexRoute = S1DotDotFooRoutesIndexRouteImport.update({ |
| 33 | + id: '/', |
| 34 | + path: '/', |
| 35 | + getParentRoute: () => S1DotDotFooRoutesRouteRoute, |
| 36 | +} as any) |
| 37 | + |
| 38 | +export interface FileRoutesByFullPath { |
| 39 | + '/': typeof indexRoute |
| 40 | + '/s1': typeof S1LayoutRouteWithChildren |
| 41 | + '/s1/foo': typeof S1DotDotFooRoutesRouteRouteWithChildren |
| 42 | + '/s1/foo/': typeof S1DotDotFooRoutesIndexRoute |
| 43 | +} |
| 44 | +export interface FileRoutesByTo { |
| 45 | + '/': typeof indexRoute |
| 46 | + '/s1': typeof S1LayoutRouteWithChildren |
| 47 | + '/s1/foo': typeof S1DotDotFooRoutesIndexRoute |
| 48 | +} |
| 49 | +export interface FileRoutesById { |
| 50 | + __root__: typeof rootRouteImport |
| 51 | + '/': typeof indexRoute |
| 52 | + '/s1/_layout': typeof S1LayoutRouteWithChildren |
| 53 | + '/s1/_layout/foo': typeof S1DotDotFooRoutesRouteRouteWithChildren |
| 54 | + '/s1/_layout/foo/': typeof S1DotDotFooRoutesIndexRoute |
| 55 | +} |
| 56 | +export interface FileRouteTypes { |
| 57 | + fileRoutesByFullPath: FileRoutesByFullPath |
| 58 | + fullPaths: '/' | '/s1' | '/s1/foo' | '/s1/foo/' |
| 59 | + fileRoutesByTo: FileRoutesByTo |
| 60 | + to: '/' | '/s1' | '/s1/foo' |
| 61 | + id: '__root__' | '/' | '/s1/_layout' | '/s1/_layout/foo' | '/s1/_layout/foo/' |
| 62 | + fileRoutesById: FileRoutesById |
| 63 | +} |
| 64 | +export interface RootRouteChildren { |
| 65 | + indexRoute: typeof indexRoute |
| 66 | + S1LayoutRoute: typeof S1LayoutRouteWithChildren |
| 67 | +} |
| 68 | + |
| 69 | +declare module '@tanstack/react-router' { |
| 70 | + interface FileRoutesByPath { |
| 71 | + '/': { |
| 72 | + id: '/' |
| 73 | + path: '/' |
| 74 | + fullPath: '/' |
| 75 | + preLoaderRoute: typeof indexRouteImport |
| 76 | + parentRoute: typeof rootRouteImport |
| 77 | + } |
| 78 | + '/s1/_layout': { |
| 79 | + id: '/s1/_layout' |
| 80 | + path: '/s1' |
| 81 | + fullPath: '/s1' |
| 82 | + preLoaderRoute: typeof S1LayoutRouteImport |
| 83 | + parentRoute: typeof rootRouteImport |
| 84 | + } |
| 85 | + '/s1/_layout/foo': { |
| 86 | + id: '/s1/_layout/foo' |
| 87 | + path: '/foo' |
| 88 | + fullPath: '/s1/foo' |
| 89 | + preLoaderRoute: typeof S1DotDotFooRoutesRouteRouteImport |
| 90 | + parentRoute: typeof S1LayoutRoute |
| 91 | + } |
| 92 | + '/s1/_layout/foo/': { |
| 93 | + id: '/s1/_layout/foo/' |
| 94 | + path: '/' |
| 95 | + fullPath: '/s1/foo/' |
| 96 | + preLoaderRoute: typeof S1DotDotFooRoutesIndexRouteImport |
| 97 | + parentRoute: typeof S1DotDotFooRoutesRouteRoute |
| 98 | + } |
| 99 | + } |
| 100 | +} |
| 101 | + |
| 102 | +interface S1DotDotFooRoutesRouteRouteChildren { |
| 103 | + S1DotDotFooRoutesIndexRoute: typeof S1DotDotFooRoutesIndexRoute |
| 104 | +} |
| 105 | + |
| 106 | +const S1DotDotFooRoutesRouteRouteChildren: S1DotDotFooRoutesRouteRouteChildren = |
| 107 | + { |
| 108 | + S1DotDotFooRoutesIndexRoute: S1DotDotFooRoutesIndexRoute, |
| 109 | + } |
| 110 | + |
| 111 | +const S1DotDotFooRoutesRouteRouteWithChildren = |
| 112 | + S1DotDotFooRoutesRouteRoute._addFileChildren( |
| 113 | + S1DotDotFooRoutesRouteRouteChildren, |
| 114 | + ) |
| 115 | + |
| 116 | +interface S1LayoutRouteChildren { |
| 117 | + S1DotDotFooRoutesRouteRoute: typeof S1DotDotFooRoutesRouteRouteWithChildren |
| 118 | +} |
| 119 | + |
| 120 | +const S1LayoutRouteChildren: S1LayoutRouteChildren = { |
| 121 | + S1DotDotFooRoutesRouteRoute: S1DotDotFooRoutesRouteRouteWithChildren, |
| 122 | +} |
| 123 | + |
| 124 | +const S1LayoutRouteWithChildren = S1LayoutRoute._addFileChildren( |
| 125 | + S1LayoutRouteChildren, |
| 126 | +) |
| 127 | + |
| 128 | +const rootRouteChildren: RootRouteChildren = { |
| 129 | + indexRoute: indexRoute, |
| 130 | + S1LayoutRoute: S1LayoutRouteWithChildren, |
| 131 | +} |
| 132 | +export const routeTree = rootRouteImport |
| 133 | + ._addFileChildren(rootRouteChildren) |
| 134 | + ._addFileTypes<FileRouteTypes>() |
0 commit comments