WIP plugins: hook on client side
This commit is contained in:
parent
2c0539420d
commit
18a6f04c07
11 changed files with 215 additions and 3 deletions
|
@ -1,4 +1,12 @@
|
|||
import { NSFWPolicyType } from '../videos/nsfw-policy.type'
|
||||
import { ClientScript } from '../plugins/plugin-package-json.model'
|
||||
|
||||
export type ServerConfigPlugin = {
|
||||
name: string
|
||||
version: string
|
||||
description: string
|
||||
clientScripts: { [name: string]: ClientScript }
|
||||
}
|
||||
|
||||
export interface ServerConfig {
|
||||
serverVersion: string
|
||||
|
@ -16,6 +24,8 @@ export interface ServerConfig {
|
|||
}
|
||||
}
|
||||
|
||||
plugins: ServerConfigPlugin[]
|
||||
|
||||
email: {
|
||||
enabled: boolean
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue