import { VideoState } from '@shared/models' ; import { AbstractOwnedVideoPublication } from './abstract-owned-video-publication' ; export class OwnedPublicationAfterAutoUnblacklist extends AbstractOwnedVideoPublication { isDisabled ( ) { return ! ! this . payload . ScheduleVideoUpdate || ( this . payload . waitTranscoding && this . payload . state !== VideoState . PUBLISHED ) ; } }