]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/plugins/peertube-plugin.model.ts
Add ability for auth plugins to hook tokens validity
[github/Chocobozzz/PeerTube.git] / shared / models / plugins / peertube-plugin.model.ts
index 2a1dfb3a7b465cbc5c3c3015711484becdf74c0a..2b0bb8cfa2ba284ded61a732995809fae2c12672 100644 (file)
@@ -1,12 +1,16 @@
+import { PluginType } from './plugin.type'
+
 export interface PeerTubePlugin {
   name: string
-  type: number
+  type: PluginType
+  latestVersion: string
   version: string
   enabled: boolean
   uninstalled: boolean
   peertubeEngine: string
   description: string
-  settings: any
+  homepage: string
+  settings: { [ name: string ]: string }
   createdAt: Date
   updatedAt: Date
 }