moderator-toolbox-nxg-for-reddit / modules/usernotes/settings
modules/usernotes/settings¶
Type Aliases¶
UserNotesSettings¶
UserNotesSettings =
InferSettings<typeofsettings>
Defined in: extension/data/modules/usernotes/settings.ts:93
Inferred settings type for the Usernotes module.
Variables¶
settings¶
constsettings: readonly [{default:true;description:"Show the Toolbox Usernotes Manager in modbox";id:"unManagerLink";sharedPolicy:"raw";type:"boolean"; }, {default:"toolbox_notes";description:"Default tab for the notes popup";id:"defaultNotesTab";sharedPolicy:"raw";type:"selector";values: readonly ["Toolbox Notes","Native Notes"]; }, {default:"none";description:"Default label for new native notes";id:"defaultNoteLabel";sharedPolicy:"raw";type:"selector";values: readonly ["None","Bot Ban","Permaban","Ban","Abuse Warning","Spam Warning","Spam Watch","Solid Contributor","Helpful User"]; }, {default:true;description:"Close the usernotes popup after saving a new Toolbox note";id:"closePopupAfterNoteSave";type:"boolean"; }, {default:false;description:"Require a note type before saving a usernote";id:"requireNoteType";sharedPolicy:"raw";type:"boolean"; }, {default:true;description:"Require note text before saving a usernote";id:"requireNoteText";sharedPolicy:"raw";type:"boolean"; }, {default:false;description:"Require a link to the content before saving a usernote";id:"requireNoteLink";sharedPolicy:"raw";type:"boolean"; }, {default:false;description:"Show date in note preview";id:"showDate";sharedPolicy:"raw";type:"boolean"; }, {default:false;description:"Show current usernote on ban/contrib/mod pages";id:"showOnModPages";sharedPolicy:"raw";type:"boolean"; }, {advanced:true;default:20;description:"Max characters to display in current note tag (excluding date)";id:"maxChars";sharedPolicy:"raw";type:"number"; }]
Defined in: extension/data/modules/usernotes/settings.ts:5