@hostwebhook/node-types 1.10.21 → 1.10.22
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 +3 -2
- package/dist/dispatch.js +1 -0
- package/dist/registry.js +8 -2
- package/dist/types.d.ts +1 -1
- package/dist/ui.js +2 -0
- package/package.json +1 -1
package/dist/connections.js
CHANGED
|
@@ -18,7 +18,7 @@ exports.isNodeType = isNodeType;
|
|
|
18
18
|
const PROCESSING_OUTPUTS = [
|
|
19
19
|
'endpoint', 'router', 'filter', 'transform', 'cache', 'code', 'rateLimiter',
|
|
20
20
|
'aggregator', 'conditional', 'delay', 'schemaValidator', 'split', 'markdown',
|
|
21
|
-
'emailAction', 'httpAction', 'mongoAction', 'notificationAction', 'sheetsAction', 'calendarAction', 'loop',
|
|
21
|
+
'emailAction', 'httpAction', 'mongoAction', 'notificationAction', 'sheetsAction', 'calendarAction', 'firecrawlAction', 'loop',
|
|
22
22
|
];
|
|
23
23
|
/** Standard processing input sources */
|
|
24
24
|
const STANDARD_INPUTS = [
|
|
@@ -26,7 +26,7 @@ const STANDARD_INPUTS = [
|
|
|
26
26
|
'cache', 'code', 'rateLimiter', 'aggregator', 'conditional', 'delay', 'schemaValidator', 'split', 'loop', 'markdown',
|
|
27
27
|
];
|
|
28
28
|
/** Action nodes that can chain (non-terminal) */
|
|
29
|
-
const CHAINABLE_ACTIONS = ['httpAction', 'mongoAction', 'sheetsAction', 'calendarAction'];
|
|
29
|
+
const CHAINABLE_ACTIONS = ['httpAction', 'mongoAction', 'sheetsAction', 'calendarAction', 'firecrawlAction'];
|
|
30
30
|
/** Full input list for action nodes (standard + chainable actions) */
|
|
31
31
|
const ACTION_INPUTS = [...STANDARD_INPUTS, ...CHAINABLE_ACTIONS];
|
|
32
32
|
exports.NODE_CONNECTIONS = {
|
|
@@ -58,6 +58,7 @@ exports.NODE_CONNECTIONS = {
|
|
|
58
58
|
notificationAction: { acceptsInputFrom: ACTION_INPUTS, canOutputTo: [], special: { isTerminal: true } },
|
|
59
59
|
sheetsAction: { acceptsInputFrom: ACTION_INPUTS, canOutputTo: PROCESSING_OUTPUTS },
|
|
60
60
|
calendarAction: { acceptsInputFrom: ACTION_INPUTS, canOutputTo: PROCESSING_OUTPUTS },
|
|
61
|
+
firecrawlAction: { acceptsInputFrom: ACTION_INPUTS, canOutputTo: PROCESSING_OUTPUTS },
|
|
61
62
|
// ── Processing (transform-like) ──
|
|
62
63
|
markdown: { acceptsInputFrom: STANDARD_INPUTS, canOutputTo: PROCESSING_OUTPUTS },
|
|
63
64
|
// ── Monitoring ──
|
package/dist/dispatch.js
CHANGED
|
@@ -33,6 +33,7 @@ exports.NODE_DISPATCH = {
|
|
|
33
33
|
notificationAction: { service: 'notificationActionsService', collection: 'notificationactions', hasFilters: true, outputFields: [], customDispatch: true },
|
|
34
34
|
sheetsAction: { service: 'sheetsActionsService', collection: 'sheetsactions', hasFilters: true, outputFields: ['outputNodes'], customDispatch: true },
|
|
35
35
|
calendarAction: { service: 'calendarActionsService', collection: 'calendaractions', hasFilters: true, outputFields: ['outputNodes'], customDispatch: true },
|
|
36
|
+
firecrawlAction: { service: 'firecrawlActionsService', collection: 'firecrawlactions', hasFilters: true, outputFields: ['outputNodes'], customDispatch: true },
|
|
36
37
|
markdown: { service: 'markdownNodesService', collection: 'markdownnodes', hasFilters: false, outputFields: ['outputNodes'], customDispatch: true },
|
|
37
38
|
// ── Source + monitoring ──
|
|
38
39
|
alert: { service: 'alertService', collection: 'alerts', hasFilters: false, outputFields: [], customDispatch: true },
|
package/dist/registry.js
CHANGED
|
@@ -70,7 +70,7 @@ exports.NODE_REGISTRY = {
|
|
|
70
70
|
type: 'cache', prefix: 'cache', label: 'Cache',
|
|
71
71
|
group: 'Flow Control', detailPath: '/dashboard/cache-nodes', apiPath: '/cache-nodes',
|
|
72
72
|
stateKey: 'cacheNodes', allStateKey: 'allCacheNodes',
|
|
73
|
-
color: '#d946ef', testable:
|
|
73
|
+
color: '#d946ef', testable: true,
|
|
74
74
|
},
|
|
75
75
|
code: {
|
|
76
76
|
type: 'code', prefix: 'code', label: 'Code',
|
|
@@ -119,7 +119,7 @@ exports.NODE_REGISTRY = {
|
|
|
119
119
|
type: 'router', prefix: 'ro', label: 'Router',
|
|
120
120
|
group: 'Flow Control', detailPath: '/dashboard/routers', apiPath: '/routers',
|
|
121
121
|
stateKey: 'routers', allStateKey: 'allRouters',
|
|
122
|
-
color: '#38bdf8', testable:
|
|
122
|
+
color: '#38bdf8', testable: true,
|
|
123
123
|
},
|
|
124
124
|
// ── Actions ──
|
|
125
125
|
emailAction: {
|
|
@@ -158,6 +158,12 @@ exports.NODE_REGISTRY = {
|
|
|
158
158
|
stateKey: 'calendarActions', allStateKey: 'allCalendarActions',
|
|
159
159
|
color: '#60a5fa', testable: true,
|
|
160
160
|
},
|
|
161
|
+
firecrawlAction: {
|
|
162
|
+
type: 'firecrawlAction', prefix: 'fc', label: 'Firecrawl',
|
|
163
|
+
group: 'Actions', detailPath: '/dashboard/firecrawl-actions', apiPath: '/firecrawl-actions',
|
|
164
|
+
stateKey: 'firecrawlActions', allStateKey: 'allFirecrawlActions',
|
|
165
|
+
color: '#f97316', testable: true,
|
|
166
|
+
},
|
|
161
167
|
// ── Monitoring ──
|
|
162
168
|
alert: {
|
|
163
169
|
type: 'alert', prefix: 'al', label: 'Alert',
|
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' | 'loop' | 'markdown' | 'router' | 'emailAction' | 'httpAction' | 'mongoAction' | 'notificationAction' | 'sheetsAction' | 'calendarAction' | 'alert' | 'stickyNote';
|
|
2
|
+
export type NodeType = 'endpoint' | 'scheduledWebhook' | 'filter' | 'transform' | 'schemaValidator' | 'conditional' | 'delay' | 'rateLimiter' | 'aggregator' | 'cache' | 'code' | 'ai' | 'merge' | 'approval' | 'split' | 'loop' | 'markdown' | 'router' | 'emailAction' | 'httpAction' | 'mongoAction' | 'notificationAction' | 'sheetsAction' | 'calendarAction' | 'firecrawlAction' | '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
|
@@ -36,6 +36,7 @@ exports.NODE_UI = {
|
|
|
36
36
|
notificationAction: { fromNodes: true, toNodes: false, inputHandles: ['left', 'top'], dotHandles: { input: ['left-in', 'top-in'] }, special: { isTerminal: true, routerTargetLabel: 'notification' } },
|
|
37
37
|
sheetsAction: { fromNodes: true, toNodes: true, inputHandles: ['left'], dotHandles: { input: ['left-in'], output: ['right-out'] }, special: { loopBackAllowed: true } },
|
|
38
38
|
calendarAction: { fromNodes: true, toNodes: true, inputHandles: ['left'], dotHandles: { input: ['left-in'], output: ['right-out'] }, special: { loopBackAllowed: true } },
|
|
39
|
+
firecrawlAction: { fromNodes: true, toNodes: true, inputHandles: ['left'], dotHandles: { input: ['left-in'], output: ['right-out'] }, special: { loopBackAllowed: true } },
|
|
39
40
|
// ── Monitoring ──
|
|
40
41
|
alert: { fromNodes: true, toNodes: false, inputHandles: ['bottom'], special: { isTerminal: true } },
|
|
41
42
|
// ── Annotations ──
|
|
@@ -68,6 +69,7 @@ exports.PREFIX_TO_TYPE = [
|
|
|
68
69
|
{ prefix: 'split-', type: 'split', canvasType: 'split' },
|
|
69
70
|
{ prefix: 'loop-', type: 'loop', canvasType: 'loop' },
|
|
70
71
|
{ prefix: 'md-', type: 'markdown', canvasType: 'markdown' },
|
|
72
|
+
{ prefix: 'fc-', type: 'firecrawlAction', canvasType: 'firecrawlAction' },
|
|
71
73
|
{ prefix: 'note-', type: 'stickyNote', canvasType: 'sticky-note' },
|
|
72
74
|
];
|
|
73
75
|
/** Resolve canvas node ID to { type, entityId } */
|
package/package.json
CHANGED