aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/pods/remote-video/remote-video-create-request.model.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/pods/remote-video/remote-video-create-request.model.ts')
-rw-r--r--shared/models/pods/remote-video/remote-video-create-request.model.ts27
1 files changed, 27 insertions, 0 deletions
diff --git a/shared/models/pods/remote-video/remote-video-create-request.model.ts b/shared/models/pods/remote-video/remote-video-create-request.model.ts
new file mode 100644
index 000000000..6babb0083
--- /dev/null
+++ b/shared/models/pods/remote-video/remote-video-create-request.model.ts
@@ -0,0 +1,27 @@
1import { RemoteVideoRequest } from './remote-video-request.model'
2
3export interface RemoteVideoCreateData {
4 remoteId: string
5 author: string
6 tags: string[]
7 name: string
8 extname: string
9 infoHash: string
10 category: number
11 licence: number
12 language: number
13 nsfw: boolean
14 description: string
15 duration: number
16 createdAt: Date
17 updatedAt: Date
18 views: number
19 likes: number
20 dislikes: number
21 thumbnailData: string
22}
23
24export interface RemoteVideoCreateRequest extends RemoteVideoRequest {
25 type: 'add'
26 data: RemoteVideoCreateData
27}