AniLink - v1.29.2
    Preparing search index...

    ThreadResponse is an interface representing the response from a thread query. It includes the thread's id, title, body, userId, replyUserId, replyCommentId, replyCount, viewCount, isLocked status, isSticky status, isSubscribed status, likeCount, isLiked status, repliedAt, createdAt, updatedAt, user of type BasicUser, replyUser of type BasicUser, likes of type BasicUser[], siteUrl, categories, and mediaCategories of type MediaResponse[].

    interface ThreadResponse {
        body: string;
        categories: { id: number; name: string }[];
        createdAt: number;
        id: number;
        isLiked: boolean;
        isLocked: boolean;
        isSticky: boolean;
        isSubscribed: boolean;
        likeCount: number;
        likes: BasicUser[];
        mediaCategories: MediaResponse[];
        repliedAt: number;
        replyCommentId: number;
        replyCount: number;
        replyUser: BasicUser;
        replyUserId: number;
        siteUrl: string;
        title: string;
        updatedAt: number;
        user: BasicUser;
        userId: number;
        viewCount: number;
    }
    Index
    body: string

    body is a string representing the body of the thread.

    categories: { id: number; name: string }[]

    categories is an array of objects, each representing a category associated with the thread. Each category object includes an id and a name.

    Type Declaration

    • id: number

      id is a number representing the id of the category.

    • name: string

      name is a string representing the name of the category.

    createdAt: number

    createdAt is a number representing the timestamp when the thread was created.

    id: number

    id is a number representing the id of the thread.

    isLiked: boolean

    isLiked is a boolean indicating whether the thread is liked by the user.

    isLocked: boolean

    isLocked is a boolean indicating whether the thread is locked.

    isSticky: boolean

    isSticky is a boolean indicating whether the thread is sticky.

    isSubscribed: boolean

    isSubscribed is a boolean indicating whether the user is subscribed to the thread.

    likeCount: number

    likeCount is a number representing the number of likes the thread has received.

    likes: BasicUser[]

    likes is an array of BasicUser representing the users who liked the thread.

    mediaCategories: MediaResponse[]

    mediaCategories is an array of MediaResponse representing the media categories associated with the thread.

    repliedAt: number

    repliedAt is a number representing the timestamp when the thread was replied to.

    replyCommentId: number

    replyCommentId is a number representing the id of the comment that was replied to in the thread.

    replyCount: number

    replyCount is a number representing the number of replies in the thread.

    replyUser: BasicUser

    replyUser is an instance of BasicUser representing the user who replied to the thread.

    replyUserId: number

    replyUserId is a number representing the id of the user who replied to the thread.

    siteUrl: string

    siteUrl is a string representing the URL of the thread on the site.

    title: string

    title is a string representing the title of the thread.

    updatedAt: number

    updatedAt is a number representing the timestamp when the thread was last updated.

    user: BasicUser

    user is an instance of BasicUser representing the user who created the thread.

    userId: number

    userId is a number representing the id of the user who created the thread.

    viewCount: number

    viewCount is a number representing the number of views the thread has received.