Index

src/engine/structure.ts

ActionTypes
the actions are now depending of executing modules

List of possible types of actions resulted as output of a rule execution

"SET_FACT" | "UPDATE_CONFIG" | "UPDATE_ASSET" | "UPDATE_LOCALISATION" | "UPDATE_PLACEHOLDER"
AllBlock

All supported blocks (supporting nested structure)

IfElseBlock |
AllConditions

All Condition

literal type
AnyConditions

Any Condition

literal type
ConditionBlockTypes

Types associated to the condition blocks that are supported

GenericOperand

Condition available operand types

OperandFact | Operand<RUNTIME_FACT | string> | Operand<LITERAL>
NativeTypes
string | boolean | number
NestedCondition

Nested Condition

UnaryOperation | BinaryOperation | TopLevelCondition
NotCondition

Not Condition

literal type
TopLevelCondition

Top level Condition in the rule definition

AllConditions | AnyConditions | NotCondition | UnaryOperation | BinaryOperation

src/devkit/rules-engine-devkit.interface.ts

AvailableRulesEngineMessageContents

List of all messages for configuration purpose

RulesEngineMessageContents | ConnectContentMessage | RequestMessagesContentMessage<RulesEngineMessageDataTypes>
RulesEngineMessageContents
RulesEngineDebugEventsContentMessage
RulesEngineMessageDataTypes

List of possible DataTypes for RulesEngine messages

MessageDataTypes<RulesEngineMessageContents>

src/engine/engine.interface.ts

CrossPlatformPerformance

Performance object supporting NodeJs Performance and Web Performance reporting

literal type
DebugEvent

Type of possible debug events emitted by Rules Engine

RulesetExecutionEvent | RulesetExecutionErrorEvent | ActiveRulesetsEvent | AllActionsEvent | AvailableRulesets | AvailableFactsSnapshot

src/engine/operator/operator.interface.ts

DateInput

Any input that can be used as single parameter for Date constructor (Date, string, number)

Date | string | number
SupportedSimpleTypes

Alias for supported simple types in AEM to be used in the operators to avoid repetition of the (string | boolean | Date | number) This type reference is specifically handled by the rule operator extractor.

string | boolean | Date | number | null | undefined

src/engine/fact/fact.interfaces.ts

FactBasicValues

Fact basic value type

number | boolean | string | string[] | boolean[] | number[] | undefined
FactFactoryReturn

Return type of a fact factory

Observable<T> | Promise<T> | T
Facts

Represents all the supported facts types TOCHECK utils.Date vs Date

string | number | boolean | null | Date | Record<string | > | []
FactSet

Set of facts

FactValueStream

Fact stream type

Observable<T | undefined>

src/engine/ruleset-executor.ts

RetrieveFactFuncType

Type of the retrieve fact function

function

src/components/rules-engine/ruleset-history/ruleset-history-pres.component.ts

RulesetExecutionDebug

Model of a RulesetExecution with more information for debug purpose

RulesetExecutionStatus
"Error" | "Active" | "Deactivated" | "NoEffect"

results matching ""

    No results matching ""