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

modules/modbar/settings

Type Aliases

ModbarSettings

ModbarSettings = InferSettings<typeof settings>

Defined in: extension/data/modules/modbar/settings.ts:89

Inferred settings type for the Modbar module.

Variables

settings

const settings: readonly [{ advanced: true; default: false; description: "Use compact mode for modbar"; id: "compactHide"; sharedPolicy: "raw"; type: "boolean"; }, { default: false; description: "Show icon for unmoderated"; id: "unmoderatedOn"; sharedPolicy: "raw"; type: "boolean"; }, { default: true; description: "Show Moderated Subreddits in the modbar"; id: "enableModSubs"; sharedPolicy: "raw"; type: "boolean"; }, { default: true; description: "Include a button in the modbar to swap between old and new Reddit"; id: "enableOldNewToggle"; sharedPolicy: "raw"; type: "boolean"; }, { default: { }; description: "Shortcuts"; hidden: false; id: "shortcuts"; labels: ["name", "url"]; sharedPolicy: "length"; type: "map"; }, { default: false; hidden: true; id: "modbarHidden"; sharedPolicy: "raw"; type: "boolean"; }, { default: false; hidden: true; id: "lockScroll"; sharedPolicy: "raw"; type: "boolean"; }, { default: ""; hidden: true; id: "customCSS"; type: "code"; }, { default: 0; hidden: true; id: "lastExport"; sharedPolicy: "populated"; type: "number"; }, { default: true; hidden: true; id: "showExportReminder"; sharedPolicy: "raw"; type: "boolean"; }, { default: "PJSalt"; hidden: true; id: "subredditColorSalt"; type: "text"; }]

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