18 lines
405 B
TypeScript
18 lines
405 B
TypeScript
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;
|
|
}
|