@hostwebhook/node-types 1.8.0 → 1.9.0

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.
@@ -50,7 +50,6 @@ exports.NODE_CONNECTIONS = {
50
50
  approval: { acceptsInputFrom: ['endpoint', 'filter', 'transform'], canOutputTo: ['endpoint', 'filter', 'transform', 'emailAction', 'httpAction', 'mongoAction', 'notificationAction', 'sheetsAction'], special: { hasRejectionOutputNodes: true } },
51
51
  // ── Routing nodes ──
52
52
  router: { acceptsInputFrom: ['endpoint', 'scheduledWebhook', 'filter', 'transform'], canOutputTo: ['endpoint', 'notificationAction', 'filter', 'transform', 'emailAction', 'httpAction', 'mongoAction', 'sheetsAction'] },
53
- fanout: { acceptsInputFrom: ['endpoint'], canOutputTo: [] },
54
53
  // ── Action nodes ──
55
54
  emailAction: { acceptsInputFrom: ACTION_INPUTS, canOutputTo: [], special: { isTerminal: true } },
56
55
  httpAction: { acceptsInputFrom: ACTION_INPUTS, canOutputTo: PROCESSING_OUTPUTS },
package/dist/dispatch.js CHANGED
@@ -32,7 +32,6 @@ exports.NODE_DISPATCH = {
32
32
  notificationAction: { service: 'notificationActionsService', collection: 'notificationactions', hasFilters: true, outputFields: [], customDispatch: true },
33
33
  sheetsAction: { service: 'sheetsActionsService', collection: 'sheetsactions', hasFilters: true, outputFields: ['outputNodes'], customDispatch: true },
34
34
  // ── Source + monitoring ──
35
- fanout: { service: 'fanOutService', collection: 'fanouts', hasFilters: true, outputFields: [], customDispatch: true },
36
35
  alert: { service: 'alertService', collection: 'alerts', hasFilters: false, outputFields: [], customDispatch: true },
37
36
  endpoint: { service: 'endpointsService', collection: 'endpoints', hasFilters: false, outputFields: ['outputNodes'], customDispatch: true },
38
37
  scheduledWebhook: { service: 'scheduledWebhooksService', collection: 'scheduledwebhooks', hasFilters: false, outputFields: ['outputNodes'], customDispatch: true },
package/dist/registry.js CHANGED
@@ -109,12 +109,6 @@ exports.NODE_REGISTRY = {
109
109
  stateKey: 'routers', allStateKey: 'allRouters',
110
110
  color: '#38bdf8', testable: false,
111
111
  },
112
- fanout: {
113
- type: 'fanout', prefix: 'fo', label: 'Fan-out',
114
- group: 'Sources', detailPath: '/dashboard/fan-out', apiPath: '/fan-out',
115
- stateKey: 'fanOuts', allStateKey: 'allFanOuts',
116
- color: '#a78bfa', testable: false,
117
- },
118
112
  // ── Actions ──
119
113
  emailAction: {
120
114
  type: 'emailAction', prefix: 'ea', label: 'Email Action',
package/dist/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /** All valid node type identifiers */
2
- export type NodeType = 'endpoint' | 'scheduledWebhook' | 'filter' | 'transform' | 'schemaValidator' | 'conditional' | 'delay' | 'rateLimiter' | 'aggregator' | 'cache' | 'code' | 'ai' | 'merge' | 'approval' | 'split' | 'router' | 'fanout' | 'emailAction' | 'httpAction' | 'mongoAction' | 'notificationAction' | 'sheetsAction' | 'alert' | 'stickyNote';
2
+ export type NodeType = 'endpoint' | 'scheduledWebhook' | 'filter' | 'transform' | 'schemaValidator' | 'conditional' | 'delay' | 'rateLimiter' | 'aggregator' | 'cache' | 'code' | 'ai' | 'merge' | 'approval' | 'split' | 'router' | 'emailAction' | 'httpAction' | 'mongoAction' | 'notificationAction' | 'sheetsAction' | 'alert' | 'stickyNote';
3
3
  /** Node role in the pipeline */
4
4
  export type NodeRole = 'source' | 'processing' | 'flowControl' | 'routing' | 'action' | 'monitoring';
5
5
  /** Handle positions on the canvas node */
package/dist/ui.js CHANGED
@@ -27,7 +27,6 @@ exports.NODE_UI = {
27
27
  approval: { fromNodes: true, toNodes: true, outputHandles: ['right', 'bottom'], special: { rejectionEndpoints: 'rejectionEndpointIds' } },
28
28
  // ── Routing nodes ──
29
29
  router: { fromNodes: true, toNodes: true, outputHandles: ['right', 'bottom'], dotHandles: { output: ['right-out', 'bottom-out'] }, special: { connectModal: 'rule' } },
30
- fanout: { fromNodes: true, toNodes: false },
31
30
  // ── Action nodes ──
32
31
  emailAction: { fromNodes: true, toNodes: false, inputHandles: ['left', 'top'], dotHandles: { input: ['left-in', 'top-in'] }, special: { isTerminal: true, routerTargetLabel: 'email' } },
33
32
  httpAction: { fromNodes: true, toNodes: true, inputHandles: ['left'], dotHandles: { input: ['left-in'], output: ['right-out'] } },
@@ -43,7 +42,6 @@ exports.NODE_UI = {
43
42
  exports.PREFIX_TO_TYPE = [
44
43
  { prefix: 'ep-', type: 'endpoint', canvasType: 'endpoint' },
45
44
  { prefix: 'sw-', type: 'scheduledWebhook', canvasType: 'scheduled-webhook' },
46
- { prefix: 'fo-', type: 'fanout', canvasType: 'fanout' },
47
45
  { prefix: 'al-', type: 'alert', canvasType: 'alert' },
48
46
  { prefix: 'ea-', type: 'emailAction', canvasType: 'email-action' },
49
47
  { prefix: 'ha-', type: 'httpAction', canvasType: 'http-action' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hostwebhook/node-types",
3
- "version": "1.8.0",
3
+ "version": "1.9.0",
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",