]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - 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
CommitLineData
ad5db104 1import { VideoConstant } from '../video-constant.model'
2b02c520 2import { VideoFileMetadata } from './video-file-metadata.model'
0fecf427 3import { VideoResolution } from './video-resolution.enum'
d7a25329
C
4
5export interface VideoFile {
12d84abe
C
6 id: number
7
d7a25329
C
8 resolution: VideoConstant<VideoResolution>
9 size: number // Bytes
90a8bd30 10
d7a25329
C
11 torrentUrl: string
12 torrentDownloadUrl: string
90a8bd30 13
d7a25329
C
14 fileUrl: string
15 fileDownloadUrl: string
90a8bd30 16
d7a25329 17 fps: number
90a8bd30 18
583eb04b 19 metadata?: VideoFileMetadata
8319d6ae 20 metadataUrl?: string
90a8bd30 21
f66db4d5 22 magnetUri: string | null
d7a25329 23}