feat(auth): create login api call with basic test coverage and msw mock

This commit is contained in:
Ilia Mashkov
2026-03-17 10:00:51 +03:00
parent a36922e1c7
commit 9302013632
7 changed files with 89 additions and 0 deletions

View File

@@ -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.