aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/plugins/plugin-package-json.model.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-07-08 14:02:03 +0200
committerChocobozzz <chocobozzz@cpy.re>2019-07-24 10:58:16 +0200
commit2c0539420d77339e6afe8d7920b44af4c0dcb1e6 (patch)
tree6728a1cec7e2688a42cc84466a8c978067f2c574 /shared/models/plugins/plugin-package-json.model.ts
parentf023a19c3eeeea2b014b47fae522a62eab320048 (diff)
downloadPeerTube-2c0539420d77339e6afe8d7920b44af4c0dcb1e6.tar.gz
PeerTube-2c0539420d77339e6afe8d7920b44af4c0dcb1e6.tar.zst
PeerTube-2c0539420d77339e6afe8d7920b44af4c0dcb1e6.zip
WIP plugins: static files
Diffstat (limited to 'shared/models/plugins/plugin-package-json.model.ts')
-rw-r--r--shared/models/plugins/plugin-package-json.model.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/shared/models/plugins/plugin-package-json.model.ts b/shared/models/plugins/plugin-package-json.model.ts
index d5aa90179..f8029ec34 100644
--- a/shared/models/plugins/plugin-package-json.model.ts
+++ b/shared/models/plugins/plugin-package-json.model.ts
@@ -1,3 +1,8 @@
1export type ClientScript = {
2 script: string,
3 scopes: string[]
4}
5
1export type PluginPackageJson = { 6export type PluginPackageJson = {
2 name: string 7 name: string
3 version: string 8 version: string
@@ -12,5 +17,5 @@ export type PluginPackageJson = {
12 staticDirs: { [ name: string ]: string } 17 staticDirs: { [ name: string ]: string }
13 css: string[] 18 css: string[]
14 19
15 clientScripts: { script: string, scopes: string[] }[] 20 clientScripts: ClientScript[]
16} 21}