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:
parent
30ff39e7f0
commit
503c6f440a
8 changed files with 38 additions and 11 deletions
11
shared/models/plugins/peertube-plugin-index.model.ts
Normal file
11
shared/models/plugins/peertube-plugin-index.model.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
export interface PeerTubePluginIndex {
|
||||
npmName: string
|
||||
description: string
|
||||
homepage: string
|
||||
createdAt: Date
|
||||
updatedAt: Date
|
||||
|
||||
popularity: number
|
||||
|
||||
latestVersion: string
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
export interface PeertubePluginLatestVersion {
|
||||
currentPeerTubeEngine?: string,
|
||||
|
||||
npmNames: string[]
|
||||
}
|
10
shared/models/plugins/peertube-plugin-list.model.ts
Normal file
10
shared/models/plugins/peertube-plugin-list.model.ts
Normal 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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue