15 lines
367 B
TypeScript
15 lines
367 B
TypeScript
|
|
import { VideoConstant, VideoFileMetadata, VideoResolution } from '@shared/models'
|
|
|
|
export interface VideoFile {
|
|
magnetUri: string
|
|
resolution: VideoConstant<VideoResolution>
|
|
size: number // Bytes
|
|
torrentUrl: string
|
|
torrentDownloadUrl: string
|
|
fileUrl: string
|
|
fileDownloadUrl: string
|
|
fps: number
|
|
metadata?: VideoFileMetadata
|
|
metadataUrl?: string
|
|
}
|