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.

15 lines 704 B
import { InjectionToken } from '@angular/core'; /** Determine if the action should be executed */ export declare const RULES_ENGINE_OPTIONS: InjectionToken<boolean>; /** Rules engine configuration */ export interface RulesEngineServiceOptions { /** Determine if the actions resulting of the rule engine should be executed */ dryRun: boolean; /** Flag to activate the run of Rules Engine in debug mode */ debug: boolean; /** Limit the number of debug events kept in stack */ debugEventsStackLimit?: number; } /** Default Rules engine options */ export declare const DEFAULT_RULES_ENGINE_OPTIONS: Readonly<RulesEngineServiceOptions>; //# sourceMappingURL=rules-engine.token.d.ts.map