auth api
This commit is contained in:
parent
a3da5c9d55
commit
f026c14f0c
9 changed files with 7286 additions and 6 deletions
|
|
@ -61,3 +61,36 @@ export interface UserResponse {
|
|||
avatar_url?: string;
|
||||
};
|
||||
}
|
||||
|
||||
export interface ResetRequest {
|
||||
email: string;
|
||||
|
||||
}
|
||||
|
||||
export interface ResetPasswordRequest {
|
||||
id: number;
|
||||
token: string;
|
||||
password: string;
|
||||
}
|
||||
|
||||
export interface ChangePassword {
|
||||
id: number;
|
||||
oldPassword: string;
|
||||
newPassword: string;
|
||||
}
|
||||
|
||||
export interface ResetPasswordResponse {
|
||||
code: number;
|
||||
message: string;
|
||||
}
|
||||
|
||||
export interface ChangePasswordResponse {
|
||||
code: number;
|
||||
message: string;
|
||||
}
|
||||
|
||||
export interface ResetRequestResponse {
|
||||
code: number;
|
||||
message: string;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue