Add peertube plugin index website models

This commit is contained in:
Chocobozzz
2019-07-15 15:41:56 +02:00
committed by Chocobozzz
parent 30ff39e7f0
commit 503c6f440a
8 changed files with 38 additions and 11 deletions

View File

@@ -0,0 +1,11 @@
export interface PeerTubePluginIndex {
npmName: string
description: string
homepage: string
createdAt: Date
updatedAt: Date
popularity: number
latestVersion: string
}

View File

@@ -0,0 +1,5 @@
export interface PeertubePluginLatestVersion {
currentPeerTubeEngine?: string,
npmNames: string[]
}

View File

@@ -0,0 +1,10 @@
import { PluginType } from './plugin.type'
export interface PeertubePluginList {
start: number
count: number
sort: string
pluginType?: PluginType
currentPeerTubeEngine?: string
search?: string
}