doc gpt V0.2
This commit is contained in:
21
src/types/user.d.ts
vendored
Normal file
21
src/types/user.d.ts
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
export enum UserNumberEnum {
|
||||
phone = 'phone',
|
||||
wx = 'wx'
|
||||
}
|
||||
|
||||
export interface UserType {
|
||||
_id: string;
|
||||
email: string;
|
||||
accounts: {
|
||||
type: string;
|
||||
value: string;
|
||||
}[];
|
||||
balance: number;
|
||||
}
|
||||
|
||||
export interface UserUpdateParams {
|
||||
accounts?: {
|
||||
type: string;
|
||||
value: string;
|
||||
}[];
|
||||
}
|
||||
Reference in New Issue
Block a user