Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

699 B
Raw Blame
import { FormReactive } from '@app/shared/shared-forms/form-reactive'
import { VideoPlaylist } from '@app/shared/shared-video-playlist/video-playlist.model'
import { ConstantLabel, VideoPlaylistPrivacyType } from '@peertube/peertube-models'
import { SelectChannelItem } from '../../../types/select-options-item.model'

export abstract class MyVideoPlaylistEdit extends FormReactive {
  // Declare it here to avoid errors in create template
  videoPlaylistToUpdate: VideoPlaylist
  channels: SelectChannelItem[] = []
  videoPlaylistPrivacies: ConstantLabel<VideoPlaylistPrivacyType>[] = []

  abstract isCreation (): boolean
  abstract getFormButtonTitle (): string
  abstract isEditor (): boolean
}