From ed2e3bd715154572fed3f855fb9262397e9a58f7 Mon Sep 17 00:00:00 2001 From: que01 Date: Mon, 21 Sep 2026 12:14:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E7=AB=AF=20API=20=E7=B1=BB=E5=9E=8B=E5=AF=BC=E5=87=BA=E4=B8=8E?= =?UTF-8?q?=E6=97=A0=E6=95=88=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/admin/src/main.tsx | 15 --------------- packages/api-client/src/index.ts | 1 + 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/apps/admin/src/main.tsx b/apps/admin/src/main.tsx index 10395db..a5d98bc 100644 --- a/apps/admin/src/main.tsx +++ b/apps/admin/src/main.tsx @@ -3,9 +3,6 @@ import { createRoot } from "react-dom/client"; import { QueryClient, QueryClientProvider, - useMutation, - useQuery, - useQueryClient, } from "@tanstack/react-query"; import { App, @@ -15,15 +12,9 @@ import { Input, Layout, Menu, - Select, Space, Typography, message, - Table, - Tag, - Popconfirm, - Modal, - Badge, } from "antd"; import { createApiClient } from "./lib/api.js"; const FeatureInquiriesPage = React.lazy(() => @@ -55,12 +46,6 @@ const FeatureOverviewPage = React.lazy(() => })), ); import { BrowserRouter, Navigate, Route, Routes, useLocation, useNavigate } from "react-router-dom"; -import type { - BrandProfile, - PublicService, - TrustContent, - TrustContentInput, -} from "@personal-brand/api-client"; import "antd/dist/reset.css"; const queryClient = new QueryClient(); diff --git a/packages/api-client/src/index.ts b/packages/api-client/src/index.ts index 43724e7..a072547 100644 --- a/packages/api-client/src/index.ts +++ b/packages/api-client/src/index.ts @@ -6,6 +6,7 @@ import type { PublicService, BrandTemplateKey, } from "@personal-brand/types"; +export type { PublicService } from "@personal-brand/types"; export type { BookingStatus } from "@personal-brand/types"; export interface BrandProfile {