]>
Commit | Line | Data |
---|---|---|
0883b324 C |
1 | import { NSFWPolicyType } from '../videos/nsfw-policy.type' |
2 | ||
fd206f0b | 3 | export interface CustomConfig { |
66b16caf C |
4 | instance: { |
5 | name: string | |
2e3a0215 | 6 | shortDescription: string |
66b16caf C |
7 | description: string |
8 | terms: string | |
901637bb | 9 | defaultClientRoute: string |
0883b324 | 10 | defaultNSFWPolicy: NSFWPolicyType |
00b5556c C |
11 | customizations: { |
12 | javascript?: string | |
13 | css?: string | |
14 | } | |
66b16caf C |
15 | } |
16 | ||
8be1afa1 C |
17 | services: { |
18 | twitter: { | |
19 | username: string | |
20 | whitelisted: boolean | |
21 | } | |
22 | } | |
23 | ||
fd206f0b C |
24 | cache: { |
25 | previews: { | |
26 | size: number | |
27 | } | |
40e87e9e C |
28 | |
29 | captions: { | |
30 | size: number | |
31 | } | |
fd206f0b C |
32 | } |
33 | ||
34 | signup: { | |
35 | enabled: boolean | |
36 | limit: number | |
d9eaee39 | 37 | requiresEmailVerification: boolean |
fd206f0b C |
38 | } |
39 | ||
40 | admin: { | |
41 | email: string | |
42 | } | |
43 | ||
44 | user: { | |
45 | videoQuota: number | |
bee0abff | 46 | videoQuotaDaily: number |
fd206f0b C |
47 | } |
48 | ||
49 | transcoding: { | |
50 | enabled: boolean | |
51 | threads: number | |
52 | resolutions: { | |
53 | '240p': boolean | |
54 | '360p': boolean | |
55 | '480p': boolean | |
56 | '720p': boolean | |
57 | '1080p': boolean | |
58 | } | |
59 | } | |
5d08a6a7 C |
60 | |
61 | import: { | |
62 | videos: { | |
63 | http: { | |
64 | enabled: boolean | |
a84b8fa5 C |
65 | }, |
66 | torrent: { | |
67 | enabled: boolean | |
5d08a6a7 C |
68 | } |
69 | } | |
70 | } | |
fd206f0b | 71 | } |