aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-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}