aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos/caption
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/videos/caption')
-rw-r--r--shared/models/videos/caption/video-caption-update.model.ts4
-rw-r--r--shared/models/videos/caption/video-caption.model.ts6
2 files changed, 10 insertions, 0 deletions
diff --git a/shared/models/videos/caption/video-caption-update.model.ts b/shared/models/videos/caption/video-caption-update.model.ts
new file mode 100644
index 000000000..ff5728715
--- /dev/null
+++ b/shared/models/videos/caption/video-caption-update.model.ts
@@ -0,0 +1,4 @@
1export interface VideoCaptionUpdate {
2 language: string
3 captionfile: Blob
4}
diff --git a/shared/models/videos/caption/video-caption.model.ts b/shared/models/videos/caption/video-caption.model.ts
new file mode 100644
index 000000000..d3c73e1a6
--- /dev/null
+++ b/shared/models/videos/caption/video-caption.model.ts
@@ -0,0 +1,6 @@
1import { VideoConstant } from '../video-constant.model'
2
3export interface VideoCaption {
4 language: VideoConstant<string>
5 captionPath: string
6}