/**
 * User 状态机：State 形状 + 初始值
 */
import type { UserView } from "@/data/dto/user";

export interface UserState {
  currentUser: UserView | null;
  pronouns: string;
  coinBalance: number;
  isLoading: boolean;
  avatarUrl: string | null;
}

export const initialState: UserState = {
  currentUser: null,
  pronouns: "He",
  coinBalance: 45,
  isLoading: false,
  avatarUrl: null,
};
