diff options
author | Chocobozzz <me@florianbigard.com> | 2019-07-12 11:39:58 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-07-24 10:58:16 +0200 |
commit | b5f919ac8eb2a1c20e26582fdfd377d687710d8f (patch) | |
tree | 5ec28be6f750f54bba560803ddba681103c2d82e /shared/models/plugins | |
parent | 8d2be0ed7bb87283a1ec98609df6b82d83db706a (diff) | |
download | PeerTube-b5f919ac8eb2a1c20e26582fdfd377d687710d8f.tar.gz PeerTube-b5f919ac8eb2a1c20e26582fdfd377d687710d8f.tar.zst PeerTube-b5f919ac8eb2a1c20e26582fdfd377d687710d8f.zip |
WIP plugins: update plugin
Diffstat (limited to 'shared/models/plugins')
-rw-r--r-- | shared/models/plugins/install-plugin.model.ts | 2 | ||||
-rw-r--r-- | shared/models/plugins/peertube-plugin.model.ts | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/shared/models/plugins/install-plugin.model.ts b/shared/models/plugins/install-plugin.model.ts index b1b46fa08..5a268ebe1 100644 --- a/shared/models/plugins/install-plugin.model.ts +++ b/shared/models/plugins/install-plugin.model.ts | |||
@@ -1,4 +1,4 @@ | |||
1 | export interface InstallPlugin { | 1 | export interface InstallOrUpdatePlugin { |
2 | npmName?: string | 2 | npmName?: string |
3 | path?: string | 3 | path?: string |
4 | } | 4 | } |
diff --git a/shared/models/plugins/peertube-plugin.model.ts b/shared/models/plugins/peertube-plugin.model.ts index de3c7741b..e3c100027 100644 --- a/shared/models/plugins/peertube-plugin.model.ts +++ b/shared/models/plugins/peertube-plugin.model.ts | |||
@@ -1,6 +1,7 @@ | |||
1 | export interface PeerTubePlugin { | 1 | export interface PeerTubePlugin { |
2 | name: string | 2 | name: string |
3 | type: number | 3 | type: number |
4 | latestVersion: string | ||
4 | version: string | 5 | version: string |
5 | enabled: boolean | 6 | enabled: boolean |
6 | uninstalled: boolean | 7 | uninstalled: boolean |