codigo de login front

This commit is contained in:
2025-11-14 18:25:57 -03:00
parent 4545252bd2
commit ccebc7934c
7 changed files with 163 additions and 25 deletions

16
src/types.d.ts vendored
View File

@@ -25,3 +25,19 @@ export interface User {
followingCount: number;
refreshTokens: RefreshToken[];
}
export interface Sesion {
accessToken:string?;
}
export interface LoginDto {
username: string?;
password: string?;
}
export interface RegisterDto {
username: string?;
email: string?;
password: string?;
displayName: string?;
}