aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos
diff options
context:
space:
mode:
authorclementbrizard <clementbrizard53@gmail.com>2019-01-12 13:41:45 +0000
committerclementbrizard <clementbrizard53@gmail.com>2019-01-12 13:41:45 +0000
commitc80341655fce5e70ad6da7d812e2ddeb1f8ef7f2 (patch)
tree9f0415756552c5e4d4b18aee50bccbfaa75dd4c3 /shared/models/videos
parent94a680c095b3007179820ac091189f639dd39e6b (diff)
downloadPeerTube-c80341655fce5e70ad6da7d812e2ddeb1f8ef7f2.tar.gz
PeerTube-c80341655fce5e70ad6da7d812e2ddeb1f8ef7f2.tar.zst
PeerTube-c80341655fce5e70ad6da7d812e2ddeb1f8ef7f2.zip
Change models
Diffstat (limited to 'shared/models/videos')
-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
3 files changed, 3 insertions, 0 deletions
diff --git a/shared/models/videos/video-create.model.ts b/shared/models/videos/video-create.model.ts
index 190d63783..392bd1025 100644
--- a/shared/models/videos/video-create.model.ts
+++ b/shared/models/videos/video-create.model.ts
@@ -15,4 +15,5 @@ export interface VideoCreate {
15 commentsEnabled?: boolean 15 commentsEnabled?: boolean
16 privacy: VideoPrivacy 16 privacy: VideoPrivacy
17 scheduleUpdate?: VideoScheduleUpdate 17 scheduleUpdate?: VideoScheduleUpdate
18 originallyPublishedAt: Date | string
18} 19}
diff --git a/shared/models/videos/video-update.model.ts b/shared/models/videos/video-update.model.ts
index ed141a824..62e02e079 100644
--- a/shared/models/videos/video-update.model.ts
+++ b/shared/models/videos/video-update.model.ts
@@ -17,4 +17,5 @@ export interface VideoUpdate {
17 thumbnailfile?: Blob 17 thumbnailfile?: Blob
18 previewfile?: Blob 18 previewfile?: Blob
19 scheduleUpdate?: VideoScheduleUpdate 19 scheduleUpdate?: VideoScheduleUpdate
20 originallyPublishedAt?: Date | string
20} 21}
diff --git a/shared/models/videos/video.model.ts b/shared/models/videos/video.model.ts
index 4a9fa58b1..2373ceb18 100644
--- a/shared/models/videos/video.model.ts
+++ b/shared/models/videos/video.model.ts
@@ -43,6 +43,7 @@ export interface Video {
43 createdAt: Date | string 43 createdAt: Date | string
44 updatedAt: Date | string 44 updatedAt: Date | string
45 publishedAt: Date | string 45 publishedAt: Date | string
46 originallyPublishedAt: Date | string
46 category: VideoConstant<number> 47 category: VideoConstant<number>
47 licence: VideoConstant<number> 48 licence: VideoConstant<number>
48 language: VideoConstant<string> 49 language: VideoConstant<string>