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

routeTree.gen.ts

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