]>
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 | ||
fd206f0b C |
17 | cache: { |
18 | previews: { | |
19 | size: number | |
20 | } | |
21 | } | |
22 | ||
23 | signup: { | |
24 | enabled: boolean | |
25 | limit: number | |
26 | } | |
27 | ||
28 | admin: { | |
29 | email: string | |
30 | } | |
31 | ||
32 | user: { | |
33 | videoQuota: number | |
34 | } | |
35 | ||
36 | transcoding: { | |
37 | enabled: boolean | |
38 | threads: number | |
39 | resolutions: { | |
40 | '240p': boolean | |
41 | '360p': boolean | |
42 | '480p': boolean | |
43 | '720p': boolean | |
44 | '1080p': boolean | |
45 | } | |
46 | } | |
47 | } |