aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/server/custom-config.model.ts
diff options
context:
space:
mode:
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}