@ccw-api/api
    Preparing search index...

    Interface Comment

    interface Comment {
        commenter: OtherUser;
        commenterId: number;
        content: string;
        createdAt: number;
        dislikeCount: number;
        disliked: boolean;
        ext: {};
        hiddenOpinion: null;
        id: number;
        likeCount: number;
        liked: boolean;
        parentId: number;
        receiver: OtherUser;
        receiverId: number;
        replyCount: number;
        replyToId: number;
        reported: boolean;
        sectionType: "COMMENT";
        status: "PUBLISHED" | "FOLDED";
        subComments: [];
        topic: TopicInfo;
        topicId: number;
        updatedAt: number;
        weight: number;
    }
    Index

    Properties

    commenter: OtherUser
    commenterId: number
    content: string

    评论内容

    createdAt: number
    dislikeCount: number
    disliked: boolean
    ext: {}
    hiddenOpinion: null
    id: number
    likeCount: number
    liked: boolean
    parentId: number

    如果是评论,则为null,如果是回复,则为回复的评论的id

    receiver: OtherUser
    receiverId: number
    replyCount: number
    replyToId: number
    reported: boolean
    sectionType: "COMMENT"
    status: "PUBLISHED" | "FOLDED"
    subComments: []
    topic: TopicInfo
    topicId: number

    回复的文章/扩展id

    updatedAt: number
    weight: number