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

routeTree.gen.ts

497 lines17.4 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 UsageRouteImport } from './routes/usage'
13import { Route as SettingsRouteImport } from './routes/settings'
14import { Route as PairRouteImport } from './routes/pair'
15import { Route as ConnectRouteImport } from './routes/connect'
16import { Route as ChatRouteImport } from './routes/_chat'
17import { Route as ChatIndexRouteImport } from './routes/_chat.index'
18import { Route as SettingsSourceControlRouteImport } from './routes/settings.source-control'
19import { Route as SettingsScheduledTasksRouteImport } from './routes/settings.scheduled-tasks'
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 UsageRoute = UsageRouteImport.update({
35 id: '/usage',
36 path: '/usage',
37 getParentRoute: () => rootRouteImport,
38} as any)
39const SettingsRoute = SettingsRouteImport.update({
40 id: '/settings',
41 path: '/settings',
42 getParentRoute: () => rootRouteImport,
43} as any)
44const PairRoute = PairRouteImport.update({
45 id: '/pair',
46 path: '/pair',
47 getParentRoute: () => rootRouteImport,
48} as any)
49const ConnectRoute = ConnectRouteImport.update({
50 id: '/connect',
51 path: '/connect',
52 getParentRoute: () => rootRouteImport,
53} as any)
54const ChatRoute = ChatRouteImport.update({
55 id: '/_chat',
56 getParentRoute: () => rootRouteImport,
57} as any)
58const ChatIndexRoute = ChatIndexRouteImport.update({
59 id: '/',
60 path: '/',
61 getParentRoute: () => ChatRoute,
62} as any)
63const SettingsSourceControlRoute = SettingsSourceControlRouteImport.update({
64 id: '/source-control',
65 path: '/source-control',
66 getParentRoute: () => SettingsRoute,
67} as any)
68const SettingsScheduledTasksRoute = SettingsScheduledTasksRouteImport.update({
69 id: '/scheduled-tasks',
70 path: '/scheduled-tasks',
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 '/pull-requests': typeof ChatPullRequestsRoute
147 '/connect/callback': typeof ConnectCallbackRoute
148 '/projects/$projectKey': typeof ProjectsProjectKeyRoute
149 '/settings/appearance': typeof SettingsAppearanceRoute
150 '/settings/archived': typeof SettingsArchivedRoute
151 '/settings/connections': typeof SettingsConnectionsRoute
152 '/settings/diagnostics': typeof SettingsDiagnosticsRoute
153 '/settings/general': typeof SettingsGeneralRoute
154 '/settings/integrations': typeof SettingsIntegrationsRoute
155 '/settings/keybindings': typeof SettingsKeybindingsRoute
156 '/settings/providers': typeof SettingsProvidersRoute
157 '/settings/scheduled-tasks': typeof SettingsScheduledTasksRoute
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 '/pull-requests': typeof ChatPullRequestsRoute
168 '/connect/callback': typeof ConnectCallbackRoute
169 '/projects/$projectKey': typeof ProjectsProjectKeyRoute
170 '/settings/appearance': typeof SettingsAppearanceRoute
171 '/settings/archived': typeof SettingsArchivedRoute
172 '/settings/connections': typeof SettingsConnectionsRoute
173 '/settings/diagnostics': typeof SettingsDiagnosticsRoute
174 '/settings/general': typeof SettingsGeneralRoute
175 '/settings/integrations': typeof SettingsIntegrationsRoute
176 '/settings/keybindings': typeof SettingsKeybindingsRoute
177 '/settings/providers': typeof SettingsProvidersRoute
178 '/settings/scheduled-tasks': typeof SettingsScheduledTasksRoute
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 '/_chat/pull-requests': typeof ChatPullRequestsRoute
192 '/connect_/callback': typeof ConnectCallbackRoute
193 '/projects/$projectKey': typeof ProjectsProjectKeyRoute
194 '/settings/appearance': typeof SettingsAppearanceRoute
195 '/settings/archived': typeof SettingsArchivedRoute
196 '/settings/connections': typeof SettingsConnectionsRoute
197 '/settings/diagnostics': typeof SettingsDiagnosticsRoute
198 '/settings/general': typeof SettingsGeneralRoute
199 '/settings/integrations': typeof SettingsIntegrationsRoute
200 '/settings/keybindings': typeof SettingsKeybindingsRoute
201 '/settings/providers': typeof SettingsProvidersRoute
202 '/settings/scheduled-tasks': typeof SettingsScheduledTasksRoute
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 | '/pull-requests'
217 | '/connect/callback'
218 | '/projects/$projectKey'
219 | '/settings/appearance'
220 | '/settings/archived'
221 | '/settings/connections'
222 | '/settings/diagnostics'
223 | '/settings/general'
224 | '/settings/integrations'
225 | '/settings/keybindings'
226 | '/settings/providers'
227 | '/settings/scheduled-tasks'
228 | '/settings/source-control'
229 | '/$environmentId/$threadId'
230 | '/draft/$draftId'
231 fileRoutesByTo: FileRoutesByTo
232 to:
233 | '/connect'
234 | '/pair'
235 | '/settings'
236 | '/usage'
237 | '/pull-requests'
238 | '/connect/callback'
239 | '/projects/$projectKey'
240 | '/settings/appearance'
241 | '/settings/archived'
242 | '/settings/connections'
243 | '/settings/diagnostics'
244 | '/settings/general'
245 | '/settings/integrations'
246 | '/settings/keybindings'
247 | '/settings/providers'
248 | '/settings/scheduled-tasks'
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 | '/_chat/pull-requests'
261 | '/connect_/callback'
262 | '/projects/$projectKey'
263 | '/settings/appearance'
264 | '/settings/archived'
265 | '/settings/connections'
266 | '/settings/diagnostics'
267 | '/settings/general'
268 | '/settings/integrations'
269 | '/settings/keybindings'
270 | '/settings/providers'
271 | '/settings/scheduled-tasks'
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 ConnectCallbackRoute: typeof ConnectCallbackRoute
285 ProjectsProjectKeyRoute: typeof ProjectsProjectKeyRoute
287​
288declare module '@tanstack/react-router' {
289 interface FileRoutesByPath {
290 '/usage': {
291 id: '/usage'
292 path: '/usage'
293 fullPath: '/usage'
294 preLoaderRoute: typeof UsageRouteImport
295 parentRoute: typeof rootRouteImport
296 }
297 '/settings': {
298 id: '/settings'
299 path: '/settings'
300 fullPath: '/settings'
301 preLoaderRoute: typeof SettingsRouteImport
302 parentRoute: typeof rootRouteImport
303 }
304 '/pair': {
305 id: '/pair'
306 path: '/pair'
307 fullPath: '/pair'
308 preLoaderRoute: typeof PairRouteImport
309 parentRoute: typeof rootRouteImport
310 }
311 '/connect': {
312 id: '/connect'
313 path: '/connect'
314 fullPath: '/connect'
315 preLoaderRoute: typeof ConnectRouteImport
316 parentRoute: typeof rootRouteImport
317 }
318 '/_chat': {
319 id: '/_chat'
320 path: ''
321 fullPath: '/'
322 preLoaderRoute: typeof ChatRouteImport
323 parentRoute: typeof rootRouteImport
324 }
325 '/_chat/': {
326 id: '/_chat/'
327 path: '/'
328 fullPath: '/'
329 preLoaderRoute: typeof ChatIndexRouteImport
330 parentRoute: typeof ChatRoute
331 }
332 '/settings/source-control': {
333 id: '/settings/source-control'
334 path: '/source-control'
335 fullPath: '/settings/source-control'
336 preLoaderRoute: typeof SettingsSourceControlRouteImport
337 parentRoute: typeof SettingsRoute
338 }
339 '/settings/scheduled-tasks': {
340 id: '/settings/scheduled-tasks'
341 path: '/scheduled-tasks'
342 fullPath: '/settings/scheduled-tasks'
343 preLoaderRoute: typeof SettingsScheduledTasksRouteImport
344 parentRoute: typeof SettingsRoute
345 }
346 '/settings/providers': {
347 id: '/settings/providers'
348 path: '/providers'
349 fullPath: '/settings/providers'
350 preLoaderRoute: typeof SettingsProvidersRouteImport
351 parentRoute: typeof SettingsRoute
352 }
353 '/settings/keybindings': {
354 id: '/settings/keybindings'
355 path: '/keybindings'
356 fullPath: '/settings/keybindings'
357 preLoaderRoute: typeof SettingsKeybindingsRouteImport
358 parentRoute: typeof SettingsRoute
359 }
360 '/settings/integrations': {
361 id: '/settings/integrations'
362 path: '/integrations'
363 fullPath: '/settings/integrations'
364 preLoaderRoute: typeof SettingsIntegrationsRouteImport
365 parentRoute: typeof SettingsRoute
366 }
367 '/settings/general': {
368 id: '/settings/general'
369 path: '/general'
370 fullPath: '/settings/general'
371 preLoaderRoute: typeof SettingsGeneralRouteImport
372 parentRoute: typeof SettingsRoute
373 }
374 '/settings/diagnostics': {
375 id: '/settings/diagnostics'
376 path: '/diagnostics'
377 fullPath: '/settings/diagnostics'
378 preLoaderRoute: typeof SettingsDiagnosticsRouteImport
379 parentRoute: typeof SettingsRoute
380 }
381 '/settings/connections': {
382 id: '/settings/connections'
383 path: '/connections'
384 fullPath: '/settings/connections'
385 preLoaderRoute: typeof SettingsConnectionsRouteImport
386 parentRoute: typeof SettingsRoute
387 }
388 '/settings/archived': {
389 id: '/settings/archived'
390 path: '/archived'
391 fullPath: '/settings/archived'
392 preLoaderRoute: typeof SettingsArchivedRouteImport
393 parentRoute: typeof SettingsRoute
394 }
395 '/settings/appearance': {
396 id: '/settings/appearance'
397 path: '/appearance'
398 fullPath: '/settings/appearance'
399 preLoaderRoute: typeof SettingsAppearanceRouteImport
400 parentRoute: typeof SettingsRoute
401 }
402 '/projects/$projectKey': {
403 id: '/projects/$projectKey'
404 path: '/projects/$projectKey'
405 fullPath: '/projects/$projectKey'
406 preLoaderRoute: typeof ProjectsProjectKeyRouteImport
407 parentRoute: typeof rootRouteImport
408 }
409 '/connect_/callback': {
410 id: '/connect_/callback'
411 path: '/connect/callback'
412 fullPath: '/connect/callback'
413 preLoaderRoute: typeof ConnectCallbackRouteImport
414 parentRoute: typeof rootRouteImport
415 }
416 '/_chat/pull-requests': {
417 id: '/_chat/pull-requests'
418 path: '/pull-requests'
419 fullPath: '/pull-requests'
420 preLoaderRoute: typeof ChatPullRequestsRouteImport
421 parentRoute: typeof ChatRoute
422 }
423 '/_chat/draft/$draftId': {
424 id: '/_chat/draft/$draftId'
425 path: '/draft/$draftId'
426 fullPath: '/draft/$draftId'
427 preLoaderRoute: typeof ChatDraftDraftIdRouteImport
428 parentRoute: typeof ChatRoute
429 }
430 '/_chat/$environmentId/$threadId': {
431 id: '/_chat/$environmentId/$threadId'
432 path: '/$environmentId/$threadId'
433 fullPath: '/$environmentId/$threadId'
434 preLoaderRoute: typeof ChatEnvironmentIdThreadIdRouteImport
435 parentRoute: typeof ChatRoute
436 }
437 }
439​
440interface ChatRouteChildren {
441 ChatPullRequestsRoute: typeof ChatPullRequestsRoute
442 ChatIndexRoute: typeof ChatIndexRoute
443 ChatEnvironmentIdThreadIdRoute: typeof ChatEnvironmentIdThreadIdRoute
444 ChatDraftDraftIdRoute: typeof ChatDraftDraftIdRoute
446​
447const ChatRouteChildren: ChatRouteChildren = {
448 ChatPullRequestsRoute: ChatPullRequestsRoute,
449 ChatIndexRoute: ChatIndexRoute,
450 ChatEnvironmentIdThreadIdRoute: ChatEnvironmentIdThreadIdRoute,
451 ChatDraftDraftIdRoute: ChatDraftDraftIdRoute,
453​
454const ChatRouteWithChildren = ChatRoute._addFileChildren(ChatRouteChildren)
455​
456interface SettingsRouteChildren {
457 SettingsAppearanceRoute: typeof SettingsAppearanceRoute
458 SettingsArchivedRoute: typeof SettingsArchivedRoute
459 SettingsConnectionsRoute: typeof SettingsConnectionsRoute
460 SettingsDiagnosticsRoute: typeof SettingsDiagnosticsRoute
461 SettingsGeneralRoute: typeof SettingsGeneralRoute
462 SettingsIntegrationsRoute: typeof SettingsIntegrationsRoute
463 SettingsKeybindingsRoute: typeof SettingsKeybindingsRoute
464 SettingsProvidersRoute: typeof SettingsProvidersRoute
465 SettingsScheduledTasksRoute: typeof SettingsScheduledTasksRoute
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 SettingsScheduledTasksRoute: SettingsScheduledTasksRoute,
479 SettingsSourceControlRoute: SettingsSourceControlRoute,
481​
482const SettingsRouteWithChildren = SettingsRoute._addFileChildren(
483 SettingsRouteChildren,
485​
486const rootRouteChildren: RootRouteChildren = {
487 ChatRoute: ChatRouteWithChildren,
488 ConnectRoute: ConnectRoute,
489 PairRoute: PairRoute,
490 SettingsRoute: SettingsRouteWithChildren,
491 UsageRoute: UsageRoute,
492 ConnectCallbackRoute: ConnectCallbackRoute,
493 ProjectsProjectKeyRoute: ProjectsProjectKeyRoute,
495export const routeTree = rootRouteImport
496 ._addFileChildren(rootRouteChildren)
497 ._addFileTypes<FileRouteTypes>()