| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- import { FeedTag } from './card';
- export interface FeedPostImage {
- url: string;
- width: number|null;
- height: number|null;
- }
- export interface FeedPostDetail {
- postID: number;
- authorSID: string|null;
- authorName: string|null;
- authorThumb: string|null;
- isCreator: boolean;
- channelSID: string|null;
- content: string;
- images: FeedPostImage[];
- medias: string[];
- likes: number;
- comments: number;
- bookmarks: number;
- views: number;
- tags: FeedTag[];
- createdAt: string;
- hasLike: boolean;
- hasBookmark: boolean;
- isOwner: boolean;
- }
- export interface FeedReply {
- id: number;
- parentID: number|null;
- parentAuthorSID: string|null;
- parentAuthorName: string|null;
- content: string;
- authorSID: string|null;
- authorName: string|null;
- authorThumb: string|null;
- isCreator: boolean;
- likes: number;
- hasLike: boolean;
- isOwner: boolean;
- isDeleted: boolean;
- createdAt: string;
- }
- export interface FeedRepliesResponse {
- total: number;
- list: FeedReply[];
- }
- export interface FeedSuggestedFollow {
- sid: string;
- name: string|null;
- thumb: string|null;
- summary: string|null;
- isCreator: boolean;
- followerCount: number;
- }
- export interface FeedSuggestedFollowsResponse {
- list: FeedSuggestedFollow[];
- }
|