1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 02:09:37 +02:00

Add server API actors route

This commit is contained in:
Kimsible 2021-04-28 17:33:55 +02:00
parent ff8c5ccf09
commit 1e37d32f4b
6 changed files with 120 additions and 9 deletions

View file

@ -0,0 +1,10 @@
import { isAccountNameValid } from './accounts'
import { isVideoChannelNameValid } from './video-channels'
function isActorNameValid (value: string) {
return isAccountNameValid(value) || isVideoChannelNameValid(value)
}
export {
isActorNameValid
}