mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Add ability to bulk delete comments
This commit is contained in:
parent
99139e7753
commit
444c0a0e01
15 changed files with 516 additions and 66 deletions
9
server/helpers/custom-validators/bulk.ts
Normal file
9
server/helpers/custom-validators/bulk.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
function isBulkRemoveCommentsOfScopeValid (value: string) {
|
||||
return value === 'my-videos' || value === 'instance'
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
export {
|
||||
isBulkRemoveCommentsOfScopeValid
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue