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.

13 lines 680 B
import type { Fact, Operator, RulesEngineRunnerService, UnaryOperator } from '@o3r/rules-engine'; /** Jest Fixture class for RulesEngineRunnerService */ export 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]>; } //# sourceMappingURL=rules-engine.runner.service.fixture.jest.d.ts.map