diff options
author | John Livingston <38844060+JohnXLivingston@users.noreply.github.com> | 2021-12-03 10:14:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-03 10:14:01 +0100 |
commit | 3a1157a68a70e90df21f743ea15154805649b8e5 (patch) | |
tree | 16cf8151e6717f9025f53aec28c3a85c003377fb /shared/models/plugins | |
parent | 37cb07eae26b1b73b118e256df71243ae298fa72 (diff) | |
download | PeerTube-3a1157a68a70e90df21f743ea15154805649b8e5.tar.gz PeerTube-3a1157a68a70e90df21f743ea15154805649b8e5.tar.zst PeerTube-3a1157a68a70e90df21f743ea15154805649b8e5.zip |
CLI: plugins install command accept a --plugin-version parameter. (#4599)
* CLI: plugins install command accept a --plugin-version parameter.
* Unit tests for plugins install --plugin-version.
* Fix linting.
* Styling
Co-authored-by: Chocobozzz <me@florianbigard.com>
Diffstat (limited to 'shared/models/plugins')
-rw-r--r-- | shared/models/plugins/server/api/install-plugin.model.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shared/models/plugins/server/api/install-plugin.model.ts b/shared/models/plugins/server/api/install-plugin.model.ts index 5a268ebe1..a1d009a00 100644 --- a/shared/models/plugins/server/api/install-plugin.model.ts +++ b/shared/models/plugins/server/api/install-plugin.model.ts | |||
@@ -1,4 +1,5 @@ | |||
1 | export interface InstallOrUpdatePlugin { | 1 | export interface InstallOrUpdatePlugin { |
2 | npmName?: string | 2 | npmName?: string |
3 | pluginVersion?: string | ||
3 | path?: string | 4 | path?: string |
4 | } | 5 | } |