feat: client testing api , add ouath2

This commit is contained in:
Abdalhamid Alhamad
2025-01-16 13:35:22 +03:00
parent 87bb1a2709
commit ebd4b293e9
11 changed files with 160 additions and 52 deletions
+10
View File
@@ -1,3 +1,5 @@
import { GrantType } from '../enums';
export interface User {
id: string;
email: string;
@@ -15,3 +17,11 @@ export interface LoginResponse {
refreshToken: string;
user: User;
}
export interface LoginRequest {
email?: string;
password?: string;
grantType: GrantType;
googleToken?: string;
appleToken?: string;
}