2018-04-19 05:01:34 -04:00
|
|
|
import { NSFWPolicyType } from '../videos/nsfw-policy.type'
|
|
|
|
|
2018-01-17 04:32:03 -05:00
|
|
|
export interface CustomConfig {
|
2018-01-31 10:42:40 -05:00
|
|
|
instance: {
|
|
|
|
name: string
|
2018-03-15 09:31:08 -04:00
|
|
|
shortDescription: string
|
2018-01-31 10:42:40 -05:00
|
|
|
description: string
|
|
|
|
terms: string
|
2018-03-01 07:57:29 -05:00
|
|
|
defaultClientRoute: string
|
2018-04-19 05:01:34 -04:00
|
|
|
defaultNSFWPolicy: NSFWPolicyType
|
2018-02-22 04:22:53 -05:00
|
|
|
customizations: {
|
|
|
|
javascript?: string
|
|
|
|
css?: string
|
|
|
|
}
|
2018-01-31 10:42:40 -05:00
|
|
|
}
|
|
|
|
|
2018-05-10 06:26:47 -04:00
|
|
|
services: {
|
|
|
|
twitter: {
|
|
|
|
username: string
|
|
|
|
whitelisted: boolean
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-17 04:32:03 -05:00
|
|
|
cache: {
|
|
|
|
previews: {
|
|
|
|
size: number
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
signup: {
|
|
|
|
enabled: boolean
|
|
|
|
limit: number
|
|
|
|
}
|
|
|
|
|
|
|
|
admin: {
|
|
|
|
email: string
|
|
|
|
}
|
|
|
|
|
|
|
|
user: {
|
|
|
|
videoQuota: number
|
|
|
|
}
|
|
|
|
|
|
|
|
transcoding: {
|
|
|
|
enabled: boolean
|
|
|
|
threads: number
|
|
|
|
resolutions: {
|
|
|
|
'240p': boolean
|
|
|
|
'360p': boolean
|
|
|
|
'480p': boolean
|
|
|
|
'720p': boolean
|
|
|
|
'1080p': boolean
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|