PeerTube/client/src/app/+manage/video-channel-edit/video-channel-edit.ts

19 lines
487 B
TypeScript
Raw Normal View History

import { FormReactive } from '@app/shared/shared-forms/form-reactive'
import { VideoChannel } from '@app/shared/shared-main/video-channel/video-channel.model'
2018-04-26 16:11:38 +02:00
export abstract class VideoChannelEdit extends FormReactive {
videoChannel: VideoChannel
2018-06-29 15:22:20 +02:00
2018-04-26 16:11:38 +02:00
abstract isCreation (): boolean
abstract getFormButtonTitle (): string
2018-11-15 09:24:56 +01:00
get instanceHost () {
return window.location.host
}
// Should be implemented by the child
isBulkUpdateVideosDisplayed () {
return false
}
2018-04-26 16:11:38 +02:00
}