]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+video-channels/video-channel-edit/video-channel-edit.ts
give admins access to edit all channels
[github/Chocobozzz/PeerTube.git] / client / src / app / +video-channels / video-channel-edit / video-channel-edit.ts
CommitLineData
67ed6552
C
1import { FormReactive } from '@app/shared/shared-forms'
2import { VideoChannel } from '@app/shared/shared-main'
08c1efbe 3
17119e4a 4export abstract class MyVideoChannelEdit extends FormReactive {
27ec473f 5 videoChannel: VideoChannel
e1807a94 6
08c1efbe
C
7 abstract isCreation (): boolean
8 abstract getFormButtonTitle (): string
2fbe7f19 9
17119e4a
C
10 get instanceHost () {
11 return window.location.host
12 }
13
1e66b987
C
14 // Should be implemented by the child
15 isBulkUpdateVideosDisplayed () {
16 return false
17 }
08c1efbe 18}