From 3923eb2f86c304bbd90c4eae9a338f7bc21c9e90 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 6 Dec 2025 18:30:04 +0900 Subject: feat(client): add auth store with React context MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Implements token management via AuthProvider context that wraps the app. Provides useAuth hook for components to access auth state and actions (login, register, logout). Includes comprehensive tests. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/client/stores/index.ts | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/client/stores/index.ts (limited to 'src/client/stores/index.ts') diff --git a/src/client/stores/index.ts b/src/client/stores/index.ts new file mode 100644 index 0000000..7117bd6 --- /dev/null +++ b/src/client/stores/index.ts @@ -0,0 +1,7 @@ +export type { + AuthActions, + AuthContextValue, + AuthProviderProps, + AuthState, +} from "./auth"; +export { ApiClientError, AuthProvider, useAuth } from "./auth"; -- cgit v1.2.3-70-g09d2