UNPKG

@o3r/rules-engine

Version:

This module provides a rule engine that can be executed on your Otter application to customize your application (translations, placeholders and configs) based on a json file generated by your CMS.

61 lines (60 loc) 1.64 kB
{ "$schema": "http://json-schema.org/draft-07/schema", "type": "object", "$id": "RulesEngineExtractorBuilderSchema", "title": "rules engine extractor builder", "description": "rules engine extractor builder options", "properties": { "tsConfig": { "type": "string", "description": "Typescript configuration file to build the application", "default": "tsconfig.json" }, "libraries": { "type": "array", "description": "List of libraries imported", "items": { "type": "string" }, "default": [] }, "outputFactsDirectory": { "type": "string", "description": "Path to directory to output the facts metadata file", "default": "" }, "outputOperatorsDirectory": { "type": "string", "description": "Path to directory to output the operators metadata file", "default": "" }, "factFilePatterns": { "type": "array", "items": { "type": "string" }, "default": [], "description": "List of patterns of the source files containing the facts definitions" }, "operatorFilePatterns": { "type": "array", "items": { "type": "string" }, "default": [], "description": "List of patterns of the source files containing the operators definitions" }, "ignoreFactsFromLibraries": { "type": "array", "items": { "type": "string" }, "default": [], "description": "Will ignore all facts coming from the libraries listed" } }, "additionalProperties": false, "required": [ "tsConfig" ] }