mirror of
https://github.com/LukeHagar/discoursejs.git
synced 2025-12-06 12:27:48 +00:00
3.6 KiB
3.6 KiB
UserActions
Example Usage
import { UserActions } from "@lukehagar/discoursejs/sdk/models/operations";
let value: UserActions = {
actingAvatarTemplate: "<value>",
actingName: "<value>",
actingUserId: 709072,
actingUsername: "<value>",
actionCode: "<value>",
actionType: 70869,
archived: false,
avatarTemplate: "<value>",
categoryId: 611749,
closed: false,
createdAt: "<value>",
deleted: false,
excerpt: "<value>",
hidden: "<value>",
name: "<value>",
postId: "<value>",
postNumber: 292794,
postType: "<value>",
slug: "<value>",
targetName: "<value>",
targetUserId: 671907,
targetUsername: "<value>",
title: "<value>",
topicId: 152354,
userId: 447516,
username: "Haylie37",
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
actingAvatarTemplate |
string | ✔️ | N/A |
actingName |
string | ✔️ | N/A |
actingUserId |
number | ✔️ | N/A |
actingUsername |
string | ✔️ | N/A |
actionCode |
string | ✔️ | N/A |
actionType |
number | ✔️ | N/A |
archived |
boolean | ✔️ | N/A |
avatarTemplate |
string | ✔️ | N/A |
categoryId |
number | ✔️ | N/A |
closed |
boolean | ✔️ | N/A |
createdAt |
string | ✔️ | N/A |
deleted |
boolean | ✔️ | N/A |
excerpt |
string | ✔️ | N/A |
hidden |
string | ✔️ | N/A |
name |
string | ✔️ | N/A |
postId |
string | ✔️ | N/A |
postNumber |
number | ✔️ | N/A |
postType |
string | ✔️ | N/A |
slug |
string | ✔️ | N/A |
targetName |
string | ✔️ | N/A |
targetUserId |
number | ✔️ | N/A |
targetUsername |
string | ✔️ | N/A |
title |
string | ✔️ | N/A |
topicId |
number | ✔️ | N/A |
userId |
number | ✔️ | N/A |
username |
string | ✔️ | N/A |