]>
Commit | Line | Data |
---|---|---|
1 | import { FormReactive } from '@app/shared/shared-forms' | |
2 | import { VideoConstant, VideoPlaylistPrivacy } from '@shared/models' | |
3 | import { VideoPlaylist } from '@shared/models/videos/playlist/video-playlist.model' | |
4 | import { SelectChannelItem } from '../../../types/select-options-item.model' | |
5 | ||
6 | export abstract class MyVideoPlaylistEdit extends FormReactive { | |
7 | // Declare it here to avoid errors in create template | |
8 | videoPlaylistToUpdate: VideoPlaylist | |
9 | userVideoChannels: SelectChannelItem[] = [] | |
10 | videoPlaylistPrivacies: VideoConstant<VideoPlaylistPrivacy>[] = [] | |
11 | ||
12 | abstract isCreation (): boolean | |
13 | abstract getFormButtonTitle (): string | |
14 | } |