aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/plugins/plugin-index/peertube-plugin-latest-version.model.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/plugins/plugin-index/peertube-plugin-latest-version.model.ts')
-rw-r--r--shared/models/plugins/plugin-index/peertube-plugin-latest-version.model.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/shared/models/plugins/plugin-index/peertube-plugin-latest-version.model.ts b/shared/models/plugins/plugin-index/peertube-plugin-latest-version.model.ts
new file mode 100644
index 000000000..811a64429
--- /dev/null
+++ b/shared/models/plugins/plugin-index/peertube-plugin-latest-version.model.ts
@@ -0,0 +1,10 @@
1export interface PeertubePluginLatestVersionRequest {
2 currentPeerTubeEngine?: string
3
4 npmNames: string[]
5}
6
7export type PeertubePluginLatestVersionResponse = {
8 npmName: string
9 latestVersion: string | null
10}[]