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:
2026-06-11 09:35:26 +08:00
parent 2bc2e1b691
commit d4cb40a74b
16 changed files with 30 additions and 123 deletions
+4 -9
View File
@@ -1,15 +1,10 @@
/**
* @file User 公共导出
* User 状态机公共导出barrel
*
* 状态机重构后:
* - 业务类(Dart 风格 context/reducer/side-effects)已合并到 user-machine.ts
* - 类型由 user-types.ts 重新导出
* - React 入口为 user-context.tsxuseMachine 包装)
* - Context 形状与初始值位于 user-context.ts
* - 事件联合位于 user-events.ts
* 重新导出 User store 的所有公共 APIstate / events / machine / React Provider)。
*/
export * from "./user-state";
export * from "./user-context";
export * from "./user-events";
export * from "./user-types";
export { userMachine } from "./user-machine";
export * from "./user-machine";