✨
This commit is contained in:
17
src/api/models/SignIn.ts
Normal file
17
src/api/models/SignIn.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import type { ApiResponseType } from "./ApiResponseType";
|
||||
import type { UserRolesType } from "./Enums";
|
||||
import type { AccessToken } from "./AccessToken";
|
||||
|
||||
interface SignIn {
|
||||
defaultRole: UserRolesType;
|
||||
accessToken: AccessToken;
|
||||
avatarUrl?: string;
|
||||
nickName: string;
|
||||
}
|
||||
|
||||
export type SignInResponse = ApiResponseType<SignIn>;
|
||||
|
||||
export interface SignInParams {
|
||||
account: string;
|
||||
password: string;
|
||||
}
|
||||
Reference in New Issue
Block a user