diff options
Diffstat (limited to 'client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-edit.ts')
-rw-r--r-- | client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-edit.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-edit.ts b/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-edit.ts index 7ae8de75e..94a0f6168 100644 --- a/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-edit.ts +++ b/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-edit.ts | |||
@@ -1,11 +1,12 @@ | |||
1 | import { FormReactive } from '@app/shared/shared-forms' | 1 | import { FormReactive } from '@app/shared/shared-forms' |
2 | import { SelectChannelItem } from '@app/shared/shared-forms/select-channel.component' | ||
2 | import { VideoConstant, VideoPlaylistPrivacy } from '@shared/models' | 3 | import { VideoConstant, VideoPlaylistPrivacy } from '@shared/models' |
3 | import { VideoPlaylist } from '@shared/models/videos/playlist/video-playlist.model' | 4 | import { VideoPlaylist } from '@shared/models/videos/playlist/video-playlist.model' |
4 | 5 | ||
5 | export abstract class MyAccountVideoPlaylistEdit extends FormReactive { | 6 | export abstract class MyAccountVideoPlaylistEdit extends FormReactive { |
6 | // Declare it here to avoid errors in create template | 7 | // Declare it here to avoid errors in create template |
7 | videoPlaylistToUpdate: VideoPlaylist | 8 | videoPlaylistToUpdate: VideoPlaylist |
8 | userVideoChannels: { id: number, label: string }[] = [] | 9 | userVideoChannels: SelectChannelItem[] = [] |
9 | videoPlaylistPrivacies: VideoConstant<VideoPlaylistPrivacy>[] = [] | 10 | videoPlaylistPrivacies: VideoConstant<VideoPlaylistPrivacy>[] = [] |
10 | 11 | ||
11 | abstract isCreation (): boolean | 12 | abstract isCreation (): boolean |