moderator-toolbox-nxg-for-reddit / modules/comment/settings

modules/comment/settings

Type Aliases

CommentsSettings

CommentsSettings = InferSettings<typeof settings>

Defined in: extension/data/modules/comment/settings.ts:67

Inferred settings type for the Comments module.

Variables

settings

const settings: readonly [{ default: true; description: "Add a link to comments where appropiate to open the context in a popup on page."; id: "openContextInPopup"; sharedPolicy: "raw"; type: "boolean"; }, { default: string[]; description: "Highlight keywords. Enter one keyword per line."; id: "highlighted"; sharedPolicy: "length"; type: "stringlist"; }, { advanced: true; default: false; description: "Hide removed comments by default."; id: "hideRemoved"; oldReddit: true; sharedPolicy: "raw"; type: "boolean"; }, { default: false; description: "Show approve button on all comments."; id: "approveComments"; oldReddit: true; sharedPolicy: "raw"; type: "boolean"; }, { default: false; description: "Show spam button on comments removed as ham."; id: "spamRemoved"; oldReddit: true; sharedPolicy: "raw"; type: "boolean"; }, { default: false; description: "Show remove (not spam) button on comments removed as spam."; id: "hamSpammed"; oldReddit: true; sharedPolicy: "raw"; type: "boolean"; }, { advanced: false; default: true; description: "Show button to hide old comments."; id: "showHideOld"; oldReddit: true; sharedPolicy: "raw"; type: "boolean"; }]

Defined in: extension/data/modules/comment/settings.ts:4