aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-02-28 11:14:26 +0100
committerChocobozzz <chocobozzz@cpy.re>2019-03-18 11:17:59 +0100
commit07b1a18aa678d260009a93e36606c5c5f585723d (patch)
tree27a399fa0f7a29a7ac1d7d7cf077a24ea6ee39de /shared/models
parent418d092afa81e2c8fe8ac6838fc4b5eb0af6a782 (diff)
downloadPeerTube-07b1a18aa678d260009a93e36606c5c5f585723d.tar.gz
PeerTube-07b1a18aa678d260009a93e36606c5c5f585723d.tar.zst
PeerTube-07b1a18aa678d260009a93e36606c5c5f585723d.zip
Add playlist check param tests
Diffstat (limited to 'shared/models')
-rw-r--r--shared/models/videos/playlist/video-playlist-create.model.ts4
-rw-r--r--shared/models/videos/playlist/video-playlist-element-create.model.ts2
-rw-r--r--shared/models/videos/playlist/video-playlist-update.model.ts4
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
3export interface VideoPlaylistCreate { 3export 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 @@
1export interface VideoPlaylistElementCreate { 1export 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
3export interface VideoPlaylistUpdate { 3export 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}