]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-edit.ts
Add ability to set a public to private in client
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-video-playlists / my-account-video-playlist-edit.ts
CommitLineData
830b4faf 1import { FormReactive } from '@app/shared'
830b4faf 2import { VideoPlaylist } from '@shared/models/videos/playlist/video-playlist.model'
851f5daa 3import { VideoConstant, VideoPlaylistPrivacy } from '@shared/models'
830b4faf
C
4
5export abstract class MyAccountVideoPlaylistEdit extends FormReactive {
6 // Declare it here to avoid errors in create template
7 videoPlaylistToUpdate: VideoPlaylist
8 userVideoChannels: { id: number, label: string }[] = []
851f5daa 9 videoPlaylistPrivacies: VideoConstant<VideoPlaylistPrivacy>[] = []
830b4faf
C
10
11 abstract isCreation (): boolean
12 abstract getFormButtonTitle (): string
13}