|
| 1 | +/* prettier-ignore-start */ |
| 2 | + |
1 | 3 | /* eslint-disable */ |
2 | 4 |
|
3 | 5 | // @ts-nocheck |
4 | 6 |
|
5 | 7 | // noinspection JSUnusedGlobalSymbols |
6 | 8 |
|
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. |
| 9 | +// This file is auto-generated by TanStack Router |
10 | 10 |
|
11 | | -import { createFileRoute } from "@tanstack/react-router"; |
| 11 | +import { createFileRoute } from '@tanstack/react-router' |
12 | 12 |
|
13 | 13 | // Import Routes |
14 | 14 |
|
15 | | -import { Route as rootRoute } from "./routes/__root"; |
16 | | -import { Route as SearchpageImport } from "./routes/searchpage"; |
17 | | -import { Route as RecsImport } from "./routes/recs"; |
18 | | -import { Route as EcommerceImport } from "./routes/ecommerce"; |
| 15 | +import { Route as rootRoute } from './routes/__root' |
| 16 | +import { Route as SearchpageImport } from './routes/searchpage' |
| 17 | +import { Route as RecsImport } from './routes/recs' |
| 18 | +import { Route as EcommerceImport } from './routes/ecommerce' |
19 | 19 |
|
20 | 20 | // Create Virtual Routes |
21 | 21 |
|
22 | | -const IndexLazyImport = createFileRoute("/")(); |
| 22 | +const IndexLazyImport = createFileRoute('/')() |
23 | 23 |
|
24 | 24 | // Create/Update Routes |
25 | 25 |
|
26 | 26 | const SearchpageRoute = SearchpageImport.update({ |
27 | | - id: "/searchpage", |
28 | | - path: "/searchpage", |
| 27 | + path: '/searchpage', |
29 | 28 | getParentRoute: () => rootRoute, |
30 | | -} as any); |
| 29 | +} as any) |
31 | 30 |
|
32 | 31 | const RecsRoute = RecsImport.update({ |
33 | | - id: "/recs", |
34 | | - path: "/recs", |
| 32 | + path: '/recs', |
35 | 33 | getParentRoute: () => rootRoute, |
36 | | -} as any); |
| 34 | +} as any) |
37 | 35 |
|
38 | 36 | const EcommerceRoute = EcommerceImport.update({ |
39 | | - id: "/ecommerce", |
40 | | - path: "/ecommerce", |
| 37 | + path: '/ecommerce', |
41 | 38 | getParentRoute: () => rootRoute, |
42 | | -} as any); |
| 39 | +} as any) |
43 | 40 |
|
44 | 41 | const IndexLazyRoute = IndexLazyImport.update({ |
45 | | - id: "/", |
46 | | - path: "/", |
| 42 | + path: '/', |
47 | 43 | getParentRoute: () => rootRoute, |
48 | | -} as any).lazy(() => import("./routes/index.lazy").then((d) => d.Route)); |
| 44 | +} as any).lazy(() => import('./routes/index.lazy').then((d) => d.Route)) |
49 | 45 |
|
50 | 46 | // Populate the FileRoutesByPath interface |
51 | 47 |
|
52 | | -declare module "@tanstack/react-router" { |
| 48 | +declare module '@tanstack/react-router' { |
53 | 49 | interface FileRoutesByPath { |
54 | | - "/": { |
55 | | - id: "/"; |
56 | | - path: "/"; |
57 | | - fullPath: "/"; |
58 | | - preLoaderRoute: typeof IndexLazyImport; |
59 | | - parentRoute: typeof rootRoute; |
60 | | - }; |
61 | | - "/ecommerce": { |
62 | | - id: "/ecommerce"; |
63 | | - path: "/ecommerce"; |
64 | | - fullPath: "/ecommerce"; |
65 | | - preLoaderRoute: typeof EcommerceImport; |
66 | | - parentRoute: typeof rootRoute; |
67 | | - }; |
68 | | - "/recs": { |
69 | | - id: "/recs"; |
70 | | - path: "/recs"; |
71 | | - fullPath: "/recs"; |
72 | | - preLoaderRoute: typeof RecsImport; |
73 | | - parentRoute: typeof rootRoute; |
74 | | - }; |
75 | | - "/searchpage": { |
76 | | - id: "/searchpage"; |
77 | | - path: "/searchpage"; |
78 | | - fullPath: "/searchpage"; |
79 | | - preLoaderRoute: typeof SearchpageImport; |
80 | | - parentRoute: typeof rootRoute; |
81 | | - }; |
| 50 | + '/': { |
| 51 | + id: '/' |
| 52 | + path: '/' |
| 53 | + fullPath: '/' |
| 54 | + preLoaderRoute: typeof IndexLazyImport |
| 55 | + parentRoute: typeof rootRoute |
| 56 | + } |
| 57 | + '/ecommerce': { |
| 58 | + id: '/ecommerce' |
| 59 | + path: '/ecommerce' |
| 60 | + fullPath: '/ecommerce' |
| 61 | + preLoaderRoute: typeof EcommerceImport |
| 62 | + parentRoute: typeof rootRoute |
| 63 | + } |
| 64 | + '/recs': { |
| 65 | + id: '/recs' |
| 66 | + path: '/recs' |
| 67 | + fullPath: '/recs' |
| 68 | + preLoaderRoute: typeof RecsImport |
| 69 | + parentRoute: typeof rootRoute |
| 70 | + } |
| 71 | + '/searchpage': { |
| 72 | + id: '/searchpage' |
| 73 | + path: '/searchpage' |
| 74 | + fullPath: '/searchpage' |
| 75 | + preLoaderRoute: typeof SearchpageImport |
| 76 | + parentRoute: typeof rootRoute |
| 77 | + } |
82 | 78 | } |
83 | 79 | } |
84 | 80 |
|
85 | 81 | // Create and export the route tree |
86 | 82 |
|
87 | 83 | export interface FileRoutesByFullPath { |
88 | | - "/": typeof IndexLazyRoute; |
89 | | - "/ecommerce": typeof EcommerceRoute; |
90 | | - "/recs": typeof RecsRoute; |
91 | | - "/searchpage": typeof SearchpageRoute; |
| 84 | + '/': typeof IndexLazyRoute |
| 85 | + '/ecommerce': typeof EcommerceRoute |
| 86 | + '/recs': typeof RecsRoute |
| 87 | + '/searchpage': typeof SearchpageRoute |
92 | 88 | } |
93 | 89 |
|
94 | 90 | export interface FileRoutesByTo { |
95 | | - "/": typeof IndexLazyRoute; |
96 | | - "/ecommerce": typeof EcommerceRoute; |
97 | | - "/recs": typeof RecsRoute; |
98 | | - "/searchpage": typeof SearchpageRoute; |
| 91 | + '/': typeof IndexLazyRoute |
| 92 | + '/ecommerce': typeof EcommerceRoute |
| 93 | + '/recs': typeof RecsRoute |
| 94 | + '/searchpage': typeof SearchpageRoute |
99 | 95 | } |
100 | 96 |
|
101 | 97 | export interface FileRoutesById { |
102 | | - __root__: typeof rootRoute; |
103 | | - "/": typeof IndexLazyRoute; |
104 | | - "/ecommerce": typeof EcommerceRoute; |
105 | | - "/recs": typeof RecsRoute; |
106 | | - "/searchpage": typeof SearchpageRoute; |
| 98 | + __root__: typeof rootRoute |
| 99 | + '/': typeof IndexLazyRoute |
| 100 | + '/ecommerce': typeof EcommerceRoute |
| 101 | + '/recs': typeof RecsRoute |
| 102 | + '/searchpage': typeof SearchpageRoute |
107 | 103 | } |
108 | 104 |
|
109 | 105 | export interface FileRouteTypes { |
110 | | - fileRoutesByFullPath: FileRoutesByFullPath; |
111 | | - fullPaths: "/" | "/ecommerce" | "/recs" | "/searchpage"; |
112 | | - fileRoutesByTo: FileRoutesByTo; |
113 | | - to: "/" | "/ecommerce" | "/recs" | "/searchpage"; |
114 | | - id: "__root__" | "/" | "/ecommerce" | "/recs" | "/searchpage"; |
115 | | - fileRoutesById: FileRoutesById; |
| 106 | + fileRoutesByFullPath: FileRoutesByFullPath |
| 107 | + fullPaths: '/' | '/ecommerce' | '/recs' | '/searchpage' |
| 108 | + fileRoutesByTo: FileRoutesByTo |
| 109 | + to: '/' | '/ecommerce' | '/recs' | '/searchpage' |
| 110 | + id: '__root__' | '/' | '/ecommerce' | '/recs' | '/searchpage' |
| 111 | + fileRoutesById: FileRoutesById |
116 | 112 | } |
117 | 113 |
|
118 | 114 | export interface RootRouteChildren { |
119 | | - IndexLazyRoute: typeof IndexLazyRoute; |
120 | | - EcommerceRoute: typeof EcommerceRoute; |
121 | | - RecsRoute: typeof RecsRoute; |
122 | | - SearchpageRoute: typeof SearchpageRoute; |
| 115 | + IndexLazyRoute: typeof IndexLazyRoute |
| 116 | + EcommerceRoute: typeof EcommerceRoute |
| 117 | + RecsRoute: typeof RecsRoute |
| 118 | + SearchpageRoute: typeof SearchpageRoute |
123 | 119 | } |
124 | 120 |
|
125 | 121 | const rootRouteChildren: RootRouteChildren = { |
126 | 122 | IndexLazyRoute: IndexLazyRoute, |
127 | 123 | EcommerceRoute: EcommerceRoute, |
128 | 124 | RecsRoute: RecsRoute, |
129 | 125 | SearchpageRoute: SearchpageRoute, |
130 | | -}; |
| 126 | +} |
131 | 127 |
|
132 | 128 | export const routeTree = rootRoute |
133 | 129 | ._addFileChildren(rootRouteChildren) |
134 | | - ._addFileTypes<FileRouteTypes>(); |
| 130 | + ._addFileTypes<FileRouteTypes>() |
| 131 | + |
| 132 | +/* prettier-ignore-end */ |
135 | 133 |
|
136 | 134 | /* ROUTE_MANIFEST_START |
137 | 135 | { |
|
0 commit comments