aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-07-29 11:32:46 +0200
committerChocobozzz <me@florianbigard.com>2022-07-29 11:33:27 +0200
commit12d84abeca4917d2f1e3f308010bfcd56d37cb7c (patch)
tree95c6b42ed4af5fa81afd2f8ff0d6520bcbf9bd48 /shared/models
parent5a9a56b78f6a62b3241f0dff1b8685001a3b3a1d (diff)
downloadPeerTube-12d84abeca4917d2f1e3f308010bfcd56d37cb7c.tar.gz
PeerTube-12d84abeca4917d2f1e3f308010bfcd56d37cb7c.tar.zst
PeerTube-12d84abeca4917d2f1e3f308010bfcd56d37cb7c.zip
Include video file id in API
Diffstat (limited to 'shared/models')
-rw-r--r--shared/models/videos/file/video-file.model.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/models/videos/file/video-file.model.ts b/shared/models/videos/file/video-file.model.ts
index 0ea857e7a..2bbff48eb 100644
--- a/shared/models/videos/file/video-file.model.ts
+++ b/shared/models/videos/file/video-file.model.ts
@@ -3,6 +3,8 @@ import { VideoFileMetadata } from './video-file-metadata.model'
3import { VideoResolution } from './video-resolution.enum' 3import { VideoResolution } from './video-resolution.enum'
4 4
5export interface VideoFile { 5export interface VideoFile {
6 id: number
7
6 resolution: VideoConstant<VideoResolution> 8 resolution: VideoConstant<VideoResolution>
7 size: number // Bytes 9 size: number // Bytes
8 10