mirror of
https://github.com/LukeHagar/discoursejs.git
synced 2025-12-06 12:27:48 +00:00
13 KiB
13 KiB
SuggestedTopics
Example Usage
import { SuggestedTopics } from "@lukehagar/discoursejs/sdk/models/operations";
let value: SuggestedTopics = {
archetype: "<value>",
archived: false,
bookmarked: "<value>",
bumped: false,
bumpedAt: "<value>",
categoryId: 453094,
closed: false,
createdAt: "<value>",
excerpt: "<value>",
fancyTitle: "<value>",
featuredLink: "<value>",
highestPostNumber: 194023,
id: 493958,
imageUrl: "<value>",
lastPostedAt: "<value>",
likeCount: 205566,
liked: "<value>",
pinned: false,
posters: [
{
description: "Robust interactive software",
extras: "<value>",
user: {
avatarTemplate: "<value>",
id: 437814,
name: "<value>",
username: "Brock.Wolf",
},
},
],
postsCount: 842855,
replyCount: 78969,
slug: "<value>",
tags: ["<value>"],
tagsDescriptions: {},
title: "<value>",
unpinned: "<value>",
unseen: false,
views: 818034,
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 |
highestPostNumber |
number | ✔️ | N/A |
id |
number | ✔️ | N/A |
imageUrl |
string | ✔️ | N/A |
lastPostedAt |
string | ✔️ | N/A |
likeCount |
number | ✔️ | N/A |
liked |
string | ✔️ | N/A |
pinned |
boolean | ✔️ | N/A |
posters |
operations.Posters[] | ✔️ | N/A |
postsCount |
number | ✔️ | N/A |
replyCount |
number | ✔️ | N/A |
slug |
string | ✔️ | N/A |
tags |
any[] | ✔️ | N/A |
tagsDescriptions |
operations.GetTopicTagsDescriptions | ✔️ | N/A |
title |
string | ✔️ | N/A |
unpinned |
string | ✔️ | N/A |
unseen |
boolean | ✔️ | N/A |
views |
number | ✔️ | N/A |
visible |
boolean | ✔️ | N/A |