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

routeTree.gen.ts

245 lines7.8 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 SettingsGeneralRouteImport } from './routes/settings.general'
17import { Route as SettingsConnectionsRouteImport } from './routes/settings.connections'
18import { Route as SettingsArchivedRouteImport } from './routes/settings.archived'
19import { Route as ChatDraftDraftIdRouteImport } from './routes/_chat.draft.$draftId'
20import { Route as ChatEnvironmentIdThreadIdRouteImport } from './routes/_chat.$environmentId.$threadId'
21​
22const SettingsRoute = SettingsRouteImport.update({
23 id: '/settings',
24 path: '/settings',
25 getParentRoute: () => rootRouteImport,
26} as any)
27const PairRoute = PairRouteImport.update({
28 id: '/pair',
29 path: '/pair',
30 getParentRoute: () => rootRouteImport,
31} as any)
32const ChatRoute = ChatRouteImport.update({
33 id: '/_chat',
34 getParentRoute: () => rootRouteImport,
35} as any)
36const ChatIndexRoute = ChatIndexRouteImport.update({
37 id: '/',
38 path: '/',
39 getParentRoute: () => ChatRoute,
40} as any)
41const SettingsGeneralRoute = SettingsGeneralRouteImport.update({
42 id: '/general',
43 path: '/general',
44 getParentRoute: () => SettingsRoute,
45} as any)
46const SettingsConnectionsRoute = SettingsConnectionsRouteImport.update({
47 id: '/connections',
48 path: '/connections',
49 getParentRoute: () => SettingsRoute,
50} as any)
51const SettingsArchivedRoute = SettingsArchivedRouteImport.update({
52 id: '/archived',
53 path: '/archived',
54 getParentRoute: () => SettingsRoute,
55} as any)
56const ChatDraftDraftIdRoute = ChatDraftDraftIdRouteImport.update({
57 id: '/draft/$draftId',
58 path: '/draft/$draftId',
59 getParentRoute: () => ChatRoute,
60} as any)
61const ChatEnvironmentIdThreadIdRoute =
62 ChatEnvironmentIdThreadIdRouteImport.update({
63 id: '/$environmentId/$threadId',
64 path: '/$environmentId/$threadId',
65 getParentRoute: () => ChatRoute,
66 } as any)
67​
68export interface FileRoutesByFullPath {
69 '/': typeof ChatIndexRoute
70 '/pair': typeof PairRoute
71 '/settings': typeof SettingsRouteWithChildren
72 '/settings/archived': typeof SettingsArchivedRoute
73 '/settings/connections': typeof SettingsConnectionsRoute
74 '/settings/general': typeof SettingsGeneralRoute
75 '/$environmentId/$threadId': typeof ChatEnvironmentIdThreadIdRoute
76 '/draft/$draftId': typeof ChatDraftDraftIdRoute
78export interface FileRoutesByTo {
79 '/pair': typeof PairRoute
80 '/settings': typeof SettingsRouteWithChildren
81 '/settings/archived': typeof SettingsArchivedRoute
82 '/settings/connections': typeof SettingsConnectionsRoute
83 '/settings/general': typeof SettingsGeneralRoute
84 '/': typeof ChatIndexRoute
85 '/$environmentId/$threadId': typeof ChatEnvironmentIdThreadIdRoute
86 '/draft/$draftId': typeof ChatDraftDraftIdRoute
88export interface FileRoutesById {
89 __root__: typeof rootRouteImport
90 '/_chat': typeof ChatRouteWithChildren
91 '/pair': typeof PairRoute
92 '/settings': typeof SettingsRouteWithChildren
93 '/settings/archived': typeof SettingsArchivedRoute
94 '/settings/connections': typeof SettingsConnectionsRoute
95 '/settings/general': typeof SettingsGeneralRoute
96 '/_chat/': typeof ChatIndexRoute
97 '/_chat/$environmentId/$threadId': typeof ChatEnvironmentIdThreadIdRoute
98 '/_chat/draft/$draftId': typeof ChatDraftDraftIdRoute
100export interface FileRouteTypes {
101 fileRoutesByFullPath: FileRoutesByFullPath
102 fullPaths:
103 | '/'
104 | '/pair'
105 | '/settings'
106 | '/settings/archived'
107 | '/settings/connections'
108 | '/settings/general'
109 | '/$environmentId/$threadId'
110 | '/draft/$draftId'
111 fileRoutesByTo: FileRoutesByTo
112 to:
113 | '/pair'
114 | '/settings'
115 | '/settings/archived'
116 | '/settings/connections'
117 | '/settings/general'
118 | '/'
119 | '/$environmentId/$threadId'
120 | '/draft/$draftId'
121 id:
122 | '__root__'
123 | '/_chat'
124 | '/pair'
125 | '/settings'
126 | '/settings/archived'
127 | '/settings/connections'
128 | '/settings/general'
129 | '/_chat/'
130 | '/_chat/$environmentId/$threadId'
131 | '/_chat/draft/$draftId'
132 fileRoutesById: FileRoutesById
134export interface RootRouteChildren {
135 ChatRoute: typeof ChatRouteWithChildren
136 PairRoute: typeof PairRoute
137 SettingsRoute: typeof SettingsRouteWithChildren
139​
140declare module '@tanstack/react-router' {
141 interface FileRoutesByPath {
142 '/settings': {
143 id: '/settings'
144 path: '/settings'
145 fullPath: '/settings'
146 preLoaderRoute: typeof SettingsRouteImport
147 parentRoute: typeof rootRouteImport
148 }
149 '/pair': {
150 id: '/pair'
151 path: '/pair'
152 fullPath: '/pair'
153 preLoaderRoute: typeof PairRouteImport
154 parentRoute: typeof rootRouteImport
155 }
156 '/_chat': {
157 id: '/_chat'
158 path: ''
159 fullPath: '/'
160 preLoaderRoute: typeof ChatRouteImport
161 parentRoute: typeof rootRouteImport
162 }
163 '/_chat/': {
164 id: '/_chat/'
165 path: '/'
166 fullPath: '/'
167 preLoaderRoute: typeof ChatIndexRouteImport
168 parentRoute: typeof ChatRoute
169 }
170 '/settings/general': {
171 id: '/settings/general'
172 path: '/general'
173 fullPath: '/settings/general'
174 preLoaderRoute: typeof SettingsGeneralRouteImport
175 parentRoute: typeof SettingsRoute
176 }
177 '/settings/connections': {
178 id: '/settings/connections'
179 path: '/connections'
180 fullPath: '/settings/connections'
181 preLoaderRoute: typeof SettingsConnectionsRouteImport
182 parentRoute: typeof SettingsRoute
183 }
184 '/settings/archived': {
185 id: '/settings/archived'
186 path: '/archived'
187 fullPath: '/settings/archived'
188 preLoaderRoute: typeof SettingsArchivedRouteImport
189 parentRoute: typeof SettingsRoute
190 }
191 '/_chat/draft/$draftId': {
192 id: '/_chat/draft/$draftId'
193 path: '/draft/$draftId'
194 fullPath: '/draft/$draftId'
195 preLoaderRoute: typeof ChatDraftDraftIdRouteImport
196 parentRoute: typeof ChatRoute
197 }
198 '/_chat/$environmentId/$threadId': {
199 id: '/_chat/$environmentId/$threadId'
200 path: '/$environmentId/$threadId'
201 fullPath: '/$environmentId/$threadId'
202 preLoaderRoute: typeof ChatEnvironmentIdThreadIdRouteImport
203 parentRoute: typeof ChatRoute
204 }
205 }
207​
208interface ChatRouteChildren {
209 ChatIndexRoute: typeof ChatIndexRoute
210 ChatEnvironmentIdThreadIdRoute: typeof ChatEnvironmentIdThreadIdRoute
211 ChatDraftDraftIdRoute: typeof ChatDraftDraftIdRoute
213​
214const ChatRouteChildren: ChatRouteChildren = {
215 ChatIndexRoute: ChatIndexRoute,
216 ChatEnvironmentIdThreadIdRoute: ChatEnvironmentIdThreadIdRoute,
217 ChatDraftDraftIdRoute: ChatDraftDraftIdRoute,
219​
220const ChatRouteWithChildren = ChatRoute._addFileChildren(ChatRouteChildren)
221​
222interface SettingsRouteChildren {
223 SettingsArchivedRoute: typeof SettingsArchivedRoute
224 SettingsConnectionsRoute: typeof SettingsConnectionsRoute
225 SettingsGeneralRoute: typeof SettingsGeneralRoute
227​
228const SettingsRouteChildren: SettingsRouteChildren = {
229 SettingsArchivedRoute: SettingsArchivedRoute,
230 SettingsConnectionsRoute: SettingsConnectionsRoute,
231 SettingsGeneralRoute: SettingsGeneralRoute,
233​
234const SettingsRouteWithChildren = SettingsRoute._addFileChildren(
235 SettingsRouteChildren,
237​
238const rootRouteChildren: RootRouteChildren = {
239 ChatRoute: ChatRouteWithChildren,
240 PairRoute: PairRoute,
241 SettingsRoute: SettingsRouteWithChildren,
243export const routeTree = rootRouteImport
244 ._addFileChildren(rootRouteChildren)
245 ._addFileTypes<FileRouteTypes>()