Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
type
bulaienaofutuojiesenzhangb1408b9f2560
diff --git a/src/api/types/sent.types.ts b/src/api/types/sent.types.tsnew file mode 100644index 00000000..3cf64ffb--- /dev/null+++ b/src/api/types/sent.types.ts@@ -0,0 +1,32 @@+// Sent界面相关的类型定义++export interface SentPost {+ postId: string;+ platform: string;+ title: string;+ content: string;+ thumbnail: string;+ mediaType: 'video' | 'image' | 'article';+ permaLink: string;+ publishTime: number; // 时间戳,毫秒级+ viewCount: number;+ commentCount: number;+ likeCount: number;+ shareCount: number;+ clickCount: number;+ impressionCount: number;+ favoriteCount: number;+}++export interface SentPostsResponse {+ total: number;+ posts: SentPost[];+ hasMore: boolean;+}++export interface SentPostsParams {+ platform: string;+ uid: string;+ page: number;+ pageSize: number;+}