X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fmodels%2Fplugins%2Fpeertube-plugin-latest-version.model.ts;h=811a64429c1753ebbc782033151f977176d78a6b;hb=e307e4fce39853d445d086f92b8c556c363ee15d;hp=36dd3af54c9b1ba03e5e029b87c3efed7c75258f;hpb=503c6f440abc8f5924c38c4bd63591cb6cefacec;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/models/plugins/peertube-plugin-latest-version.model.ts b/shared/models/plugins/peertube-plugin-latest-version.model.ts index 36dd3af54..811a64429 100644 --- a/shared/models/plugins/peertube-plugin-latest-version.model.ts +++ b/shared/models/plugins/peertube-plugin-latest-version.model.ts @@ -1,5 +1,10 @@ -export interface PeertubePluginLatestVersion { - currentPeerTubeEngine?: string, +export interface PeertubePluginLatestVersionRequest { + currentPeerTubeEngine?: string npmNames: string[] } + +export type PeertubePluginLatestVersionResponse = { + npmName: string + latestVersion: string | null +}[]