aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/server/custom-config.model.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-02-28 18:04:46 +0100
committerChocobozzz <me@florianbigard.com>2018-02-28 18:04:55 +0100
commit09cababd79f9d445aa027c93cdfe823745fa041a (patch)
treef781d6ba78b5c4ce7220dea55f13b21230f203d6 /shared/models/server/custom-config.model.ts
parent22b59e8099947605085cf65a440f07f37fce6b65 (diff)
downloadPeerTube-09cababd79f9d445aa027c93cdfe823745fa041a.tar.gz
PeerTube-09cababd79f9d445aa027c93cdfe823745fa041a.tar.zst
PeerTube-09cababd79f9d445aa027c93cdfe823745fa041a.zip
Add stats route
Diffstat (limited to 'shared/models/server/custom-config.model.ts')
-rw-r--r--shared/models/server/custom-config.model.ts42
1 files changed, 42 insertions, 0 deletions
diff --git a/shared/models/server/custom-config.model.ts b/shared/models/server/custom-config.model.ts
new file mode 100644
index 000000000..46d0a86ef
--- /dev/null
+++ b/shared/models/server/custom-config.model.ts
@@ -0,0 +1,42 @@
1export interface CustomConfig {
2 instance: {
3 name: string
4 description: string
5 terms: string
6 customizations: {
7 javascript?: string
8 css?: string
9 }
10 }
11
12 cache: {
13 previews: {
14 size: number
15 }
16 }
17
18 signup: {
19 enabled: boolean
20 limit: number
21 }
22
23 admin: {
24 email: string
25 }
26
27 user: {
28 videoQuota: number
29 }
30
31 transcoding: {
32 enabled: boolean
33 threads: number
34 resolutions: {
35 '240p': boolean
36 '360p': boolean
37 '480p': boolean
38 '720p': boolean
39 '1080p': boolean
40 }
41 }
42}