diff options
author | Chocobozzz <me@florianbigard.com> | 2019-07-08 14:02:03 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-07-24 10:58:16 +0200 |
commit | 2c0539420d77339e6afe8d7920b44af4c0dcb1e6 (patch) | |
tree | 6728a1cec7e2688a42cc84466a8c978067f2c574 /shared/models/plugins | |
parent | f023a19c3eeeea2b014b47fae522a62eab320048 (diff) | |
download | PeerTube-2c0539420d77339e6afe8d7920b44af4c0dcb1e6.tar.gz PeerTube-2c0539420d77339e6afe8d7920b44af4c0dcb1e6.tar.zst PeerTube-2c0539420d77339e6afe8d7920b44af4c0dcb1e6.zip |
WIP plugins: static files
Diffstat (limited to 'shared/models/plugins')
-rw-r--r-- | shared/models/plugins/plugin-package-json.model.ts | 7 |
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 @@ | |||
1 | export type ClientScript = { | ||
2 | script: string, | ||
3 | scopes: string[] | ||
4 | } | ||
5 | |||
1 | export type PluginPackageJson = { | 6 | export 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 | } |