@hostwebhook/node-types 1.10.5 → 1.10.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/types.d.ts CHANGED
@@ -49,6 +49,8 @@ export interface NodeUIConfig {
49
49
  summaryField?: string;
50
50
  /** Label shown in the modal (e.g. 'output', 'branch') */
51
51
  label: string;
52
+ /** Entity field for the fallback/else path (e.g. 'elseOutputNodes', 'remainderOutputNodes') */
53
+ elseField?: string;
52
54
  };
53
55
  };
54
56
  }
package/dist/ui.js CHANGED
@@ -14,7 +14,7 @@ exports.NODE_UI = {
14
14
  filter: { fromNodes: true, toNodes: true },
15
15
  transform: { fromNodes: true, toNodes: true },
16
16
  schemaValidator: { fromNodes: true, toNodes: true },
17
- conditional: { fromNodes: true, toNodes: true, outputHandles: ['right', 'bottom'], special: { connectModal: 'output-group', outputGroups: { field: 'branches', nameField: 'name', summaryField: 'filterMode', label: 'branch' } } },
17
+ conditional: { fromNodes: true, toNodes: true, outputHandles: ['right', 'bottom'], special: { connectModal: 'output-group', outputGroups: { field: 'branches', nameField: 'name', summaryField: 'filterMode', label: 'branch', elseField: 'elseOutputNodes' } } },
18
18
  delay: { fromNodes: true, toNodes: true },
19
19
  rateLimiter: { fromNodes: true, toNodes: true },
20
20
  aggregator: { fromNodes: true, toNodes: true },
@@ -22,7 +22,7 @@ exports.NODE_UI = {
22
22
  code: { fromNodes: true, toNodes: true },
23
23
  ai: { fromNodes: true, toNodes: true },
24
24
  // ── Flow control nodes ──
25
- split: { fromNodes: true, toNodes: true, outputHandles: ['right', 'bottom'], special: { connectModal: 'output-group', outputGroups: { field: 'outputs', nameField: 'name', summaryField: 'field', label: 'output' } } },
25
+ split: { fromNodes: true, toNodes: true, outputHandles: ['right', 'bottom'], special: { connectModal: 'output-group', outputGroups: { field: 'outputs', nameField: 'name', summaryField: 'field', label: 'output', elseField: 'remainderOutputNodes' } } },
26
26
  merge: { fromNodes: true, toNodes: true, inputHandles: ['left', 'top'] },
27
27
  approval: { fromNodes: true, toNodes: true, outputHandles: ['right', 'bottom'], special: { rejectionEndpoints: 'rejectionEndpointIds' } },
28
28
  loop: { fromNodes: true, toNodes: true, inputHandles: ['left'], outputHandles: ['right'], dotHandles: { input: ['left-in'], output: ['right-out-loop', 'right-in-loopback', 'right-out-done'] }, special: { hasLoopBack: true } },
@@ -56,7 +56,7 @@ exports.PREFIX_TO_TYPE = [
56
56
  { prefix: 'sheet-', type: 'sheetsAction', canvasType: 'sheets-action' },
57
57
  { prefix: 'appr-', type: 'approval', canvasType: 'approval-node' },
58
58
  { prefix: 'merge-', type: 'merge', canvasType: 'merge' },
59
- { prefix: 'cond-', type: 'conditional', canvasType: 'conditionalNode' },
59
+ { prefix: 'cond-', type: 'conditional', canvasType: 'conditional' },
60
60
  { prefix: 'rl-', type: 'rateLimiter', canvasType: 'rate-limiter-node' },
61
61
  { prefix: 'agg-', type: 'aggregator', canvasType: 'aggregator-node' },
62
62
  { prefix: 'cache-', type: 'cache', canvasType: 'cache-node' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hostwebhook/node-types",
3
- "version": "1.10.5",
3
+ "version": "1.10.7",
4
4
  "description": "Shared node type definitions, connection rules, and dispatch config for HostWebhook",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",