@hostwebhook/node-types 1.7.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.
- package/dist/connections.js +0 -1
- package/dist/dispatch.js +0 -1
- package/dist/registry.js +0 -6
- package/dist/types.d.ts +1 -1
- package/dist/ui.js +1 -3
- package/package.json +1 -1
package/dist/connections.js
CHANGED
|
@@ -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' | '
|
|
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' },
|
|
@@ -56,7 +54,7 @@ exports.PREFIX_TO_TYPE = [
|
|
|
56
54
|
{ prefix: 'delay-', type: 'delay', canvasType: 'delay-node' },
|
|
57
55
|
{ prefix: 'sheet-', type: 'sheetsAction', canvasType: 'sheets-action' },
|
|
58
56
|
{ prefix: 'appr-', type: 'approval', canvasType: 'approval-node' },
|
|
59
|
-
{ prefix: 'merge-', type: 'merge', canvasType: 'merge
|
|
57
|
+
{ prefix: 'merge-', type: 'merge', canvasType: 'merge' },
|
|
60
58
|
{ prefix: 'cond-', type: 'conditional', canvasType: 'conditional-node' },
|
|
61
59
|
{ prefix: 'rl-', type: 'rateLimiter', canvasType: 'rate-limiter-node' },
|
|
62
60
|
{ prefix: 'agg-', type: 'aggregator', canvasType: 'aggregator-node' },
|
package/package.json
CHANGED