feat: add removal templates
This commit is contained in:
1 parent
147349d0c2
commit
9fd32aa7dd
9 files changed
+97
-10
No files matched your search
@@ -32,6 +32,9 @@ interface Settings {
|
||||
}
|
||||
displayNames: boolean
|
||||
nsfwBlur: boolean
|
||||
moderation: {
|
||||
removalReasonPreset: string
|
||||
}
|
||||
}
|
||||
|
||||
export const defaultSettings: Settings = {
|
||||
@@ -63,6 +66,9 @@ export const defaultSettings: Settings = {
|
||||
},
|
||||
displayNames: true,
|
||||
nsfwBlur: true,
|
||||
moderation: {
|
||||
removalReasonPreset: `Your submission in *"{{post.title}}"* was removed for {{reason}}.`,
|
||||
},
|
||||
}
|
||||
|
||||
export const userSettings = writable(defaultSettings)
|
||||
|
||||
Reference in new issue
Block a user