feat: add removal templates

This commit is contained in:
Xyphyn committed 2023-08-12 19:07:42 -07:00
1 parent 147349d0c2
commit 9fd32aa7dd
9 files changed
+97 -10

No files matched your search

+6
View File
@@ -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)