|
1 | | -/* prettier-ignore-start */ |
2 | | - |
3 | 1 | /* eslint-disable */ |
4 | 2 |
|
5 | 3 | // @ts-nocheck |
6 | 4 |
|
7 | 5 | // noinspection JSUnusedGlobalSymbols |
8 | 6 |
|
9 | | -// This file is auto-generated by TanStack Router |
| 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 | 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 | | - path: '/searchpage', |
| 27 | + id: "/searchpage", |
| 28 | + path: "/searchpage", |
28 | 29 | getParentRoute: () => rootRoute, |
29 | | -} as any) |
| 30 | +} as any); |
30 | 31 |
|
31 | 32 | const RecsRoute = RecsImport.update({ |
32 | | - path: '/recs', |
| 33 | + id: "/recs", |
| 34 | + path: "/recs", |
33 | 35 | getParentRoute: () => rootRoute, |
34 | | -} as any) |
| 36 | +} as any); |
35 | 37 |
|
36 | 38 | const EcommerceRoute = EcommerceImport.update({ |
37 | | - path: '/ecommerce', |
| 39 | + id: "/ecommerce", |
| 40 | + path: "/ecommerce", |
38 | 41 | getParentRoute: () => rootRoute, |
39 | | -} as any) |
| 42 | +} as any); |
40 | 43 |
|
41 | 44 | const IndexLazyRoute = IndexLazyImport.update({ |
42 | | - path: '/', |
| 45 | + id: "/", |
| 46 | + path: "/", |
43 | 47 | getParentRoute: () => rootRoute, |
44 | | -} as any).lazy(() => import('./routes/index.lazy').then((d) => d.Route)) |
| 48 | +} as any).lazy(() => import("./routes/index.lazy").then((d) => d.Route)); |
45 | 49 |
|
46 | 50 | // Populate the FileRoutesByPath interface |
47 | 51 |
|
48 | | -declare module '@tanstack/react-router' { |
| 52 | +declare module "@tanstack/react-router" { |
49 | 53 | interface FileRoutesByPath { |
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 | | - } |
| 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 | + }; |
78 | 82 | } |
79 | 83 | } |
80 | 84 |
|
81 | 85 | // Create and export the route tree |
82 | 86 |
|
83 | 87 | export interface FileRoutesByFullPath { |
84 | | - '/': typeof IndexLazyRoute |
85 | | - '/ecommerce': typeof EcommerceRoute |
86 | | - '/recs': typeof RecsRoute |
87 | | - '/searchpage': typeof SearchpageRoute |
| 88 | + "/": typeof IndexLazyRoute; |
| 89 | + "/ecommerce": typeof EcommerceRoute; |
| 90 | + "/recs": typeof RecsRoute; |
| 91 | + "/searchpage": typeof SearchpageRoute; |
88 | 92 | } |
89 | 93 |
|
90 | 94 | export interface FileRoutesByTo { |
91 | | - '/': typeof IndexLazyRoute |
92 | | - '/ecommerce': typeof EcommerceRoute |
93 | | - '/recs': typeof RecsRoute |
94 | | - '/searchpage': typeof SearchpageRoute |
| 95 | + "/": typeof IndexLazyRoute; |
| 96 | + "/ecommerce": typeof EcommerceRoute; |
| 97 | + "/recs": typeof RecsRoute; |
| 98 | + "/searchpage": typeof SearchpageRoute; |
95 | 99 | } |
96 | 100 |
|
97 | 101 | export interface FileRoutesById { |
98 | | - __root__: typeof rootRoute |
99 | | - '/': typeof IndexLazyRoute |
100 | | - '/ecommerce': typeof EcommerceRoute |
101 | | - '/recs': typeof RecsRoute |
102 | | - '/searchpage': typeof SearchpageRoute |
| 102 | + __root__: typeof rootRoute; |
| 103 | + "/": typeof IndexLazyRoute; |
| 104 | + "/ecommerce": typeof EcommerceRoute; |
| 105 | + "/recs": typeof RecsRoute; |
| 106 | + "/searchpage": typeof SearchpageRoute; |
103 | 107 | } |
104 | 108 |
|
105 | 109 | export interface FileRouteTypes { |
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 |
| 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; |
112 | 116 | } |
113 | 117 |
|
114 | 118 | export interface RootRouteChildren { |
115 | | - IndexLazyRoute: typeof IndexLazyRoute |
116 | | - EcommerceRoute: typeof EcommerceRoute |
117 | | - RecsRoute: typeof RecsRoute |
118 | | - SearchpageRoute: typeof SearchpageRoute |
| 119 | + IndexLazyRoute: typeof IndexLazyRoute; |
| 120 | + EcommerceRoute: typeof EcommerceRoute; |
| 121 | + RecsRoute: typeof RecsRoute; |
| 122 | + SearchpageRoute: typeof SearchpageRoute; |
119 | 123 | } |
120 | 124 |
|
121 | 125 | const rootRouteChildren: RootRouteChildren = { |
122 | 126 | IndexLazyRoute: IndexLazyRoute, |
123 | 127 | EcommerceRoute: EcommerceRoute, |
124 | 128 | RecsRoute: RecsRoute, |
125 | 129 | SearchpageRoute: SearchpageRoute, |
126 | | -} |
| 130 | +}; |
127 | 131 |
|
128 | 132 | export const routeTree = rootRoute |
129 | 133 | ._addFileChildren(rootRouteChildren) |
130 | | - ._addFileTypes<FileRouteTypes>() |
131 | | - |
132 | | -/* prettier-ignore-end */ |
| 134 | + ._addFileTypes<FileRouteTypes>(); |
133 | 135 |
|
134 | 136 | /* ROUTE_MANIFEST_START |
135 | 137 | { |
|
0 commit comments