181 lines · 5.2 KB · TypeScript
RawDownload
/* eslint-disable */ // @ts-nocheck // noinspection JSUnusedGlobalSymbols // This file was automatically generated by TanStack Router.// You should NOT make any changes in this file as it will be overwritten.// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. import { Route as rootRouteImport } from './routes/__root'import { Route as SettingsRouteImport } from './routes/settings'import { Route as ChatRouteImport } from './routes/_chat'import { Route as ChatIndexRouteImport } from './routes/_chat.index'import { Route as SettingsGeneralRouteImport } from './routes/settings.general'import { Route as SettingsArchivedRouteImport } from './routes/settings.archived'import { Route as ChatThreadIdRouteImport } from './routes/_chat.$threadId' const SettingsRoute = SettingsRouteImport.update({  id: '/settings',  path: '/settings',  getParentRoute: () => rootRouteImport,} as any)const ChatRoute = ChatRouteImport.update({  id: '/_chat',  getParentRoute: () => rootRouteImport,} as any)const ChatIndexRoute = ChatIndexRouteImport.update({  id: '/',  path: '/',  getParentRoute: () => ChatRoute,} as any)const SettingsGeneralRoute = SettingsGeneralRouteImport.update({  id: '/general',  path: '/general',  getParentRoute: () => SettingsRoute,} as any)const SettingsArchivedRoute = SettingsArchivedRouteImport.update({  id: '/archived',  path: '/archived',  getParentRoute: () => SettingsRoute,} as any)const ChatThreadIdRoute = ChatThreadIdRouteImport.update({  id: '/$threadId',  path: '/$threadId',  getParentRoute: () => ChatRoute,} as any) export interface FileRoutesByFullPath {  '/': typeof ChatIndexRoute  '/settings': typeof SettingsRouteWithChildren  '/$threadId': typeof ChatThreadIdRoute  '/settings/archived': typeof SettingsArchivedRoute  '/settings/general': typeof SettingsGeneralRoute}export interface FileRoutesByTo {  '/settings': typeof SettingsRouteWithChildren  '/$threadId': typeof ChatThreadIdRoute  '/settings/archived': typeof SettingsArchivedRoute  '/settings/general': typeof SettingsGeneralRoute  '/': typeof ChatIndexRoute}export interface FileRoutesById {  __root__: typeof rootRouteImport  '/_chat': typeof ChatRouteWithChildren  '/settings': typeof SettingsRouteWithChildren  '/_chat/$threadId': typeof ChatThreadIdRoute  '/settings/archived': typeof SettingsArchivedRoute  '/settings/general': typeof SettingsGeneralRoute  '/_chat/': typeof ChatIndexRoute}export interface FileRouteTypes {  fileRoutesByFullPath: FileRoutesByFullPath  fullPaths:    | '/'    | '/settings'    | '/$threadId'    | '/settings/archived'    | '/settings/general'  fileRoutesByTo: FileRoutesByTo  to:    | '/settings'    | '/$threadId'    | '/settings/archived'    | '/settings/general'    | '/'  id:    | '__root__'    | '/_chat'    | '/settings'    | '/_chat/$threadId'    | '/settings/archived'    | '/settings/general'    | '/_chat/'  fileRoutesById: FileRoutesById}export interface RootRouteChildren {  ChatRoute: typeof ChatRouteWithChildren  SettingsRoute: typeof SettingsRouteWithChildren} declare module '@tanstack/react-router' {  interface FileRoutesByPath {    '/settings': {      id: '/settings'      path: '/settings'      fullPath: '/settings'      preLoaderRoute: typeof SettingsRouteImport      parentRoute: typeof rootRouteImport    }    '/_chat': {      id: '/_chat'      path: ''      fullPath: '/'      preLoaderRoute: typeof ChatRouteImport      parentRoute: typeof rootRouteImport    }    '/_chat/': {      id: '/_chat/'      path: '/'      fullPath: '/'      preLoaderRoute: typeof ChatIndexRouteImport      parentRoute: typeof ChatRoute    }    '/settings/general': {      id: '/settings/general'      path: '/general'      fullPath: '/settings/general'      preLoaderRoute: typeof SettingsGeneralRouteImport      parentRoute: typeof SettingsRoute    }    '/settings/archived': {      id: '/settings/archived'      path: '/archived'      fullPath: '/settings/archived'      preLoaderRoute: typeof SettingsArchivedRouteImport      parentRoute: typeof SettingsRoute    }    '/_chat/$threadId': {      id: '/_chat/$threadId'      path: '/$threadId'      fullPath: '/$threadId'      preLoaderRoute: typeof ChatThreadIdRouteImport      parentRoute: typeof ChatRoute    }  }} interface ChatRouteChildren {  ChatThreadIdRoute: typeof ChatThreadIdRoute  ChatIndexRoute: typeof ChatIndexRoute} const ChatRouteChildren: ChatRouteChildren = {  ChatThreadIdRoute: ChatThreadIdRoute,  ChatIndexRoute: ChatIndexRoute,} const ChatRouteWithChildren = ChatRoute._addFileChildren(ChatRouteChildren) interface SettingsRouteChildren {  SettingsArchivedRoute: typeof SettingsArchivedRoute  SettingsGeneralRoute: typeof SettingsGeneralRoute} const SettingsRouteChildren: SettingsRouteChildren = {  SettingsArchivedRoute: SettingsArchivedRoute,  SettingsGeneralRoute: SettingsGeneralRoute,} const SettingsRouteWithChildren = SettingsRoute._addFileChildren(  SettingsRouteChildren,) const rootRouteChildren: RootRouteChildren = {  ChatRoute: ChatRouteWithChildren,  SettingsRoute: SettingsRouteWithChildren,}export const routeTree = rootRouteImport  ._addFileChildren(rootRouteChildren)  ._addFileTypes<FileRouteTypes>()