This commit is contained in:
2026-05-01 20:29:09 +08:00
parent 8718472dbd
commit 87fbf41fab
137 changed files with 2922 additions and 989 deletions

View File

@@ -11,6 +11,7 @@ export type AuthUser = {
loginMethod: AuthLoginMethod;
bindingStatus: AuthBindingStatus;
wechatBound: boolean;
createdAt: string;
};
export type PublicUserSummary = {

View File

@@ -59,6 +59,7 @@ export type ProfileWalletLedgerEntry = {
balanceAfter: number;
sourceType:
| 'snapshot_sync'
| 'new_user_registration_reward'
| 'invite_inviter_reward'
| 'invite_invitee_reward'
| 'points_recharge'
@@ -149,12 +150,20 @@ export type ProfileReferralInviteCenterResponse = {
todayInviterRewardCount: number;
todayInviterRewardRemaining: number;
rewardPoints: number;
invitedUsers: ProfileReferralInvitedUser[];
hasRedeemedCode: boolean;
boundInviterUserId: string | null;
boundAt: string | null;
updatedAt: string;
};
export type ProfileReferralInvitedUser = {
userId: string;
displayName: string;
avatarUrl: string | null;
boundAt: string;
};
export type RedeemProfileReferralInviteCodeRequest = {
inviteCode: string;
};