]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/server/custom-config.model.ts
Add ability to embed a video in Twitter
[github/Chocobozzz/PeerTube.git] / shared / models / server / custom-config.model.ts
index b4d24cfbe158abc0495228bf94232369c94d2f50..a3a651cd88aa1bc952b9314718b1509b43b4aae7 100644 (file)
@@ -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