Contains all of the functions necessary to bootStrap the business rules system for the plugin.
- Copyright:
- Copyright © 2023-… by Seth Hollingsead. All rights reserved
- Source:
Requires
- module:rulesLibrary
- module:plugin.constants
- module:loggers
- @haystacks/async
- @haystacks/constants
- path
Methods
(inner) bootStrapBusinessRules() → {object}
Captures all of the business rule functions string-to-function call map data in the rulesLibrary and migrates that data to the D-data structure. This is important now, because this data structure is how the plugin functionality will be imported and subsequently executed by the Haystacks platform.
- 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