Options

The options block in the main domain definition file primarily deals with tying everything together. All paths are relative to the main file.

The example below outlines all options available in the main domain definition file:

options:
    form: form.yml
    aggregators:
        - cost-summary.yml
        - bom.yml
    data:
        - products.yml
        - math-constants.yml
    scripts:
        common: common-functions.rhai
  • form
  • aggregators
    • expects a list of relative paths, each defines a single aggregator
    • see Aggregators for more
  • data
    • expects a list of relative paths, each can define a number of lookup tables
    • see Lookup Tables for more
  • scripts
    • expects key-value pairs
    • the key is the global module name (e.g. common:: in above example)
    • the value is a relative path to a script file
    • see Modules for more