aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/+manage/video-channel-edit/video-channel-edit.ts
blob: 963b4cbbe24f5962e43fe24a57d8d1db9dc7d668 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                       
 
                                                             
                            
 

                                        
 



                               



                                       
 
import { FormReactive } from '@app/shared/shared-forms'
import { VideoChannel } from '@app/shared/shared-main'

export abstract class VideoChannelEdit extends FormReactive {
  videoChannel: VideoChannel

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

  get instanceHost () {
    return window.location.host
  }

  // Should be implemented by the child
  isBulkUpdateVideosDisplayed () {
    return false
  }
}