diff options
Diffstat (limited to 'shared/models')
3 files changed, 6 insertions, 4 deletions
diff --git a/shared/models/videos/playlist/video-playlist-create.model.ts b/shared/models/videos/playlist/video-playlist-create.model.ts index 386acbb96..67a33fa35 100644 --- a/shared/models/videos/playlist/video-playlist-create.model.ts +++ b/shared/models/videos/playlist/video-playlist-create.model.ts | |||
@@ -2,10 +2,10 @@ import { VideoPlaylistPrivacy } from './video-playlist-privacy.model' | |||
2 | 2 | ||
3 | export interface VideoPlaylistCreate { | 3 | export interface VideoPlaylistCreate { |
4 | displayName: string | 4 | displayName: string |
5 | description: string | ||
6 | privacy: VideoPlaylistPrivacy | 5 | privacy: VideoPlaylistPrivacy |
7 | 6 | ||
7 | description?: string | ||
8 | videoChannelId?: number | 8 | videoChannelId?: number |
9 | 9 | ||
10 | thumbnailfile?: Blob | 10 | thumbnailfile?: any |
11 | } | 11 | } |
diff --git a/shared/models/videos/playlist/video-playlist-element-create.model.ts b/shared/models/videos/playlist/video-playlist-element-create.model.ts index 9bd56a8ca..c31702892 100644 --- a/shared/models/videos/playlist/video-playlist-element-create.model.ts +++ b/shared/models/videos/playlist/video-playlist-element-create.model.ts | |||
@@ -1,4 +1,6 @@ | |||
1 | export interface VideoPlaylistElementCreate { | 1 | export interface VideoPlaylistElementCreate { |
2 | videoId: number | ||
3 | |||
2 | startTimestamp?: number | 4 | startTimestamp?: number |
3 | stopTimestamp?: number | 5 | stopTimestamp?: number |
4 | } | 6 | } |
diff --git a/shared/models/videos/playlist/video-playlist-update.model.ts b/shared/models/videos/playlist/video-playlist-update.model.ts index c7a15c550..0ff5bcb0f 100644 --- a/shared/models/videos/playlist/video-playlist-update.model.ts +++ b/shared/models/videos/playlist/video-playlist-update.model.ts | |||
@@ -2,9 +2,9 @@ import { VideoPlaylistPrivacy } from './video-playlist-privacy.model' | |||
2 | 2 | ||
3 | export interface VideoPlaylistUpdate { | 3 | export interface VideoPlaylistUpdate { |
4 | displayName: string | 4 | displayName: string |
5 | description: string | ||
6 | privacy: VideoPlaylistPrivacy | 5 | privacy: VideoPlaylistPrivacy |
7 | 6 | ||
7 | description?: string | ||
8 | videoChannelId?: number | 8 | videoChannelId?: number |
9 | thumbnailfile?: Blob | 9 | thumbnailfile?: any |
10 | } | 10 | } |