aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/plugins/plugin-package-json.model.ts
blob: f8029ec3435d5b2cfa0654498e9a05d6a47c761e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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[]
}