diff options
Diffstat (limited to 'shared/models/plugins/plugin-package-json.model.ts')
-rw-r--r-- | shared/models/plugins/plugin-package-json.model.ts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/shared/models/plugins/plugin-package-json.model.ts b/shared/models/plugins/plugin-package-json.model.ts new file mode 100644 index 000000000..4520ee181 --- /dev/null +++ b/shared/models/plugins/plugin-package-json.model.ts | |||
@@ -0,0 +1,15 @@ | |||
1 | export type PluginPackageJson = { | ||
2 | name: string | ||
3 | description: string | ||
4 | engine: { peertube: string }, | ||
5 | |||
6 | homepage: string, | ||
7 | author: string, | ||
8 | bugs: string, | ||
9 | library: string, | ||
10 | |||
11 | staticDirs: { [ name: string ]: string } | ||
12 | css: string[] | ||
13 | |||
14 | clientScripts: { script: string, scopes: string[] }[] | ||
15 | } | ||