88// You should NOT make any changes in this file as it will be overwritten.
99// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
1010
11- // Import Routes
12-
13- import { Route as rootRoute } from "./routes/__root"
14- import { Route as VulnerabilitiesRouteImport } from "./routes/vulnerabilities/route"
15- import { Route as ServicesRouteImport } from "./routes/services/route"
16- import { Route as IndexImport } from "./routes/index"
17- import { Route as VulnerabilitiesIndexImport } from "./routes/vulnerabilities/index"
18- import { Route as ServicesIndexImport } from "./routes/services/index"
19- import { Route as ServicesServiceImport } from "./routes/services/$service"
20-
21- // Create/Update Routes
22-
23- const VulnerabilitiesRouteRoute = VulnerabilitiesRouteImport . update ( {
24- id : "/vulnerabilities" ,
25- path : "/vulnerabilities" ,
26- getParentRoute : ( ) => rootRoute ,
11+ import { Route as rootRouteImport } from './routes/__root'
12+ import { Route as VulnerabilitiesRouteRouteImport } from './routes/vulnerabilities/route'
13+ import { Route as ServicesRouteRouteImport } from './routes/services/route'
14+ import { Route as IndexRouteImport } from './routes/index'
15+ import { Route as VulnerabilitiesIndexRouteImport } from './routes/vulnerabilities/index'
16+ import { Route as ServicesIndexRouteImport } from './routes/services/index'
17+ import { Route as ServicesServiceRouteImport } from './routes/services/$service'
18+
19+ const VulnerabilitiesRouteRoute = VulnerabilitiesRouteRouteImport . update ( {
20+ id : '/vulnerabilities' ,
21+ path : '/vulnerabilities' ,
22+ getParentRoute : ( ) => rootRouteImport ,
2723} as any )
28-
29- const ServicesRouteRoute = ServicesRouteImport . update ( {
30- id : "/services" ,
31- path : "/services" ,
32- getParentRoute : ( ) => rootRoute ,
24+ const ServicesRouteRoute = ServicesRouteRouteImport . update ( {
25+ id : '/services' ,
26+ path : '/services' ,
27+ getParentRoute : ( ) => rootRouteImport ,
3328} as any )
34-
35- const IndexRoute = IndexImport . update ( {
36- id : "/" ,
37- path : "/" ,
38- getParentRoute : ( ) => rootRoute ,
29+ const IndexRoute = IndexRouteImport . update ( {
30+ id : '/' ,
31+ path : '/' ,
32+ getParentRoute : ( ) => rootRouteImport ,
3933} as any )
40-
41- const VulnerabilitiesIndexRoute = VulnerabilitiesIndexImport . update ( {
42- id : "/" ,
43- path : "/" ,
34+ const VulnerabilitiesIndexRoute = VulnerabilitiesIndexRouteImport . update ( {
35+ id : '/' ,
36+ path : '/' ,
4437 getParentRoute : ( ) => VulnerabilitiesRouteRoute ,
4538} as any )
46-
47- const ServicesIndexRoute = ServicesIndexImport . update ( {
48- id : "/" ,
49- path : "/" ,
39+ const ServicesIndexRoute = ServicesIndexRouteImport . update ( {
40+ id : '/' ,
41+ path : '/' ,
5042 getParentRoute : ( ) => ServicesRouteRoute ,
5143} as any )
52-
53- const ServicesServiceRoute = ServicesServiceImport . update ( {
54- id : "/$service" ,
55- path : "/$service" ,
44+ const ServicesServiceRoute = ServicesServiceRouteImport . update ( {
45+ id : '/$service' ,
46+ path : '/$service' ,
5647 getParentRoute : ( ) => ServicesRouteRoute ,
5748} as any )
5849
59- // Populate the FileRoutesByPath interface
50+ export interface FileRoutesByFullPath {
51+ '/' : typeof IndexRoute
52+ '/services' : typeof ServicesRouteRouteWithChildren
53+ '/vulnerabilities' : typeof VulnerabilitiesRouteRouteWithChildren
54+ '/services/$service' : typeof ServicesServiceRoute
55+ '/services/' : typeof ServicesIndexRoute
56+ '/vulnerabilities/' : typeof VulnerabilitiesIndexRoute
57+ }
58+ export interface FileRoutesByTo {
59+ '/' : typeof IndexRoute
60+ '/services/$service' : typeof ServicesServiceRoute
61+ '/services' : typeof ServicesIndexRoute
62+ '/vulnerabilities' : typeof VulnerabilitiesIndexRoute
63+ }
64+ export interface FileRoutesById {
65+ __root__ : typeof rootRouteImport
66+ '/' : typeof IndexRoute
67+ '/services' : typeof ServicesRouteRouteWithChildren
68+ '/vulnerabilities' : typeof VulnerabilitiesRouteRouteWithChildren
69+ '/services/$service' : typeof ServicesServiceRoute
70+ '/services/' : typeof ServicesIndexRoute
71+ '/vulnerabilities/' : typeof VulnerabilitiesIndexRoute
72+ }
73+ export interface FileRouteTypes {
74+ fileRoutesByFullPath : FileRoutesByFullPath
75+ fullPaths :
76+ | '/'
77+ | '/services'
78+ | '/vulnerabilities'
79+ | '/services/$service'
80+ | '/services/'
81+ | '/vulnerabilities/'
82+ fileRoutesByTo : FileRoutesByTo
83+ to : '/' | '/services/$service' | '/services' | '/vulnerabilities'
84+ id :
85+ | '__root__'
86+ | '/'
87+ | '/services'
88+ | '/vulnerabilities'
89+ | '/services/$service'
90+ | '/services/'
91+ | '/vulnerabilities/'
92+ fileRoutesById : FileRoutesById
93+ }
94+ export interface RootRouteChildren {
95+ IndexRoute : typeof IndexRoute
96+ ServicesRouteRoute : typeof ServicesRouteRouteWithChildren
97+ VulnerabilitiesRouteRoute : typeof VulnerabilitiesRouteRouteWithChildren
98+ }
6099
61- declare module " @tanstack/react-router" {
100+ declare module ' @tanstack/react-router' {
62101 interface FileRoutesByPath {
63- "/" : {
64- id : "/"
65- path : "/"
66- fullPath : "/"
67- preLoaderRoute : typeof IndexImport
68- parentRoute : typeof rootRoute
102+ '/vulnerabilities' : {
103+ id : '/vulnerabilities'
104+ path : '/vulnerabilities'
105+ fullPath : '/vulnerabilities'
106+ preLoaderRoute : typeof VulnerabilitiesRouteRouteImport
107+ parentRoute : typeof rootRouteImport
69108 }
70- " /services" : {
71- id : " /services"
72- path : " /services"
73- fullPath : " /services"
74- preLoaderRoute : typeof ServicesRouteImport
75- parentRoute : typeof rootRoute
109+ ' /services' : {
110+ id : ' /services'
111+ path : ' /services'
112+ fullPath : ' /services'
113+ preLoaderRoute : typeof ServicesRouteRouteImport
114+ parentRoute : typeof rootRouteImport
76115 }
77- "/vulnerabilities" : {
78- id : "/vulnerabilities"
79- path : "/vulnerabilities"
80- fullPath : "/vulnerabilities"
81- preLoaderRoute : typeof VulnerabilitiesRouteImport
82- parentRoute : typeof rootRoute
116+ '/' : {
117+ id : '/'
118+ path : '/'
119+ fullPath : '/'
120+ preLoaderRoute : typeof IndexRouteImport
121+ parentRoute : typeof rootRouteImport
83122 }
84- "/services/$service" : {
85- id : "/services/$service"
86- path : "/$service"
87- fullPath : "/services/$service"
88- preLoaderRoute : typeof ServicesServiceImport
89- parentRoute : typeof ServicesRouteImport
123+ '/vulnerabilities/' : {
124+ id : '/vulnerabilities/'
125+ path : '/'
126+ fullPath : '/vulnerabilities/'
127+ preLoaderRoute : typeof VulnerabilitiesIndexRouteImport
128+ parentRoute : typeof VulnerabilitiesRouteRoute
90129 }
91- " /services/" : {
92- id : " /services/"
93- path : "/"
94- fullPath : " /services/"
95- preLoaderRoute : typeof ServicesIndexImport
96- parentRoute : typeof ServicesRouteImport
130+ ' /services/' : {
131+ id : ' /services/'
132+ path : '/'
133+ fullPath : ' /services/'
134+ preLoaderRoute : typeof ServicesIndexRouteImport
135+ parentRoute : typeof ServicesRouteRoute
97136 }
98- "/vulnerabilities/" : {
99- id : "/vulnerabilities/"
100- path : "/"
101- fullPath : "/vulnerabilities/"
102- preLoaderRoute : typeof VulnerabilitiesIndexImport
103- parentRoute : typeof VulnerabilitiesRouteImport
137+ '/services/$service' : {
138+ id : '/services/$service'
139+ path : '/$service'
140+ fullPath : '/services/$service'
141+ preLoaderRoute : typeof ServicesServiceRouteImport
142+ parentRoute : typeof ServicesRouteRoute
104143 }
105144 }
106145}
107146
108- // Create and export the route tree
109-
110147interface ServicesRouteRouteChildren {
111148 ServicesServiceRoute : typeof ServicesServiceRoute
112149 ServicesIndexRoute : typeof ServicesIndexRoute
@@ -117,7 +154,9 @@ const ServicesRouteRouteChildren: ServicesRouteRouteChildren = {
117154 ServicesIndexRoute : ServicesIndexRoute ,
118155}
119156
120- const ServicesRouteRouteWithChildren = ServicesRouteRoute . _addFileChildren ( ServicesRouteRouteChildren )
157+ const ServicesRouteRouteWithChildren = ServicesRouteRoute . _addFileChildren (
158+ ServicesRouteRouteChildren ,
159+ )
121160
122161interface VulnerabilitiesRouteRouteChildren {
123162 VulnerabilitiesIndexRoute : typeof VulnerabilitiesIndexRoute
@@ -127,98 +166,14 @@ const VulnerabilitiesRouteRouteChildren: VulnerabilitiesRouteRouteChildren = {
127166 VulnerabilitiesIndexRoute : VulnerabilitiesIndexRoute ,
128167}
129168
130- const VulnerabilitiesRouteRouteWithChildren = VulnerabilitiesRouteRoute . _addFileChildren (
131- VulnerabilitiesRouteRouteChildren
132- )
133-
134- export interface FileRoutesByFullPath {
135- "/" : typeof IndexRoute
136- "/services" : typeof ServicesRouteRouteWithChildren
137- "/vulnerabilities" : typeof VulnerabilitiesRouteRouteWithChildren
138- "/services/$service" : typeof ServicesServiceRoute
139- "/services/" : typeof ServicesIndexRoute
140- "/vulnerabilities/" : typeof VulnerabilitiesIndexRoute
141- }
142-
143- export interface FileRoutesByTo {
144- "/" : typeof IndexRoute
145- "/services/$service" : typeof ServicesServiceRoute
146- "/services" : typeof ServicesIndexRoute
147- "/vulnerabilities" : typeof VulnerabilitiesIndexRoute
148- }
149-
150- export interface FileRoutesById {
151- __root__ : typeof rootRoute
152- "/" : typeof IndexRoute
153- "/services" : typeof ServicesRouteRouteWithChildren
154- "/vulnerabilities" : typeof VulnerabilitiesRouteRouteWithChildren
155- "/services/$service" : typeof ServicesServiceRoute
156- "/services/" : typeof ServicesIndexRoute
157- "/vulnerabilities/" : typeof VulnerabilitiesIndexRoute
158- }
159-
160- export interface FileRouteTypes {
161- fileRoutesByFullPath : FileRoutesByFullPath
162- fullPaths : "/" | "/services" | "/vulnerabilities" | "/services/$service" | "/services/" | "/vulnerabilities/"
163- fileRoutesByTo : FileRoutesByTo
164- to : "/" | "/services/$service" | "/services" | "/vulnerabilities"
165- id : "__root__" | "/" | "/services" | "/vulnerabilities" | "/services/$service" | "/services/" | "/vulnerabilities/"
166- fileRoutesById : FileRoutesById
167- }
168-
169- export interface RootRouteChildren {
170- IndexRoute : typeof IndexRoute
171- ServicesRouteRoute : typeof ServicesRouteRouteWithChildren
172- VulnerabilitiesRouteRoute : typeof VulnerabilitiesRouteRouteWithChildren
173- }
169+ const VulnerabilitiesRouteRouteWithChildren =
170+ VulnerabilitiesRouteRoute . _addFileChildren ( VulnerabilitiesRouteRouteChildren )
174171
175172const rootRouteChildren : RootRouteChildren = {
176173 IndexRoute : IndexRoute ,
177174 ServicesRouteRoute : ServicesRouteRouteWithChildren ,
178175 VulnerabilitiesRouteRoute : VulnerabilitiesRouteRouteWithChildren ,
179176}
180-
181- export const routeTree = rootRoute . _addFileChildren ( rootRouteChildren ) . _addFileTypes < FileRouteTypes > ( )
182-
183- /* ROUTE_MANIFEST_START
184- {
185- "routes": {
186- "__root__": {
187- "filePath": "__root.tsx",
188- "children": [
189- "/",
190- "/services",
191- "/vulnerabilities"
192- ]
193- },
194- "/": {
195- "filePath": "index.tsx"
196- },
197- "/services": {
198- "filePath": "services/route.tsx",
199- "children": [
200- "/services/$service",
201- "/services/"
202- ]
203- },
204- "/vulnerabilities": {
205- "filePath": "vulnerabilities/route.tsx",
206- "children": [
207- "/vulnerabilities/"
208- ]
209- },
210- "/services/$service": {
211- "filePath": "services/$service.tsx",
212- "parent": "/services"
213- },
214- "/services/": {
215- "filePath": "services/index.tsx",
216- "parent": "/services"
217- },
218- "/vulnerabilities/": {
219- "filePath": "vulnerabilities/index.tsx",
220- "parent": "/vulnerabilities"
221- }
222- }
223- }
224- ROUTE_MANIFEST_END */
177+ export const routeTree = rootRouteImport
178+ . _addFileChildren ( rootRouteChildren )
179+ . _addFileTypes < FileRouteTypes > ( )
0 commit comments