aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-07-12 19:02:00 +0200
committerChocobozzz <me@florianbigard.com>2018-07-16 11:50:08 +0200
commit40e87e9ecc54e3513fb586928330a7855eb192c6 (patch)
treeaf1111ecba85f9cd8286811ff332a67cf21be2f6 /shared/models/server
parentd4557fd3ecc8d4ed4fb0e5c868929bc36c959ed2 (diff)
downloadPeerTube-40e87e9ecc54e3513fb586928330a7855eb192c6.tar.gz
PeerTube-40e87e9ecc54e3513fb586928330a7855eb192c6.tar.zst
PeerTube-40e87e9ecc54e3513fb586928330a7855eb192c6.zip
Implement captions/subtitles
Diffstat (limited to 'shared/models/server')
-rw-r--r--shared/models/server/custom-config.model.ts4
-rw-r--r--shared/models/server/server-config.model.ts9
2 files changed, 13 insertions, 0 deletions
diff --git a/shared/models/server/custom-config.model.ts b/shared/models/server/custom-config.model.ts
index a3a651cd8..9c4718e43 100644
--- a/shared/models/server/custom-config.model.ts
+++ b/shared/models/server/custom-config.model.ts
@@ -25,6 +25,10 @@ export interface CustomConfig {
25 previews: { 25 previews: {
26 size: number 26 size: number
27 } 27 }
28
29 captions: {
30 size: number
31 }
28 } 32 }
29 33
30 signup: { 34 signup: {
diff --git a/shared/models/server/server-config.model.ts b/shared/models/server/server-config.model.ts
index da0996dae..217d142cd 100644
--- a/shared/models/server/server-config.model.ts
+++ b/shared/models/server/server-config.model.ts
@@ -44,6 +44,15 @@ export interface ServerConfig {
44 } 44 }
45 } 45 }
46 46
47 videoCaption: {
48 file: {
49 size: {
50 max: number
51 },
52 extensions: string[]
53 }
54 }
55
47 user: { 56 user: {
48 videoQuota: number 57 videoQuota: number
49 } 58 }