]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/server/custom-config.model.ts
Add ability to forbid followers
[github/Chocobozzz/PeerTube.git] / shared / models / server / custom-config.model.ts
CommitLineData
0883b324
C
1import { NSFWPolicyType } from '../videos/nsfw-policy.type'
2
fd206f0b 3export interface CustomConfig {
66b16caf
C
4 instance: {
5 name: string
2e3a0215 6 shortDescription: string
66b16caf
C
7 description: string
8 terms: string
f8802489 9 isNSFW: boolean
901637bb 10 defaultClientRoute: string
0883b324 11 defaultNSFWPolicy: NSFWPolicyType
00b5556c
C
12 customizations: {
13 javascript?: string
14 css?: string
15 }
66b16caf
C
16 }
17
8be1afa1
C
18 services: {
19 twitter: {
20 username: string
21 whitelisted: boolean
22 }
23 }
24
fd206f0b
C
25 cache: {
26 previews: {
27 size: number
28 }
40e87e9e
C
29
30 captions: {
31 size: number
32 }
fd206f0b
C
33 }
34
35 signup: {
36 enabled: boolean
37 limit: number
d9eaee39 38 requiresEmailVerification: boolean
fd206f0b
C
39 }
40
41 admin: {
42 email: string
43 }
44
a4101923
C
45 contactForm: {
46 enabled: boolean
47 }
48
fd206f0b
C
49 user: {
50 videoQuota: number
bee0abff 51 videoQuotaDaily: number
fd206f0b
C
52 }
53
54 transcoding: {
55 enabled: boolean
14e2014a 56 allowAdditionalExtensions: boolean
fd206f0b
C
57 threads: number
58 resolutions: {
59 '240p': boolean
60 '360p': boolean
61 '480p': boolean
62 '720p': boolean
63 '1080p': boolean
64 }
09209296
C
65 hls: {
66 enabled: boolean
67 }
fd206f0b 68 }
5d08a6a7
C
69
70 import: {
71 videos: {
72 http: {
73 enabled: boolean
a84b8fa5
C
74 },
75 torrent: {
76 enabled: boolean
5d08a6a7
C
77 }
78 }
79 }
7ccddd7b
JM
80
81 autoBlacklist: {
82 videos: {
83 ofUsers: {
84 enabled: boolean
85 }
86 }
87 }
88
5b9c965d
C
89 followers: {
90 instance: {
91 enabled: boolean
92 }
93 }
94
fd206f0b 95}