WIP plugins: hook on client side

This commit is contained in:
Chocobozzz 2019-07-08 15:54:08 +02:00 committed by Chocobozzz
parent 2c0539420d
commit 18a6f04c07
11 changed files with 215 additions and 3 deletions

View file

@ -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
}