X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fmodels%2Fvideos%2Fvideo-file.model.ts;h=28fce0aaf2187c6ae98b0631f7a034603c2fe966;hb=c4fa01f7c45b66b112ebd08abce744b7c4041feb;hp=cbef05ac07634ae02a586c156e0a971c8c03cedc;hpb=583eb04b541175035d6d452ca626a96ebf2b7437;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/models/videos/video-file.model.ts b/shared/models/videos/video-file.model.ts index cbef05ac0..28fce0aaf 100644 --- a/shared/models/videos/video-file.model.ts +++ b/shared/models/videos/video-file.model.ts @@ -1,15 +1,21 @@ - -import { VideoConstant, VideoFileMetadata, VideoResolution } from '@shared/models' +import { VideoConstant } from './video-constant.model' +import { VideoFileMetadata } from './video-file-metadata.model' +import { VideoResolution } from './video-resolution.enum' export interface VideoFile { - magnetUri: string resolution: VideoConstant size: number // Bytes + torrentUrl: string torrentDownloadUrl: string + fileUrl: string fileDownloadUrl: string + fps: number + metadata?: VideoFileMetadata metadataUrl?: string + + magnetUri: string | null }