aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-11-14 12:06:31 +0100
committerChocobozzz <me@florianbigard.com>2022-11-14 13:03:54 +0100
commitf713f36bdf6f696ab0fe8a309035a09e864a48ca (patch)
tree3135c3a51fec3f1add56ff0ed559a5c9c499914a /shared/models
parent44e702ded455c118f9908b70d25e7c7e5512abe9 (diff)
downloadPeerTube-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 'shared/models')
-rw-r--r--shared/models/videos/video.model.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/shared/models/videos/video.model.ts b/shared/models/videos/video.model.ts
index d9765dbd6..06ffb327c 100644
--- a/shared/models/videos/video.model.ts
+++ b/shared/models/videos/video.model.ts
@@ -20,7 +20,11 @@ export interface Video {
20 licence: VideoConstant<number> 20 licence: VideoConstant<number>
21 language: VideoConstant<string> 21 language: VideoConstant<string>
22 privacy: VideoConstant<VideoPrivacy> 22 privacy: VideoConstant<VideoPrivacy>
23
24 // Deprecated in 5.0 in favour of truncatedDescription
23 description: string 25 description: string
26 truncatedDescription: string
27
24 duration: number 28 duration: number
25 isLocal: boolean 29 isLocal: boolean
26 name: string 30 name: string
@@ -70,7 +74,9 @@ export interface Video {
70} 74}
71 75
72export interface VideoDetails extends Video { 76export interface VideoDetails extends Video {
77 // Deprecated in 5.0
73 descriptionPath: string 78 descriptionPath: string
79
74 support: string 80 support: string
75 channel: VideoChannel 81 channel: VideoChannel
76 account: Account 82 account: Account