diff options
author | Chocobozzz <me@florianbigard.com> | 2022-07-29 11:32:46 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-07-29 11:33:27 +0200 |
commit | 12d84abeca4917d2f1e3f308010bfcd56d37cb7c (patch) | |
tree | 95c6b42ed4af5fa81afd2f8ff0d6520bcbf9bd48 /shared/models/videos | |
parent | 5a9a56b78f6a62b3241f0dff1b8685001a3b3a1d (diff) | |
download | PeerTube-12d84abeca4917d2f1e3f308010bfcd56d37cb7c.tar.gz PeerTube-12d84abeca4917d2f1e3f308010bfcd56d37cb7c.tar.zst PeerTube-12d84abeca4917d2f1e3f308010bfcd56d37cb7c.zip |
Include video file id in API
Diffstat (limited to 'shared/models/videos')
-rw-r--r-- | shared/models/videos/file/video-file.model.ts | 2 |
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' | |||
3 | import { VideoResolution } from './video-resolution.enum' | 3 | import { VideoResolution } from './video-resolution.enum' |
4 | 4 | ||
5 | export interface VideoFile { | 5 | export interface VideoFile { |
6 | id: number | ||
7 | |||
6 | resolution: VideoConstant<VideoResolution> | 8 | resolution: VideoConstant<VideoResolution> |
7 | size: number // Bytes | 9 | size: number // Bytes |
8 | 10 | ||