feat(auth): create login api call with basic test coverage and msw mock
This commit is contained in:
@@ -1,5 +1,16 @@
|
||||
import type { User } from "entities/User";
|
||||
|
||||
export interface AuthData {
|
||||
/**
|
||||
* User's email address.
|
||||
*/
|
||||
email: string;
|
||||
/**
|
||||
* User's password.
|
||||
*/
|
||||
password: string;
|
||||
}
|
||||
|
||||
export interface AuthResponse {
|
||||
/**
|
||||
* Access token for the authenticated user.
|
||||
|
||||
Reference in New Issue
Block a user