@hostwebhook/node-types 1.10.21 → 1.10.23

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/README.md ADDED
Binary file
@@ -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', 'docsAction', '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', 'docsAction', '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,8 @@ 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
+ docsAction: { acceptsInputFrom: ACTION_INPUTS, canOutputTo: PROCESSING_OUTPUTS },
62
+ firecrawlAction: { acceptsInputFrom: ACTION_INPUTS, canOutputTo: PROCESSING_OUTPUTS },
61
63
  // ── Processing (transform-like) ──
62
64
  markdown: { acceptsInputFrom: STANDARD_INPUTS, canOutputTo: PROCESSING_OUTPUTS },
63
65
  // ── Monitoring ──
package/dist/dispatch.js CHANGED
@@ -33,6 +33,8 @@ 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
+ docsAction: { service: 'docsActionsService', collection: 'docsactions', hasFilters: true, outputFields: ['outputNodes'], customDispatch: true },
37
+ firecrawlAction: { service: 'firecrawlActionsService', collection: 'firecrawlactions', hasFilters: true, outputFields: ['outputNodes'], customDispatch: true },
36
38
  markdown: { service: 'markdownNodesService', collection: 'markdownnodes', hasFilters: false, outputFields: ['outputNodes'], customDispatch: true },
37
39
  // ── Source + monitoring ──
38
40
  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: false,
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: false,
122
+ color: '#38bdf8', testable: true,
123
123
  },
124
124
  // ── Actions ──
125
125
  emailAction: {
@@ -158,6 +158,18 @@ exports.NODE_REGISTRY = {
158
158
  stateKey: 'calendarActions', allStateKey: 'allCalendarActions',
159
159
  color: '#60a5fa', testable: true,
160
160
  },
161
+ docsAction: {
162
+ type: 'docsAction', prefix: 'doc', label: 'Google Docs',
163
+ group: 'Actions', detailPath: '/dashboard/docs-actions', apiPath: '/docs-actions',
164
+ stateKey: 'docsActions', allStateKey: 'allDocsActions',
165
+ color: '#4285F4', testable: true,
166
+ },
167
+ firecrawlAction: {
168
+ type: 'firecrawlAction', prefix: 'fc', label: 'Firecrawl',
169
+ group: 'Actions', detailPath: '/dashboard/firecrawl-actions', apiPath: '/firecrawl-actions',
170
+ stateKey: 'firecrawlActions', allStateKey: 'allFirecrawlActions',
171
+ color: '#f97316', testable: true,
172
+ },
161
173
  // ── Monitoring ──
162
174
  alert: {
163
175
  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' | 'docsAction' | '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,8 @@ 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
+ docsAction: { fromNodes: true, toNodes: true, inputHandles: ['left'], dotHandles: { input: ['left-in'], output: ['right-out'] }, special: { loopBackAllowed: true } },
40
+ firecrawlAction: { fromNodes: true, toNodes: true, inputHandles: ['left'], dotHandles: { input: ['left-in'], output: ['right-out'] }, special: { loopBackAllowed: true } },
39
41
  // ── Monitoring ──
40
42
  alert: { fromNodes: true, toNodes: false, inputHandles: ['bottom'], special: { isTerminal: true } },
41
43
  // ── Annotations ──
@@ -68,6 +70,8 @@ exports.PREFIX_TO_TYPE = [
68
70
  { prefix: 'split-', type: 'split', canvasType: 'split' },
69
71
  { prefix: 'loop-', type: 'loop', canvasType: 'loop' },
70
72
  { prefix: 'md-', type: 'markdown', canvasType: 'markdown' },
73
+ { prefix: 'doc-', type: 'docsAction', canvasType: 'docsAction' },
74
+ { prefix: 'fc-', type: 'firecrawlAction', canvasType: 'firecrawlAction' },
71
75
  { prefix: 'note-', type: 'stickyNote', canvasType: 'sticky-note' },
72
76
  ];
73
77
  /** Resolve canvas node ID to { type, entityId } */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hostwebhook/node-types",
3
- "version": "1.10.21",
3
+ "version": "1.10.23",
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",