]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/videos/import/video-import.model.ts
Add ability to list imports of a channel sync
[github/Chocobozzz/PeerTube.git] / shared / models / videos / import / video-import.model.ts
CommitLineData
59c76ffa
C
1import { Video } from '../video.model'
2import { VideoConstant } from '../video-constant.model'
b2977eec 3import { VideoImportState } from './video-import-state.enum'
fbad87b0
C
4
5export interface VideoImport {
d7f83948 6 id: number
990b6a0b 7
fbad87b0 8 targetUrl: string
990b6a0b
C
9 magnetUri: string
10 torrentName: string
11
ed31c059
C
12 createdAt: string
13 updatedAt: string
4e553a41 14 originallyPublishedAt?: string
ed31c059 15 state: VideoConstant<VideoImportState>
d7f83948 16 error?: string
fbad87b0 17
ed31c059 18 video?: Video & { tags: string[] }
a3b472a1
C
19
20 videoChannelSync?: {
21 id: number
22 externalChannelUrl: string
23 }
fbad87b0 24}