]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/server/custom-config.model.ts
Fix internal videos in playlists
[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
ccc00cb2
C
9 codeOfConduct: string
10
8ae03c37 11 creationReason: string
ccc00cb2
C
12 moderationInformation: string
13 administrator: string
14 maintenanceLifetime: string
15 businessModel: string
be04c6fd 16 hardwareInformation: string
ccc00cb2
C
17
18 languages: string[]
19 categories: number[]
20
f8802489 21 isNSFW: boolean
901637bb 22 defaultClientRoute: string
0883b324 23 defaultNSFWPolicy: NSFWPolicyType
00b5556c
C
24 customizations: {
25 javascript?: string
26 css?: string
27 }
66b16caf
C
28 }
29
7cd4d2ba
C
30 theme: {
31 default: string
32 }
33
8be1afa1
C
34 services: {
35 twitter: {
36 username: string
37 whitelisted: boolean
38 }
39 }
40
fd206f0b
C
41 cache: {
42 previews: {
43 size: number
44 }
40e87e9e
C
45
46 captions: {
47 size: number
48 }
fd206f0b
C
49 }
50
51 signup: {
52 enabled: boolean
53 limit: number
d9eaee39 54 requiresEmailVerification: boolean
fd206f0b
C
55 }
56
57 admin: {
58 email: string
59 }
60
a4101923
C
61 contactForm: {
62 enabled: boolean
63 }
64
fd206f0b
C
65 user: {
66 videoQuota: number
bee0abff 67 videoQuotaDaily: number
fd206f0b
C
68 }
69
70 transcoding: {
71 enabled: boolean
d7a25329 72
14e2014a 73 allowAdditionalExtensions: boolean
536598cf 74 allowAudioFiles: boolean
d7a25329 75
fd206f0b
C
76 threads: number
77 resolutions: {
5c7d6508 78 '0p': boolean
fd206f0b
C
79 '240p': boolean
80 '360p': boolean
81 '480p': boolean
82 '720p': boolean
83 '1080p': boolean
00aa1f0d 84 '2160p': boolean
fd206f0b 85 }
d7a25329
C
86
87 webtorrent: {
88 enabled: boolean
89 }
90
09209296
C
91 hls: {
92 enabled: boolean
93 }
fd206f0b 94 }
5d08a6a7
C
95
96 import: {
97 videos: {
98 http: {
99 enabled: boolean
a1587156 100 }
a84b8fa5
C
101 torrent: {
102 enabled: boolean
5d08a6a7
C
103 }
104 }
105 }
7ccddd7b
JM
106
107 autoBlacklist: {
108 videos: {
109 ofUsers: {
110 enabled: boolean
111 }
112 }
113 }
114
5b9c965d
C
115 followers: {
116 instance: {
a1587156 117 enabled: boolean
14893eb7 118 manualApproval: boolean
5b9c965d
C
119 }
120 }
121
8424c402
C
122 followings: {
123 instance: {
124 autoFollowBack: {
125 enabled: boolean
126 }
127
128 autoFollowIndex: {
129 enabled: boolean
130 indexUrl: string
131 }
132 }
133 }
fd206f0b 134}