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

modules/removalreasons/settings

Type Aliases

RemovalReasonsSettings

RemovalReasonsSettings = InferSettings<typeof settings>

Defined in: extension/data/modules/removalreasons/settings.ts:127

Inferred settings type for the Removal Reasons module.

Variables

settings

const settings: readonly [{ default: false; description: "Enable removal reasons for comments."; id: "commentReasons"; sharedPolicy: "raw"; type: "boolean"; }, { default: false; description: "Show an empty removal reason box for subreddits that don't have removal reasons."; id: "alwaysShow"; sharedPolicy: "raw"; type: "boolean"; }, { default: "Drawer"; description: "How removal reasons should be displayed."; id: "displayMode"; sharedPolicy: "raw"; type: "selector"; values: readonly ["Drawer", "Popup (legacy)"]; }, { default: false; description: "Silently remove content from deleted users without opening removal reasons."; id: "silentRemoveDeletedUsers"; sharedPolicy: "raw"; type: "boolean"; }, { default: "Reply with a comment to the item that is removed"; description: "Method of sending removal reasons."; id: "reasonType"; sharedPolicy: "raw"; type: "selector"; valueLabels: { Send as both PM and reply: "Send as both Modmail and reply"; Send as PM (personal message): "Send as Modmail"; }; valueNotes: { None (This only works when a logsub has been set): "Requires a log subreddit (logsub) to be configured per-subreddit in the subreddit config overlay. Without a logsub set, removal reasons will not be logged."; }; values: readonly ["Reply with a comment to the item that is removed", "Send as PM (personal message)", "Send as both PM and reply", "None (This only works when a logsub has been set)"]; }, { advanced: false; default: true; description: "Hide your username when sending Modmail."; id: "reasonAsSub"; sharedPolicy: "raw"; type: "boolean"; }, { advanced: false; default: false; description: "Auto-archive sent Modmail."; id: "reasonAutoArchive"; sharedPolicy: "raw"; type: "boolean"; }, { default: false; description: "Leave removal reasons as a sticky comment."; id: "reasonSticky"; sharedPolicy: "raw"; type: "boolean"; }, { default: false; description: "Leave removal reason comments with /u/subreddit-ModTeam."; id: "reasonCommentAsSubreddit"; sharedPolicy: "raw"; type: "boolean"; }, { default: false; description: "Lock threads after leaving a removal reason."; id: "actionLock"; sharedPolicy: "raw"; type: "boolean"; }, { default: false; description: "Lock removal reasons when replying as a comment."; id: "actionLockComment"; sharedPolicy: "raw"; type: "boolean"; }, { default: false; description: "Disable the remove button after removing an item."; id: "disableRemoveButton"; type: "boolean"; }, { default: true; description: “Pre-select removal reasons suggested by an item’s reports, and flag matching items with “(suggestions)” on the remove button.”; id: "preselectSuggestedReasons"; type: "boolean"; }, { default: "%3Ctextarea%20id%3D%22customTextarea%22%20%20class%3D%22tb-input%22%20placeholder%3D%22Enter%20Custom%20reason%22%3E%3C/textarea%3E"; hidden: true; id: "customRemovalReason"; type: "text"; }]

Defined in: extension/data/modules/removalreasons/settings.ts:5