@cognigy/rest-api-client
Version:
Cognigy REST-Client
29 lines • 793 B
JavaScript
import { __awaiter } from "tslib";
/* Custom modules */
import { createNodeDescriptor } from "../../createNodeDescriptor";
export const WAIT = createNodeDescriptor({
type: "wait",
defaultLabel: "Wait for Input",
summary: "UI__NODE_EDITOR__WAIT__SUMMARY",
behavior: {
stopping: false,
},
appearance: {
showIcon: false,
color: "#ec7372",
textColor: "#ffffff",
contrastTextColor: "black",
variant: "mini"
},
constraints: {
editable: false,
placement: {}
},
tags: ["basic", "logic"],
function: ({ cognigy, nodeId }) => __awaiter(void 0, void 0, void 0, function* () {
const { api } = cognigy;
api.stopExecution();
return;
})
});
//# sourceMappingURL=wait.js.map