oro-sdk-apis 1.47.0 → 1.48.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -66,9 +66,45 @@ export interface EntryData {
|
|
66
66
|
summaryHidden?: boolean;
|
67
67
|
className?: string;
|
68
68
|
/**
|
69
|
-
* This field represents a list of `selectedAnswers` that must be set for this entry to be displayed
|
69
|
+
* This field represents a list of `selectedAnswers` that must be set for this entry to be displayed using the followng logical combination of rules:
|
70
|
+
*
|
71
|
+
* #### Single string
|
72
|
+
*
|
73
|
+
* ```
|
74
|
+
* // Required: rule1
|
75
|
+
* rules: rule1
|
76
|
+
* ```
|
77
|
+
*
|
78
|
+
* #### Array of strings (AND is applied between statements):
|
79
|
+
*
|
80
|
+
* ```
|
81
|
+
* // Required: rule1 AND rule2
|
82
|
+
* rules: [ rule1, rule2 ]
|
83
|
+
* ```
|
84
|
+
*
|
85
|
+
* #### Array of arrays of strings (OR is applied between inner arrays. AND is applied between inner arrays statements)
|
86
|
+
*
|
87
|
+
* ```
|
88
|
+
* // Required: rule1 OR rule2
|
89
|
+
* rules: [
|
90
|
+
* [ rule1 ],
|
91
|
+
* [ rule2 ]
|
92
|
+
* ]
|
93
|
+
*
|
94
|
+
* // Required: rule1 OR (rule2 AND rule3)
|
95
|
+
* rules: [
|
96
|
+
* [ rule1 ],
|
97
|
+
* [ rule2, rule3 ]
|
98
|
+
* ]
|
99
|
+
*
|
100
|
+
* // THIS IS FORBIDDEN
|
101
|
+
* rules: [
|
102
|
+
* rule1, // <-- THIS IS FORBIDDEN. Instead use [ rule1 ]
|
103
|
+
* [ rule2, rule3 ]
|
104
|
+
* ]
|
105
|
+
* ```
|
70
106
|
*/
|
71
|
-
triggers?: string[];
|
107
|
+
triggers?: string[][] | string[] | string;
|
72
108
|
/**
|
73
109
|
* This field represents a list of `StateTrigger` that must be fulfilled for this entry to be displayed.
|
74
110
|
*/
|