Co-authored-by: codex <[email protected]> Co-authored-by: Julius Marminge <[email protected]> Co-authored-by: Cursor Agent <[email protected]> Co-authored-by: cursor[bot] <206951365+cursor[bot]@users.noreply.github.com>
246 lines
7.8 KiB
TypeScript
246 lines
7.8 KiB
TypeScript
/* 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 PairRouteImport } from './routes/pair'
|
|
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 SettingsConnectionsRouteImport } from './routes/settings.connections'
|
|
import { Route as SettingsArchivedRouteImport } from './routes/settings.archived'
|
|
import { Route as ChatDraftDraftIdRouteImport } from './routes/_chat.draft.$draftId'
|
|
import { Route as ChatEnvironmentIdThreadIdRouteImport } from './routes/_chat.$environmentId.$threadId'
|
|
|
|
const SettingsRoute = SettingsRouteImport.update({
|
|
id: '/settings',
|
|
path: '/settings',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const PairRoute = PairRouteImport.update({
|
|
id: '/pair',
|
|
path: '/pair',
|
|
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 SettingsConnectionsRoute = SettingsConnectionsRouteImport.update({
|
|
id: '/connections',
|
|
path: '/connections',
|
|
getParentRoute: () => SettingsRoute,
|
|
} as any)
|
|
const SettingsArchivedRoute = SettingsArchivedRouteImport.update({
|
|
id: '/archived',
|
|
path: '/archived',
|
|
getParentRoute: () => SettingsRoute,
|
|
} as any)
|
|
const ChatDraftDraftIdRoute = ChatDraftDraftIdRouteImport.update({
|
|
id: '/draft/$draftId',
|
|
path: '/draft/$draftId',
|
|
getParentRoute: () => ChatRoute,
|
|
} as any)
|
|
const ChatEnvironmentIdThreadIdRoute =
|
|
ChatEnvironmentIdThreadIdRouteImport.update({
|
|
id: '/$environmentId/$threadId',
|
|
path: '/$environmentId/$threadId',
|
|
getParentRoute: () => ChatRoute,
|
|
} as any)
|
|
|
|
export interface FileRoutesByFullPath {
|
|
'/': typeof ChatIndexRoute
|
|
'/pair': typeof PairRoute
|
|
'/settings': typeof SettingsRouteWithChildren
|
|
'/settings/archived': typeof SettingsArchivedRoute
|
|
'/settings/connections': typeof SettingsConnectionsRoute
|
|
'/settings/general': typeof SettingsGeneralRoute
|
|
'/$environmentId/$threadId': typeof ChatEnvironmentIdThreadIdRoute
|
|
'/draft/$draftId': typeof ChatDraftDraftIdRoute
|
|
}
|
|
export interface FileRoutesByTo {
|
|
'/pair': typeof PairRoute
|
|
'/settings': typeof SettingsRouteWithChildren
|
|
'/settings/archived': typeof SettingsArchivedRoute
|
|
'/settings/connections': typeof SettingsConnectionsRoute
|
|
'/settings/general': typeof SettingsGeneralRoute
|
|
'/': typeof ChatIndexRoute
|
|
'/$environmentId/$threadId': typeof ChatEnvironmentIdThreadIdRoute
|
|
'/draft/$draftId': typeof ChatDraftDraftIdRoute
|
|
}
|
|
export interface FileRoutesById {
|
|
__root__: typeof rootRouteImport
|
|
'/_chat': typeof ChatRouteWithChildren
|
|
'/pair': typeof PairRoute
|
|
'/settings': typeof SettingsRouteWithChildren
|
|
'/settings/archived': typeof SettingsArchivedRoute
|
|
'/settings/connections': typeof SettingsConnectionsRoute
|
|
'/settings/general': typeof SettingsGeneralRoute
|
|
'/_chat/': typeof ChatIndexRoute
|
|
'/_chat/$environmentId/$threadId': typeof ChatEnvironmentIdThreadIdRoute
|
|
'/_chat/draft/$draftId': typeof ChatDraftDraftIdRoute
|
|
}
|
|
export interface FileRouteTypes {
|
|
fileRoutesByFullPath: FileRoutesByFullPath
|
|
fullPaths:
|
|
| '/'
|
|
| '/pair'
|
|
| '/settings'
|
|
| '/settings/archived'
|
|
| '/settings/connections'
|
|
| '/settings/general'
|
|
| '/$environmentId/$threadId'
|
|
| '/draft/$draftId'
|
|
fileRoutesByTo: FileRoutesByTo
|
|
to:
|
|
| '/pair'
|
|
| '/settings'
|
|
| '/settings/archived'
|
|
| '/settings/connections'
|
|
| '/settings/general'
|
|
| '/'
|
|
| '/$environmentId/$threadId'
|
|
| '/draft/$draftId'
|
|
id:
|
|
| '__root__'
|
|
| '/_chat'
|
|
| '/pair'
|
|
| '/settings'
|
|
| '/settings/archived'
|
|
| '/settings/connections'
|
|
| '/settings/general'
|
|
| '/_chat/'
|
|
| '/_chat/$environmentId/$threadId'
|
|
| '/_chat/draft/$draftId'
|
|
fileRoutesById: FileRoutesById
|
|
}
|
|
export interface RootRouteChildren {
|
|
ChatRoute: typeof ChatRouteWithChildren
|
|
PairRoute: typeof PairRoute
|
|
SettingsRoute: typeof SettingsRouteWithChildren
|
|
}
|
|
|
|
declare module '@tanstack/react-router' {
|
|
interface FileRoutesByPath {
|
|
'/settings': {
|
|
id: '/settings'
|
|
path: '/settings'
|
|
fullPath: '/settings'
|
|
preLoaderRoute: typeof SettingsRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/pair': {
|
|
id: '/pair'
|
|
path: '/pair'
|
|
fullPath: '/pair'
|
|
preLoaderRoute: typeof PairRouteImport
|
|
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/connections': {
|
|
id: '/settings/connections'
|
|
path: '/connections'
|
|
fullPath: '/settings/connections'
|
|
preLoaderRoute: typeof SettingsConnectionsRouteImport
|
|
parentRoute: typeof SettingsRoute
|
|
}
|
|
'/settings/archived': {
|
|
id: '/settings/archived'
|
|
path: '/archived'
|
|
fullPath: '/settings/archived'
|
|
preLoaderRoute: typeof SettingsArchivedRouteImport
|
|
parentRoute: typeof SettingsRoute
|
|
}
|
|
'/_chat/draft/$draftId': {
|
|
id: '/_chat/draft/$draftId'
|
|
path: '/draft/$draftId'
|
|
fullPath: '/draft/$draftId'
|
|
preLoaderRoute: typeof ChatDraftDraftIdRouteImport
|
|
parentRoute: typeof ChatRoute
|
|
}
|
|
'/_chat/$environmentId/$threadId': {
|
|
id: '/_chat/$environmentId/$threadId'
|
|
path: '/$environmentId/$threadId'
|
|
fullPath: '/$environmentId/$threadId'
|
|
preLoaderRoute: typeof ChatEnvironmentIdThreadIdRouteImport
|
|
parentRoute: typeof ChatRoute
|
|
}
|
|
}
|
|
}
|
|
|
|
interface ChatRouteChildren {
|
|
ChatIndexRoute: typeof ChatIndexRoute
|
|
ChatEnvironmentIdThreadIdRoute: typeof ChatEnvironmentIdThreadIdRoute
|
|
ChatDraftDraftIdRoute: typeof ChatDraftDraftIdRoute
|
|
}
|
|
|
|
const ChatRouteChildren: ChatRouteChildren = {
|
|
ChatIndexRoute: ChatIndexRoute,
|
|
ChatEnvironmentIdThreadIdRoute: ChatEnvironmentIdThreadIdRoute,
|
|
ChatDraftDraftIdRoute: ChatDraftDraftIdRoute,
|
|
}
|
|
|
|
const ChatRouteWithChildren = ChatRoute._addFileChildren(ChatRouteChildren)
|
|
|
|
interface SettingsRouteChildren {
|
|
SettingsArchivedRoute: typeof SettingsArchivedRoute
|
|
SettingsConnectionsRoute: typeof SettingsConnectionsRoute
|
|
SettingsGeneralRoute: typeof SettingsGeneralRoute
|
|
}
|
|
|
|
const SettingsRouteChildren: SettingsRouteChildren = {
|
|
SettingsArchivedRoute: SettingsArchivedRoute,
|
|
SettingsConnectionsRoute: SettingsConnectionsRoute,
|
|
SettingsGeneralRoute: SettingsGeneralRoute,
|
|
}
|
|
|
|
const SettingsRouteWithChildren = SettingsRoute._addFileChildren(
|
|
SettingsRouteChildren,
|
|
)
|
|
|
|
const rootRouteChildren: RootRouteChildren = {
|
|
ChatRoute: ChatRouteWithChildren,
|
|
PairRoute: PairRoute,
|
|
SettingsRoute: SettingsRouteWithChildren,
|
|
}
|
|
export const routeTree = rootRouteImport
|
|
._addFileChildren(rootRouteChildren)
|
|
._addFileTypes<FileRouteTypes>()
|