]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - shared/models/videos/file/video-file.model.ts
Include video file id in API
[github/Chocobozzz/PeerTube.git] / shared / models / videos / file / video-file.model.ts
1 import { VideoConstant } from '../video-constant.model'
2 import { VideoFileMetadata } from './video-file-metadata.model'
3 import { VideoResolution } from './video-resolution.enum'
4
5 export interface VideoFile {
6 id: number
7
8 resolution: VideoConstant<VideoResolution>
9 size: number // Bytes
10
11 torrentUrl: string
12 torrentDownloadUrl: string
13
14 fileUrl: string
15 fileDownloadUrl: string
16
17 fps: number
18
19 metadata?: VideoFileMetadata
20 metadataUrl?: string
21
22 magnetUri: string | null
23 }