]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/plugins/peertube-plugin-latest-version.model.ts
Add ability to search available plugins
[github/Chocobozzz/PeerTube.git] / shared / models / plugins / peertube-plugin-latest-version.model.ts
index 36dd3af54c9b1ba03e5e029b87c3efed7c75258f..dec4618fa282f8b48af111e37087972d40ac2682 100644 (file)
@@ -1,5 +1,10 @@
-export interface PeertubePluginLatestVersion {
+export interface PeertubePluginLatestVersionRequest {
   currentPeerTubeEngine?: string,
 
   npmNames: string[]
 }
+
+export type PeertubePluginLatestVersionResponse = {
+  npmName: string
+  latestVersion: string | null
+}[]