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

10 lines
244 B
TypeScript

function isBulkRemoveCommentsOfScopeValid (value: string) {
return value === 'my-videos' || value === 'instance'
}
// ---------------------------------------------------------------------------
export {
isBulkRemoveCommentsOfScopeValid
}