forked from imbytecat/fullstack-starter
- 将首页替换为功能完整的待办事项应用,支持添加、标记完成、删除任务及进度统计,并优化了UI交互与视觉反馈。 - 删除待办事项功能页面及其相关逻辑实现 - 移除已废弃的 todos 路由相关配置及引用,保持路由树结构与实际路由文件一致。
87 lines
2.3 KiB
TypeScript
87 lines
2.3 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 IndexRouteImport } from './routes/index'
|
|
import { Route as ApiRpcSplatRouteImport } from './routes/api/rpc.$'
|
|
|
|
const IndexRoute = IndexRouteImport.update({
|
|
id: '/',
|
|
path: '/',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const ApiRpcSplatRoute = ApiRpcSplatRouteImport.update({
|
|
id: '/api/rpc/$',
|
|
path: '/api/rpc/$',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
|
|
export interface FileRoutesByFullPath {
|
|
'/': typeof IndexRoute
|
|
'/api/rpc/$': typeof ApiRpcSplatRoute
|
|
}
|
|
export interface FileRoutesByTo {
|
|
'/': typeof IndexRoute
|
|
'/api/rpc/$': typeof ApiRpcSplatRoute
|
|
}
|
|
export interface FileRoutesById {
|
|
__root__: typeof rootRouteImport
|
|
'/': typeof IndexRoute
|
|
'/api/rpc/$': typeof ApiRpcSplatRoute
|
|
}
|
|
export interface FileRouteTypes {
|
|
fileRoutesByFullPath: FileRoutesByFullPath
|
|
fullPaths: '/' | '/api/rpc/$'
|
|
fileRoutesByTo: FileRoutesByTo
|
|
to: '/' | '/api/rpc/$'
|
|
id: '__root__' | '/' | '/api/rpc/$'
|
|
fileRoutesById: FileRoutesById
|
|
}
|
|
export interface RootRouteChildren {
|
|
IndexRoute: typeof IndexRoute
|
|
ApiRpcSplatRoute: typeof ApiRpcSplatRoute
|
|
}
|
|
|
|
declare module '@tanstack/react-router' {
|
|
interface FileRoutesByPath {
|
|
'/': {
|
|
id: '/'
|
|
path: '/'
|
|
fullPath: '/'
|
|
preLoaderRoute: typeof IndexRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/api/rpc/$': {
|
|
id: '/api/rpc/$'
|
|
path: '/api/rpc/$'
|
|
fullPath: '/api/rpc/$'
|
|
preLoaderRoute: typeof ApiRpcSplatRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
}
|
|
}
|
|
|
|
const rootRouteChildren: RootRouteChildren = {
|
|
IndexRoute: IndexRoute,
|
|
ApiRpcSplatRoute: ApiRpcSplatRoute,
|
|
}
|
|
export const routeTree = rootRouteImport
|
|
._addFileChildren(rootRouteChildren)
|
|
._addFileTypes<FileRouteTypes>()
|
|
|
|
import type { getRouter } from './router.tsx'
|
|
import type { createStart } from '@tanstack/react-start'
|
|
declare module '@tanstack/react-start' {
|
|
interface Register {
|
|
ssr: true
|
|
router: Awaited<ReturnType<typeof getRouter>>
|
|
}
|
|
}
|