]>
Commit | Line | Data |
---|---|---|
e8f902c0 C |
1 | import { PluginClientScope } from './plugin-client-scope.type' |
2 | ||
d75db01f C |
3 | export type PluginTranslationPaths = { |
4 | [ locale: string ]: string | |
5 | } | |
6 | ||
2c053942 | 7 | export type ClientScript = { |
a1587156 | 8 | script: string |
e8f902c0 | 9 | scopes: PluginClientScope[] |
2c053942 C |
10 | } |
11 | ||
345da516 C |
12 | export type PluginPackageJson = { |
13 | name: string | |
f023a19c | 14 | version: string |
345da516 | 15 | description: string |
a1587156 | 16 | engine: { peertube: string } |
345da516 | 17 | |
a1587156 C |
18 | homepage: string |
19 | author: string | |
20 | bugs: string | |
21 | library: string | |
345da516 C |
22 | |
23 | staticDirs: { [ name: string ]: string } | |
24 | css: string[] | |
25 | ||
2c053942 | 26 | clientScripts: ClientScript[] |
d75db01f C |
27 | |
28 | translations: PluginTranslationPaths | |
345da516 | 29 | } |