| 1 | export interface Topic { |
| 2 | _id: string; |
| 3 | title: string; // 话题标题 |
| 4 | description?: string; |
| 5 | category: string; |
| 6 | subCategory: string; |
| 7 | url: string; // 作品链接 |
| 8 | author?: string; // 作者 |
| 9 | topics: string[]; // 话题标签 |
| 10 | rank: number; |
| 11 | coverUrl?: string; |
| 12 | shareCount: number; |
| 13 | likeCount: number; |
| 14 | watchingCount: number; |
| 15 | readCount: number; |
| 16 | publishTime?: Date; |
| 17 | createTime: Date; |
| 18 | updateTime: Date; |
| 19 | } |
| 20 |