2019-07-22 16:04:44 +02:00
|
|
|
import { PluginClientScope } from './plugin-client-scope.type'
|
|
|
|
|
2019-07-08 14:02:03 +02:00
|
|
|
export type ClientScript = {
|
|
|
|
script: string,
|
2019-07-22 16:04:44 +02:00
|
|
|
scopes: PluginClientScope[]
|
2019-07-08 14:02:03 +02:00
|
|
|
}
|
|
|
|
|
2019-07-05 13:54:32 +02:00
|
|
|
export type PluginPackageJson = {
|
|
|
|
name: string
|
2019-07-05 15:28:49 +02:00
|
|
|
version: string
|
2019-07-05 13:54:32 +02:00
|
|
|
description: string
|
|
|
|
engine: { peertube: string },
|
|
|
|
|
|
|
|
homepage: string,
|
|
|
|
author: string,
|
|
|
|
bugs: string,
|
|
|
|
library: string,
|
|
|
|
|
|
|
|
staticDirs: { [ name: string ]: string }
|
|
|
|
css: string[]
|
|
|
|
|
2019-07-08 14:02:03 +02:00
|
|
|
clientScripts: ClientScript[]
|
2019-07-05 13:54:32 +02:00
|
|
|
}
|