File tree 1 file changed +14
-1
lines changed
1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export namespace Typeform {
16
16
* Conditions for executing the Logic Jump. Conditions answer the question, "Under what circumstances?"
17
17
* The condition object is the IF statement in your Logic Jump.
18
18
*/
19
- condition ?: Condition
19
+ condition ?: Condition | AndOrOperator
20
20
}
21
21
/**
22
22
* Properties that further specify how the Logic Jump will behave.
@@ -198,6 +198,19 @@ export namespace Typeform {
198
198
value ?: any
199
199
} [ ]
200
200
}
201
+ /**
202
+ * Conditions for a logic jump can be combined using the `and` and `or` operators
203
+ */
204
+ export interface AndOrOperator {
205
+ /**
206
+ * Operator for the condition.
207
+ */
208
+ op ?: 'and' | 'or'
209
+ /**
210
+ * Object that defines the field type and value to evaluate with the operator.
211
+ */
212
+ vars : Array < AndOrOperator | Condition >
213
+ }
201
214
/**
202
215
* Generic document.
203
216
*/
You can’t perform that action at this time.
0 commit comments