]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - shared/models/server/custom-config.model.ts
a3a651cd88aa1bc952b9314718b1509b43b4aae7
[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 services: {
18 twitter: {
19 username: string
20 whitelisted: boolean
21 }
22 }
23
24 cache: {
25 previews: {
26 size: number
27 }
28 }
29
30 signup: {
31 enabled: boolean
32 limit: number
33 }
34
35 admin: {
36 email: string
37 }
38
39 user: {
40 videoQuota: number
41 }
42
43 transcoding: {
44 enabled: boolean
45 threads: number
46 resolutions: {
47 '240p': boolean
48 '360p': boolean
49 '480p': boolean
50 '720p': boolean
51 '1080p': boolean
52 }
53 }
54 }