Interface representing the configuration object.

Hierarchy

  • Configuration

Properties

Properties

ScriptConfig: (() => any)

Type declaration

    • (): any
    • Retrieves the configuration of the running script. The returned object is the JSON set up as the script's configuration; it is null when the script has no configuration.

      Returns any

      The script configuration object, or null.

      Example

      var config = Configuration.ScriptConfig() || {};
      var markupPercentage = config.markupPercentage || 20;

Generated using TypeDoc