diff options
author | Chocobozzz <me@florianbigard.com> | 2020-08-20 16:18:16 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-08-21 15:39:51 +0200 |
commit | 7294aab0c879ef96c0fde15c389a2c4c1463d3c7 (patch) | |
tree | bad1176720ee04266eba5470e9956e3a7871e349 /shared/models/videos | |
parent | f95628636b6ccdf3eae2449ca718e075b072f678 (diff) | |
download | PeerTube-7294aab0c879ef96c0fde15c389a2c4c1463d3c7.tar.gz PeerTube-7294aab0c879ef96c0fde15c389a2c4c1463d3c7.tar.zst PeerTube-7294aab0c879ef96c0fde15c389a2c4c1463d3c7.zip |
Add ability to set custom field to video form
Diffstat (limited to 'shared/models/videos')
-rw-r--r-- | shared/models/videos/video-update.model.ts | 2 | ||||
-rw-r--r-- | shared/models/videos/video.model.ts | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/shared/models/videos/video-update.model.ts b/shared/models/videos/video-update.model.ts index 4ef904156..86653b959 100644 --- a/shared/models/videos/video-update.model.ts +++ b/shared/models/videos/video-update.model.ts | |||
@@ -19,4 +19,6 @@ export interface VideoUpdate { | |||
19 | previewfile?: Blob | 19 | previewfile?: Blob |
20 | scheduleUpdate?: VideoScheduleUpdate | 20 | scheduleUpdate?: VideoScheduleUpdate |
21 | originallyPublishedAt?: Date | string | 21 | originallyPublishedAt?: Date | string |
22 | |||
23 | pluginData?: any | ||
22 | } | 24 | } |
diff --git a/shared/models/videos/video.model.ts b/shared/models/videos/video.model.ts index 557e66e09..158ee8f05 100644 --- a/shared/models/videos/video.model.ts +++ b/shared/models/videos/video.model.ts | |||
@@ -53,6 +53,8 @@ export interface Video { | |||
53 | userHistory?: { | 53 | userHistory?: { |
54 | currentTime: number | 54 | currentTime: number |
55 | } | 55 | } |
56 | |||
57 | pluginData?: any | ||
56 | } | 58 | } |
57 | 59 | ||
58 | export interface VideoDetails extends Video { | 60 | export interface VideoDetails extends Video { |