PeerTube/shared/models/videos/video.model.ts

34 lines
602 B
TypeScript
Raw Normal View History

export interface VideoFile {
magnetUri: string
resolution: number
resolutionLabel: string
size: number // Bytes
}
2017-06-10 15:15:25 -05:00
export interface Video {
id: number
uuid: string
2017-06-11 04:02:35 -05:00
author: string
createdAt: Date
2017-09-12 05:53:55 -05:00
updatedAt: Date
2017-06-11 04:02:35 -05: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 04:56:02 -05:00
previewPath: string
2017-06-11 04:02:35 -05:00
views: number
likes: number
dislikes: number
nsfw: boolean
files: VideoFile[]
2017-06-10 15:15:25 -05:00
}