aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos/video-import.model.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-08-03 09:27:30 +0200
committerChocobozzz <me@florianbigard.com>2018-08-06 11:19:16 +0200
commitd7f83948a1af0ef3bed61f83e87e826902c96f7d (patch)
treed22177bcbf22aeb054960372a6bc39bea6077692 /shared/models/videos/video-import.model.ts
parented31c059851a30bd5ba9999f8ecb3822d576b9f4 (diff)
downloadPeerTube-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.ts2
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'
3import { VideoImportState } from '../../index' 3import { VideoImportState } from '../../index'
4 4
5export interface VideoImport { 5export 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}