mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Add playlist rest tests
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
export enum VideoPlaylistType {
|
||||
REGULAR = 1,
|
||||
WATCH_LATER = 2
|
||||
}
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user