fix: 修正管理端 API 类型导出与无效依赖
This commit is contained in:
1 parent
6f2cc51985
commit
ed2e3bd715
2 files changed
+1
-15
No files matched your search
@@ -3,9 +3,6 @@ import { createRoot } from "react-dom/client";
|
|||||||
import {
|
import {
|
||||||
QueryClient,
|
QueryClient,
|
||||||
QueryClientProvider,
|
QueryClientProvider,
|
||||||
useMutation,
|
|
||||||
useQuery,
|
|
||||||
useQueryClient,
|
|
||||||
} from "@tanstack/react-query";
|
} from "@tanstack/react-query";
|
||||||
import {
|
import {
|
||||||
App,
|
App,
|
||||||
@@ -15,15 +12,9 @@ import {
|
|||||||
Input,
|
Input,
|
||||||
Layout,
|
Layout,
|
||||||
Menu,
|
Menu,
|
||||||
Select,
|
|
||||||
Space,
|
Space,
|
||||||
Typography,
|
Typography,
|
||||||
message,
|
message,
|
||||||
Table,
|
|
||||||
Tag,
|
|
||||||
Popconfirm,
|
|
||||||
Modal,
|
|
||||||
Badge,
|
|
||||||
} from "antd";
|
} from "antd";
|
||||||
import { createApiClient } from "./lib/api.js";
|
import { createApiClient } from "./lib/api.js";
|
||||||
const FeatureInquiriesPage = React.lazy(() =>
|
const FeatureInquiriesPage = React.lazy(() =>
|
||||||
@@ -55,12 +46,6 @@ const FeatureOverviewPage = React.lazy(() =>
|
|||||||
})),
|
})),
|
||||||
);
|
);
|
||||||
import { BrowserRouter, Navigate, Route, Routes, useLocation, useNavigate } from "react-router-dom";
|
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";
|
import "antd/dist/reset.css";
|
||||||
|
|
||||||
const queryClient = new QueryClient();
|
const queryClient = new QueryClient();
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ import type {
|
|||||||
PublicService,
|
PublicService,
|
||||||
BrandTemplateKey,
|
BrandTemplateKey,
|
||||||
} from "@personal-brand/types";
|
} from "@personal-brand/types";
|
||||||
|
export type { PublicService } from "@personal-brand/types";
|
||||||
export type { BookingStatus } from "@personal-brand/types";
|
export type { BookingStatus } from "@personal-brand/types";
|
||||||
|
|
||||||
export interface BrandProfile {
|
export interface BrandProfile {
|
||||||
|
|||||||
Reference in new issue
Block a user