mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 10:19:35 +02:00
WIP plugins: static files
This commit is contained in:
parent
f023a19c3e
commit
2c0539420d
6 changed files with 124 additions and 15 deletions
|
@ -1,3 +1,8 @@
|
|||
export type ClientScript = {
|
||||
script: string,
|
||||
scopes: string[]
|
||||
}
|
||||
|
||||
export type PluginPackageJson = {
|
||||
name: string
|
||||
version: string
|
||||
|
@ -12,5 +17,5 @@ export type PluginPackageJson = {
|
|||
staticDirs: { [ name: string ]: string }
|
||||
css: string[]
|
||||
|
||||
clientScripts: { script: string, scopes: string[] }[]
|
||||
clientScripts: ClientScript[]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue