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

modules/modmail/settings

Type Aliases

ModmailSettings

ModmailSettings = InferSettings<typeof settings>

Defined in: extension/data/modules/modmail/settings.ts:55

Inferred settings type for the Modmail module.

Variables

settings

const settings: readonly [{ default: true; description: "Automatically enable markdown preview in the modmail reply composer"; id: "previewByDefault"; sharedPolicy: "raw"; type: "boolean"; }, { default: true; description: "Always show the modmail search bar and hide the search toggle button"; id: "searchAtTop"; sharedPolicy: "raw"; type: "boolean"; }, { default: true; description: "Show the time next to modmail message dates for messages less than 24 hours old"; id: "showRecentMessageTime"; sharedPolicy: "raw"; type: "boolean"; }, { default: false; description: "Hide the banner and profile picture in the modmail user sidebar, widening the username area"; id: "hideUserSidebarProfileIcon"; sharedPolicy: "raw"; type: "boolean"; }, { default: false; description: "In a modmail thread, clicking a participant username opens their profile page when the user info sidebar is already open"; id: "usernameProfileWhenSidebarOpen"; sharedPolicy: "raw"; type: "boolean"; }, { default: false; description: "Replace the modmail user-sidebar tabs (Posts/Comments/Log) with a single scrollable panel showing all sections at once"; id: "replaceUserSidebarTabs"; sharedPolicy: "raw"; type: "boolean"; }]

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