mirror of
https://github.com/LukeHagar/discoursejs.git
synced 2025-12-06 12:27:48 +00:00
3.0 KiB
3.0 KiB
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 |