2a491182 F |
1 | import { VIDEO_CHANNEL_SYNC_STATE } from '@server/initializers/constants' |
2 | import { exists } from './misc' |
3 | |
4 | export function isVideoChannelSyncStateValid (value: any) { |
5 | return exists(value) && VIDEO_CHANNEL_SYNC_STATE[value] !== undefined |
6 | } |