X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fmodels%2Fserver%2Fcustom-config.model.ts;h=a3a651cd88aa1bc952b9314718b1509b43b4aae7;hb=8be1afa12b700b93ed92365cab05c0ef81d643aa;hp=7f3e2df0272f29456ea854f1ebc0ec38e4f7fd3c;hpb=901637bb87f5eb0518fb7ca69d98b53ed918339e;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/models/server/custom-config.model.ts b/shared/models/server/custom-config.model.ts index 7f3e2df02..a3a651cd8 100644 --- a/shared/models/server/custom-config.model.ts +++ b/shared/models/server/custom-config.model.ts @@ -1,15 +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