chore: migrate contexts to stores and refresh barrel exports
- Move state management from `src/contexts` to `src/stores` (zustand-based) - Update barrelsby config to include new stores directory - Add bottom-sheet and auth-background components - Auto-open browser on dev server ready in VS Code launch config - Refresh generated barrel index files
This commit is contained in:
@@ -1,15 +1,10 @@
|
||||
/**
|
||||
* @file Sidebar 公共导出
|
||||
* Sidebar 状态机公共导出(barrel)
|
||||
*
|
||||
* 状态机重构后:
|
||||
* - reducer 逻辑已合并到 sidebar-machine.ts
|
||||
* - 类型由 sidebar-types.ts 重新导出
|
||||
* - React 入口为 sidebar-context.tsx(useMachine 包装)
|
||||
* - Context 形状与初始值位于 sidebar-context.ts
|
||||
* - 事件联合位于 sidebar-events.ts
|
||||
* 重新导出 Sidebar store 的所有公共 API(state / events / machine / React Provider + SidebarPage / BottomNavItem)。
|
||||
*/
|
||||
|
||||
export * from "./sidebar-state";
|
||||
export * from "./sidebar-context";
|
||||
export * from "./sidebar-events";
|
||||
export * from "./sidebar-types";
|
||||
export { sidebarMachine } from "./sidebar-machine";
|
||||
export * from "./sidebar-machine";
|
||||
|
||||
Reference in New Issue
Block a user