aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos/video-import.model.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-08-02 17:48:50 +0200
committerChocobozzz <me@florianbigard.com>2018-08-06 11:19:16 +0200
commited31c059851a30bd5ba9999f8ecb3822d576b9f4 (patch)
tree7923ef7891ae9fd26965c3004bd75e736f0fedd0 /shared/models/videos/video-import.model.ts
parent299474e8279675adb6c5ce140e7e39c6f3439453 (diff)
downloadPeerTube-ed31c059851a30bd5ba9999f8ecb3822d576b9f4.tar.gz
PeerTube-ed31c059851a30bd5ba9999f8ecb3822d576b9f4.tar.zst
PeerTube-ed31c059851a30bd5ba9999f8ecb3822d576b9f4.zip
Add ability to list video imports
Diffstat (limited to 'shared/models/videos/video-import.model.ts')
-rw-r--r--shared/models/videos/video-import.model.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/shared/models/videos/video-import.model.ts b/shared/models/videos/video-import.model.ts
index 858108599..b23e6b245 100644
--- a/shared/models/videos/video-import.model.ts
+++ b/shared/models/videos/video-import.model.ts
@@ -1,7 +1,12 @@
1import { Video } from './video.model' 1import { Video } from './video.model'
2import { VideoConstant } from './video-constant.model'
3import { VideoImportState } from '../../index'
2 4
3export interface VideoImport { 5export interface VideoImport {
4 targetUrl: string 6 targetUrl: string
7 createdAt: string
8 updatedAt: string
9 state: VideoConstant<VideoImportState>
5 10
6 video: Video & { tags: string[] } 11 video?: Video & { tags: string[] }
7} 12}