개발환경 변경 및 설명 추가

This commit is contained in:
comicgum
2026-09-16 13:35:29 +09:00
parent d1e230eb6a
commit ef277abe70
49 changed files with 1176 additions and 236 deletions
+16
View File
@@ -66,6 +66,22 @@ export const useAuthStore = create<AuthState>((set: any) => ({
setAuthStatus: (status: AuthStatus) => set({ authStatus: status }),
}));
// The temporary ID and password typed on the sign in page, handed to the account change page.
// Kept in memory only: a reload loses it and sends the user back to sign in.
type InitAccountState = {
user_id: string;
user_pw: string;
setInitAccount: (user_id: string, user_pw: string) => void;
clearInitAccount: () => void;
};
export const useInitAccountStore = create<InitAccountState>((set) => ({
user_id: "",
user_pw: "",
setInitAccount: (user_id: string, user_pw: string) => set({ user_id, user_pw }),
clearInitAccount: () => set({ user_id: "", user_pw: "" }),
}));
type UiLoadingState = {
pendingCount: number;
treePendingCount: number;