diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-10-30 10:16:27 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-10-30 10:16:27 +0100 |
commit | 9567011bf01f36c7f796ac1e0f1fb12c71635e53 (patch) | |
tree | bec3ed173767cff031ed0a84231d6dd50e792569 /shared | |
parent | 757f0da370a992cf07afd20d3829b2748c76cc15 (diff) | |
download | PeerTube-9567011bf01f36c7f796ac1e0f1fb12c71635e53.tar.gz PeerTube-9567011bf01f36c7f796ac1e0f1fb12c71635e53.tar.zst PeerTube-9567011bf01f36c7f796ac1e0f1fb12c71635e53.zip |
Add lazy description on server
Diffstat (limited to 'shared')
3 files changed, 3 insertions, 2 deletions
diff --git a/shared/models/pods/remote-video/remote-video-create-request.model.ts b/shared/models/pods/remote-video/remote-video-create-request.model.ts index e00e81214..cb20dfa03 100644 --- a/shared/models/pods/remote-video/remote-video-create-request.model.ts +++ b/shared/models/pods/remote-video/remote-video-create-request.model.ts | |||
@@ -9,7 +9,7 @@ export interface RemoteVideoCreateData { | |||
9 | licence: number | 9 | licence: number |
10 | language: number | 10 | language: number |
11 | nsfw: boolean | 11 | nsfw: boolean |
12 | description: string | 12 | truncatedDescription: string |
13 | duration: number | 13 | duration: number |
14 | createdAt: Date | 14 | createdAt: Date |
15 | updatedAt: Date | 15 | updatedAt: Date |
diff --git a/shared/models/pods/remote-video/remote-video-update-request.model.ts b/shared/models/pods/remote-video/remote-video-update-request.model.ts index 90c42fc28..8439cfa24 100644 --- a/shared/models/pods/remote-video/remote-video-update-request.model.ts +++ b/shared/models/pods/remote-video/remote-video-update-request.model.ts | |||
@@ -8,7 +8,7 @@ export interface RemoteVideoUpdateData { | |||
8 | licence: number | 8 | licence: number |
9 | language: number | 9 | language: number |
10 | nsfw: boolean | 10 | nsfw: boolean |
11 | description: string | 11 | truncatedDescription: string |
12 | duration: number | 12 | duration: number |
13 | createdAt: Date | 13 | createdAt: Date |
14 | updatedAt: Date | 14 | updatedAt: Date |
diff --git a/shared/models/videos/video.model.ts b/shared/models/videos/video.model.ts index 32463933d..1490d345c 100644 --- a/shared/models/videos/video.model.ts +++ b/shared/models/videos/video.model.ts | |||
@@ -37,6 +37,7 @@ export interface Video { | |||
37 | } | 37 | } |
38 | 38 | ||
39 | export interface VideoDetails extends Video { | 39 | export interface VideoDetails extends Video { |
40 | descriptionPath: string, | ||
40 | channel: VideoChannel | 41 | channel: VideoChannel |
41 | files: VideoFile[] | 42 | files: VideoFile[] |
42 | } | 43 | } |