aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/pods
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/pods')
-rw-r--r--shared/models/pods/remote-video/remote-video-create-request.model.ts8
-rw-r--r--shared/models/pods/remote-video/remote-video-update-request.model.ts6
2 files changed, 12 insertions, 2 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
index b6a570e42..98425e4d9 100644
--- a/shared/models/pods/remote-video/remote-video-create-request.model.ts
+++ b/shared/models/pods/remote-video/remote-video-create-request.model.ts
@@ -5,8 +5,6 @@ export interface RemoteVideoCreateData {
5 author: string 5 author: string
6 tags: string[] 6 tags: string[]
7 name: string 7 name: string
8 extname: string
9 infoHash: string
10 category: number 8 category: number
11 licence: number 9 licence: number
12 language: number 10 language: number
@@ -19,6 +17,12 @@ export interface RemoteVideoCreateData {
19 likes: number 17 likes: number
20 dislikes: number 18 dislikes: number
21 thumbnailData: string 19 thumbnailData: string
20 files: {
21 infoHash: string
22 extname: string
23 resolution: number
24 size: number
25 }[]
22} 26}
23 27
24export interface RemoteVideoCreateRequest extends RemoteVideoRequest { 28export interface RemoteVideoCreateRequest extends RemoteVideoRequest {
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
index 805548563..dd3e2ae1a 100644
--- a/shared/models/pods/remote-video/remote-video-update-request.model.ts
+++ b/shared/models/pods/remote-video/remote-video-update-request.model.ts
@@ -15,6 +15,12 @@ export interface RemoteVideoUpdateData {
15 views: number 15 views: number
16 likes: number 16 likes: number
17 dislikes: number 17 dislikes: number
18 files: {
19 infoHash: string
20 extname: string
21 resolution: number
22 size: number
23 }[]
18} 24}
19 25
20export interface RemoteVideoUpdateRequest { 26export interface RemoteVideoUpdateRequest {