X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fmodels%2Fserver%2Fcustom-config.model.ts;h=a3a651cd88aa1bc952b9314718b1509b43b4aae7;hb=8be1afa12b700b93ed92365cab05c0ef81d643aa;hp=b4d24cfbe158abc0495228bf94232369c94d2f50;hpb=2e3a0215d051dca1f7c8ef423564c8d37a255f77;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/models/server/custom-config.model.ts b/shared/models/server/custom-config.model.ts index b4d24cfbe..a3a651cd8 100644 --- a/shared/models/server/custom-config.model.ts +++ b/shared/models/server/custom-config.model.ts @@ -1,3 +1,5 @@ +import { NSFWPolicyType } from '../videos/nsfw-policy.type' + export interface CustomConfig { instance: { name: string @@ -5,12 +7,20 @@ export interface CustomConfig { description: string terms: string defaultClientRoute: string + defaultNSFWPolicy: NSFWPolicyType customizations: { javascript?: string css?: string } } + services: { + twitter: { + username: string + whitelisted: boolean + } + } + cache: { previews: { size: number