diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-03 09:27:30 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-06 11:19:16 +0200 |
commit | d7f83948a1af0ef3bed61f83e87e826902c96f7d (patch) | |
tree | d22177bcbf22aeb054960372a6bc39bea6077692 /shared/models/videos/video-import.model.ts | |
parent | ed31c059851a30bd5ba9999f8ecb3822d576b9f4 (diff) | |
download | PeerTube-d7f83948a1af0ef3bed61f83e87e826902c96f7d.tar.gz PeerTube-d7f83948a1af0ef3bed61f83e87e826902c96f7d.tar.zst PeerTube-d7f83948a1af0ef3bed61f83e87e826902c96f7d.zip |
Correctly handle video import errors
Diffstat (limited to 'shared/models/videos/video-import.model.ts')
-rw-r--r-- | shared/models/videos/video-import.model.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/models/videos/video-import.model.ts b/shared/models/videos/video-import.model.ts index b23e6b245..c8dea0246 100644 --- a/shared/models/videos/video-import.model.ts +++ b/shared/models/videos/video-import.model.ts | |||
@@ -3,10 +3,12 @@ import { VideoConstant } from './video-constant.model' | |||
3 | import { VideoImportState } from '../../index' | 3 | import { VideoImportState } from '../../index' |
4 | 4 | ||
5 | export interface VideoImport { | 5 | export interface VideoImport { |
6 | id: number | ||
6 | targetUrl: string | 7 | targetUrl: string |
7 | createdAt: string | 8 | createdAt: string |
8 | updatedAt: string | 9 | updatedAt: string |
9 | state: VideoConstant<VideoImportState> | 10 | state: VideoConstant<VideoImportState> |
11 | error?: string | ||
10 | 12 | ||
11 | video?: Video & { tags: string[] } | 13 | video?: Video & { tags: string[] } |
12 | } | 14 | } |