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