Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

routeTree.gen.ts

518 lines17.9 KB

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​
11import { Route as rootRouteImport } from './routes/__root'
12import { Route as WelcomeRouteImport } from './routes/welcome'
13import { Route as UsageRouteImport } from './routes/usage'
14import { Route as SettingsRouteImport } from './routes/settings'
15import { Route as PairRouteImport } from './routes/pair'
16import { Route as ConnectRouteImport } from './routes/connect'
17import { Route as ChatRouteImport } from './routes/_chat'
18import { Route as ChatIndexRouteImport } from './routes/_chat.index'
19import { Route as SettingsSourceControlRouteImport } from './routes/settings.source-control'
20import { Route as SettingsProvidersRouteImport } from './routes/settings.providers'
21import { Route as SettingsProjectsRouteImport } from './routes/settings.projects'
22import { Route as SettingsKeybindingsRouteImport } from './routes/settings.keybindings'
23import { Route as SettingsIntegrationsRouteImport } from './routes/settings.integrations'
24import { Route as SettingsGeneralRouteImport } from './routes/settings.general'
25import { Route as SettingsDiagnosticsRouteImport } from './routes/settings.diagnostics'
26import { Route as SettingsConnectionsRouteImport } from './routes/settings.connections'
27import { Route as SettingsArchivedRouteImport } from './routes/settings.archived'
28import { Route as SettingsAppearanceRouteImport } from './routes/settings.appearance'
29import { Route as ProjectsProjectKeyRouteImport } from './routes/projects.$projectKey'
30import { Route as ConnectCallbackRouteImport } from './routes/connect_.callback'
31import { Route as ChatPullRequestsRouteImport } from './routes/_chat.pull-requests'
32import { Route as ChatDraftDraftIdRouteImport } from './routes/_chat.draft.$draftId'
33import { Route as ChatEnvironmentIdThreadIdRouteImport } from './routes/_chat.$environmentId.$threadId'
34​
35const WelcomeRoute = WelcomeRouteImport.update({
36 id: '/welcome',
37 path: '/welcome',
38 getParentRoute: () => rootRouteImport,
39} as any)
40const UsageRoute = UsageRouteImport.update({
41 id: '/usage',
42 path: '/usage',
43 getParentRoute: () => rootRouteImport,
44} as any)
45const SettingsRoute = SettingsRouteImport.update({
46 id: '/settings',
47 path: '/settings',
48 getParentRoute: () => rootRouteImport,
49} as any)
50const PairRoute = PairRouteImport.update({
51 id: '/pair',
52 path: '/pair',
53 getParentRoute: () => rootRouteImport,
54} as any)
55const ConnectRoute = ConnectRouteImport.update({
56 id: '/connect',
57 path: '/connect',
58 getParentRoute: () => rootRouteImport,
59} as any)
60const ChatRoute = ChatRouteImport.update({
61 id: '/_chat',
62 getParentRoute: () => rootRouteImport,
63} as any)
64const ChatIndexRoute = ChatIndexRouteImport.update({
65 id: '/',
66 path: '/',
67 getParentRoute: () => ChatRoute,
68} as any)
69const SettingsSourceControlRoute = SettingsSourceControlRouteImport.update({
70 id: '/source-control',
71 path: '/source-control',
72 getParentRoute: () => SettingsRoute,
73} as any)
74const SettingsProvidersRoute = SettingsProvidersRouteImport.update({
75 id: '/providers',
76 path: '/providers',
77 getParentRoute: () => SettingsRoute,
78} as any)
79const SettingsProjectsRoute = SettingsProjectsRouteImport.update({
80 id: '/projects',
81 path: '/projects',
82 getParentRoute: () => SettingsRoute,
83} as any)
84const SettingsKeybindingsRoute = SettingsKeybindingsRouteImport.update({
85 id: '/keybindings',
86 path: '/keybindings',
87 getParentRoute: () => SettingsRoute,
88} as any)
89const SettingsIntegrationsRoute = SettingsIntegrationsRouteImport.update({
90 id: '/integrations',
91 path: '/integrations',
92 getParentRoute: () => SettingsRoute,
93} as any)
94const SettingsGeneralRoute = SettingsGeneralRouteImport.update({
95 id: '/general',
96 path: '/general',
97 getParentRoute: () => SettingsRoute,
98} as any)
99const SettingsDiagnosticsRoute = SettingsDiagnosticsRouteImport.update({
100 id: '/diagnostics',
101 path: '/diagnostics',
102 getParentRoute: () => SettingsRoute,
103} as any)
104const SettingsConnectionsRoute = SettingsConnectionsRouteImport.update({
105 id: '/connections',
106 path: '/connections',
107 getParentRoute: () => SettingsRoute,
108} as any)
109const SettingsArchivedRoute = SettingsArchivedRouteImport.update({
110 id: '/archived',
111 path: '/archived',
112 getParentRoute: () => SettingsRoute,
113} as any)
114const SettingsAppearanceRoute = SettingsAppearanceRouteImport.update({
115 id: '/appearance',
116 path: '/appearance',
117 getParentRoute: () => SettingsRoute,
118} as any)
119const ProjectsProjectKeyRoute = ProjectsProjectKeyRouteImport.update({
120 id: '/projects/$projectKey',
121 path: '/projects/$projectKey',
122 getParentRoute: () => rootRouteImport,
123} as any)
124const ConnectCallbackRoute = ConnectCallbackRouteImport.update({
125 id: '/connect_/callback',
126 path: '/connect/callback',
127 getParentRoute: () => rootRouteImport,
128} as any)
129const ChatPullRequestsRoute = ChatPullRequestsRouteImport.update({
130 id: '/pull-requests',
131 path: '/pull-requests',
132 getParentRoute: () => ChatRoute,
133} as any)
134const ChatDraftDraftIdRoute = ChatDraftDraftIdRouteImport.update({
135 id: '/draft/$draftId',
136 path: '/draft/$draftId',
137 getParentRoute: () => ChatRoute,
138} as any)
139const ChatEnvironmentIdThreadIdRoute =
140 ChatEnvironmentIdThreadIdRouteImport.update({
141 id: '/$environmentId/$threadId',
142 path: '/$environmentId/$threadId',
143 getParentRoute: () => ChatRoute,
144 } as any)
145​
146export interface FileRoutesByFullPath {
147 '/': typeof ChatIndexRoute
148 '/connect': typeof ConnectRoute
149 '/pair': typeof PairRoute
150 '/settings': typeof SettingsRouteWithChildren
151 '/usage': typeof UsageRoute
152 '/welcome': typeof WelcomeRoute
153 '/pull-requests': typeof ChatPullRequestsRoute
154 '/connect/callback': typeof ConnectCallbackRoute
155 '/projects/$projectKey': typeof ProjectsProjectKeyRoute
156 '/settings/appearance': typeof SettingsAppearanceRoute
157 '/settings/archived': typeof SettingsArchivedRoute
158 '/settings/connections': typeof SettingsConnectionsRoute
159 '/settings/diagnostics': typeof SettingsDiagnosticsRoute
160 '/settings/general': typeof SettingsGeneralRoute
161 '/settings/integrations': typeof SettingsIntegrationsRoute
162 '/settings/keybindings': typeof SettingsKeybindingsRoute
163 '/settings/projects': typeof SettingsProjectsRoute
164 '/settings/providers': typeof SettingsProvidersRoute
165 '/settings/source-control': typeof SettingsSourceControlRoute
166 '/$environmentId/$threadId': typeof ChatEnvironmentIdThreadIdRoute
167 '/draft/$draftId': typeof ChatDraftDraftIdRoute
169export interface FileRoutesByTo {
170 '/connect': typeof ConnectRoute
171 '/pair': typeof PairRoute
172 '/settings': typeof SettingsRouteWithChildren
173 '/usage': typeof UsageRoute
174 '/welcome': typeof WelcomeRoute
175 '/pull-requests': typeof ChatPullRequestsRoute
176 '/connect/callback': typeof ConnectCallbackRoute
177 '/projects/$projectKey': typeof ProjectsProjectKeyRoute
178 '/settings/appearance': typeof SettingsAppearanceRoute
179 '/settings/archived': typeof SettingsArchivedRoute
180 '/settings/connections': typeof SettingsConnectionsRoute
181 '/settings/diagnostics': typeof SettingsDiagnosticsRoute
182 '/settings/general': typeof SettingsGeneralRoute
183 '/settings/integrations': typeof SettingsIntegrationsRoute
184 '/settings/keybindings': typeof SettingsKeybindingsRoute
185 '/settings/projects': typeof SettingsProjectsRoute
186 '/settings/providers': typeof SettingsProvidersRoute
187 '/settings/source-control': typeof SettingsSourceControlRoute
188 '/': typeof ChatIndexRoute
189 '/$environmentId/$threadId': typeof ChatEnvironmentIdThreadIdRoute
190 '/draft/$draftId': typeof ChatDraftDraftIdRoute
192export interface FileRoutesById {
193 __root__: typeof rootRouteImport
194 '/_chat': typeof ChatRouteWithChildren
195 '/connect': typeof ConnectRoute
196 '/pair': typeof PairRoute
197 '/settings': typeof SettingsRouteWithChildren
198 '/usage': typeof UsageRoute
199 '/welcome': typeof WelcomeRoute
200 '/_chat/pull-requests': typeof ChatPullRequestsRoute
201 '/connect_/callback': typeof ConnectCallbackRoute
202 '/projects/$projectKey': typeof ProjectsProjectKeyRoute
203 '/settings/appearance': typeof SettingsAppearanceRoute
204 '/settings/archived': typeof SettingsArchivedRoute
205 '/settings/connections': typeof SettingsConnectionsRoute
206 '/settings/diagnostics': typeof SettingsDiagnosticsRoute
207 '/settings/general': typeof SettingsGeneralRoute
208 '/settings/integrations': typeof SettingsIntegrationsRoute
209 '/settings/keybindings': typeof SettingsKeybindingsRoute
210 '/settings/projects': typeof SettingsProjectsRoute
211 '/settings/providers': typeof SettingsProvidersRoute
212 '/settings/source-control': typeof SettingsSourceControlRoute
213 '/_chat/': typeof ChatIndexRoute
214 '/_chat/$environmentId/$threadId': typeof ChatEnvironmentIdThreadIdRoute
215 '/_chat/draft/$draftId': typeof ChatDraftDraftIdRoute
217export interface FileRouteTypes {
218 fileRoutesByFullPath: FileRoutesByFullPath
219 fullPaths:
220 | '/'
221 | '/connect'
222 | '/pair'
223 | '/settings'
224 | '/usage'
225 | '/welcome'
226 | '/pull-requests'
227 | '/connect/callback'
228 | '/projects/$projectKey'
229 | '/settings/appearance'
230 | '/settings/archived'
231 | '/settings/connections'
232 | '/settings/diagnostics'
233 | '/settings/general'
234 | '/settings/integrations'
235 | '/settings/keybindings'
236 | '/settings/projects'
237 | '/settings/providers'
238 | '/settings/source-control'
239 | '/$environmentId/$threadId'
240 | '/draft/$draftId'
241 fileRoutesByTo: FileRoutesByTo
242 to:
243 | '/connect'
244 | '/pair'
245 | '/settings'
246 | '/usage'
247 | '/welcome'
248 | '/pull-requests'
249 | '/connect/callback'
250 | '/projects/$projectKey'
251 | '/settings/appearance'
252 | '/settings/archived'
253 | '/settings/connections'
254 | '/settings/diagnostics'
255 | '/settings/general'
256 | '/settings/integrations'
257 | '/settings/keybindings'
258 | '/settings/projects'
259 | '/settings/providers'
260 | '/settings/source-control'
261 | '/'
262 | '/$environmentId/$threadId'
263 | '/draft/$draftId'
264 id:
265 | '__root__'
266 | '/_chat'
267 | '/connect'
268 | '/pair'
269 | '/settings'
270 | '/usage'
271 | '/welcome'
272 | '/_chat/pull-requests'
273 | '/connect_/callback'
274 | '/projects/$projectKey'
275 | '/settings/appearance'
276 | '/settings/archived'
277 | '/settings/connections'
278 | '/settings/diagnostics'
279 | '/settings/general'
280 | '/settings/integrations'
281 | '/settings/keybindings'
282 | '/settings/projects'
283 | '/settings/providers'
284 | '/settings/source-control'
285 | '/_chat/'
286 | '/_chat/$environmentId/$threadId'
287 | '/_chat/draft/$draftId'
288 fileRoutesById: FileRoutesById
290export interface RootRouteChildren {
291 ChatRoute: typeof ChatRouteWithChildren
292 ConnectRoute: typeof ConnectRoute
293 PairRoute: typeof PairRoute
294 SettingsRoute: typeof SettingsRouteWithChildren
295 UsageRoute: typeof UsageRoute
296 WelcomeRoute: typeof WelcomeRoute
297 ConnectCallbackRoute: typeof ConnectCallbackRoute
298 ProjectsProjectKeyRoute: typeof ProjectsProjectKeyRoute
300​
301declare module '@tanstack/react-router' {
302 interface FileRoutesByPath {
303 '/welcome': {
304 id: '/welcome'
305 path: '/welcome'
306 fullPath: '/welcome'
307 preLoaderRoute: typeof WelcomeRouteImport
308 parentRoute: typeof rootRouteImport
309 }
310 '/usage': {
311 id: '/usage'
312 path: '/usage'
313 fullPath: '/usage'
314 preLoaderRoute: typeof UsageRouteImport
315 parentRoute: typeof rootRouteImport
316 }
317 '/settings': {
318 id: '/settings'
319 path: '/settings'
320 fullPath: '/settings'
321 preLoaderRoute: typeof SettingsRouteImport
322 parentRoute: typeof rootRouteImport
323 }
324 '/pair': {
325 id: '/pair'
326 path: '/pair'
327 fullPath: '/pair'
328 preLoaderRoute: typeof PairRouteImport
329 parentRoute: typeof rootRouteImport
330 }
331 '/connect': {
332 id: '/connect'
333 path: '/connect'
334 fullPath: '/connect'
335 preLoaderRoute: typeof ConnectRouteImport
336 parentRoute: typeof rootRouteImport
337 }
338 '/_chat': {
339 id: '/_chat'
340 path: ''
341 fullPath: '/'
342 preLoaderRoute: typeof ChatRouteImport
343 parentRoute: typeof rootRouteImport
344 }
345 '/_chat/': {
346 id: '/_chat/'
347 path: '/'
348 fullPath: '/'
349 preLoaderRoute: typeof ChatIndexRouteImport
350 parentRoute: typeof ChatRoute
351 }
352 '/settings/source-control': {
353 id: '/settings/source-control'
354 path: '/source-control'
355 fullPath: '/settings/source-control'
356 preLoaderRoute: typeof SettingsSourceControlRouteImport
357 parentRoute: typeof SettingsRoute
358 }
359 '/settings/providers': {
360 id: '/settings/providers'
361 path: '/providers'
362 fullPath: '/settings/providers'
363 preLoaderRoute: typeof SettingsProvidersRouteImport
364 parentRoute: typeof SettingsRoute
365 }
366 '/settings/projects': {
367 id: '/settings/projects'
368 path: '/projects'
369 fullPath: '/settings/projects'
370 preLoaderRoute: typeof SettingsProjectsRouteImport
371 parentRoute: typeof SettingsRoute
372 }
373 '/settings/keybindings': {
374 id: '/settings/keybindings'
375 path: '/keybindings'
376 fullPath: '/settings/keybindings'
377 preLoaderRoute: typeof SettingsKeybindingsRouteImport
378 parentRoute: typeof SettingsRoute
379 }
380 '/settings/integrations': {
381 id: '/settings/integrations'
382 path: '/integrations'
383 fullPath: '/settings/integrations'
384 preLoaderRoute: typeof SettingsIntegrationsRouteImport
385 parentRoute: typeof SettingsRoute
386 }
387 '/settings/general': {
388 id: '/settings/general'
389 path: '/general'
390 fullPath: '/settings/general'
391 preLoaderRoute: typeof SettingsGeneralRouteImport
392 parentRoute: typeof SettingsRoute
393 }
394 '/settings/diagnostics': {
395 id: '/settings/diagnostics'
396 path: '/diagnostics'
397 fullPath: '/settings/diagnostics'
398 preLoaderRoute: typeof SettingsDiagnosticsRouteImport
399 parentRoute: typeof SettingsRoute
400 }
401 '/settings/connections': {
402 id: '/settings/connections'
403 path: '/connections'
404 fullPath: '/settings/connections'
405 preLoaderRoute: typeof SettingsConnectionsRouteImport
406 parentRoute: typeof SettingsRoute
407 }
408 '/settings/archived': {
409 id: '/settings/archived'
410 path: '/archived'
411 fullPath: '/settings/archived'
412 preLoaderRoute: typeof SettingsArchivedRouteImport
413 parentRoute: typeof SettingsRoute
414 }
415 '/settings/appearance': {
416 id: '/settings/appearance'
417 path: '/appearance'
418 fullPath: '/settings/appearance'
419 preLoaderRoute: typeof SettingsAppearanceRouteImport
420 parentRoute: typeof SettingsRoute
421 }
422 '/projects/$projectKey': {
423 id: '/projects/$projectKey'
424 path: '/projects/$projectKey'
425 fullPath: '/projects/$projectKey'
426 preLoaderRoute: typeof ProjectsProjectKeyRouteImport
427 parentRoute: typeof rootRouteImport
428 }
429 '/connect_/callback': {
430 id: '/connect_/callback'
431 path: '/connect/callback'
432 fullPath: '/connect/callback'
433 preLoaderRoute: typeof ConnectCallbackRouteImport
434 parentRoute: typeof rootRouteImport
435 }
436 '/_chat/pull-requests': {
437 id: '/_chat/pull-requests'
438 path: '/pull-requests'
439 fullPath: '/pull-requests'
440 preLoaderRoute: typeof ChatPullRequestsRouteImport
441 parentRoute: typeof ChatRoute
442 }
443 '/_chat/draft/$draftId': {
444 id: '/_chat/draft/$draftId'
445 path: '/draft/$draftId'
446 fullPath: '/draft/$draftId'
447 preLoaderRoute: typeof ChatDraftDraftIdRouteImport
448 parentRoute: typeof ChatRoute
449 }
450 '/_chat/$environmentId/$threadId': {
451 id: '/_chat/$environmentId/$threadId'
452 path: '/$environmentId/$threadId'
453 fullPath: '/$environmentId/$threadId'
454 preLoaderRoute: typeof ChatEnvironmentIdThreadIdRouteImport
455 parentRoute: typeof ChatRoute
456 }
457 }
459​
460interface ChatRouteChildren {
461 ChatPullRequestsRoute: typeof ChatPullRequestsRoute
462 ChatIndexRoute: typeof ChatIndexRoute
463 ChatEnvironmentIdThreadIdRoute: typeof ChatEnvironmentIdThreadIdRoute
464 ChatDraftDraftIdRoute: typeof ChatDraftDraftIdRoute
466​
467const ChatRouteChildren: ChatRouteChildren = {
468 ChatPullRequestsRoute: ChatPullRequestsRoute,
469 ChatIndexRoute: ChatIndexRoute,
470 ChatEnvironmentIdThreadIdRoute: ChatEnvironmentIdThreadIdRoute,
471 ChatDraftDraftIdRoute: ChatDraftDraftIdRoute,
473​
474const ChatRouteWithChildren = ChatRoute._addFileChildren(ChatRouteChildren)
475​
476interface SettingsRouteChildren {
477 SettingsAppearanceRoute: typeof SettingsAppearanceRoute
478 SettingsArchivedRoute: typeof SettingsArchivedRoute
479 SettingsConnectionsRoute: typeof SettingsConnectionsRoute
480 SettingsDiagnosticsRoute: typeof SettingsDiagnosticsRoute
481 SettingsGeneralRoute: typeof SettingsGeneralRoute
482 SettingsIntegrationsRoute: typeof SettingsIntegrationsRoute
483 SettingsKeybindingsRoute: typeof SettingsKeybindingsRoute
484 SettingsProjectsRoute: typeof SettingsProjectsRoute
485 SettingsProvidersRoute: typeof SettingsProvidersRoute
486 SettingsSourceControlRoute: typeof SettingsSourceControlRoute
488​
489const SettingsRouteChildren: SettingsRouteChildren = {
490 SettingsAppearanceRoute: SettingsAppearanceRoute,
491 SettingsArchivedRoute: SettingsArchivedRoute,
492 SettingsConnectionsRoute: SettingsConnectionsRoute,
493 SettingsDiagnosticsRoute: SettingsDiagnosticsRoute,
494 SettingsGeneralRoute: SettingsGeneralRoute,
495 SettingsIntegrationsRoute: SettingsIntegrationsRoute,
496 SettingsKeybindingsRoute: SettingsKeybindingsRoute,
497 SettingsProjectsRoute: SettingsProjectsRoute,
498 SettingsProvidersRoute: SettingsProvidersRoute,
499 SettingsSourceControlRoute: SettingsSourceControlRoute,
501​
502const SettingsRouteWithChildren = SettingsRoute._addFileChildren(
503 SettingsRouteChildren,
505​
506const rootRouteChildren: RootRouteChildren = {
507 ChatRoute: ChatRouteWithChildren,
508 ConnectRoute: ConnectRoute,
509 PairRoute: PairRoute,
510 SettingsRoute: SettingsRouteWithChildren,
511 UsageRoute: UsageRoute,
512 WelcomeRoute: WelcomeRoute,
513 ConnectCallbackRoute: ConnectCallbackRoute,
514 ProjectsProjectKeyRoute: ProjectsProjectKeyRoute,
516export const routeTree = rootRouteImport
517 ._addFileChildren(rootRouteChildren)
518 ._addFileTypes<FileRouteTypes>()