
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@smart-moov/plugin
Advanced tools
Base for Smart Moov plugins, available in the Smart Moov Marketplace
Base ES6 classes to create Smart Moov plugins, to let you connect your product to our candidates.
A Smart Moov plugin let you to create custom chatbot steps, and synchronize applications with your APIs.
Create your repository, with public access, with a index.js
file who exports an ES6 class extending our Plugin
class.
import { Plugin } from '@smart-moov/plugin'
export default class MyPlugin extends Plugin {}
You can enable features for your plugin :
export default class MyPlugin extends Plugin {
getFeatures () {
return ['chatbot', 'applications']
}
}
chatbot
: Let the plugin add chatbot steps, to directly interact with the candidate.applications
: Your plugin will be called whenever we receive an application from a candidate. This will let you send the application to an external API, etcexport default class MyPlugin extends Plugin {
getChatbotStepConfiguration () {
return {
id: 'talk',
name: {
fr: 'Parler avec Dean',
en: 'Talk with Dean'
},
category: 'messages',
icon: 'comment-alt',
configuration: {
message: {
type: 'text',
i18n: true
}
}
}
}
}
More details soon.
export default class MyPlugin extends Plugin {
getChatbotPublicPlugin () {
return async ctx => {
const name = await ctx.askText('Question ?', {
minLength: 10
})
const ret = await ctx.callPrivatePlugin({
name
})
console.log(ret.saved)
}
}
async executeChatbotPrivatePlugin ({ name }, ctx) {
// Save name in other tools
return {
saved: true
}
}
}
More details soon.
You can run methods on specific events :
export default class MyPlugin extends Plugin {
/**
* Called when the plugin is installed on an organization.
*/
onInstall (ctx) {
return undefined
}
/**
* Called when the plugin is uninstalled from an organization.
*/
onUninstall (ctx) {
return undefined
}
/**
* Called when the plugin configuration is saved.
*/
onSave (ctx) {
return undefined
}
}
More details soon.
FAQs
Base for Smart Moov plugins, available in the Smart Moov Marketplace
The npm package @smart-moov/plugin receives a total of 1 weekly downloads. As such, @smart-moov/plugin popularity was classified as not popular.
We found that @smart-moov/plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.