Contains all the functions to manage the entire plugin at the highest level. Also provides an interface to easily manage all the plugin features and various functionality from a single entry point.
- Copyright:
- Copyright © 2023-… by Seth Hollingsead. All rights reserved
- Source:
Requires
- module:plugin.constants
- module:chiefCommander
- module:chiefConfiguration
- module:chiefData
- module:chiefRules
- module:chiefTheme
- module:chiefWorkflow
- module:loggers
- module:pluginData
- @haystacks/constants
- path
Methods
(inner) initPluginCommands() → {object}
This is a wrapper call for chiefCommander.initCommands.
- Source:
Returns:
A JSON object that contains an array of function objects that map function name to function call for all of the commands.
- Type
- object
(inner) initPluginRules() → {object}
This is a wrapper call for chiefRules.initBusinessRules.
- Source:
Returns:
A JSON object that contains an array of function objects that map function name to function call for all the business rules.
- Type
- object
(inner) initPluginSchema(configData) → {object}
Setup all of the plugin data and configuration settings.
Parameters:
| Name | Type | Description |
|---|---|---|
configData |
object | All of the configuration data and paths that should be parsed as part of the setup process. |
- Source:
Returns:
All of the plugin data that should be returned to the rest of the Haystacks platform.
- Type
- object