Various fixes and improvments

This commit is contained in:
Christopher
2026-01-22 13:50:55 -08:00
parent fc86bc1901
commit c9951caa95
10 changed files with 947 additions and 558 deletions
+41
View File
@@ -0,0 +1,41 @@
export interface User {
id: string;
handle: string;
displayName: string;
avatarUrl?: string | null;
}
export interface MediaItem {
id: string;
url: string;
altText?: string | null;
}
export interface Attachment {
id: string;
url: string;
altText?: string | null;
}
export interface Post {
id: string;
content: string;
createdAt: string;
likesCount: number;
repostsCount: number;
repliesCount: number;
author: User;
media?: MediaItem[];
linkPreviewUrl?: string | null;
linkPreviewTitle?: string | null;
linkPreviewDescription?: string | null;
linkPreviewImage?: string | null;
replyTo?: {
author: {
handle: string;
displayName: string;
};
} | null;
isLiked?: boolean;
isReposted?: boolean;
}