Module: warden

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.

Author:
  • Seth Hollingsead
Source:

Requires

Methods

(inner) initPluginCommands() → {object}

This is a wrapper call for chiefCommander.initCommands.

Author:
  • Seth Hollingsead
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.

Author:
  • Seth Hollingsead
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.

Author:
  • Seth Hollingsead
Source:
Returns:

All of the plugin data that should be returned to the rest of the Haystacks platform.

Type
object