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