PeerTube/server/helpers/custom-validators/bulk.ts

10 lines
244 B
TypeScript
Raw Normal View History

2020-05-14 16:56:15 +02:00
function isBulkRemoveCommentsOfScopeValid (value: string) {
return value === 'my-videos' || value === 'instance'
}
// ---------------------------------------------------------------------------
export {
isBulkRemoveCommentsOfScopeValid
}