Add playlist rest tests

This commit is contained in:
Chocobozzz
2019-03-05 10:58:44 +01:00
committed by Chocobozzz
parent 07b1a18aa6
commit df0b219d36
35 changed files with 1485 additions and 756 deletions

View File

@@ -0,0 +1,4 @@
export enum VideoPlaylistType {
REGULAR = 1,
WATCH_LATER = 2
}

View File

@@ -1,6 +1,7 @@
import { AccountSummary } from '../../actors/index'
import { VideoChannelSummary, VideoConstant } from '..'
import { VideoPlaylistPrivacy } from './video-playlist-privacy.model'
import { VideoPlaylistType } from './video-playlist-type.model'
export interface VideoPlaylist {
id: number
@@ -15,6 +16,8 @@ export interface VideoPlaylist {
videosLength: number
type: VideoConstant<VideoPlaylistType>
createdAt: Date | string
updatedAt: Date | string