diff options
author | Lucas Declercq <lucas.declercq@ineat-conseil.fr> | 2018-10-08 14:45:22 +0200 |
---|---|---|
committer | Lucas Declercq <lucas.declercq@ineat-conseil.fr> | 2018-10-08 14:45:22 +0200 |
commit | 7f2cfe3a792856f7de6f1d13688aa3d06ec1bf70 (patch) | |
tree | 8042222877ed6dc983ff0e13ea3ec56aa1a4386a /shared/models | |
parent | 4ffdcfc63b8c804a0aea20609544c859ab57318b (diff) | |
download | PeerTube-7f2cfe3a792856f7de6f1d13688aa3d06ec1bf70.tar.gz PeerTube-7f2cfe3a792856f7de6f1d13688aa3d06ec1bf70.tar.zst PeerTube-7f2cfe3a792856f7de6f1d13688aa3d06ec1bf70.zip |
Rename downloadingEnabled property to downloadEnabled
Diffstat (limited to 'shared/models')
-rw-r--r-- | shared/models/activitypub/objects/video-torrent-object.ts | 2 | ||||
-rw-r--r-- | shared/models/videos/video-create.model.ts | 2 | ||||
-rw-r--r-- | shared/models/videos/video-update.model.ts | 2 | ||||
-rw-r--r-- | shared/models/videos/video.model.ts | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/shared/models/activitypub/objects/video-torrent-object.ts b/shared/models/activitypub/objects/video-torrent-object.ts index beb2f519e..4231fbb68 100644 --- a/shared/models/activitypub/objects/video-torrent-object.ts +++ b/shared/models/activitypub/objects/video-torrent-object.ts | |||
@@ -21,7 +21,7 @@ export interface VideoTorrentObject { | |||
21 | views: number | 21 | views: number |
22 | sensitive: boolean | 22 | sensitive: boolean |
23 | commentsEnabled: boolean, | 23 | commentsEnabled: boolean, |
24 | downloadingEnabled: boolean, | 24 | downloadEnabled: boolean, |
25 | waitTranscoding: boolean | 25 | waitTranscoding: boolean |
26 | state: VideoState | 26 | state: VideoState |
27 | published: string | 27 | published: string |
diff --git a/shared/models/videos/video-create.model.ts b/shared/models/videos/video-create.model.ts index 6e5e03e0a..f153a1d00 100644 --- a/shared/models/videos/video-create.model.ts +++ b/shared/models/videos/video-create.model.ts | |||
@@ -13,7 +13,7 @@ export interface VideoCreate { | |||
13 | name: string | 13 | name: string |
14 | tags?: string[] | 14 | tags?: string[] |
15 | commentsEnabled?: boolean | 15 | commentsEnabled?: boolean |
16 | downloadingEnabled?: boolean | 16 | downloadEnabled?: boolean |
17 | privacy: VideoPrivacy | 17 | privacy: VideoPrivacy |
18 | scheduleUpdate?: VideoScheduleUpdate | 18 | scheduleUpdate?: VideoScheduleUpdate |
19 | } | 19 | } |
diff --git a/shared/models/videos/video-update.model.ts b/shared/models/videos/video-update.model.ts index bf7a9af37..6f96633ae 100644 --- a/shared/models/videos/video-update.model.ts +++ b/shared/models/videos/video-update.model.ts | |||
@@ -11,7 +11,7 @@ export interface VideoUpdate { | |||
11 | privacy?: VideoPrivacy | 11 | privacy?: VideoPrivacy |
12 | tags?: string[] | 12 | tags?: string[] |
13 | commentsEnabled?: boolean | 13 | commentsEnabled?: boolean |
14 | downloadingEnabled?: boolean | 14 | downloadEnabled?: boolean |
15 | nsfw?: boolean | 15 | nsfw?: boolean |
16 | waitTranscoding?: boolean | 16 | waitTranscoding?: boolean |
17 | channelId?: number | 17 | channelId?: number |
diff --git a/shared/models/videos/video.model.ts b/shared/models/videos/video.model.ts index 783cd86e5..4a792fcbc 100644 --- a/shared/models/videos/video.model.ts +++ b/shared/models/videos/video.model.ts | |||
@@ -82,7 +82,7 @@ export interface VideoDetails extends Video { | |||
82 | files: VideoFile[] | 82 | files: VideoFile[] |
83 | account: Account | 83 | account: Account |
84 | commentsEnabled: boolean | 84 | commentsEnabled: boolean |
85 | downloadingEnabled: boolean | 85 | downloadEnabled: boolean |
86 | 86 | ||
87 | // Not optional in details (unlike in Video) | 87 | // Not optional in details (unlike in Video) |
88 | waitTranscoding: boolean | 88 | waitTranscoding: boolean |