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

modules/betterbuttons/settings

Type Aliases

BetterButtonsSettings

BetterButtonsSettings = InferSettings<typeof settings>

Defined in: extension/data/modules/betterbuttons/settings.ts:76

Inferred settings type for the Better Buttons module.

Variables

settings

const settings: readonly [{ default: false; description: "Enable mod-save button, will save and distinguish comments."; id: "enableModSave"; sharedPolicy: "raw"; type: "boolean"; }, { default: false; description: "Enable distinguish and sticky toggling."; id: "enableDistinguishToggle"; sharedPolicy: "raw"; type: "boolean"; }, { advanced: true; default: false; description: "Remove remove/approve confirmation when removing items."; id: "removeRemoveConfirmation"; sharedPolicy: "raw"; type: "boolean"; }, { default: false; description: "Auto-approve items when ignoring reports."; id: "approveOnIgnore"; sharedPolicy: "raw"; type: "boolean"; }, { default: false; description: "Auto-ignore reports when approving items."; id: "ignoreOnApprove"; sharedPolicy: "raw"; type: "boolean"; }, { default: false; description: "Show spam button on submissions removed as ham."; id: "spamRemoved"; sharedPolicy: "raw"; type: "boolean"; }, { default: false; description: "Show remove (not spam) button on submissions removed as spam."; id: "hamSpammed"; sharedPolicy: "raw"; type: "boolean"; }, { advanced: false; default: false; description: "Add sticky/unsticky buttons to post listings."; id: "addStickyButton"; sharedPolicy: "raw"; type: "boolean"; }, { advanced: false; default: true; description: "Add comment lock button to comments."; id: "addCommentLockbutton"; sharedPolicy: "raw"; type: "boolean"; }]

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