1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 18:29:27 +02:00

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
}