feat: 添加性别枚举,更新用户设置页面以支持性别选择和生日选择功能
This commit is contained in:
@@ -19,3 +19,9 @@ export enum ChainEnum {
|
||||
ERC20 = "ERC20",
|
||||
TRC20 = "TRC20",
|
||||
}
|
||||
|
||||
export enum GenderEnum {
|
||||
MALE = "male",
|
||||
FEMALE = "female",
|
||||
OTHER = "other",
|
||||
}
|
||||
|
||||
@@ -18,4 +18,4 @@ export type WithdrawBody = Omit<Parameters<typeof client.api.withdraw.post>[0],
|
||||
|
||||
export type UserProfileData = Treaty.Data<typeof client.api.user.profile.get>["userProfile"];
|
||||
|
||||
export type UpdateUserProfileBody = Parameters<typeof client.api.user.profile.put>[0];
|
||||
export type UpdateUserProfileBody = NonNullable<Parameters<typeof client.api.user.profile.put>[0]>;
|
||||
|
||||
Reference in New Issue
Block a user