diff options
author | Gérald Niel <gerald.niel@gegeweb.org> | 2018-04-19 19:28:55 +0200 |
---|---|---|
committer | Gérald Niel <gerald.niel@gegeweb.org> | 2018-04-19 19:28:55 +0200 |
commit | 0db1a226507a39b0a663e3e63f04851836a44d5a (patch) | |
tree | 8c8dad658ea5608afaae238cfb6fe803292f908f /shared/models/server | |
parent | 0030284b0df2983914291d6fe83675e2aa892e6a (diff) | |
parent | d4f3fea659163749f9ea879a5e1dd313106353c6 (diff) | |
download | PeerTube-0db1a226507a39b0a663e3e63f04851836a44d5a.tar.gz PeerTube-0db1a226507a39b0a663e3e63f04851836a44d5a.tar.zst PeerTube-0db1a226507a39b0a663e3e63f04851836a44d5a.zip |
Merge branch 'develop' of framagit.org:chocobozzz/PeerTube into develop
Diffstat (limited to 'shared/models/server')
-rw-r--r-- | shared/models/server/custom-config.model.ts | 3 | ||||
-rw-r--r-- | shared/models/server/server-config.model.ts | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/shared/models/server/custom-config.model.ts b/shared/models/server/custom-config.model.ts index b4d24cfbe..30956bd47 100644 --- a/shared/models/server/custom-config.model.ts +++ b/shared/models/server/custom-config.model.ts | |||
@@ -1,3 +1,5 @@ | |||
1 | import { NSFWPolicyType } from '../videos/nsfw-policy.type' | ||
2 | |||
1 | export interface CustomConfig { | 3 | export interface CustomConfig { |
2 | instance: { | 4 | instance: { |
3 | name: string | 5 | name: string |
@@ -5,6 +7,7 @@ export interface CustomConfig { | |||
5 | description: string | 7 | description: string |
6 | terms: string | 8 | terms: string |
7 | defaultClientRoute: string | 9 | defaultClientRoute: string |
10 | defaultNSFWPolicy: NSFWPolicyType | ||
8 | customizations: { | 11 | customizations: { |
9 | javascript?: string | 12 | javascript?: string |
10 | css?: string | 13 | css?: string |
diff --git a/shared/models/server/server-config.model.ts b/shared/models/server/server-config.model.ts index 611d0efe5..d1f956163 100644 --- a/shared/models/server/server-config.model.ts +++ b/shared/models/server/server-config.model.ts | |||
@@ -1,3 +1,5 @@ | |||
1 | import { NSFWPolicyType } from '../videos/nsfw-policy.type' | ||
2 | |||
1 | export interface ServerConfig { | 3 | export interface ServerConfig { |
2 | serverVersion: string | 4 | serverVersion: string |
3 | 5 | ||
@@ -5,6 +7,7 @@ export interface ServerConfig { | |||
5 | name: string | 7 | name: string |
6 | shortDescription: string | 8 | shortDescription: string |
7 | defaultClientRoute: string | 9 | defaultClientRoute: string |
10 | defaultNSFWPolicy: NSFWPolicyType | ||
8 | customizations: { | 11 | customizations: { |
9 | javascript: string | 12 | javascript: string |
10 | css: string | 13 | css: string |