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

2.7 KiB
Raw Permalink Blame History

TopicList

Example Usage

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

let value: TopicList = {
  canCreateTopic: false,
  perPage: 281153,
  topics: [
    {
      archetype: "<value>",
      archived: false,
      bookmarked: "<value>",
      bumped: false,
      bumpedAt: "<value>",
      categoryId: 321043,
      closed: false,
      createdAt: "<value>",
      excerpt: "<value>",
      fancyTitle: "<value>",
      featuredLink: "<value>",
      hasSummary: false,
      highestPostNumber: 713927,
      id: 29950,
      imageUrl: "<value>",
      lastPostedAt: "<value>",
      lastPosterUsername: "<value>",
      likeCount: 561577,
      liked: "<value>",
      pinned: false,
      pinnedGlobally: false,
      posters: [
        {
          description: "Re-engineered foreground array",
          extras: "<value>",
          primaryGroupId: "<value>",
          userId: 530860,
        },
      ],
      postsCount: 606308,
      replyCount: 85233,
      slug: "<value>",
      title: "<value>",
      unpinned: "<value>",
      unseen: false,
      views: 703218,
      visible: false,
    },
  ],
};

Fields

Field Type Required Description
canCreateTopic boolean ✔️ N/A
perPage number ✔️ N/A
topTags any[] N/A
topics operations.Topics[] ✔️ N/A