diff options
author | Chocobozzz <me@florianbigard.com> | 2019-02-20 15:36:43 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-02-20 15:36:43 +0100 |
commit | f8802489bbc2c0363b5668e47de7c35f573342e1 (patch) | |
tree | 526054fad5a7f944b008ac1a6e400dfbe66a1639 /shared/models/server | |
parent | 1aabcae7e36bb113c2887bd7180dad2916ecaaf2 (diff) | |
download | PeerTube-f8802489bbc2c0363b5668e47de7c35f573342e1.tar.gz PeerTube-f8802489bbc2c0363b5668e47de7c35f573342e1.tar.zst PeerTube-f8802489bbc2c0363b5668e47de7c35f573342e1.zip |
Add isNSFW instance configuration key
Diffstat (limited to 'shared/models/server')
-rw-r--r-- | shared/models/server/custom-config.model.ts | 1 | ||||
-rw-r--r-- | shared/models/server/server-config.model.ts | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/shared/models/server/custom-config.model.ts b/shared/models/server/custom-config.model.ts index b42ff90c6..20b261426 100644 --- a/shared/models/server/custom-config.model.ts +++ b/shared/models/server/custom-config.model.ts | |||
@@ -6,6 +6,7 @@ export interface CustomConfig { | |||
6 | shortDescription: string | 6 | shortDescription: string |
7 | description: string | 7 | description: string |
8 | terms: string | 8 | terms: string |
9 | isNSFW: boolean | ||
9 | defaultClientRoute: string | 10 | defaultClientRoute: string |
10 | defaultNSFWPolicy: NSFWPolicyType | 11 | defaultNSFWPolicy: NSFWPolicyType |
11 | customizations: { | 12 | customizations: { |
diff --git a/shared/models/server/server-config.model.ts b/shared/models/server/server-config.model.ts index baafed31f..0200d88ca 100644 --- a/shared/models/server/server-config.model.ts +++ b/shared/models/server/server-config.model.ts | |||
@@ -8,6 +8,7 @@ export interface ServerConfig { | |||
8 | name: string | 8 | name: string |
9 | shortDescription: string | 9 | shortDescription: string |
10 | defaultClientRoute: string | 10 | defaultClientRoute: string |
11 | isNSFW: boolean | ||
11 | defaultNSFWPolicy: NSFWPolicyType | 12 | defaultNSFWPolicy: NSFWPolicyType |
12 | customizations: { | 13 | customizations: { |
13 | javascript: string | 14 | javascript: string |