aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/videos')
-rw-r--r--shared/models/videos/index.ts1
-rw-r--r--shared/models/videos/video-resolution.enum.ts8
2 files changed, 9 insertions, 0 deletions
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}