feat(user): sync entitlement snapshot

This commit is contained in:
2026-06-29 10:37:37 +08:00
parent 455204e1e4
commit 58cd2a7545
22 changed files with 479 additions and 54 deletions
+4 -4
View File
@@ -5,16 +5,16 @@ import type { UserView } from "@/data/dto/user";
export interface UserState {
currentUser: UserView | null;
pronouns: string;
coinBalance: number;
isLoading: boolean;
avatarUrl: string | null;
isVip: boolean;
creditBalance: number;
}
export const initialState: UserState = {
currentUser: null,
pronouns: "He",
coinBalance: 45,
isLoading: false,
avatarUrl: null,
isVip: false,
creditBalance: 0,
};