aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/custom-validators/bulk.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/helpers/custom-validators/bulk.ts')
-rw-r--r--server/helpers/custom-validators/bulk.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/server/helpers/custom-validators/bulk.ts b/server/helpers/custom-validators/bulk.ts
new file mode 100644
index 000000000..9e0ce0be1
--- /dev/null
+++ b/server/helpers/custom-validators/bulk.ts
@@ -0,0 +1,9 @@
1function isBulkRemoveCommentsOfScopeValid (value: string) {
2 return value === 'my-videos' || value === 'instance'
3}
4
5// ---------------------------------------------------------------------------
6
7export {
8 isBulkRemoveCommentsOfScopeValid
9}