aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/plugins/plugin-index
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/plugins/plugin-index')
-rw-r--r--shared/models/plugins/plugin-index/index.ts3
-rw-r--r--shared/models/plugins/plugin-index/peertube-plugin-index-list.model.ts10
-rw-r--r--shared/models/plugins/plugin-index/peertube-plugin-index.model.ts16
-rw-r--r--shared/models/plugins/plugin-index/peertube-plugin-latest-version.model.ts10
4 files changed, 0 insertions, 39 deletions
diff --git a/shared/models/plugins/plugin-index/index.ts b/shared/models/plugins/plugin-index/index.ts
deleted file mode 100644
index 913846638..000000000
--- a/shared/models/plugins/plugin-index/index.ts
+++ /dev/null
@@ -1,3 +0,0 @@
1export * from './peertube-plugin-index-list.model'
2export * from './peertube-plugin-index.model'
3export * from './peertube-plugin-latest-version.model'
diff --git a/shared/models/plugins/plugin-index/peertube-plugin-index-list.model.ts b/shared/models/plugins/plugin-index/peertube-plugin-index-list.model.ts
deleted file mode 100644
index ecb46482e..000000000
--- a/shared/models/plugins/plugin-index/peertube-plugin-index-list.model.ts
+++ /dev/null
@@ -1,10 +0,0 @@
1import { PluginType } from '../plugin.type'
2
3export interface PeertubePluginIndexList {
4 start: number
5 count: number
6 sort: string
7 pluginType?: PluginType
8 currentPeerTubeEngine?: string
9 search?: string
10}
diff --git a/shared/models/plugins/plugin-index/peertube-plugin-index.model.ts b/shared/models/plugins/plugin-index/peertube-plugin-index.model.ts
deleted file mode 100644
index 36dfef943..000000000
--- a/shared/models/plugins/plugin-index/peertube-plugin-index.model.ts
+++ /dev/null
@@ -1,16 +0,0 @@
1export interface PeerTubePluginIndex {
2 npmName: string
3 description: string
4 homepage: string
5 createdAt: Date
6 updatedAt: Date
7
8 popularity: number
9
10 latestVersion: string
11
12 official: boolean
13
14 name?: string
15 installed?: boolean
16}
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
deleted file mode 100644
index 811a64429..000000000
--- a/shared/models/plugins/plugin-index/peertube-plugin-latest-version.model.ts
+++ /dev/null
@@ -1,10 +0,0 @@
1export interface PeertubePluginLatestVersionRequest {
2 currentPeerTubeEngine?: string
3
4 npmNames: string[]
5}
6
7export type PeertubePluginLatestVersionResponse = {
8 npmName: string
9 latestVersion: string | null
10}[]