mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-05-16 20:02:40 +00:00
338633ce72
They can prevent tree shaking
19 lines
487 B
TypeScript
19 lines
487 B
TypeScript
import { FormReactive } from '@app/shared/shared-forms/form-reactive'
|
|
import { VideoChannel } from '@app/shared/shared-main/video-channel/video-channel.model'
|
|
|
|
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
|
|
}
|
|
}
|