]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/plugins/plugin-package-json.model.ts
Remove comments, rates and views from stats
[github/Chocobozzz/PeerTube.git] / shared / models / plugins / plugin-package-json.model.ts
CommitLineData
428ccb8b 1import { PluginClientScope } from './client/plugin-client-scope.type'
e8f902c0 2
c7cdac44 3export type PluginTranslationPathsJSON = {
d75db01f
C
4 [ locale: string ]: string
5}
6
c7cdac44 7export type ClientScriptJSON = {
a1587156 8 script: string
e8f902c0 9 scopes: PluginClientScope[]
2c053942
C
10}
11
c7cdac44 12export type PluginPackageJSON = {
345da516 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
c7cdac44 26 clientScripts: ClientScriptJSON[]
d75db01f 27
c7cdac44 28 translations: PluginTranslationPathsJSON
345da516 29}