Files
cozsweet-frontend-nextjs/src/data/storage/index.ts
T

23 lines
934 B
TypeScript

/**
* @file Storage 公共导出
*
* unstorage 重构后:
* - 删除 `./local_storage`(原自定义 LocalStorage class 已被 unstorage 取代)
* - 业务层(AuthStorage / ChatStorage / UserStorage / AppStorage)继续走原接口
*/
export * from "@/utils/result";
export * from "./storage_keys";
export * from "./app/app_storage";
// NOTE: top-level `auth_storage.ts` is intentionally not re-exported here —
// it conflicts with `auth/auth_storage.ts` (both define `AuthStorage`).
// Import directly via `@/data/storage/auth/auth_storage` instead.
export * from "./auth/auth_storage";
export * from "./auth/iauth_storage";
export * from "./chat/chat_storage";
export * from "./chat/local_chat_db";
export * from "./chat/local_chat_storage";
export * from "./chat/local_message";
export * from "./payment/pending_payment_order_storage";
export * from "./user/iuser_storage";
export * from "./user/user_storage";