improve comments with PluginApi

pull/3094/head
Grandschtroumpf 6 years ago
parent 3e6432a691
commit 2853045c33
  1. 4
      src/app/components/local-plugin.js

@ -6,7 +6,7 @@ module.exports = class LocalPlugin {
/** /**
* Open a modal to create a local plugin * Open a modal to create a local plugin
* @param {{profile: any, api: any}[]} plugins The list of the plugins in the store * @param {PluginApi[]} plugins The list of the plugins in the store
* @returns {Promise<{api: any, profile: any}>} A promise with the new plugin profile * @returns {Promise<{api: any, profile: any}>} A promise with the new plugin profile
*/ */
open (plugins) { open (plugins) {
@ -90,7 +90,7 @@ module.exports = class LocalPlugin {
/** /**
* The form to create a local plugin * The form to create a local plugin
* @param {Profile[]} plugins Liste of profile of the plugins * @param {ProfileApi[]} plugins Liste of profile of the plugins
*/ */
form (plugins = []) { form (plugins = []) {
const name = this.profile.name || '' const name = this.profile.name || ''

Loading…
Cancel
Save