]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - shared/models/server/custom-config.model.ts
Add ability to change the homepage
[github/Chocobozzz/PeerTube.git] / shared / models / server / custom-config.model.ts
1 export interface CustomConfig {
2 instance: {
3 name: string
4 description: string
5 terms: string
6 defaultClientRoute: string
7 customizations: {
8 javascript?: string
9 css?: string
10 }
11 }
12
13 cache: {
14 previews: {
15 size: number
16 }
17 }
18
19 signup: {
20 enabled: boolean
21 limit: number
22 }
23
24 admin: {
25 email: string
26 }
27
28 user: {
29 videoQuota: number
30 }
31
32 transcoding: {
33 enabled: boolean
34 threads: number
35 resolutions: {
36 '240p': boolean
37 '360p': boolean
38 '480p': boolean
39 '720p': boolean
40 '1080p': boolean
41 }
42 }
43 }