diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-02 17:48:50 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-06 11:19:16 +0200 |
commit | ed31c059851a30bd5ba9999f8ecb3822d576b9f4 (patch) | |
tree | 7923ef7891ae9fd26965c3004bd75e736f0fedd0 /shared/models/videos/video-import.model.ts | |
parent | 299474e8279675adb6c5ce140e7e39c6f3439453 (diff) | |
download | PeerTube-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.ts | 7 |
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 @@ | |||
1 | import { Video } from './video.model' | 1 | import { Video } from './video.model' |
2 | import { VideoConstant } from './video-constant.model' | ||
3 | import { VideoImportState } from '../../index' | ||
2 | 4 | ||
3 | export interface VideoImport { | 5 | export 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 | } |