diff options
author | Chocobozzz <me@florianbigard.com> | 2022-11-14 12:06:31 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-11-14 13:03:54 +0100 |
commit | f713f36bdf6f696ab0fe8a309035a09e864a48ca (patch) | |
tree | 3135c3a51fec3f1add56ff0ed559a5c9c499914a /client/src/app/shared | |
parent | 44e702ded455c118f9908b70d25e7c7e5512abe9 (diff) | |
download | PeerTube-f713f36bdf6f696ab0fe8a309035a09e864a48ca.tar.gz PeerTube-f713f36bdf6f696ab0fe8a309035a09e864a48ca.tar.zst PeerTube-f713f36bdf6f696ab0fe8a309035a09e864a48ca.zip |
Federate entire description
Introduce an explicit field truncatedDescription
description in video list is deprecated
description in video get will contain the entire description
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/shared-main/video/video.model.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client/src/app/shared/shared-main/video/video.model.ts b/client/src/app/shared/shared-main/video/video.model.ts index c9c6b979c..6fdffb394 100644 --- a/client/src/app/shared/shared-main/video/video.model.ts +++ b/client/src/app/shared/shared-main/video/video.model.ts | |||
@@ -34,6 +34,7 @@ export class Video implements VideoServerModel { | |||
34 | language: VideoConstant<string> | 34 | language: VideoConstant<string> |
35 | privacy: VideoConstant<VideoPrivacy> | 35 | privacy: VideoConstant<VideoPrivacy> |
36 | 36 | ||
37 | truncatedDescription: string | ||
37 | description: string | 38 | description: string |
38 | 39 | ||
39 | duration: number | 40 | duration: number |
@@ -134,6 +135,8 @@ export class Video implements VideoServerModel { | |||
134 | this.privacy = hash.privacy | 135 | this.privacy = hash.privacy |
135 | this.waitTranscoding = hash.waitTranscoding | 136 | this.waitTranscoding = hash.waitTranscoding |
136 | this.state = hash.state | 137 | this.state = hash.state |
138 | |||
139 | this.truncatedDescription = hash.truncatedDescription | ||
137 | this.description = hash.description | 140 | this.description = hash.description |
138 | 141 | ||
139 | this.isLive = hash.isLive | 142 | this.isLive = hash.isLive |