30 lines
1013 B
TypeScript
30 lines
1013 B
TypeScript
/**
|
|
* Zustand Stores 统一导出
|
|
*
|
|
* 使用方式:
|
|
* import { useUserStore, useBrandStore, useNotificationStore } from "@/lib/stores";
|
|
*/
|
|
|
|
// ── Stores ──────────────────────────────────────────────────────────────────
|
|
export { useUserStore } from "./user-store";
|
|
export { useBrandStore } from "./brand-store";
|
|
export { useNotificationStore } from "./notification-store";
|
|
|
|
// ── 类型导出 ────────────────────────────────────────────────────────────────
|
|
export type {
|
|
UserPreferences,
|
|
UserState,
|
|
UserActions,
|
|
} from "./user-store";
|
|
|
|
export type {
|
|
BrandState,
|
|
BrandActions,
|
|
} from "./brand-store";
|
|
|
|
export type {
|
|
Notification,
|
|
NotificationType,
|
|
NotificationState,
|
|
NotificationActions,
|
|
} from "./notification-store"; |