init
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
export type FeedItem =
|
||||
| ({
|
||||
type: "video";
|
||||
video_url: string;
|
||||
} | {
|
||||
type: "image";
|
||||
}) & {
|
||||
likes: number;
|
||||
author: { nickname: string; avatar_url: string | null };
|
||||
aweme_id: string;
|
||||
created_at: Date | string;
|
||||
desc: string;
|
||||
cover_url: string | null;
|
||||
width?: number | null;
|
||||
height?: number | null;
|
||||
};
|
||||
|
||||
export interface FeedResponse {
|
||||
items: FeedItem[];
|
||||
nextCursor: string | null;
|
||||
}
|
||||
Reference in New Issue
Block a user