algunos arreglos a la ui y correjido un cambio en una api

This commit is contained in:
2025-12-22 20:19:42 -03:00
parent ae381c00ff
commit 252e1d0b98
7 changed files with 156 additions and 130 deletions

28
src/types.d.ts vendored
View File

@@ -84,18 +84,34 @@ export interface UserResponseDto {
displayName: string;
email: string;
bio: string;
imageUrl: string?;
imageUrl: string?;
profileImageUrl: string;
followersCount: number;
followingCount: number;
createdAt: string;
postsCount: number;
}
export interface UsersResponseDto {
response: {
id: string;
username: string;
displayName: string;
email: string;
bio: string;
imageUrl?: string;
profileImageUrl: string;
followersCount: number;
followingCount: number;
createdAt: string;
postsCount: number;
}[];
totalCount: number;
}
export interface UpdateUserRequest {
username: string?;
displayName: string?;
bio: string?;
email: string?;
profileImage: File?;
username: string?;
displayName: string?;
bio: string?;
email: string?;
profileImage: File?;
}