]>
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 | } | |
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 | } |