@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.
17 lines (14 loc) • 705 B
TypeScript
import { RulesEngineRunnerService, Fact, Operator, UnaryOperator } from '@o3r/rules-engine';
/** Jest Fixture class for RulesEngineRunnerService */
declare class RulesEngineRunnerServiceFixture implements Readonly<Partial<RulesEngineRunnerService>> {
/** @inheritDoc */
upsertFacts: jest.Mock<void, [Fact<unknown> | Fact<unknown>[]]>;
/** @inheritDoc */
upsertOperators: jest.Mock<void, [(Operator<any, any> | UnaryOperator<any>)[]]>;
/** @inheritDoc */
enableRuleSetFor: jest.Mock<void, [string]>;
/** @inheritDoc */
disableRuleSetFor: jest.Mock<void, [string]>;
}
export { RulesEngineRunnerServiceFixture };
//# sourceMappingURL=o3r-rules-engine-fixtures-jest.d.ts.map