mirror of
https://github.com/LukeHagar/discoursejs.git
synced 2025-12-06 12:27:48 +00:00
4.7 KiB
4.7 KiB
CreateCategoryRequestBody
Example Usage
import { CreateCategoryRequestBody } from "@lukehagar/discoursejs/sdk/models/operations";
let value: CreateCategoryRequestBody = {
color: "49d9e9",
name: "<value>",
permissions: {
everyone: 1,
},
textColor: "f0fcfd",
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
allowBadges |
boolean | ➖ | N/A | |
color |
string | ➖ | N/A | 49d9e9 |
formTemplateIds |
any[] | ➖ | N/A | |
name |
string | ✔️ | N/A | |
parentCategoryId |
number | ➖ | N/A | |
permissions |
operations.Permissions | ➖ | N/A | |
searchPriority |
number | ➖ | N/A | |
slug |
string | ➖ | N/A | |
textColor |
string | ➖ | N/A | f0fcfd |
topicFeaturedLinksAllowed |
boolean | ➖ | N/A |