]> 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 46d0a86efa31c77e8b8fb81a730bf9478557bafa..a3a651cd88aa1bc952b9314718b1509b43b4aae7 100644 (file)
@@ -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