chore(toolchain): upgrade Bun to 1.4.4 and migrate console to TanStack Router

This commit is contained in:
root committed 2026-11-06 00:02:36 +08:00
1 parent b44ebc2ba1
commit 3b9376c75a
134 files changed
+893 -692

No files matched your search

@@ -1,11 +1,11 @@
import { type SearchAction, type SearchWork, tmdbImageUrl } from "@umt/contracts";
import { CornerDownLeft, Film, Globe, LoaderCircle, type LucideIcon, Search } from "lucide-react";
import { type ReactNode, useEffect, useId, useMemo, useRef, useState } from "react";
import { Link, useNavigate } from "react-router";
import { useSearch } from "~/api/search.ts";
import { settingsPath } from "~/components/console/nav.ts";
import { Dialog, DialogContent, DialogDescription, DialogTitle } from "~/components/ui/dialog.tsx";
import { errorMessage } from "~/lib/api.ts";
import { Link, useNavigate } from "~/lib/router-compat.tsx";
import { cn } from "~/lib/utils.ts";
import { SearchHistory, useSearchHistory } from "./search-history.tsx";
import { actionIcon, mediaKindLabel } from "./search-labels.ts";