diff options
author | Chocobozzz <me@florianbigard.com> | 2018-03-19 11:04:40 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-03-19 11:04:40 +0100 |
commit | 09700934b90e2ac7b1b9ed1694d9d4d52735e2e1 (patch) | |
tree | 29ea9512fa34676a7194e9cb37d912b38266c9cc /shared/models/videos/video.model.ts | |
parent | ae5a3dd6642c8d5abc87b874496026dc9ed37d2d (diff) | |
download | PeerTube-09700934b90e2ac7b1b9ed1694d9d4d52735e2e1.tar.gz PeerTube-09700934b90e2ac7b1b9ed1694d9d4d52735e2e1.tar.zst PeerTube-09700934b90e2ac7b1b9ed1694d9d4d52735e2e1.zip |
BEARKING CHANGE: Update videos API response
before beta
Diffstat (limited to 'shared/models/videos/video.model.ts')
-rw-r--r-- | shared/models/videos/video.model.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shared/models/videos/video.model.ts b/shared/models/videos/video.model.ts index 6a096195f..ebd2813ca 100644 --- a/shared/models/videos/video.model.ts +++ b/shared/models/videos/video.model.ts | |||
@@ -1,3 +1,4 @@ | |||
1 | import { VideoResolution } from '../../index' | ||
1 | import { Account } from '../actors' | 2 | import { Account } from '../actors' |
2 | import { Avatar } from '../avatars/avatar.model' | 3 | import { Avatar } from '../avatars/avatar.model' |
3 | import { VideoChannel } from './video-channel.model' | 4 | import { VideoChannel } from './video-channel.model' |
@@ -10,7 +11,7 @@ export interface VideoConstant <T> { | |||
10 | 11 | ||
11 | export interface VideoFile { | 12 | export interface VideoFile { |
12 | magnetUri: string | 13 | magnetUri: string |
13 | resolution: VideoConstant<number> | 14 | resolution: VideoConstant<VideoResolution> |
14 | size: number // Bytes | 15 | size: number // Bytes |
15 | torrentUrl: string | 16 | torrentUrl: string |
16 | fileUrl: string | 17 | fileUrl: string |