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 ChatRouteImport } from './routes/_chat'
13import { Route as ChatIndexRouteImport } from './routes/_chat.index'
14import { Route as ChatSettingsRouteImport } from './routes/_chat.settings'
15import { Route as ChatThreadIdRouteImport } from './routes/_chat.$threadId'
16
17const ChatRoute = ChatRouteImport.update({
18 id: '/_chat',
19 getParentRoute: () => rootRouteImport,
20} as any)
21const ChatIndexRoute = ChatIndexRouteImport.update({
22 id: '/',
23 path: '/',
24 getParentRoute: () => ChatRoute,
25} as any)
26const ChatSettingsRoute = ChatSettingsRouteImport.update({
27 id: '/settings',
28 path: '/settings',
29 getParentRoute: () => ChatRoute,
30} as any)
31const ChatThreadIdRoute = ChatThreadIdRouteImport.update({
32 id: '/$threadId',
33 path: '/$threadId',
34 getParentRoute: () => ChatRoute,
35} as any)
36
37export interface FileRoutesByFullPath {
38 '/': typeof ChatIndexRoute
39 '/$threadId': typeof ChatThreadIdRoute
40 '/settings': typeof ChatSettingsRoute
41}
42export interface FileRoutesByTo {
43 '/$threadId': typeof ChatThreadIdRoute
44 '/settings': typeof ChatSettingsRoute
45 '/': typeof ChatIndexRoute
46}
47export interface FileRoutesById {
48 __root__: typeof rootRouteImport
49 '/_chat': typeof ChatRouteWithChildren
50 '/_chat/$threadId': typeof ChatThreadIdRoute
51 '/_chat/settings': typeof ChatSettingsRoute
52 '/_chat/': typeof ChatIndexRoute
53}
54export interface FileRouteTypes {
55 fileRoutesByFullPath: FileRoutesByFullPath
56 fullPaths: '/' | '/$threadId' | '/settings'
57 fileRoutesByTo: FileRoutesByTo
58 to: '/$threadId' | '/settings' | '/'
59 id: '__root__' | '/_chat' | '/_chat/$threadId' | '/_chat/settings' | '/_chat/'
60 fileRoutesById: FileRoutesById
61}
62export interface RootRouteChildren {
63 ChatRoute: typeof ChatRouteWithChildren
64}
65
66declare module '@tanstack/react-router' {
67 interface FileRoutesByPath {
68 '/_chat': {
69 id: '/_chat'
70 path: ''
71 fullPath: '/'
72 preLoaderRoute: typeof ChatRouteImport
73 parentRoute: typeof rootRouteImport
74 }
75 '/_chat/': {
76 id: '/_chat/'
77 path: '/'
78 fullPath: '/'
79 preLoaderRoute: typeof ChatIndexRouteImport
80 parentRoute: typeof ChatRoute
81 }
82 '/_chat/settings': {
83 id: '/_chat/settings'
84 path: '/settings'
85 fullPath: '/settings'
86 preLoaderRoute: typeof ChatSettingsRouteImport
87 parentRoute: typeof ChatRoute
88 }
89 '/_chat/$threadId': {
90 id: '/_chat/$threadId'
91 path: '/$threadId'
92 fullPath: '/$threadId'
93 preLoaderRoute: typeof ChatThreadIdRouteImport
94 parentRoute: typeof ChatRoute
95 }
96 }
97}
98
99interface ChatRouteChildren {
100 ChatThreadIdRoute: typeof ChatThreadIdRoute
101 ChatSettingsRoute: typeof ChatSettingsRoute
102 ChatIndexRoute: typeof ChatIndexRoute
103}
104
105const ChatRouteChildren: ChatRouteChildren = {
106 ChatThreadIdRoute: ChatThreadIdRoute,
107 ChatSettingsRoute: ChatSettingsRoute,
108 ChatIndexRoute: ChatIndexRoute,
109}
110
111const ChatRouteWithChildren = ChatRoute._addFileChildren(ChatRouteChildren)
112
113const rootRouteChildren: RootRouteChildren = {
114 ChatRoute: ChatRouteWithChildren,
115}
116export const routeTree = rootRouteImport
117 ._addFileChildren(rootRouteChildren)
118 ._addFileTypes<FileRouteTypes>()