]>
Commit | Line | Data |
---|---|---|
1 | import { PluginClientScope } from './client/plugin-client-scope.type' | |
2 | ||
3 | export type PluginTranslationPathsJSON = { | |
4 | [ locale: string ]: string | |
5 | } | |
6 | ||
7 | export type ClientScriptJSON = { | |
8 | script: string | |
9 | scopes: PluginClientScope[] | |
10 | } | |
11 | ||
12 | export 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 | } |