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