@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.
25 lines • 1.26 kB
TypeScript
import type { ActionBlock, AllBlock, Facts } from '../../../engine';
import * as i0 from "@angular/core";
export declare class RuleActionsPresComponent {
/**
* List of all the output actions of a rules or ruleset execution
*/
actions: AllBlock[];
/**
* The list of temporary facts used and/or modified within the rule or the ruleset.
* They are scoped to the ruleset and their value is the one after the rule or ruleset execution.
*/
temporaryFacts: Record<string, Facts>;
/**
* List of temporary facts that will be modified by the ruleset or the rule.
*/
runtimeOutputs: string[];
/**
* Check if a given block is of type ActionBlock
* @param block
*/
isActionBlock(block: AllBlock): block is ActionBlock;
static ɵfac: i0.ɵɵFactoryDeclaration<RuleActionsPresComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<RuleActionsPresComponent, "o3r-rule-actions-pres", never, { "actions": { "alias": "actions"; "required": false; }; "temporaryFacts": { "alias": "temporaryFacts"; "required": false; }; "runtimeOutputs": { "alias": "runtimeOutputs"; "required": false; }; }, {}, never, never, true, never>;
}
//# sourceMappingURL=rule-actions-pres.component.d.ts.map