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

routeTree.gen.ts

329 lines11.2 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 SettingsRouteImport } from './routes/settings'
13import { Route as PairRouteImport } from './routes/pair'
14import { Route as ChatRouteImport } from './routes/_chat'
15import { Route as ChatIndexRouteImport } from './routes/_chat.index'
16import { Route as SettingsSourceControlRouteImport } from './routes/settings.source-control'
17import { Route as SettingsProvidersRouteImport } from './routes/settings.providers'
18import { Route as SettingsKeybindingsRouteImport } from './routes/settings.keybindings'
19import { Route as SettingsGeneralRouteImport } from './routes/settings.general'
20import { Route as SettingsDiagnosticsRouteImport } from './routes/settings.diagnostics'
21import { Route as SettingsConnectionsRouteImport } from './routes/settings.connections'
22import { Route as SettingsArchivedRouteImport } from './routes/settings.archived'
23import { Route as ChatDraftDraftIdRouteImport } from './routes/_chat.draft.$draftId'
24import { Route as ChatEnvironmentIdThreadIdRouteImport } from './routes/_chat.$environmentId.$threadId'
25​
26const SettingsRoute = SettingsRouteImport.update({
27 id: '/settings',
28 path: '/settings',
29 getParentRoute: () => rootRouteImport,
30} as any)
31const PairRoute = PairRouteImport.update({
32 id: '/pair',
33 path: '/pair',
34 getParentRoute: () => rootRouteImport,
35} as any)
36const ChatRoute = ChatRouteImport.update({
37 id: '/_chat',
38 getParentRoute: () => rootRouteImport,
39} as any)
40const ChatIndexRoute = ChatIndexRouteImport.update({
41 id: '/',
42 path: '/',
43 getParentRoute: () => ChatRoute,
44} as any)
45const SettingsSourceControlRoute = SettingsSourceControlRouteImport.update({
46 id: '/source-control',
47 path: '/source-control',
48 getParentRoute: () => SettingsRoute,
49} as any)
50const SettingsProvidersRoute = SettingsProvidersRouteImport.update({
51 id: '/providers',
52 path: '/providers',
53 getParentRoute: () => SettingsRoute,
54} as any)
55const SettingsKeybindingsRoute = SettingsKeybindingsRouteImport.update({
56 id: '/keybindings',
57 path: '/keybindings',
58 getParentRoute: () => SettingsRoute,
59} as any)
60const SettingsGeneralRoute = SettingsGeneralRouteImport.update({
61 id: '/general',
62 path: '/general',
63 getParentRoute: () => SettingsRoute,
64} as any)
65const SettingsDiagnosticsRoute = SettingsDiagnosticsRouteImport.update({
66 id: '/diagnostics',
67 path: '/diagnostics',
68 getParentRoute: () => SettingsRoute,
69} as any)
70const SettingsConnectionsRoute = SettingsConnectionsRouteImport.update({
71 id: '/connections',
72 path: '/connections',
73 getParentRoute: () => SettingsRoute,
74} as any)
75const SettingsArchivedRoute = SettingsArchivedRouteImport.update({
76 id: '/archived',
77 path: '/archived',
78 getParentRoute: () => SettingsRoute,
79} as any)
80const ChatDraftDraftIdRoute = ChatDraftDraftIdRouteImport.update({
81 id: '/draft/$draftId',
82 path: '/draft/$draftId',
83 getParentRoute: () => ChatRoute,
84} as any)
85const ChatEnvironmentIdThreadIdRoute =
86 ChatEnvironmentIdThreadIdRouteImport.update({
87 id: '/$environmentId/$threadId',
88 path: '/$environmentId/$threadId',
89 getParentRoute: () => ChatRoute,
90 } as any)
91​
92export interface FileRoutesByFullPath {
93 '/': typeof ChatIndexRoute
94 '/pair': typeof PairRoute
95 '/settings': typeof SettingsRouteWithChildren
96 '/settings/archived': typeof SettingsArchivedRoute
97 '/settings/connections': typeof SettingsConnectionsRoute
98 '/settings/diagnostics': typeof SettingsDiagnosticsRoute
99 '/settings/general': typeof SettingsGeneralRoute
100 '/settings/keybindings': typeof SettingsKeybindingsRoute
101 '/settings/providers': typeof SettingsProvidersRoute
102 '/settings/source-control': typeof SettingsSourceControlRoute
103 '/$environmentId/$threadId': typeof ChatEnvironmentIdThreadIdRoute
104 '/draft/$draftId': typeof ChatDraftDraftIdRoute
106export interface FileRoutesByTo {
107 '/pair': typeof PairRoute
108 '/settings': typeof SettingsRouteWithChildren
109 '/settings/archived': typeof SettingsArchivedRoute
110 '/settings/connections': typeof SettingsConnectionsRoute
111 '/settings/diagnostics': typeof SettingsDiagnosticsRoute
112 '/settings/general': typeof SettingsGeneralRoute
113 '/settings/keybindings': typeof SettingsKeybindingsRoute
114 '/settings/providers': typeof SettingsProvidersRoute
115 '/settings/source-control': typeof SettingsSourceControlRoute
116 '/': typeof ChatIndexRoute
117 '/$environmentId/$threadId': typeof ChatEnvironmentIdThreadIdRoute
118 '/draft/$draftId': typeof ChatDraftDraftIdRoute
120export interface FileRoutesById {
121 __root__: typeof rootRouteImport
122 '/_chat': typeof ChatRouteWithChildren
123 '/pair': typeof PairRoute
124 '/settings': typeof SettingsRouteWithChildren
125 '/settings/archived': typeof SettingsArchivedRoute
126 '/settings/connections': typeof SettingsConnectionsRoute
127 '/settings/diagnostics': typeof SettingsDiagnosticsRoute
128 '/settings/general': typeof SettingsGeneralRoute
129 '/settings/keybindings': typeof SettingsKeybindingsRoute
130 '/settings/providers': typeof SettingsProvidersRoute
131 '/settings/source-control': typeof SettingsSourceControlRoute
132 '/_chat/': typeof ChatIndexRoute
133 '/_chat/$environmentId/$threadId': typeof ChatEnvironmentIdThreadIdRoute
134 '/_chat/draft/$draftId': typeof ChatDraftDraftIdRoute
136export interface FileRouteTypes {
137 fileRoutesByFullPath: FileRoutesByFullPath
138 fullPaths:
139 | '/'
140 | '/pair'
141 | '/settings'
142 | '/settings/archived'
143 | '/settings/connections'
144 | '/settings/diagnostics'
145 | '/settings/general'
146 | '/settings/keybindings'
147 | '/settings/providers'
148 | '/settings/source-control'
149 | '/$environmentId/$threadId'
150 | '/draft/$draftId'
151 fileRoutesByTo: FileRoutesByTo
152 to:
153 | '/pair'
154 | '/settings'
155 | '/settings/archived'
156 | '/settings/connections'
157 | '/settings/diagnostics'
158 | '/settings/general'
159 | '/settings/keybindings'
160 | '/settings/providers'
161 | '/settings/source-control'
162 | '/'
163 | '/$environmentId/$threadId'
164 | '/draft/$draftId'
165 id:
166 | '__root__'
167 | '/_chat'
168 | '/pair'
169 | '/settings'
170 | '/settings/archived'
171 | '/settings/connections'
172 | '/settings/diagnostics'
173 | '/settings/general'
174 | '/settings/keybindings'
175 | '/settings/providers'
176 | '/settings/source-control'
177 | '/_chat/'
178 | '/_chat/$environmentId/$threadId'
179 | '/_chat/draft/$draftId'
180 fileRoutesById: FileRoutesById
182export interface RootRouteChildren {
183 ChatRoute: typeof ChatRouteWithChildren
184 PairRoute: typeof PairRoute
185 SettingsRoute: typeof SettingsRouteWithChildren
187​
188declare module '@tanstack/react-router' {
189 interface FileRoutesByPath {
190 '/settings': {
191 id: '/settings'
192 path: '/settings'
193 fullPath: '/settings'
194 preLoaderRoute: typeof SettingsRouteImport
195 parentRoute: typeof rootRouteImport
196 }
197 '/pair': {
198 id: '/pair'
199 path: '/pair'
200 fullPath: '/pair'
201 preLoaderRoute: typeof PairRouteImport
202 parentRoute: typeof rootRouteImport
203 }
204 '/_chat': {
205 id: '/_chat'
206 path: ''
207 fullPath: '/'
208 preLoaderRoute: typeof ChatRouteImport
209 parentRoute: typeof rootRouteImport
210 }
211 '/_chat/': {
212 id: '/_chat/'
213 path: '/'
214 fullPath: '/'
215 preLoaderRoute: typeof ChatIndexRouteImport
216 parentRoute: typeof ChatRoute
217 }
218 '/settings/source-control': {
219 id: '/settings/source-control'
220 path: '/source-control'
221 fullPath: '/settings/source-control'
222 preLoaderRoute: typeof SettingsSourceControlRouteImport
223 parentRoute: typeof SettingsRoute
224 }
225 '/settings/providers': {
226 id: '/settings/providers'
227 path: '/providers'
228 fullPath: '/settings/providers'
229 preLoaderRoute: typeof SettingsProvidersRouteImport
230 parentRoute: typeof SettingsRoute
231 }
232 '/settings/keybindings': {
233 id: '/settings/keybindings'
234 path: '/keybindings'
235 fullPath: '/settings/keybindings'
236 preLoaderRoute: typeof SettingsKeybindingsRouteImport
237 parentRoute: typeof SettingsRoute
238 }
239 '/settings/general': {
240 id: '/settings/general'
241 path: '/general'
242 fullPath: '/settings/general'
243 preLoaderRoute: typeof SettingsGeneralRouteImport
244 parentRoute: typeof SettingsRoute
245 }
246 '/settings/diagnostics': {
247 id: '/settings/diagnostics'
248 path: '/diagnostics'
249 fullPath: '/settings/diagnostics'
250 preLoaderRoute: typeof SettingsDiagnosticsRouteImport
251 parentRoute: typeof SettingsRoute
252 }
253 '/settings/connections': {
254 id: '/settings/connections'
255 path: '/connections'
256 fullPath: '/settings/connections'
257 preLoaderRoute: typeof SettingsConnectionsRouteImport
258 parentRoute: typeof SettingsRoute
259 }
260 '/settings/archived': {
261 id: '/settings/archived'
262 path: '/archived'
263 fullPath: '/settings/archived'
264 preLoaderRoute: typeof SettingsArchivedRouteImport
265 parentRoute: typeof SettingsRoute
266 }
267 '/_chat/draft/$draftId': {
268 id: '/_chat/draft/$draftId'
269 path: '/draft/$draftId'
270 fullPath: '/draft/$draftId'
271 preLoaderRoute: typeof ChatDraftDraftIdRouteImport
272 parentRoute: typeof ChatRoute
273 }
274 '/_chat/$environmentId/$threadId': {
275 id: '/_chat/$environmentId/$threadId'
276 path: '/$environmentId/$threadId'
277 fullPath: '/$environmentId/$threadId'
278 preLoaderRoute: typeof ChatEnvironmentIdThreadIdRouteImport
279 parentRoute: typeof ChatRoute
280 }
281 }
283​
284interface ChatRouteChildren {
285 ChatIndexRoute: typeof ChatIndexRoute
286 ChatEnvironmentIdThreadIdRoute: typeof ChatEnvironmentIdThreadIdRoute
287 ChatDraftDraftIdRoute: typeof ChatDraftDraftIdRoute
289​
290const ChatRouteChildren: ChatRouteChildren = {
291 ChatIndexRoute: ChatIndexRoute,
292 ChatEnvironmentIdThreadIdRoute: ChatEnvironmentIdThreadIdRoute,
293 ChatDraftDraftIdRoute: ChatDraftDraftIdRoute,
295​
296const ChatRouteWithChildren = ChatRoute._addFileChildren(ChatRouteChildren)
297​
298interface SettingsRouteChildren {
299 SettingsArchivedRoute: typeof SettingsArchivedRoute
300 SettingsConnectionsRoute: typeof SettingsConnectionsRoute
301 SettingsDiagnosticsRoute: typeof SettingsDiagnosticsRoute
302 SettingsGeneralRoute: typeof SettingsGeneralRoute
303 SettingsKeybindingsRoute: typeof SettingsKeybindingsRoute
304 SettingsProvidersRoute: typeof SettingsProvidersRoute
305 SettingsSourceControlRoute: typeof SettingsSourceControlRoute
307​
308const SettingsRouteChildren: SettingsRouteChildren = {
309 SettingsArchivedRoute: SettingsArchivedRoute,
310 SettingsConnectionsRoute: SettingsConnectionsRoute,
311 SettingsDiagnosticsRoute: SettingsDiagnosticsRoute,
312 SettingsGeneralRoute: SettingsGeneralRoute,
313 SettingsKeybindingsRoute: SettingsKeybindingsRoute,
314 SettingsProvidersRoute: SettingsProvidersRoute,
315 SettingsSourceControlRoute: SettingsSourceControlRoute,
317​
318const SettingsRouteWithChildren = SettingsRoute._addFileChildren(
319 SettingsRouteChildren,
321​
322const rootRouteChildren: RootRouteChildren = {
323 ChatRoute: ChatRouteWithChildren,
324 PairRoute: PairRoute,
325 SettingsRoute: SettingsRouteWithChildren,
327export const routeTree = rootRouteImport
328 ._addFileChildren(rootRouteChildren)
329 ._addFileTypes<FileRouteTypes>()