Open History to see the last commit
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 ChatRouteImport } from './routes/_chat'
14import { Route as ChatIndexRouteImport } from './routes/_chat.index'
15import { Route as SettingsGeneralRouteImport } from './routes/settings.general'
16import { Route as SettingsArchivedRouteImport } from './routes/settings.archived'
17import { Route as ChatThreadIdRouteImport } from './routes/_chat.$threadId'
18
19const SettingsRoute = SettingsRouteImport.update({
20 id: '/settings',
21 path: '/settings',
22 getParentRoute: () => rootRouteImport,
23} as any)
24const ChatRoute = ChatRouteImport.update({
25 id: '/_chat',
26 getParentRoute: () => rootRouteImport,
27} as any)
28const ChatIndexRoute = ChatIndexRouteImport.update({
29 id: '/',
30 path: '/',
31 getParentRoute: () => ChatRoute,
32} as any)
33const SettingsGeneralRoute = SettingsGeneralRouteImport.update({
34 id: '/general',
35 path: '/general',
36 getParentRoute: () => SettingsRoute,
37} as any)
38const SettingsArchivedRoute = SettingsArchivedRouteImport.update({
39 id: '/archived',
40 path: '/archived',
41 getParentRoute: () => SettingsRoute,
42} as any)
43const ChatThreadIdRoute = ChatThreadIdRouteImport.update({
44 id: '/$threadId',
45 path: '/$threadId',
46 getParentRoute: () => ChatRoute,
47} as any)
48
49export interface FileRoutesByFullPath {
50 '/': typeof ChatIndexRoute
51 '/settings': typeof SettingsRouteWithChildren
52 '/$threadId': typeof ChatThreadIdRoute
53 '/settings/archived': typeof SettingsArchivedRoute
54 '/settings/general': typeof SettingsGeneralRoute
55}
56export interface FileRoutesByTo {
57 '/settings': typeof SettingsRouteWithChildren
58 '/$threadId': typeof ChatThreadIdRoute
59 '/settings/archived': typeof SettingsArchivedRoute
60 '/settings/general': typeof SettingsGeneralRoute
61 '/': typeof ChatIndexRoute
62}
63export interface FileRoutesById {
64 __root__: typeof rootRouteImport
65 '/_chat': typeof ChatRouteWithChildren
66 '/settings': typeof SettingsRouteWithChildren
67 '/_chat/$threadId': typeof ChatThreadIdRoute
68 '/settings/archived': typeof SettingsArchivedRoute
69 '/settings/general': typeof SettingsGeneralRoute
70 '/_chat/': typeof ChatIndexRoute
71}
72export interface FileRouteTypes {
73 fileRoutesByFullPath: FileRoutesByFullPath
74 fullPaths:
75 | '/'
76 | '/settings'
77 | '/$threadId'
78 | '/settings/archived'
79 | '/settings/general'
80 fileRoutesByTo: FileRoutesByTo
81 to:
82 | '/settings'
83 | '/$threadId'
84 | '/settings/archived'
85 | '/settings/general'
86 | '/'
87 id:
88 | '__root__'
89 | '/_chat'
90 | '/settings'
91 | '/_chat/$threadId'
92 | '/settings/archived'
93 | '/settings/general'
94 | '/_chat/'
95 fileRoutesById: FileRoutesById
96}
97export interface RootRouteChildren {
98 ChatRoute: typeof ChatRouteWithChildren
99 SettingsRoute: typeof SettingsRouteWithChildren
100}
101
102declare module '@tanstack/react-router' {
103 interface FileRoutesByPath {
104 '/settings': {
105 id: '/settings'
106 path: '/settings'
107 fullPath: '/settings'
108 preLoaderRoute: typeof SettingsRouteImport
109 parentRoute: typeof rootRouteImport
110 }
111 '/_chat': {
112 id: '/_chat'
113 path: ''
114 fullPath: '/'
115 preLoaderRoute: typeof ChatRouteImport
116 parentRoute: typeof rootRouteImport
117 }
118 '/_chat/': {
119 id: '/_chat/'
120 path: '/'
121 fullPath: '/'
122 preLoaderRoute: typeof ChatIndexRouteImport
123 parentRoute: typeof ChatRoute
124 }
125 '/settings/general': {
126 id: '/settings/general'
127 path: '/general'
128 fullPath: '/settings/general'
129 preLoaderRoute: typeof SettingsGeneralRouteImport
130 parentRoute: typeof SettingsRoute
131 }
132 '/settings/archived': {
133 id: '/settings/archived'
134 path: '/archived'
135 fullPath: '/settings/archived'
136 preLoaderRoute: typeof SettingsArchivedRouteImport
137 parentRoute: typeof SettingsRoute
138 }
139 '/_chat/$threadId': {
140 id: '/_chat/$threadId'
141 path: '/$threadId'
142 fullPath: '/$threadId'
143 preLoaderRoute: typeof ChatThreadIdRouteImport
144 parentRoute: typeof ChatRoute
145 }
146 }
147}
148
149interface ChatRouteChildren {
150 ChatThreadIdRoute: typeof ChatThreadIdRoute
151 ChatIndexRoute: typeof ChatIndexRoute
152}
153
154const ChatRouteChildren: ChatRouteChildren = {
155 ChatThreadIdRoute: ChatThreadIdRoute,
156 ChatIndexRoute: ChatIndexRoute,
157}
158
159const ChatRouteWithChildren = ChatRoute._addFileChildren(ChatRouteChildren)
160
161interface SettingsRouteChildren {
162 SettingsArchivedRoute: typeof SettingsArchivedRoute
163 SettingsGeneralRoute: typeof SettingsGeneralRoute
164}
165
166const SettingsRouteChildren: SettingsRouteChildren = {
167 SettingsArchivedRoute: SettingsArchivedRoute,
168 SettingsGeneralRoute: SettingsGeneralRoute,
169}
170
171const SettingsRouteWithChildren = SettingsRoute._addFileChildren(
172 SettingsRouteChildren,
173)
174
175const rootRouteChildren: RootRouteChildren = {
176 ChatRoute: ChatRouteWithChildren,
177 SettingsRoute: SettingsRouteWithChildren,
178}
179export const routeTree = rootRouteImport
180 ._addFileChildren(rootRouteChildren)
181 ._addFileTypes<FileRouteTypes>()