feat: 更新 @riwa/api-types 依赖至 0.0.49,优化用户数据处理逻辑

This commit is contained in:
2025-12-22 05:45:24 +07:00
parent 66e2222c48
commit 6d9b6b0a1b
9 changed files with 20 additions and 26 deletions

View File

@@ -25,9 +25,7 @@ export type WithdrawBody = Omit<Parameters<typeof client.api.withdraw.post>[0],
withdrawMethod: WithdrawMethodEnum;
};
export type UserProfileData = Treaty.Data<typeof client.api.user.profile.get>["userProfile"];
export type UserData = Treaty.Data<typeof client.api.user.profile.get>["user"];
export type UserProfileData = Treaty.Data<typeof client.api.user.profile.get>;
export type UpdateUserProfileBody = TreatyBody<typeof client.api.user.profile.put>;