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

Reorganize plugin models

This commit is contained in:
Chocobozzz 2021-05-11 12:04:47 +02:00
parent 2b02c520e6
commit 428ccb8b7a
No known key found for this signature in database
GPG key ID: 583A612D890159BE
48 changed files with 113 additions and 112 deletions

View file

@ -0,0 +1,3 @@
export * from './install-plugin.model'
export * from './manage-plugin.model'
export * from './peertube-plugin.model'

View file

@ -0,0 +1,4 @@
export interface InstallOrUpdatePlugin {
npmName?: string
path?: string
}

View file

@ -0,0 +1,3 @@
export interface ManagePlugin {
npmName: string
}

View file

@ -0,0 +1,16 @@
import { PluginType } from '../../plugin.type'
export interface PeerTubePlugin {
name: string
type: PluginType
latestVersion: string
version: string
enabled: boolean
uninstalled: boolean
peertubeEngine: string
description: string
homepage: string
settings: { [ name: string ]: string }
createdAt: Date
updatedAt: Date
}