UNPKG

@cognigy/rest-api-client

Version:

Cognigy REST-Client

32 lines 785 B
/* Custom modules */ import { createNodeDescriptor } from "../../../createNodeDescriptor"; export const CASE = createNodeDescriptor({ type: "case", parentType: "switch", defaultLabel: "Case", appearance: { color: "#FFC237", textColor: "white", contrastTextColor: "black", variant: "mini", }, constraints: { collapsable: true, childFlowCreatable: true, placement: {}, }, fields: [ { key: "case", label: "UI__NODE_EDITOR__CASE__CASE_LABEL", type: "caseNode", defaultValue: { value: "" }, }, ], preview: { key: "case.value", type: "text", }, tags: ["basic", "logic"], }); //# sourceMappingURL=case.js.map