primera iteracion de login + register con google funcionales

This commit is contained in:
2026-01-20 02:56:58 -03:00
parent d89e2960d7
commit 2b2b5ad61f
8 changed files with 331 additions and 27 deletions

14
src/types.d.ts vendored
View File

@@ -39,6 +39,7 @@ export interface Sesion {
displayName: string;
username: string;
isAdmin: boolean;
isFirebase: boolean;
}
export interface LoginDto {
@@ -46,6 +47,11 @@ export interface LoginDto {
password: string?;
}
export interface LoginSsoDto {
accessToken: string;
uid: string;
}
export interface RegisterDto {
username: string;
email: string;
@@ -53,6 +59,14 @@ export interface RegisterDto {
displayName: string;
}
export interface RegisterSsoDto {
username: string;
email: string;
displayName: string;
token: string;
uid: string;
}
export interface CreatePostDto {
content: string;
imageUrl: string?;