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

22 lines
359 B
TypeScript

export type ClientScript = {
script: string,
scopes: string[]
}
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[]
}