mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 10:19:35 +02:00
WIP plugins: add ability to register plugins
This commit is contained in:
parent
297067399d
commit
345da516fa
23 changed files with 553 additions and 3 deletions
15
shared/models/plugins/plugin-package-json.model.ts
Normal file
15
shared/models/plugins/plugin-package-json.model.ts
Normal file
|
@ -0,0 +1,15 @@
|
|||
export type PluginPackageJson = {
|
||||
name: string
|
||||
description: string
|
||||
engine: { peertube: string },
|
||||
|
||||
homepage: string,
|
||||
author: string,
|
||||
bugs: string,
|
||||
library: string,
|
||||
|
||||
staticDirs: { [ name: string ]: string }
|
||||
css: string[]
|
||||
|
||||
clientScripts: { script: string, scopes: string[] }[]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue