@cognigy/rest-api-client
Version:
Cognigy REST-Client
41 lines • 1.05 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PLACEHOLDER = void 0;
/* Custom modules */
const createNodeDescriptor_1 = require("../createNodeDescriptor");
exports.PLACEHOLDER = (0, createNodeDescriptor_1.createNodeDescriptor)({
type: "placeholder",
defaultLabel: "Placeholder",
summary: "UI__NODE_EDITOR__PLACEHOLDER__SUMMARY",
behavior: {
stopping: false,
},
appearance: {
showIcon: false,
color: "#CCC",
},
fields: [
{
key: "text",
label: "UI__NODE_EDITOR__PLACEHOLDER__FIELDS__TEXT__LABEL",
type: "text",
params: {
multiline: true
},
},
{
key: "data",
label: "UI__NODE_EDITOR__PLACEHOLDER__FIELDS__DATA__LABEL",
type: "json",
},
],
constraints: {
placement: {},
},
tags: [],
preview: {
key: "text",
type: "text",
}
});
//# sourceMappingURL=placeholder.js.map