añadido pagina de Posts, una store para la api, y header para mobile

This commit is contained in:
2025-11-14 15:15:26 -03:00
parent bc1f0acbaf
commit a2da01b29c
7 changed files with 138 additions and 15 deletions

14
src/types.d.ts vendored Normal file
View File

@@ -0,0 +1,14 @@
export interface Post {
_id: string;
authorId: string;
content: string;
imageUrl?: string;
parentPostId?: string;
likesCount: number;
repliesCount: number;
createdAt: Date;
updatedAt?: Date;
isEdited: boolean;
visibility: string;
hashtags?: string[];
}