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