perf: 账号api结构
This commit is contained in:
10
src/types/user.d.ts
vendored
10
src/types/user.d.ts
vendored
@@ -6,19 +6,13 @@ export enum UserNumberEnum {
|
||||
export interface UserType {
|
||||
_id: string;
|
||||
email: string;
|
||||
accounts: {
|
||||
type: string;
|
||||
value: string;
|
||||
}[];
|
||||
openaiKey: string;
|
||||
balance: number;
|
||||
}
|
||||
|
||||
export interface UserUpdateParams {
|
||||
balance?: number;
|
||||
accounts?: {
|
||||
type: string;
|
||||
value: string;
|
||||
}[];
|
||||
openaiKey: string;
|
||||
}
|
||||
|
||||
export interface UserBillType {
|
||||
|
||||
Reference in New Issue
Block a user