@nucypher/taco
Version:
### [`nucypher/taco-web`](../../README.md)
18 lines • 998 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.IfThenElseCondition = exports.IfThenElseConditionType = exports.ifThenElseConditionSchema = void 0;
const condition_1 = require("./condition");
const if_then_else_1 = require("./schemas/if-then-else");
var if_then_else_2 = require("./schemas/if-then-else");
Object.defineProperty(exports, "ifThenElseConditionSchema", { enumerable: true, get: function () { return if_then_else_2.ifThenElseConditionSchema; } });
Object.defineProperty(exports, "IfThenElseConditionType", { enumerable: true, get: function () { return if_then_else_2.IfThenElseConditionType; } });
class IfThenElseCondition extends condition_1.Condition {
constructor(value) {
super(if_then_else_1.ifThenElseConditionSchema, {
conditionType: if_then_else_1.IfThenElseConditionType,
...value,
});
}
}
exports.IfThenElseCondition = IfThenElseCondition;
//# sourceMappingURL=if-then-else-condition.js.map