1 import { NSFWPolicyType } from '../videos/nsfw-policy.type'
2 import { ClientScript } from '../plugins/plugin-package-json.model'
4 export type ServerConfigPlugin = {
8 clientScripts: { [name: string]: ClientScript }
11 export interface ServerConfig {
17 shortDescription: string
18 defaultClientRoute: string
20 defaultNSFWPolicy: NSFWPolicyType
27 plugins: ServerConfigPlugin[]
39 allowedForCurrentIP: boolean
40 requiresEmailVerification: boolean
48 enabledResolutions: number[]
102 videoQuotaDaily: number