1
0
Fork 0
peertube/shared/models/plugins/plugin-package-json.model.ts
2021-05-11 13:33:11 +02:00

29 lines
546 B
TypeScript

import { PluginClientScope } from './client/plugin-client-scope.type'
export type PluginTranslationPaths = {
[ locale: string ]: string
}
export type ClientScript = {
script: string
scopes: PluginClientScope[]
}
export type PluginPackageJson = {
name: string
version: string
description: string
engine: { peertube: string }
homepage: string
author: string
bugs: string
library: string
staticDirs: { [ name: string ]: string }
css: string[]
clientScripts: ClientScript[]
translations: PluginTranslationPaths
}