diff options
author | Chocobozzz <me@florianbigard.com> | 2019-07-09 11:45:19 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-07-24 10:58:16 +0200 |
commit | 7cd4d2ba10106c10602c86f74f55743ded588896 (patch) | |
tree | 81f0dd7a7ef763511158d1035f3e09e09d5dcd2c /shared/models/server | |
parent | 8d76959e11ab7172040853fa4fadaf8d53e6aa12 (diff) | |
download | PeerTube-7cd4d2ba10106c10602c86f74f55743ded588896.tar.gz PeerTube-7cd4d2ba10106c10602c86f74f55743ded588896.tar.zst PeerTube-7cd4d2ba10106c10602c86f74f55743ded588896.zip |
WIP plugins: add theme support
Diffstat (limited to 'shared/models/server')
-rw-r--r-- | shared/models/server/custom-config.model.ts | 4 | ||||
-rw-r--r-- | shared/models/server/server-config.model.ts | 9 |
2 files changed, 12 insertions, 1 deletions
diff --git a/shared/models/server/custom-config.model.ts b/shared/models/server/custom-config.model.ts index 670553d16..a0541f5b6 100644 --- a/shared/models/server/custom-config.model.ts +++ b/shared/models/server/custom-config.model.ts | |||
@@ -15,6 +15,10 @@ export interface CustomConfig { | |||
15 | } | 15 | } |
16 | } | 16 | } |
17 | 17 | ||
18 | theme: { | ||
19 | default: string | ||
20 | } | ||
21 | |||
18 | services: { | 22 | services: { |
19 | twitter: { | 23 | twitter: { |
20 | username: string | 24 | username: string |
diff --git a/shared/models/server/server-config.model.ts b/shared/models/server/server-config.model.ts index c259a849a..d6c660aac 100644 --- a/shared/models/server/server-config.model.ts +++ b/shared/models/server/server-config.model.ts | |||
@@ -24,7 +24,14 @@ export interface ServerConfig { | |||
24 | } | 24 | } |
25 | } | 25 | } |
26 | 26 | ||
27 | plugins: ServerConfigPlugin[] | 27 | plugin: { |
28 | registered: ServerConfigPlugin[] | ||
29 | } | ||
30 | |||
31 | theme: { | ||
32 | registered: ServerConfigPlugin[] | ||
33 | default: string | ||
34 | } | ||
28 | 35 | ||
29 | email: { | 36 | email: { |
30 | enabled: boolean | 37 | enabled: boolean |