Files
discoursejs/docs/sdk/models/operations/topics.md

14 KiB

Topics

Example Usage

import { Topics } from "@lukehagar/discoursejs/sdk/models/operations";

let value: Topics = {
    archetype: "<value>",
    archived: false,
    bookmarked: "<value>",
    bumped: false,
    bumpedAt: "<value>",
    categoryId: 653421,
    closed: false,
    createdAt: "<value>",
    excerpt: "<value>",
    fancyTitle: "<value>",
    featuredLink: "<value>",
    hasSummary: false,
    highestPostNumber: 671794,
    id: 726343,
    imageUrl: "<value>",
    lastPostedAt: "<value>",
    lastPosterUsername: "<value>",
    likeCount: 324083,
    liked: "<value>",
    pinned: false,
    pinnedGlobally: false,
    posters: [
        {
            description: "Operative dynamic array",
            extras: "<value>",
            primaryGroupId: "<value>",
            userId: 833316,
        },
    ],
    postsCount: 405036,
    replyCount: 775803,
    slug: "<value>",
    title: "<value>",
    unpinned: "<value>",
    unseen: false,
    views: 405373,
    visible: false,
};

Fields

Field Type Required Description
archetype string ✔️ N/A
archived boolean ✔️ N/A
bookmarked string ✔️ N/A
bumped boolean ✔️ N/A
bumpedAt string ✔️ N/A
categoryId number ✔️ N/A
closed boolean ✔️ N/A
createdAt string ✔️ N/A
excerpt string ✔️ N/A
fancyTitle string ✔️ N/A
featuredLink string ✔️ N/A
hasSummary boolean ✔️ N/A
highestPostNumber number ✔️ N/A
id number ✔️ N/A
imageUrl string ✔️ N/A
lastPostedAt string ✔️ N/A
lastPosterUsername string ✔️ N/A
likeCount number ✔️ N/A
liked string ✔️ N/A
pinned boolean ✔️ N/A
pinnedGlobally boolean ✔️ N/A
posters operations.ListCategoryTopicsPosters[] ✔️ N/A
postsCount number ✔️ N/A
replyCount number ✔️ N/A
slug string ✔️ N/A
title string ✔️ N/A
unpinned string ✔️ N/A
unseen boolean ✔️ N/A
views number ✔️ N/A
visible boolean ✔️ N/A