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