@salesforce/b2c-tooling-sdk / safety / SafetyEvaluation
Interface: SafetyEvaluation ​
Defined in: packages/b2c-tooling-sdk/src/safety/types.ts:74
Result of evaluating an operation against safety rules.
Properties ​
action ​
action:
SafetyAction
Defined in: packages/b2c-tooling-sdk/src/safety/types.ts:76
The action determined by evaluation.
operation ​
operation:
SafetyOperation
Defined in: packages/b2c-tooling-sdk/src/safety/types.ts:80
The operation that was evaluated.
reason ​
reason:
string
Defined in: packages/b2c-tooling-sdk/src/safety/types.ts:78
Human-readable explanation of why this action was chosen.
rule? ​
optionalrule:SafetyRule
Defined in: packages/b2c-tooling-sdk/src/safety/types.ts:82
The rule that matched, or undefined if the level default was used.