]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - server/helpers/custom-validators/actor.ts
Merge branch 'develop' into shorter-URLs-channels-accounts
[github/Chocobozzz/PeerTube.git] / server / helpers / custom-validators / actor.ts
1 import { isAccountNameValid } from './accounts'
2 import { isVideoChannelNameValid } from './video-channels'
3
4 function isActorNameValid (value: string) {
5 return isAccountNameValid(value) || isVideoChannelNameValid(value)
6 }
7
8 export {
9 isActorNameValid
10 }