@smart-moov/plugin
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -6,2 +6,14 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "ApplicationsPlugin", { | ||
enumerable: true, | ||
get: function () { | ||
return _ApplicationsPlugin.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "ChatbotPlugin", { | ||
enumerable: true, | ||
get: function () { | ||
return _ChatbotPlugin.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "Plugin", { | ||
@@ -16,3 +28,7 @@ enumerable: true, | ||
var _ChatbotPlugin = _interopRequireDefault(require("./ChatbotPlugin")); | ||
var _ApplicationsPlugin = _interopRequireDefault(require("./ApplicationsPlugin")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
//# sourceMappingURL=index.js.map |
@@ -26,2 +26,16 @@ "use strict"; | ||
/** | ||
* Returns the plugin meta data. | ||
* | ||
* @returns object | ||
*/ | ||
getMeta() { | ||
return { | ||
name: 'Plugin name', | ||
description: 'Plugin description', | ||
icon: 'https://picsum.photos/200/300' | ||
}; | ||
} | ||
/** | ||
* Add one steps. The step is an object with keys : | ||
@@ -32,3 +46,3 @@ * | ||
* - category: 'messages', 'questions' or 'controls' | ||
* - icon: Font Awesome icon name, ex: 'comment-alt' | ||
* - icon: Font Awesome icon name, or datauri, or URL, ex: 'comment-alt' | ||
* - default: object with default configuration | ||
@@ -35,0 +49,0 @@ * |
{ | ||
"name": "@smart-moov/plugin", | ||
"description": "Base for Smart Moov plugins, available in the Smart Moov Marketplace", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "repository": "git@github.com:smart-moov/plugin.git", |
import Plugin from './Plugin' | ||
import ChatbotPlugin from './ChatbotPlugin' | ||
import ApplicationsPlugin from './ApplicationsPlugin' | ||
export { Plugin } | ||
export { Plugin, ChatbotPlugin, ApplicationsPlugin } |
@@ -16,2 +16,15 @@ /** | ||
/** | ||
* Returns the plugin meta data. | ||
* | ||
* @returns object | ||
*/ | ||
getMeta () { | ||
return { | ||
name: 'Plugin name', | ||
description: 'Plugin description', | ||
icon: 'https://picsum.photos/200/300' | ||
} | ||
} | ||
/** | ||
* Add one steps. The step is an object with keys : | ||
@@ -22,3 +35,3 @@ * | ||
* - category: 'messages', 'questions' or 'controls' | ||
* - icon: Font Awesome icon name, ex: 'comment-alt' | ||
* - icon: Font Awesome icon name, or datauri, or URL, ex: 'comment-alt' | ||
* - default: object with default configuration | ||
@@ -25,0 +38,0 @@ * |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21665
16
407