21 lines
359 B
TypeScript
21 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[]
|
|
}
|