1
0
Fork 0
peertube/shared/models/videos/video.model.ts

34 lines
620 B
TypeScript
Raw Normal View History

export interface VideoFile {
magnetUri: string
resolution: number
resolutionLabel: string
size: number // Bytes
}
2017-06-10 16:15:25 -04:00
export interface Video {
id: number
uuid: string
2017-06-11 05:02:35 -04:00
author: string
createdAt: Date | string
updatedAt: Date | string
2017-06-11 05:02:35 -04:00
categoryLabel: string
category: number
licenceLabel: string
licence: number
languageLabel: string
language: number
description: string
duration: number
isLocal: boolean
name: string
podHost: string
tags: string[]
thumbnailPath: string
2017-07-12 05:56:02 -04:00
previewPath: string
2017-06-11 05:02:35 -04:00
views: number
likes: number
dislikes: number
nsfw: boolean
files: VideoFile[]
2017-06-10 16:15:25 -04:00
}