@hostwebhook/node-types 1.39.0 → 1.40.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 +1 -2
- package/dist/dispatch.js +0 -1
- package/dist/registry.js +0 -6
- package/dist/types.d.ts +1 -1
- package/dist/ui.js +0 -2
- package/package.json +1 -1
package/dist/connections.js
CHANGED
|
@@ -22,7 +22,7 @@ const PROCESSING_OUTPUTS = [
|
|
|
22
22
|
];
|
|
23
23
|
/** Standard processing input sources */
|
|
24
24
|
const STANDARD_INPUTS = [
|
|
25
|
-
'endpoint', 'scheduledWebhook', 'serviceTrigger', 'voiceAgent', '
|
|
25
|
+
'endpoint', 'scheduledWebhook', 'serviceTrigger', 'voiceAgent', 'router', 'filter', 'transform',
|
|
26
26
|
'cache', 'code', 'rateLimiter', 'aggregator', 'conditional', 'delay', 'schemaValidator', 'split', 'loop', 'markdown', 'fileTransform',
|
|
27
27
|
];
|
|
28
28
|
/** Action nodes that can chain (non-terminal) */
|
|
@@ -36,7 +36,6 @@ exports.NODE_CONNECTIONS = {
|
|
|
36
36
|
chatTrigger: { acceptsInputFrom: [], canOutputTo: PROCESSING_OUTPUTS },
|
|
37
37
|
serviceTrigger: { acceptsInputFrom: [], canOutputTo: PROCESSING_OUTPUTS },
|
|
38
38
|
voiceAgent: { acceptsInputFrom: [], canOutputTo: PROCESSING_OUTPUTS },
|
|
39
|
-
rssTrigger: { acceptsInputFrom: [], canOutputTo: PROCESSING_OUTPUTS },
|
|
40
39
|
// ── Pipeline processing nodes ──
|
|
41
40
|
filter: { acceptsInputFrom: STANDARD_INPUTS, canOutputTo: PROCESSING_OUTPUTS },
|
|
42
41
|
transform: { acceptsInputFrom: STANDARD_INPUTS, canOutputTo: PROCESSING_OUTPUTS },
|
package/dist/dispatch.js
CHANGED
|
@@ -58,7 +58,6 @@ exports.NODE_DISPATCH = {
|
|
|
58
58
|
chatTrigger: { service: 'chatTriggersService', collection: 'chattriggers', hasFilters: false, outputFields: ['outputNodes'], customDispatch: true, pipelineDispatch: 'excluded' },
|
|
59
59
|
serviceTrigger: { service: 'serviceTriggersService', collection: 'servicetriggers', hasFilters: false, outputFields: ['outputNodes'], customDispatch: true, pipelineDispatch: 'excluded' },
|
|
60
60
|
voiceAgent: { service: 'voiceAgentsService', collection: 'voiceagents', hasFilters: false, outputFields: ['outputNodes'], customDispatch: true, pipelineDispatch: 'excluded' },
|
|
61
|
-
rssTrigger: { service: 'rssTriggersService', collection: 'rsstriggers', hasFilters: true, outputFields: ['outputNodes'], customDispatch: true, pipelineDispatch: 'excluded' },
|
|
62
61
|
// ── Annotation — never executed in pipeline ──
|
|
63
62
|
stickyNote: { service: 'stickyNotesService', collection: 'stickynotes', hasFilters: false, outputFields: ['outputNodes'], customDispatch: true, pipelineDispatch: 'excluded' },
|
|
64
63
|
};
|
package/dist/registry.js
CHANGED
|
@@ -41,12 +41,6 @@ exports.NODE_REGISTRY = {
|
|
|
41
41
|
stateKey: 'voiceAgents', allStateKey: 'allVoiceAgents',
|
|
42
42
|
color: '#a855f7', testable: false,
|
|
43
43
|
},
|
|
44
|
-
rssTrigger: {
|
|
45
|
-
type: 'rssTrigger', prefix: 'rss', label: 'RSS Trigger',
|
|
46
|
-
group: 'Sources', detailPath: '/dashboard/rss-triggers', apiPath: '/rss-triggers',
|
|
47
|
-
stateKey: 'rssTriggers', allStateKey: 'allRssTriggers',
|
|
48
|
-
color: '#f26522', testable: true,
|
|
49
|
-
},
|
|
50
44
|
// ── Flow Control ──
|
|
51
45
|
filter: {
|
|
52
46
|
type: 'filter', prefix: 'fi', label: 'Filter',
|
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** All valid node type identifiers */
|
|
2
|
-
export type NodeType = 'endpoint' | 'scheduledWebhook' | 'chatTrigger' | 'serviceTrigger' | 'voiceAgent' | '
|
|
2
|
+
export type NodeType = 'endpoint' | 'scheduledWebhook' | 'chatTrigger' | 'serviceTrigger' | 'voiceAgent' | 'filter' | 'transform' | 'schemaValidator' | 'conditional' | 'delay' | 'rateLimiter' | 'aggregator' | 'cache' | 'code' | 'ai' | 'merge' | 'approval' | 'split' | 'loop' | 'markdown' | 'fileTransform' | 'router' | 'emailAction' | 'httpAction' | 'mongoAction' | 'postgresAction' | 'notificationAction' | 'sheetsAction' | 'calendarAction' | 'docsAction' | 'driveAction' | 'firecrawlAction' | 'telegramAction' | 'whatsappAction' | 'discordAction' | 'slackAction' | 'googleContactsAction' | 'vectorStore' | '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
|
@@ -18,7 +18,6 @@ exports.NODE_UI = {
|
|
|
18
18
|
// tools so the user has somewhere to drop the first wired connection
|
|
19
19
|
// before any tools are defined (rare but possible during onboarding).
|
|
20
20
|
voiceAgent: { fromNodes: false, toNodes: true, isSource: true, outputHandles: ['right'], dotHandles: { output: ['right-out'] }, dynamicOutputs: true },
|
|
21
|
-
rssTrigger: { fromNodes: false, toNodes: true, isSource: true, outputHandles: ['right'], dotHandles: { output: ['right-out'] }, special: { routerTargetLabel: 'rss' } },
|
|
22
21
|
// ── Pipeline processing nodes ──
|
|
23
22
|
filter: { fromNodes: true, toNodes: true, special: { loopBackAllowed: true } },
|
|
24
23
|
transform: { fromNodes: true, toNodes: true, special: { loopBackAllowed: true } },
|
|
@@ -66,7 +65,6 @@ exports.PREFIX_TO_TYPE = [
|
|
|
66
65
|
{ prefix: 'chat-', type: 'chatTrigger', canvasType: 'chatTrigger' },
|
|
67
66
|
{ prefix: 'svc-', type: 'serviceTrigger', canvasType: 'serviceTrigger' },
|
|
68
67
|
{ prefix: 'va-', type: 'voiceAgent', canvasType: 'voiceAgent' },
|
|
69
|
-
{ prefix: 'rss-', type: 'rssTrigger', canvasType: 'rssTrigger' },
|
|
70
68
|
{ prefix: 'ea-', type: 'emailAction', canvasType: 'emailAction' },
|
|
71
69
|
{ prefix: 'tg-', type: 'telegramAction', canvasType: 'telegramAction' },
|
|
72
70
|
{ prefix: 'wa-', type: 'whatsappAction', canvasType: 'whatsappAction' },
|
package/package.json
CHANGED