generated from kevisual/vite-react-template
190 lines
5.2 KiB
TypeScript
190 lines
5.2 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 LoginRouteImport } from './routes/login'
|
|
import { Route as DemoRouteImport } from './routes/demo'
|
|
import { Route as IndexRouteImport } from './routes/index'
|
|
import { Route as WorkspacesIndexRouteImport } from './routes/workspaces/index'
|
|
import { Route as RepoIndexRouteImport } from './routes/repo/index'
|
|
import { Route as ConfigIndexRouteImport } from './routes/config/index'
|
|
import { Route as ConfigGiteaRouteImport } from './routes/config/gitea'
|
|
|
|
const LoginRoute = LoginRouteImport.update({
|
|
id: '/login',
|
|
path: '/login',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const DemoRoute = DemoRouteImport.update({
|
|
id: '/demo',
|
|
path: '/demo',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const IndexRoute = IndexRouteImport.update({
|
|
id: '/',
|
|
path: '/',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const WorkspacesIndexRoute = WorkspacesIndexRouteImport.update({
|
|
id: '/workspaces/',
|
|
path: '/workspaces/',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const RepoIndexRoute = RepoIndexRouteImport.update({
|
|
id: '/repo/',
|
|
path: '/repo/',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const ConfigIndexRoute = ConfigIndexRouteImport.update({
|
|
id: '/config/',
|
|
path: '/config/',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const ConfigGiteaRoute = ConfigGiteaRouteImport.update({
|
|
id: '/config/gitea',
|
|
path: '/config/gitea',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
|
|
export interface FileRoutesByFullPath {
|
|
'/': typeof IndexRoute
|
|
'/demo': typeof DemoRoute
|
|
'/login': typeof LoginRoute
|
|
'/config/gitea': typeof ConfigGiteaRoute
|
|
'/config/': typeof ConfigIndexRoute
|
|
'/repo/': typeof RepoIndexRoute
|
|
'/workspaces/': typeof WorkspacesIndexRoute
|
|
}
|
|
export interface FileRoutesByTo {
|
|
'/': typeof IndexRoute
|
|
'/demo': typeof DemoRoute
|
|
'/login': typeof LoginRoute
|
|
'/config/gitea': typeof ConfigGiteaRoute
|
|
'/config': typeof ConfigIndexRoute
|
|
'/repo': typeof RepoIndexRoute
|
|
'/workspaces': typeof WorkspacesIndexRoute
|
|
}
|
|
export interface FileRoutesById {
|
|
__root__: typeof rootRouteImport
|
|
'/': typeof IndexRoute
|
|
'/demo': typeof DemoRoute
|
|
'/login': typeof LoginRoute
|
|
'/config/gitea': typeof ConfigGiteaRoute
|
|
'/config/': typeof ConfigIndexRoute
|
|
'/repo/': typeof RepoIndexRoute
|
|
'/workspaces/': typeof WorkspacesIndexRoute
|
|
}
|
|
export interface FileRouteTypes {
|
|
fileRoutesByFullPath: FileRoutesByFullPath
|
|
fullPaths:
|
|
| '/'
|
|
| '/demo'
|
|
| '/login'
|
|
| '/config/gitea'
|
|
| '/config/'
|
|
| '/repo/'
|
|
| '/workspaces/'
|
|
fileRoutesByTo: FileRoutesByTo
|
|
to:
|
|
| '/'
|
|
| '/demo'
|
|
| '/login'
|
|
| '/config/gitea'
|
|
| '/config'
|
|
| '/repo'
|
|
| '/workspaces'
|
|
id:
|
|
| '__root__'
|
|
| '/'
|
|
| '/demo'
|
|
| '/login'
|
|
| '/config/gitea'
|
|
| '/config/'
|
|
| '/repo/'
|
|
| '/workspaces/'
|
|
fileRoutesById: FileRoutesById
|
|
}
|
|
export interface RootRouteChildren {
|
|
IndexRoute: typeof IndexRoute
|
|
DemoRoute: typeof DemoRoute
|
|
LoginRoute: typeof LoginRoute
|
|
ConfigGiteaRoute: typeof ConfigGiteaRoute
|
|
ConfigIndexRoute: typeof ConfigIndexRoute
|
|
RepoIndexRoute: typeof RepoIndexRoute
|
|
WorkspacesIndexRoute: typeof WorkspacesIndexRoute
|
|
}
|
|
|
|
declare module '@tanstack/react-router' {
|
|
interface FileRoutesByPath {
|
|
'/login': {
|
|
id: '/login'
|
|
path: '/login'
|
|
fullPath: '/login'
|
|
preLoaderRoute: typeof LoginRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/demo': {
|
|
id: '/demo'
|
|
path: '/demo'
|
|
fullPath: '/demo'
|
|
preLoaderRoute: typeof DemoRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/': {
|
|
id: '/'
|
|
path: '/'
|
|
fullPath: '/'
|
|
preLoaderRoute: typeof IndexRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/workspaces/': {
|
|
id: '/workspaces/'
|
|
path: '/workspaces'
|
|
fullPath: '/workspaces/'
|
|
preLoaderRoute: typeof WorkspacesIndexRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/repo/': {
|
|
id: '/repo/'
|
|
path: '/repo'
|
|
fullPath: '/repo/'
|
|
preLoaderRoute: typeof RepoIndexRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/config/': {
|
|
id: '/config/'
|
|
path: '/config'
|
|
fullPath: '/config/'
|
|
preLoaderRoute: typeof ConfigIndexRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/config/gitea': {
|
|
id: '/config/gitea'
|
|
path: '/config/gitea'
|
|
fullPath: '/config/gitea'
|
|
preLoaderRoute: typeof ConfigGiteaRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
}
|
|
}
|
|
|
|
const rootRouteChildren: RootRouteChildren = {
|
|
IndexRoute: IndexRoute,
|
|
DemoRoute: DemoRoute,
|
|
LoginRoute: LoginRoute,
|
|
ConfigGiteaRoute: ConfigGiteaRoute,
|
|
ConfigIndexRoute: ConfigIndexRoute,
|
|
RepoIndexRoute: RepoIndexRoute,
|
|
WorkspacesIndexRoute: WorkspacesIndexRoute,
|
|
}
|
|
export const routeTree = rootRouteImport
|
|
._addFileChildren(rootRouteChildren)
|
|
._addFileTypes<FileRouteTypes>()
|