Add ability to set a public to private in client
[oweals/peertube.git] / client / src / app / +my-account / my-account-video-playlists / my-account-video-playlist-edit.ts
index 81dd9a75fe40d759f24a5276ed896e3e9ec8bc49..e9418878630ea0a458983b780489326dfa0dd4ff 100644 (file)
@@ -1,10 +1,12 @@
 import { FormReactive } from '@app/shared'
 import { VideoPlaylist } from '@shared/models/videos/playlist/video-playlist.model'
+import { VideoConstant, VideoPlaylistPrivacy } from '@shared/models'
 
 export abstract class MyAccountVideoPlaylistEdit extends FormReactive {
   // Declare it here to avoid errors in create template
   videoPlaylistToUpdate: VideoPlaylist
   userVideoChannels: { id: number, label: string }[] = []
+  videoPlaylistPrivacies: VideoConstant<VideoPlaylistPrivacy>[] = []
 
   abstract isCreation (): boolean
   abstract getFormButtonTitle (): string