feat(market-data): 优化同步并增加完整性检查

This commit is contained in:
yuxuanhui
2026-08-11 11:20:13 +08:00
parent 3ce186f977
commit 7ce11543af
42 changed files with 4837 additions and 197 deletions
+13 -1
View File
@@ -8,6 +8,7 @@ import {
type SelectionCategoryFilter,
} from "@/features/selection/api/selection.types"
import { SelectionResultsPage } from "@/features/selection/pages/selection-results-page"
import { SyncPage } from "@/features/sync/pages/sync-page"
const rootRoute = createRootRoute({
component: () => <Outlet />,
@@ -48,6 +49,12 @@ const selectionRoute = createRoute({
component: SelectionResultsPage,
})
const syncRoute = createRoute({
getParentRoute: () => workspaceRoute,
path: "/sync",
component: SyncPage,
})
const componentsRoute = createRoute({
getParentRoute: () => workspaceRoute,
path: "/components",
@@ -55,5 +62,10 @@ const componentsRoute = createRoute({
})
export const routeTree = rootRoute.addChildren([
workspaceRoute.addChildren([indexRoute, selectionRoute, componentsRoute]),
workspaceRoute.addChildren([
indexRoute,
selectionRoute,
syncRoute,
componentsRoute,
]),
])