diff options
author | clementbrizard <clementbrizard53@gmail.com> | 2019-01-12 13:41:45 +0000 |
---|---|---|
committer | clementbrizard <clementbrizard53@gmail.com> | 2019-01-12 13:41:45 +0000 |
commit | c80341655fce5e70ad6da7d812e2ddeb1f8ef7f2 (patch) | |
tree | 9f0415756552c5e4d4b18aee50bccbfaa75dd4c3 /shared/models | |
parent | 94a680c095b3007179820ac091189f639dd39e6b (diff) | |
download | PeerTube-c80341655fce5e70ad6da7d812e2ddeb1f8ef7f2.tar.gz PeerTube-c80341655fce5e70ad6da7d812e2ddeb1f8ef7f2.tar.zst PeerTube-c80341655fce5e70ad6da7d812e2ddeb1f8ef7f2.zip |
Change models
Diffstat (limited to 'shared/models')
-rw-r--r-- | shared/models/activitypub/objects/video-torrent-object.ts | 1 | ||||
-rw-r--r-- | shared/models/videos/video-create.model.ts | 1 | ||||
-rw-r--r-- | shared/models/videos/video-update.model.ts | 1 | ||||
-rw-r--r-- | shared/models/videos/video.model.ts | 1 |
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 8504c178f..df07507b4 100644 --- a/shared/models/activitypub/objects/video-torrent-object.ts +++ b/shared/models/activitypub/objects/video-torrent-object.ts | |||
@@ -24,6 +24,7 @@ export interface VideoTorrentObject { | |||
24 | waitTranscoding: boolean | 24 | waitTranscoding: boolean |
25 | state: VideoState | 25 | state: VideoState |
26 | published: string | 26 | published: string |
27 | originallyPublishedAt: string | ||
27 | updated: string | 28 | updated: string |
28 | mediaType: 'text/markdown' | 29 | mediaType: 'text/markdown' |
29 | content: string | 30 | content: string |
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> |