From f713f36bdf6f696ab0fe8a309035a09e864a48ca Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 14 Nov 2022 12:06:31 +0100 Subject: Federate entire description Introduce an explicit field truncatedDescription description in video list is deprecated description in video get will contain the entire description --- shared/models/videos/video.model.ts | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'shared') 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 { licence: VideoConstant language: VideoConstant privacy: VideoConstant + + // Deprecated in 5.0 in favour of truncatedDescription description: string + truncatedDescription: string + duration: number isLocal: boolean name: string @@ -70,7 +74,9 @@ export interface Video { } export interface VideoDetails extends Video { + // Deprecated in 5.0 descriptionPath: string + support: string channel: VideoChannel account: Account -- cgit v1.2.3