]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/server/custom-config.model.ts
Add import http enabled configuration
[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
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
37 }
38
39 admin: {
40 email: string
41 }
42
43 user: {
44 videoQuota: number
45 }
46
47 transcoding: {
48 enabled: boolean
49 threads: number
50 resolutions: {
51 '240p': boolean
52 '360p': boolean
53 '480p': boolean
54 '720p': boolean
55 '1080p': boolean
56 }
57 }
5d08a6a7
C
58
59 import: {
60 videos: {
61 http: {
62 enabled: boolean
63 }
64 }
65 }
fd206f0b 66}