PeerTube/shared/models/plugins/plugin-package-json.model.ts

24 lines
434 B
TypeScript
Raw Normal View History

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