aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models')
-rw-r--r--shared/models/activitypub/objects/video-torrent-object.ts1
-rw-r--r--shared/models/videos/video-create.model.ts1
-rw-r--r--shared/models/videos/video-update.model.ts1
-rw-r--r--shared/models/videos/video.model.ts1
4 files changed, 4 insertions, 0 deletions
diff --git a/shared/models/activitypub/objects/video-torrent-object.ts b/shared/models/activitypub/objects/video-torrent-object.ts
index 4231fbb68..239822bc4 100644
--- a/shared/models/activitypub/objects/video-torrent-object.ts
+++ b/shared/models/activitypub/objects/video-torrent-object.ts
@@ -25,6 +25,7 @@ export interface VideoTorrentObject {
25 waitTranscoding: boolean 25 waitTranscoding: boolean
26 state: VideoState 26 state: VideoState
27 published: string 27 published: string
28 originallyPublishedAt: string
28 updated: string 29 updated: string
29 mediaType: 'text/markdown' 30 mediaType: 'text/markdown'
30 content: string 31 content: string
diff --git a/shared/models/videos/video-create.model.ts b/shared/models/videos/video-create.model.ts
index f153a1d00..53631bf79 100644
--- a/shared/models/videos/video-create.model.ts
+++ b/shared/models/videos/video-create.model.ts
@@ -16,4 +16,5 @@ export interface VideoCreate {
16 downloadEnabled?: boolean 16 downloadEnabled?: boolean
17 privacy: VideoPrivacy 17 privacy: VideoPrivacy
18 scheduleUpdate?: VideoScheduleUpdate 18 scheduleUpdate?: VideoScheduleUpdate
19 originallyPublishedAt: Date | string
19} 20}
diff --git a/shared/models/videos/video-update.model.ts b/shared/models/videos/video-update.model.ts
index 6f96633ae..4ef904156 100644
--- a/shared/models/videos/video-update.model.ts
+++ b/shared/models/videos/video-update.model.ts
@@ -18,4 +18,5 @@ export interface VideoUpdate {
18 thumbnailfile?: Blob 18 thumbnailfile?: Blob
19 previewfile?: Blob 19 previewfile?: Blob
20 scheduleUpdate?: VideoScheduleUpdate 20 scheduleUpdate?: VideoScheduleUpdate
21 originallyPublishedAt?: Date | string
21} 22}
diff --git a/shared/models/videos/video.model.ts b/shared/models/videos/video.model.ts
index 891831a9e..df800461c 100644
--- a/shared/models/videos/video.model.ts
+++ b/shared/models/videos/video.model.ts
@@ -44,6 +44,7 @@ export interface Video {
44 createdAt: Date | string 44 createdAt: Date | string
45 updatedAt: Date | string 45 updatedAt: Date | string
46 publishedAt: Date | string 46 publishedAt: Date | string
47 originallyPublishedAt: Date | string
47 category: VideoConstant<number> 48 category: VideoConstant<number>
48 licence: VideoConstant<number> 49 licence: VideoConstant<number>
49 language: VideoConstant<string> 50 language: VideoConstant<string>