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.

47 lines (46 loc) 1.39 kB
{ "$schema": "http://json-schema.org/draft-07/schema", "type": "object", "$id": "RuleFactMigrationMetadataCheckBuilderSchema", "title": "Check rule-fact migration metadata builder", "description": "Check rule-fact migration metadata builder", "properties": { "migrationDataPath": { "type": ["string", "array"], "items": { "type": "string" }, "description": "Glob of the migration files to use." }, "granularity": { "type": "string", "description": "Granularity of the migration check.", "default": "minor", "enum": [ "major", "minor" ] }, "allowBreakingChanges": { "type": "boolean", "description": "Are breaking changes allowed.", "default": false }, "shouldCheckUnusedMigrationData": { "type": "boolean", "description": "Whether to throw an error in case of a migration item that is not used during metadata checks", "default": false }, "packageManager": { "type": "string", "description": "Override of the package manager, otherwise it will be determined from the project." }, "metadataPath": { "type": "string", "description": "Path of the rule-fact metadata file.", "default": "./rules.facts.metadata.json" } }, "additionalProperties": false, "required": ["migrationDataPath"] }