优化图文页

This commit is contained in:
2026-04-28 17:11:42 +08:00
parent 674c202264
commit 040273586b
69 changed files with 3939 additions and 2302 deletions
+15 -13
View File
@@ -1,19 +1,21 @@
export type FeedItem =
| ({
export type FeedItem = (
| {
type: "video";
video_url: string;
} | {
}
| {
type: "image";
}) & {
likes: number;
author: { nickname: string; avatar_url: string | null; sec_uid?: string };
aweme_id: string;
created_at: Date | string;
desc: string;
cover_url: string | null;
width?: number | null;
height?: number | null;
};
}
) & {
likes: number;
author: { nickname: string; avatar_url: string | null; sec_uid?: string };
aweme_id: string;
created_at: Date | string;
desc: string;
cover_url: string | null;
width?: number | null;
height?: number | null;
};
export interface FeedResponse {
items: FeedItem[];