mirror of
https://github.com/LukeHagar/discoursejs.git
synced 2025-12-07 04:19:39 +00:00
2.3 KiB
2.3 KiB
AdminBadges
Example Usage
import { AdminBadges } from "@lukehagar/discoursejs/sdk/models/operations";
let value: AdminBadges = {
badgeGroupingIds: ["<value>"],
badgeIds: ["<value>"],
badgeTypeIds: ["<value>"],
protectedSystemFields: ["<value>"],
triggers: {
none: 544883,
postAction: 847252,
postRevision: 423655,
trustLevelChange: 623564,
userChange: 645894,
},
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
badgeGroupingIds |
any[] | ✔️ | N/A |
badgeIds |
any[] | ✔️ | N/A |
badgeTypeIds |
any[] | ✔️ | N/A |
protectedSystemFields |
any[] | ✔️ | N/A |
triggers |
operations.Triggers | ✔️ | N/A |