aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+manage/video-channel-edit/video-channel-edit.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+manage/video-channel-edit/video-channel-edit.ts')
-rw-r--r--client/src/app/+manage/video-channel-edit/video-channel-edit.ts18
1 files changed, 18 insertions, 0 deletions
diff --git a/client/src/app/+manage/video-channel-edit/video-channel-edit.ts b/client/src/app/+manage/video-channel-edit/video-channel-edit.ts
new file mode 100644
index 000000000..963b4cbbe
--- /dev/null
+++ b/client/src/app/+manage/video-channel-edit/video-channel-edit.ts
@@ -0,0 +1,18 @@
1import { FormReactive } from '@app/shared/shared-forms'
2import { VideoChannel } from '@app/shared/shared-main'
3
4export abstract class VideoChannelEdit extends FormReactive {
5 videoChannel: VideoChannel
6
7 abstract isCreation (): boolean
8 abstract getFormButtonTitle (): string
9
10 get instanceHost () {
11 return window.location.host
12 }
13
14 // Should be implemented by the child
15 isBulkUpdateVideosDisplayed () {
16 return false
17 }
18}