aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/models/pods/remote-video/remote-video-update-request.model.ts2
-rw-r--r--shared/models/videos/index.ts1
-rw-r--r--shared/models/videos/video-resolution.enum.ts8
3 files changed, 9 insertions, 2 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
index dd3e2ae1a..7f34a30ae 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
@@ -2,8 +2,6 @@ export interface RemoteVideoUpdateData {
2 uuid: string 2 uuid: string
3 tags: string[] 3 tags: string[]
4 name: string 4 name: string
5 extname: string
6 infoHash: string
7 category: number 5 category: number
8 licence: number 6 licence: number
9 language: number 7 language: number
diff --git a/shared/models/videos/index.ts b/shared/models/videos/index.ts
index 64d1676c5..35144dbad 100644
--- a/shared/models/videos/index.ts
+++ b/shared/models/videos/index.ts
@@ -6,5 +6,6 @@ export * from './video-abuse.model'
6export * from './video-blacklist.model' 6export * from './video-blacklist.model'
7export * from './video-create.model' 7export * from './video-create.model'
8export * from './video-rate.type' 8export * from './video-rate.type'
9export * from './video-resolution.enum'
9export * from './video-update.model' 10export * from './video-update.model'
10export * from './video.model' 11export * from './video.model'
diff --git a/shared/models/videos/video-resolution.enum.ts b/shared/models/videos/video-resolution.enum.ts
new file mode 100644
index 000000000..bdce77ed6
--- /dev/null
+++ b/shared/models/videos/video-resolution.enum.ts
@@ -0,0 +1,8 @@
1export enum VideoResolution {
2 ORIGINAL = 0,
3 H_240P = 240,
4 H_360P = 360,
5 H_480P = 480,
6 H_720P = 720,
7 H_1080P = 1080
8}