mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 09:49:20 +02:00
Add client hooks
This commit is contained in:
parent
587568e1cc
commit
93cae47925
31 changed files with 339 additions and 124 deletions
|
@ -1,11 +1,12 @@
|
|||
import { NSFWPolicyType } from '../videos/nsfw-policy.type'
|
||||
import { ClientScript } from '../plugins/plugin-package-json.model'
|
||||
import { PluginClientScope } from '../plugins/plugin-scope.type'
|
||||
|
||||
export interface ServerConfigPlugin {
|
||||
name: string
|
||||
version: string
|
||||
description: string
|
||||
clientScripts: { [name: string]: ClientScript }
|
||||
clientScripts: { [name in PluginClientScope]: ClientScript }
|
||||
}
|
||||
|
||||
export interface ServerConfigTheme extends ServerConfigPlugin {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue