aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/config/custom-config.model.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-01-17 10:32:03 +0100
committerChocobozzz <me@florianbigard.com>2018-01-17 10:41:27 +0100
commitfd206f0b2d7e5c8e00e2817266d90ec54f79e1da (patch)
tree86b096cf2abd7eb49b892de1c9be855f45a41a9c /shared/models/config/custom-config.model.ts
parent9581cabc596acb18c0ad86bcf3a07c2b45e8e47e (diff)
downloadPeerTube-fd206f0b2d7e5c8e00e2817266d90ec54f79e1da.tar.gz
PeerTube-fd206f0b2d7e5c8e00e2817266d90ec54f79e1da.tar.zst
PeerTube-fd206f0b2d7e5c8e00e2817266d90ec54f79e1da.zip
Add ability to update some configuration keys
Diffstat (limited to 'shared/models/config/custom-config.model.ts')
-rw-r--r--shared/models/config/custom-config.model.ts32
1 files changed, 32 insertions, 0 deletions
diff --git a/shared/models/config/custom-config.model.ts b/shared/models/config/custom-config.model.ts
new file mode 100644
index 000000000..73b5b6a72
--- /dev/null
+++ b/shared/models/config/custom-config.model.ts
@@ -0,0 +1,32 @@
1export interface CustomConfig {
2 cache: {
3 previews: {
4 size: number
5 }
6 }
7
8 signup: {
9 enabled: boolean
10 limit: number
11 }
12
13 admin: {
14 email: string
15 }
16
17 user: {
18 videoQuota: number
19 }
20
21 transcoding: {
22 enabled: boolean
23 threads: number
24 resolutions: {
25 '240p': boolean
26 '360p': boolean
27 '480p': boolean
28 '720p': boolean
29 '1080p': boolean
30 }
31 }
32}