mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
WIP plugins: add theme support
This commit is contained in:
@@ -59,6 +59,9 @@ function updateCustomSubConfig (url: string, token: string, newConfig: any) {
|
||||
css: 'body { background-color: red; }'
|
||||
}
|
||||
},
|
||||
theme: {
|
||||
default: 'default'
|
||||
},
|
||||
services: {
|
||||
twitter: {
|
||||
username: '@MySuperUsername',
|
||||
|
||||
@@ -15,6 +15,10 @@ export interface CustomConfig {
|
||||
}
|
||||
}
|
||||
|
||||
theme: {
|
||||
default: string
|
||||
}
|
||||
|
||||
services: {
|
||||
twitter: {
|
||||
username: string
|
||||
|
||||
@@ -24,7 +24,14 @@ export interface ServerConfig {
|
||||
}
|
||||
}
|
||||
|
||||
plugins: ServerConfigPlugin[]
|
||||
plugin: {
|
||||
registered: ServerConfigPlugin[]
|
||||
}
|
||||
|
||||
theme: {
|
||||
registered: ServerConfigPlugin[]
|
||||
default: string
|
||||
}
|
||||
|
||||
email: {
|
||||
enabled: boolean
|
||||
|
||||
@@ -13,4 +13,6 @@ export interface UserUpdateMe {
|
||||
email?: string
|
||||
currentPassword?: string
|
||||
password?: string
|
||||
|
||||
theme?: string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user