]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame_incremental - shared/models/plugins/plugin-package-json.model.ts
Merge branch 'release/5.1.0' into develop
[github/Chocobozzz/PeerTube.git] / shared / models / plugins / plugin-package-json.model.ts
... / ...
CommitLineData
1import { PluginClientScope } from './client/plugin-client-scope.type'
2
3export type PluginTranslationPathsJSON = {
4 [ locale: string ]: string
5}
6
7export type ClientScriptJSON = {
8 script: string
9 scopes: PluginClientScope[]
10}
11
12export type PluginPackageJSON = {
13 name: string
14 version: string
15 description: string
16 engine: { peertube: string }
17
18 homepage: string
19 author: string
20 bugs: string
21 library: string
22
23 staticDirs: { [ name: string ]: string }
24 css: string[]
25
26 clientScripts: ClientScriptJSON[]
27
28 translations: PluginTranslationPathsJSON
29}