@nodetool-ai/base-nodes 0.7.0-rc.23 → 0.8.2

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.
Files changed (367) hide show
  1. package/README.md +21 -0
  2. package/dist/.nodetool-build-stamp +1 -0
  3. package/dist/builtin-packs.d.ts +17 -0
  4. package/dist/builtin-packs.d.ts.map +1 -0
  5. package/dist/builtin-packs.js +95 -0
  6. package/dist/builtin-packs.js.map +1 -0
  7. package/dist/index.d.ts +63 -67
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +186 -173
  10. package/dist/index.js.map +1 -1
  11. package/dist/platforms/browser.d.ts +19 -0
  12. package/dist/platforms/browser.d.ts.map +1 -0
  13. package/dist/platforms/browser.js +29 -0
  14. package/dist/platforms/browser.js.map +1 -0
  15. package/package.json +72 -65
  16. package/dist/lib/audio-wav.d.ts +0 -66
  17. package/dist/lib/audio-wav.d.ts.map +0 -1
  18. package/dist/lib/audio-wav.js +0 -215
  19. package/dist/lib/audio-wav.js.map +0 -1
  20. package/dist/nodes/agent-tool-hydration.d.ts +0 -10
  21. package/dist/nodes/agent-tool-hydration.d.ts.map +0 -1
  22. package/dist/nodes/agent-tool-hydration.js +0 -43
  23. package/dist/nodes/agent-tool-hydration.js.map +0 -1
  24. package/dist/nodes/agents.d.ts +0 -262
  25. package/dist/nodes/agents.d.ts.map +0 -1
  26. package/dist/nodes/agents.js +0 -2856
  27. package/dist/nodes/agents.js.map +0 -1
  28. package/dist/nodes/anthropic.d.ts +0 -26
  29. package/dist/nodes/anthropic.d.ts.map +0 -1
  30. package/dist/nodes/anthropic.js +0 -133
  31. package/dist/nodes/anthropic.js.map +0 -1
  32. package/dist/nodes/apify.d.ts +0 -120
  33. package/dist/nodes/apify.d.ts.map +0 -1
  34. package/dist/nodes/apify.js +0 -618
  35. package/dist/nodes/apify.js.map +0 -1
  36. package/dist/nodes/audio.d.ts +0 -301
  37. package/dist/nodes/audio.d.ts.map +0 -1
  38. package/dist/nodes/audio.js +0 -1274
  39. package/dist/nodes/audio.js.map +0 -1
  40. package/dist/nodes/code-node.d.ts +0 -34
  41. package/dist/nodes/code-node.d.ts.map +0 -1
  42. package/dist/nodes/code-node.js +0 -343
  43. package/dist/nodes/code-node.js.map +0 -1
  44. package/dist/nodes/code.d.ts +0 -301
  45. package/dist/nodes/code.d.ts.map +0 -1
  46. package/dist/nodes/code.js +0 -850
  47. package/dist/nodes/code.js.map +0 -1
  48. package/dist/nodes/compare.d.ts +0 -18
  49. package/dist/nodes/compare.d.ts.map +0 -1
  50. package/dist/nodes/compare.js +0 -122
  51. package/dist/nodes/compare.js.map +0 -1
  52. package/dist/nodes/constant.d.ts +0 -315
  53. package/dist/nodes/constant.d.ts.map +0 -1
  54. package/dist/nodes/constant.js +0 -715
  55. package/dist/nodes/constant.js.map +0 -1
  56. package/dist/nodes/control.d.ts +0 -83
  57. package/dist/nodes/control.d.ts.map +0 -1
  58. package/dist/nodes/control.js +0 -212
  59. package/dist/nodes/control.js.map +0 -1
  60. package/dist/nodes/data.d.ts +0 -369
  61. package/dist/nodes/data.d.ts.map +0 -1
  62. package/dist/nodes/data.js +0 -1590
  63. package/dist/nodes/data.js.map +0 -1
  64. package/dist/nodes/document.d.ts +0 -134
  65. package/dist/nodes/document.d.ts.map +0 -1
  66. package/dist/nodes/document.js +0 -984
  67. package/dist/nodes/document.js.map +0 -1
  68. package/dist/nodes/extended-placeholders.d.ts +0 -6
  69. package/dist/nodes/extended-placeholders.d.ts.map +0 -1
  70. package/dist/nodes/extended-placeholders.js +0 -19
  71. package/dist/nodes/extended-placeholders.js.map +0 -1
  72. package/dist/nodes/gemini.d.ts +0 -110
  73. package/dist/nodes/gemini.d.ts.map +0 -1
  74. package/dist/nodes/gemini.js +0 -871
  75. package/dist/nodes/gemini.js.map +0 -1
  76. package/dist/nodes/generators.d.ts +0 -84
  77. package/dist/nodes/generators.d.ts.map +0 -1
  78. package/dist/nodes/generators.js +0 -968
  79. package/dist/nodes/generators.js.map +0 -1
  80. package/dist/nodes/image.d.ts +0 -232
  81. package/dist/nodes/image.d.ts.map +0 -1
  82. package/dist/nodes/image.js +0 -1395
  83. package/dist/nodes/image.js.map +0 -1
  84. package/dist/nodes/input.d.ts +0 -445
  85. package/dist/nodes/input.d.ts.map +0 -1
  86. package/dist/nodes/input.js +0 -1459
  87. package/dist/nodes/input.js.map +0 -1
  88. package/dist/nodes/kie-dynamic.d.ts +0 -31
  89. package/dist/nodes/kie-dynamic.d.ts.map +0 -1
  90. package/dist/nodes/kie-dynamic.js +0 -270
  91. package/dist/nodes/kie-dynamic.js.map +0 -1
  92. package/dist/nodes/lib-audio-dsp.d.ts +0 -85
  93. package/dist/nodes/lib-audio-dsp.d.ts.map +0 -1
  94. package/dist/nodes/lib-audio-dsp.js +0 -450
  95. package/dist/nodes/lib-audio-dsp.js.map +0 -1
  96. package/dist/nodes/lib-audio-effects.d.ts +0 -116
  97. package/dist/nodes/lib-audio-effects.d.ts.map +0 -1
  98. package/dist/nodes/lib-audio-effects.js +0 -905
  99. package/dist/nodes/lib-audio-effects.js.map +0 -1
  100. package/dist/nodes/lib-browser.d.ts +0 -99
  101. package/dist/nodes/lib-browser.d.ts.map +0 -1
  102. package/dist/nodes/lib-browser.js +0 -692
  103. package/dist/nodes/lib-browser.js.map +0 -1
  104. package/dist/nodes/lib-charts.d.ts +0 -20
  105. package/dist/nodes/lib-charts.d.ts.map +0 -1
  106. package/dist/nodes/lib-charts.js +0 -245
  107. package/dist/nodes/lib-charts.js.map +0 -1
  108. package/dist/nodes/lib-datetime.d.ts +0 -108
  109. package/dist/nodes/lib-datetime.d.ts.map +0 -1
  110. package/dist/nodes/lib-datetime.js +0 -421
  111. package/dist/nodes/lib-datetime.js.map +0 -1
  112. package/dist/nodes/lib-doc-convert.d.ts +0 -19
  113. package/dist/nodes/lib-doc-convert.d.ts.map +0 -1
  114. package/dist/nodes/lib-doc-convert.js +0 -257
  115. package/dist/nodes/lib-doc-convert.js.map +0 -1
  116. package/dist/nodes/lib-doc-transform.d.ts +0 -39
  117. package/dist/nodes/lib-doc-transform.d.ts.map +0 -1
  118. package/dist/nodes/lib-doc-transform.js +0 -335
  119. package/dist/nodes/lib-doc-transform.js.map +0 -1
  120. package/dist/nodes/lib-docx.d.ts +0 -106
  121. package/dist/nodes/lib-docx.d.ts.map +0 -1
  122. package/dist/nodes/lib-docx.js +0 -595
  123. package/dist/nodes/lib-docx.js.map +0 -1
  124. package/dist/nodes/lib-epub.d.ts +0 -55
  125. package/dist/nodes/lib-epub.d.ts.map +0 -1
  126. package/dist/nodes/lib-epub.js +0 -220
  127. package/dist/nodes/lib-epub.js.map +0 -1
  128. package/dist/nodes/lib-excel.d.ts +0 -74
  129. package/dist/nodes/lib-excel.d.ts.map +0 -1
  130. package/dist/nodes/lib-excel.js +0 -448
  131. package/dist/nodes/lib-excel.js.map +0 -1
  132. package/dist/nodes/lib-graphql.d.ts +0 -66
  133. package/dist/nodes/lib-graphql.d.ts.map +0 -1
  134. package/dist/nodes/lib-graphql.js +0 -333
  135. package/dist/nodes/lib-graphql.js.map +0 -1
  136. package/dist/nodes/lib-grid.d.ts +0 -27
  137. package/dist/nodes/lib-grid.d.ts.map +0 -1
  138. package/dist/nodes/lib-grid.js +0 -172
  139. package/dist/nodes/lib-grid.js.map +0 -1
  140. package/dist/nodes/lib-html-parse.d.ts +0 -108
  141. package/dist/nodes/lib-html-parse.d.ts.map +0 -1
  142. package/dist/nodes/lib-html-parse.js +0 -365
  143. package/dist/nodes/lib-html-parse.js.map +0 -1
  144. package/dist/nodes/lib-http.d.ts +0 -98
  145. package/dist/nodes/lib-http.d.ts.map +0 -1
  146. package/dist/nodes/lib-http.js +0 -267
  147. package/dist/nodes/lib-http.js.map +0 -1
  148. package/dist/nodes/lib-image-color-grading.d.ts +0 -3
  149. package/dist/nodes/lib-image-color-grading.d.ts.map +0 -1
  150. package/dist/nodes/lib-image-color-grading.js +0 -1386
  151. package/dist/nodes/lib-image-color-grading.js.map +0 -1
  152. package/dist/nodes/lib-image-draw.d.ts +0 -3
  153. package/dist/nodes/lib-image-draw.d.ts.map +0 -1
  154. package/dist/nodes/lib-image-draw.js +0 -470
  155. package/dist/nodes/lib-image-draw.js.map +0 -1
  156. package/dist/nodes/lib-image-enhance.d.ts +0 -3
  157. package/dist/nodes/lib-image-enhance.d.ts.map +0 -1
  158. package/dist/nodes/lib-image-enhance.js +0 -731
  159. package/dist/nodes/lib-image-enhance.js.map +0 -1
  160. package/dist/nodes/lib-image-filter.d.ts +0 -3
  161. package/dist/nodes/lib-image-filter.d.ts.map +0 -1
  162. package/dist/nodes/lib-image-filter.js +0 -684
  163. package/dist/nodes/lib-image-filter.js.map +0 -1
  164. package/dist/nodes/lib-image-utils.d.ts +0 -24
  165. package/dist/nodes/lib-image-utils.d.ts.map +0 -1
  166. package/dist/nodes/lib-image-utils.js +0 -150
  167. package/dist/nodes/lib-image-utils.js.map +0 -1
  168. package/dist/nodes/lib-mail.d.ts +0 -74
  169. package/dist/nodes/lib-mail.d.ts.map +0 -1
  170. package/dist/nodes/lib-mail.js +0 -452
  171. package/dist/nodes/lib-mail.js.map +0 -1
  172. package/dist/nodes/lib-markdown.d.ts +0 -70
  173. package/dist/nodes/lib-markdown.d.ts.map +0 -1
  174. package/dist/nodes/lib-markdown.js +0 -236
  175. package/dist/nodes/lib-markdown.js.map +0 -1
  176. package/dist/nodes/lib-nlp.d.ts +0 -98
  177. package/dist/nodes/lib-nlp.d.ts.map +0 -1
  178. package/dist/nodes/lib-nlp.js +0 -374
  179. package/dist/nodes/lib-nlp.js.map +0 -1
  180. package/dist/nodes/lib-notion.d.ts +0 -99
  181. package/dist/nodes/lib-notion.d.ts.map +0 -1
  182. package/dist/nodes/lib-notion.js +0 -601
  183. package/dist/nodes/lib-notion.js.map +0 -1
  184. package/dist/nodes/lib-ocr.d.ts +0 -31
  185. package/dist/nodes/lib-ocr.d.ts.map +0 -1
  186. package/dist/nodes/lib-ocr.js +0 -143
  187. package/dist/nodes/lib-ocr.js.map +0 -1
  188. package/dist/nodes/lib-os.d.ts +0 -312
  189. package/dist/nodes/lib-os.d.ts.map +0 -1
  190. package/dist/nodes/lib-os.js +0 -909
  191. package/dist/nodes/lib-os.js.map +0 -1
  192. package/dist/nodes/lib-pdf.d.ts +0 -142
  193. package/dist/nodes/lib-pdf.d.ts.map +0 -1
  194. package/dist/nodes/lib-pdf.js +0 -871
  195. package/dist/nodes/lib-pdf.js.map +0 -1
  196. package/dist/nodes/lib-pptx.d.ts +0 -29
  197. package/dist/nodes/lib-pptx.d.ts.map +0 -1
  198. package/dist/nodes/lib-pptx.js +0 -122
  199. package/dist/nodes/lib-pptx.js.map +0 -1
  200. package/dist/nodes/lib-rss.d.ts +0 -31
  201. package/dist/nodes/lib-rss.d.ts.map +0 -1
  202. package/dist/nodes/lib-rss.js +0 -163
  203. package/dist/nodes/lib-rss.js.map +0 -1
  204. package/dist/nodes/lib-s3.d.ts +0 -112
  205. package/dist/nodes/lib-s3.d.ts.map +0 -1
  206. package/dist/nodes/lib-s3.js +0 -521
  207. package/dist/nodes/lib-s3.js.map +0 -1
  208. package/dist/nodes/lib-secret.d.ts +0 -15
  209. package/dist/nodes/lib-secret.d.ts.map +0 -1
  210. package/dist/nodes/lib-secret.js +0 -42
  211. package/dist/nodes/lib-secret.js.map +0 -1
  212. package/dist/nodes/lib-sqlite.d.ts +0 -102
  213. package/dist/nodes/lib-sqlite.d.ts.map +0 -1
  214. package/dist/nodes/lib-sqlite.js +0 -532
  215. package/dist/nodes/lib-sqlite.js.map +0 -1
  216. package/dist/nodes/lib-supabase.d.ts +0 -86
  217. package/dist/nodes/lib-supabase.d.ts.map +0 -1
  218. package/dist/nodes/lib-supabase.js +0 -425
  219. package/dist/nodes/lib-supabase.js.map +0 -1
  220. package/dist/nodes/lib-svg.d.ts +0 -199
  221. package/dist/nodes/lib-svg.d.ts.map +0 -1
  222. package/dist/nodes/lib-svg.js +0 -1027
  223. package/dist/nodes/lib-svg.js.map +0 -1
  224. package/dist/nodes/lib-tensorflow.d.ts +0 -71
  225. package/dist/nodes/lib-tensorflow.d.ts.map +0 -1
  226. package/dist/nodes/lib-tensorflow.js +0 -351
  227. package/dist/nodes/lib-tensorflow.js.map +0 -1
  228. package/dist/nodes/lib-twilio.d.ts +0 -71
  229. package/dist/nodes/lib-twilio.d.ts.map +0 -1
  230. package/dist/nodes/lib-twilio.js +0 -469
  231. package/dist/nodes/lib-twilio.js.map +0 -1
  232. package/dist/nodes/lib-validate.d.ts +0 -84
  233. package/dist/nodes/lib-validate.d.ts.map +0 -1
  234. package/dist/nodes/lib-validate.js +0 -215
  235. package/dist/nodes/lib-validate.js.map +0 -1
  236. package/dist/nodes/lib-video-download.d.ts +0 -26
  237. package/dist/nodes/lib-video-download.d.ts.map +0 -1
  238. package/dist/nodes/lib-video-download.js +0 -299
  239. package/dist/nodes/lib-video-download.js.map +0 -1
  240. package/dist/nodes/messaging.d.ts +0 -88
  241. package/dist/nodes/messaging.d.ts.map +0 -1
  242. package/dist/nodes/messaging.js +0 -418
  243. package/dist/nodes/messaging.js.map +0 -1
  244. package/dist/nodes/mistral.d.ts +0 -83
  245. package/dist/nodes/mistral.d.ts.map +0 -1
  246. package/dist/nodes/mistral.js +0 -450
  247. package/dist/nodes/mistral.js.map +0 -1
  248. package/dist/nodes/model3d/analysis.d.ts +0 -13
  249. package/dist/nodes/model3d/analysis.d.ts.map +0 -1
  250. package/dist/nodes/model3d/analysis.js +0 -36
  251. package/dist/nodes/model3d/analysis.js.map +0 -1
  252. package/dist/nodes/model3d/base.d.ts +0 -11
  253. package/dist/nodes/model3d/base.d.ts.map +0 -1
  254. package/dist/nodes/model3d/base.js +0 -20
  255. package/dist/nodes/model3d/base.js.map +0 -1
  256. package/dist/nodes/model3d/boolean-ops.d.ts +0 -2
  257. package/dist/nodes/model3d/boolean-ops.d.ts.map +0 -1
  258. package/dist/nodes/model3d/boolean-ops.js +0 -172
  259. package/dist/nodes/model3d/boolean-ops.js.map +0 -1
  260. package/dist/nodes/model3d/cleanup.d.ts +0 -47
  261. package/dist/nodes/model3d/cleanup.d.ts.map +0 -1
  262. package/dist/nodes/model3d/cleanup.js +0 -136
  263. package/dist/nodes/model3d/cleanup.js.map +0 -1
  264. package/dist/nodes/model3d/convert.d.ts +0 -14
  265. package/dist/nodes/model3d/convert.d.ts.map +0 -1
  266. package/dist/nodes/model3d/convert.js +0 -64
  267. package/dist/nodes/model3d/convert.js.map +0 -1
  268. package/dist/nodes/model3d/defaults.d.ts +0 -34
  269. package/dist/nodes/model3d/defaults.d.ts.map +0 -1
  270. package/dist/nodes/model3d/defaults.js +0 -28
  271. package/dist/nodes/model3d/defaults.js.map +0 -1
  272. package/dist/nodes/model3d/document-ops.d.ts +0 -4
  273. package/dist/nodes/model3d/document-ops.d.ts.map +0 -1
  274. package/dist/nodes/model3d/document-ops.js +0 -40
  275. package/dist/nodes/model3d/document-ops.js.map +0 -1
  276. package/dist/nodes/model3d/generation.d.ts +0 -39
  277. package/dist/nodes/model3d/generation.d.ts.map +0 -1
  278. package/dist/nodes/model3d/generation.js +0 -179
  279. package/dist/nodes/model3d/generation.js.map +0 -1
  280. package/dist/nodes/model3d/glb.d.ts +0 -29
  281. package/dist/nodes/model3d/glb.d.ts.map +0 -1
  282. package/dist/nodes/model3d/glb.js +0 -255
  283. package/dist/nodes/model3d/glb.js.map +0 -1
  284. package/dist/nodes/model3d/index.d.ts +0 -20
  285. package/dist/nodes/model3d/index.d.ts.map +0 -1
  286. package/dist/nodes/model3d/index.js +0 -38
  287. package/dist/nodes/model3d/index.js.map +0 -1
  288. package/dist/nodes/model3d/io.d.ts +0 -38
  289. package/dist/nodes/model3d/io.d.ts.map +0 -1
  290. package/dist/nodes/model3d/io.js +0 -162
  291. package/dist/nodes/model3d/io.js.map +0 -1
  292. package/dist/nodes/model3d/mesh-ops.d.ts +0 -40
  293. package/dist/nodes/model3d/mesh-ops.d.ts.map +0 -1
  294. package/dist/nodes/model3d/mesh-ops.js +0 -775
  295. package/dist/nodes/model3d/mesh-ops.js.map +0 -1
  296. package/dist/nodes/model3d/nodes.d.ts +0 -2
  297. package/dist/nodes/model3d/nodes.d.ts.map +0 -1
  298. package/dist/nodes/model3d/nodes.js +0 -2
  299. package/dist/nodes/model3d/nodes.js.map +0 -1
  300. package/dist/nodes/model3d/ops.d.ts +0 -37
  301. package/dist/nodes/model3d/ops.d.ts.map +0 -1
  302. package/dist/nodes/model3d/ops.js +0 -137
  303. package/dist/nodes/model3d/ops.js.map +0 -1
  304. package/dist/nodes/model3d/transforms.d.ts +0 -49
  305. package/dist/nodes/model3d/transforms.d.ts.map +0 -1
  306. package/dist/nodes/model3d/transforms.js +0 -142
  307. package/dist/nodes/model3d/transforms.js.map +0 -1
  308. package/dist/nodes/model3d/types.d.ts +0 -81
  309. package/dist/nodes/model3d/types.d.ts.map +0 -1
  310. package/dist/nodes/model3d/types.js +0 -2
  311. package/dist/nodes/model3d/types.js.map +0 -1
  312. package/dist/nodes/model3d/utils.d.ts +0 -34
  313. package/dist/nodes/model3d/utils.d.ts.map +0 -1
  314. package/dist/nodes/model3d/utils.js +0 -185
  315. package/dist/nodes/model3d/utils.js.map +0 -1
  316. package/dist/nodes/model3d.d.ts +0 -2
  317. package/dist/nodes/model3d.d.ts.map +0 -1
  318. package/dist/nodes/model3d.js +0 -2
  319. package/dist/nodes/model3d.js.map +0 -1
  320. package/dist/nodes/openai.d.ts +0 -172
  321. package/dist/nodes/openai.d.ts.map +0 -1
  322. package/dist/nodes/openai.js +0 -1294
  323. package/dist/nodes/openai.js.map +0 -1
  324. package/dist/nodes/output.d.ts +0 -29
  325. package/dist/nodes/output.d.ts.map +0 -1
  326. package/dist/nodes/output.js +0 -87
  327. package/dist/nodes/output.js.map +0 -1
  328. package/dist/nodes/sandbox.d.ts +0 -63
  329. package/dist/nodes/sandbox.d.ts.map +0 -1
  330. package/dist/nodes/sandbox.js +0 -633
  331. package/dist/nodes/sandbox.js.map +0 -1
  332. package/dist/nodes/search.d.ts +0 -117
  333. package/dist/nodes/search.d.ts.map +0 -1
  334. package/dist/nodes/search.js +0 -607
  335. package/dist/nodes/search.js.map +0 -1
  336. package/dist/nodes/team.d.ts +0 -74
  337. package/dist/nodes/team.d.ts.map +0 -1
  338. package/dist/nodes/team.js +0 -309
  339. package/dist/nodes/team.js.map +0 -1
  340. package/dist/nodes/text-extra.d.ts +0 -633
  341. package/dist/nodes/text-extra.d.ts.map +0 -1
  342. package/dist/nodes/text-extra.js +0 -2226
  343. package/dist/nodes/text-extra.js.map +0 -1
  344. package/dist/nodes/tool-agents.d.ts +0 -334
  345. package/dist/nodes/tool-agents.d.ts.map +0 -1
  346. package/dist/nodes/tool-agents.js +0 -1861
  347. package/dist/nodes/tool-agents.js.map +0 -1
  348. package/dist/nodes/triggers.d.ts +0 -107
  349. package/dist/nodes/triggers.d.ts.map +0 -1
  350. package/dist/nodes/triggers.js +0 -706
  351. package/dist/nodes/triggers.js.map +0 -1
  352. package/dist/nodes/vector.d.ts +0 -168
  353. package/dist/nodes/vector.d.ts.map +0 -1
  354. package/dist/nodes/vector.js +0 -1121
  355. package/dist/nodes/vector.js.map +0 -1
  356. package/dist/nodes/video.d.ts +0 -387
  357. package/dist/nodes/video.d.ts.map +0 -1
  358. package/dist/nodes/video.js +0 -2383
  359. package/dist/nodes/video.js.map +0 -1
  360. package/dist/nodes/workflow.d.ts +0 -24
  361. package/dist/nodes/workflow.d.ts.map +0 -1
  362. package/dist/nodes/workflow.js +0 -146
  363. package/dist/nodes/workflow.js.map +0 -1
  364. package/dist/nodes/workspace.d.ts +0 -203
  365. package/dist/nodes/workspace.d.ts.map +0 -1
  366. package/dist/nodes/workspace.js +0 -795
  367. package/dist/nodes/workspace.js.map +0 -1
@@ -1,715 +0,0 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- import { BaseNode, prop } from "@nodetool-ai/node-sdk";
8
- export class ConstantBaseNode extends BaseNode {
9
- static nodeType = "nodetool.constant.Constant";
10
- static title = "Constant";
11
- static description = "Base class for fixed-value nodes.\n\n constant, parameter, default\n\n Use cases:\n - Provide static inputs to a workflow\n - Hold configuration values\n - Simplify testing with deterministic outputs";
12
- async process() {
13
- return { output: null };
14
- }
15
- }
16
- export class ConstantBoolNode extends BaseNode {
17
- static nodeType = "nodetool.constant.Bool";
18
- static title = "Bool";
19
- static description = "Represents a boolean constant in the workflow.\n boolean, logic, flag\n\n Use cases:\n - Control flow decisions in conditional nodes\n - Toggle features or behaviors in the workflow\n - Set default boolean values for configuration";
20
- static metadataOutputTypes = {
21
- output: "bool"
22
- };
23
- static exposeAsTool = true;
24
- async process() {
25
- return { output: this.value ?? false };
26
- }
27
- }
28
- __decorate([
29
- prop({ type: "bool", default: false, title: "Value" })
30
- ], ConstantBoolNode.prototype, "value", void 0);
31
- export class ConstantIntegerNode extends BaseNode {
32
- static nodeType = "nodetool.constant.Integer";
33
- static title = "Integer";
34
- static description = "Represents an integer constant in the workflow.\n number, integer, whole\n\n Use cases:\n - Set numerical parameters for calculations\n - Define counts, indices, or sizes\n - Provide fixed numerical inputs for processing";
35
- static metadataOutputTypes = {
36
- output: "int"
37
- };
38
- async process() {
39
- return { output: this.value ?? 0 };
40
- }
41
- }
42
- __decorate([
43
- prop({ type: "int", default: 0, title: "Value" })
44
- ], ConstantIntegerNode.prototype, "value", void 0);
45
- export class ConstantFloatNode extends BaseNode {
46
- static nodeType = "nodetool.constant.Float";
47
- static title = "Float";
48
- static description = "Represents a floating-point number constant in the workflow.\n number, decimal, float\n\n Use cases:\n - Set numerical parameters for calculations\n - Define thresholds or limits\n - Provide fixed numerical inputs for processing";
49
- static metadataOutputTypes = {
50
- output: "float"
51
- };
52
- async process() {
53
- return { output: this.value ?? 0.0 };
54
- }
55
- }
56
- __decorate([
57
- prop({ type: "float", default: 0, title: "Value" })
58
- ], ConstantFloatNode.prototype, "value", void 0);
59
- export class ConstantStringNode extends BaseNode {
60
- static nodeType = "nodetool.constant.String";
61
- static title = "String";
62
- static description = "Represents a string constant in the workflow.\n text, string, characters\n\n Use cases:\n - Provide fixed text inputs for processing\n - Define labels, identifiers, or names\n - Set default text values for configuration";
63
- static metadataOutputTypes = {
64
- output: "str"
65
- };
66
- async process() {
67
- return { output: this.value ?? "" };
68
- }
69
- }
70
- __decorate([
71
- prop({ type: "str", default: "", title: "Value" })
72
- ], ConstantStringNode.prototype, "value", void 0);
73
- export class ConstantListNode extends BaseNode {
74
- static nodeType = "nodetool.constant.List";
75
- static title = "List";
76
- static description = "Represents a list constant in the workflow.\n array, sequence, collection\n\n Use cases:\n - Store multiple values of the same type\n - Provide ordered data inputs\n - Define sequences for iteration in other nodes";
77
- static metadataOutputTypes = {
78
- output: "list[any]"
79
- };
80
- async process() {
81
- return { output: this.value ?? [] };
82
- }
83
- }
84
- __decorate([
85
- prop({ type: "list[any]", default: [], title: "Value" })
86
- ], ConstantListNode.prototype, "value", void 0);
87
- export class ConstantTextListNode extends BaseNode {
88
- static nodeType = "nodetool.constant.TextList";
89
- static title = "Text List";
90
- static description = "Represents a list of text strings in the workflow.\n texts, strings, text collection\n\n Use cases:\n - Provide a fixed list of text strings for batch processing\n - Reference multiple text values in the workflow\n - Set default text list for testing or demonstration purposes";
91
- static metadataOutputTypes = {
92
- output: "list[str]"
93
- };
94
- static exposeAsTool = true;
95
- async process() {
96
- return { output: this.value ?? [] };
97
- }
98
- }
99
- __decorate([
100
- prop({
101
- type: "list[str]",
102
- default: null,
103
- title: "Value",
104
- description: "List of text strings",
105
- required: true
106
- })
107
- ], ConstantTextListNode.prototype, "value", void 0);
108
- export class ConstantDictNode extends BaseNode {
109
- static nodeType = "nodetool.constant.Dict";
110
- static title = "Dict";
111
- static description = "Represents a dictionary constant in the workflow.\n dictionary, key-value, mapping\n\n Use cases:\n - Store configuration settings\n - Provide structured data inputs\n - Define parameter sets for other nodes";
112
- static metadataOutputTypes = {
113
- output: "dict[str, any]"
114
- };
115
- static exposeAsTool = true;
116
- async process() {
117
- return { output: this.value ?? {} };
118
- }
119
- }
120
- __decorate([
121
- prop({ type: "dict[str, any]", default: {}, title: "Value" })
122
- ], ConstantDictNode.prototype, "value", void 0);
123
- export class ConstantAudioNode extends BaseNode {
124
- static nodeType = "nodetool.constant.Audio";
125
- static title = "Audio";
126
- static description = "Represents an audio file constant in the workflow.\n audio, file, mp3, wav\n\n Use cases:\n - Provide a fixed audio input for audio processing nodes\n - Reference a specific audio file in the workflow\n - Set default audio for testing or demonstration purposes";
127
- static metadataOutputTypes = {
128
- output: "audio"
129
- };
130
- static exposeAsTool = true;
131
- async process() {
132
- return { output: this.value ?? {} };
133
- }
134
- }
135
- __decorate([
136
- prop({
137
- type: "audio",
138
- default: {
139
- type: "audio",
140
- uri: "",
141
- asset_id: null,
142
- data: null,
143
- metadata: null
144
- },
145
- title: "Value"
146
- })
147
- ], ConstantAudioNode.prototype, "value", void 0);
148
- export class ConstantImageNode extends BaseNode {
149
- static nodeType = "nodetool.constant.Image";
150
- static title = "Image";
151
- static description = "Represents an image file constant in the workflow.\n picture, photo, image\n\n Use cases:\n - Provide a fixed image input for image processing nodes\n - Reference a specific image file in the workflow\n - Set default image for testing or demonstration purposes";
152
- static metadataOutputTypes = {
153
- output: "image"
154
- };
155
- static exposeAsTool = true;
156
- async process() {
157
- return { output: this.value ?? {} };
158
- }
159
- }
160
- __decorate([
161
- prop({
162
- type: "image",
163
- default: {
164
- type: "image",
165
- uri: "",
166
- asset_id: null,
167
- data: null,
168
- metadata: null
169
- },
170
- title: "Value"
171
- })
172
- ], ConstantImageNode.prototype, "value", void 0);
173
- export class ConstantVideoNode extends BaseNode {
174
- static nodeType = "nodetool.constant.Video";
175
- static title = "Video";
176
- static description = "Represents a video file constant in the workflow.\n video, movie, mp4, file\n\n Use cases:\n - Provide a fixed video input for video processing nodes\n - Reference a specific video file in the workflow\n - Set default video for testing or demonstration purposes";
177
- static metadataOutputTypes = {
178
- output: "video"
179
- };
180
- static exposeAsTool = true;
181
- async process() {
182
- return { output: this.value ?? {} };
183
- }
184
- }
185
- __decorate([
186
- prop({
187
- type: "video",
188
- default: {
189
- type: "video",
190
- uri: "",
191
- asset_id: null,
192
- data: null,
193
- metadata: null,
194
- duration: null,
195
- format: null
196
- },
197
- title: "Value"
198
- })
199
- ], ConstantVideoNode.prototype, "value", void 0);
200
- export class ConstantDocumentNode extends BaseNode {
201
- static nodeType = "nodetool.constant.Document";
202
- static title = "Document";
203
- static description = "Represents a document constant in the workflow.\n document, pdf, word, docx";
204
- static metadataOutputTypes = {
205
- output: "document"
206
- };
207
- static exposeAsTool = true;
208
- async process() {
209
- return { output: this.value ?? {} };
210
- }
211
- }
212
- __decorate([
213
- prop({
214
- type: "document",
215
- default: {
216
- type: "document",
217
- uri: "",
218
- asset_id: null,
219
- data: null,
220
- metadata: null
221
- },
222
- title: "Document"
223
- })
224
- ], ConstantDocumentNode.prototype, "value", void 0);
225
- export class ConstantJSONNode extends BaseNode {
226
- static nodeType = "nodetool.constant.JSON";
227
- static title = "JSON";
228
- static description = "Represents a JSON constant in the workflow.\n json, object, dictionary";
229
- static metadataOutputTypes = {
230
- output: "json"
231
- };
232
- static exposeAsTool = true;
233
- async process() {
234
- return { output: this.value ?? {} };
235
- }
236
- }
237
- __decorate([
238
- prop({
239
- type: "json",
240
- default: {
241
- type: "json",
242
- uri: "",
243
- asset_id: null,
244
- data: null,
245
- metadata: null
246
- },
247
- title: "Value"
248
- })
249
- ], ConstantJSONNode.prototype, "value", void 0);
250
- export class ConstantModel3DNode extends BaseNode {
251
- static nodeType = "nodetool.constant.Model3D";
252
- static title = "Model 3D";
253
- static description = "Represents a 3D model constant in the workflow.\n 3d, model, mesh, glb, obj, stl\n\n Use cases:\n - Provide a fixed 3D model input for processing nodes\n - Reference a specific 3D model file in the workflow\n - Set default 3D model for testing or demonstration purposes";
254
- static metadataOutputTypes = {
255
- output: "model_3d"
256
- };
257
- static exposeAsTool = true;
258
- async process() {
259
- return { output: this.value ?? {} };
260
- }
261
- }
262
- __decorate([
263
- prop({
264
- type: "model_3d",
265
- default: {
266
- type: "model_3d",
267
- uri: "",
268
- asset_id: null,
269
- data: null,
270
- metadata: null,
271
- format: null,
272
- material_file: null,
273
- texture_files: []
274
- },
275
- title: "Value"
276
- })
277
- ], ConstantModel3DNode.prototype, "value", void 0);
278
- export class ConstantDataFrameNode extends BaseNode {
279
- static nodeType = "nodetool.constant.DataFrame";
280
- static title = "Data Frame";
281
- static description = "Represents a fixed DataFrame constant in the workflow.\n table, data, dataframe, pandas\n\n Use cases:\n - Provide static data for analysis or processing\n - Define lookup tables or reference data\n - Set sample data for testing or demonstration";
282
- static metadataOutputTypes = {
283
- output: "dataframe"
284
- };
285
- static exposeAsTool = true;
286
- async process() {
287
- return { output: this.value ?? {} };
288
- }
289
- }
290
- __decorate([
291
- prop({
292
- type: "dataframe",
293
- default: {
294
- type: "dataframe",
295
- uri: "",
296
- asset_id: null,
297
- data: null,
298
- metadata: null,
299
- columns: null
300
- },
301
- title: "DataFrame"
302
- })
303
- ], ConstantDataFrameNode.prototype, "value", void 0);
304
- export class ConstantAudioListNode extends BaseNode {
305
- static nodeType = "nodetool.constant.AudioList";
306
- static title = "Audio List";
307
- static description = "Represents a list of audio file constants in the workflow.\n audios, sounds, audio files, collection\n\n Use cases:\n - Provide a fixed list of audio files for batch processing\n - Reference multiple audio files in the workflow\n - Set default audio list for testing or demonstration purposes";
308
- static metadataOutputTypes = {
309
- output: "list[audio]"
310
- };
311
- static exposeAsTool = true;
312
- async process() {
313
- return { output: this.value ?? [] };
314
- }
315
- }
316
- __decorate([
317
- prop({
318
- type: "list[audio]",
319
- default: null,
320
- title: "Value",
321
- description: "List of audio references",
322
- required: true
323
- })
324
- ], ConstantAudioListNode.prototype, "value", void 0);
325
- export class ConstantImageListNode extends BaseNode {
326
- static nodeType = "nodetool.constant.ImageList";
327
- static title = "Image List";
328
- static description = "Represents a list of image file constants in the workflow.\n pictures, photos, images, collection\n\n Use cases:\n - Provide a fixed list of images for batch processing\n - Reference multiple image files in the workflow\n - Set default image list for testing or demonstration purposes";
329
- static metadataOutputTypes = {
330
- output: "list[image]"
331
- };
332
- static exposeAsTool = true;
333
- async process() {
334
- return { output: this.value ?? [] };
335
- }
336
- }
337
- __decorate([
338
- prop({
339
- type: "list[image]",
340
- default: null,
341
- title: "Value",
342
- description: "List of image references",
343
- required: true
344
- })
345
- ], ConstantImageListNode.prototype, "value", void 0);
346
- export class ConstantVideoListNode extends BaseNode {
347
- static nodeType = "nodetool.constant.VideoList";
348
- static title = "Video List";
349
- static description = "Represents a list of video file constants in the workflow.\n videos, movies, clips, collection\n\n Use cases:\n - Provide a fixed list of videos for batch processing\n - Reference multiple video files in the workflow\n - Set default video list for testing or demonstration purposes";
350
- static metadataOutputTypes = {
351
- output: "list[video]"
352
- };
353
- static exposeAsTool = true;
354
- async process() {
355
- return { output: this.value ?? [] };
356
- }
357
- }
358
- __decorate([
359
- prop({
360
- type: "list[video]",
361
- default: null,
362
- title: "Value",
363
- description: "List of video references",
364
- required: true
365
- })
366
- ], ConstantVideoListNode.prototype, "value", void 0);
367
- export class ConstantSelectNode extends BaseNode {
368
- static nodeType = "nodetool.constant.Select";
369
- static title = "Select";
370
- static description = "Represents a selection from a predefined set of options in the workflow.\n select, enum, dropdown, choice, options\n\n Use cases:\n - Choose from a fixed set of values\n - Configure options for downstream nodes\n - Provide enum-compatible inputs for nodes that expect specific values\n\n The output is a string that can be connected to enum-typed inputs.";
371
- static metadataOutputTypes = {
372
- output: "str"
373
- };
374
- static basicFields = ["value"];
375
- async process() {
376
- return { output: this.value ?? "" };
377
- }
378
- }
379
- __decorate([
380
- prop({
381
- type: "str",
382
- default: "",
383
- title: "Value",
384
- description: "The currently selected value.",
385
- json_schema_extra: {
386
- type: "select"
387
- }
388
- })
389
- ], ConstantSelectNode.prototype, "value", void 0);
390
- __decorate([
391
- prop({
392
- type: "list[str]",
393
- default: [],
394
- title: "Options",
395
- description: "The list of available options to choose from."
396
- })
397
- ], ConstantSelectNode.prototype, "options", void 0);
398
- __decorate([
399
- prop({
400
- type: "str",
401
- default: "",
402
- title: "Enum Type Name",
403
- description: "The enum type name this select corresponds to (for type matching)."
404
- })
405
- ], ConstantSelectNode.prototype, "enum_type_name", void 0);
406
- export class ConstantImageSizeNode extends BaseNode {
407
- static nodeType = "nodetool.constant.ImageSize";
408
- static title = "Image Size";
409
- static description = "";
410
- static metadataOutputTypes = {
411
- image_size: "image_size",
412
- width: "int",
413
- height: "int"
414
- };
415
- static exposeAsTool = true;
416
- async process() {
417
- const value = (this.value ??
418
- this.value ?? { width: 1024, height: 1024 });
419
- const width = Number(value.width ?? 1024);
420
- const height = Number(value.height ?? 1024);
421
- return { output: value, image_size: value, width, height };
422
- }
423
- }
424
- __decorate([
425
- prop({ type: "image_size", default: null, title: "Value", required: true })
426
- ], ConstantImageSizeNode.prototype, "value", void 0);
427
- export class ConstantDateNode extends BaseNode {
428
- static nodeType = "nodetool.constant.Date";
429
- static title = "Date";
430
- static description = "Make a date object from year, month, day.\n date, make, create";
431
- static metadataOutputTypes = {
432
- output: "date"
433
- };
434
- async process() {
435
- const year = Number(this.year ?? this.year ?? 2024);
436
- const month = Number(this.month ?? this.month ?? 1);
437
- const day = Number(this.day ?? this.day ?? 1);
438
- return { output: { year, month, day } };
439
- }
440
- }
441
- __decorate([
442
- prop({
443
- type: "int",
444
- default: 1900,
445
- title: "Year",
446
- description: "Year of the date",
447
- min: 1,
448
- max: 9999
449
- })
450
- ], ConstantDateNode.prototype, "year", void 0);
451
- __decorate([
452
- prop({
453
- type: "int",
454
- default: 1,
455
- title: "Month",
456
- description: "Month of the date",
457
- min: 1,
458
- max: 12
459
- })
460
- ], ConstantDateNode.prototype, "month", void 0);
461
- __decorate([
462
- prop({
463
- type: "int",
464
- default: 1,
465
- title: "Day",
466
- description: "Day of the date",
467
- min: 1,
468
- max: 31
469
- })
470
- ], ConstantDateNode.prototype, "day", void 0);
471
- export class ConstantDateTimeNode extends BaseNode {
472
- static nodeType = "nodetool.constant.DateTime";
473
- static title = "Date Time";
474
- static description = "Make a datetime object from year, month, day, hour, minute, second.\n datetime, make, create";
475
- static metadataOutputTypes = {
476
- output: "datetime"
477
- };
478
- static exposeAsTool = true;
479
- async process() {
480
- const millisecond = Number(this.millisecond ?? this.millisecond ?? 0);
481
- const utcOffsetMinutes = Number(this.utc_offset ?? this.utc_offset ?? 0);
482
- return {
483
- output: {
484
- year: Number(this.year ?? this.year ?? 2024),
485
- month: Number(this.month ?? this.month ?? 1),
486
- day: Number(this.day ?? this.day ?? 1),
487
- hour: Number(this.hour ?? this.hour ?? 0),
488
- minute: Number(this.minute ?? this.minute ?? 0),
489
- second: Number(this.second ?? this.second ?? 0),
490
- microsecond: millisecond * 1000,
491
- tzinfo: String(this.tzinfo ?? this.tzinfo ?? ""),
492
- utc_offset: utcOffsetMinutes * 60
493
- }
494
- };
495
- }
496
- }
497
- __decorate([
498
- prop({
499
- type: "int",
500
- default: 1900,
501
- title: "Year",
502
- description: "Year of the datetime",
503
- min: 1,
504
- max: 9999
505
- })
506
- ], ConstantDateTimeNode.prototype, "year", void 0);
507
- __decorate([
508
- prop({
509
- type: "int",
510
- default: 1,
511
- title: "Month",
512
- description: "Month of the datetime",
513
- min: 1,
514
- max: 12
515
- })
516
- ], ConstantDateTimeNode.prototype, "month", void 0);
517
- __decorate([
518
- prop({
519
- type: "int",
520
- default: 1,
521
- title: "Day",
522
- description: "Day of the datetime",
523
- min: 1,
524
- max: 31
525
- })
526
- ], ConstantDateTimeNode.prototype, "day", void 0);
527
- __decorate([
528
- prop({
529
- type: "int",
530
- default: 0,
531
- title: "Hour",
532
- description: "Hour of the datetime",
533
- min: 0,
534
- max: 23
535
- })
536
- ], ConstantDateTimeNode.prototype, "hour", void 0);
537
- __decorate([
538
- prop({
539
- type: "int",
540
- default: 0,
541
- title: "Minute",
542
- description: "Minute of the datetime",
543
- min: 0,
544
- max: 59
545
- })
546
- ], ConstantDateTimeNode.prototype, "minute", void 0);
547
- __decorate([
548
- prop({
549
- type: "int",
550
- default: 0,
551
- title: "Second",
552
- description: "Second of the datetime",
553
- min: 0,
554
- max: 59
555
- })
556
- ], ConstantDateTimeNode.prototype, "second", void 0);
557
- __decorate([
558
- prop({
559
- type: "int",
560
- default: 0,
561
- title: "Millisecond",
562
- description: "Millisecond of the datetime",
563
- min: 0,
564
- max: 999
565
- })
566
- ], ConstantDateTimeNode.prototype, "millisecond", void 0);
567
- __decorate([
568
- prop({
569
- type: "str",
570
- default: "UTC",
571
- title: "Tzinfo",
572
- description: "Timezone of the datetime"
573
- })
574
- ], ConstantDateTimeNode.prototype, "tzinfo", void 0);
575
- __decorate([
576
- prop({
577
- type: "int",
578
- default: 0,
579
- title: "Utc Offset",
580
- description: "UTC offset of the datetime in minutes",
581
- min: -720,
582
- max: 840
583
- })
584
- ], ConstantDateTimeNode.prototype, "utc_offset", void 0);
585
- export class ConstantASRModelNode extends BaseNode {
586
- static nodeType = "nodetool.constant.ASRModelConstant";
587
- static title = "ASRModel Constant";
588
- static description = "Represents an automatic speech recognition model constant in the workflow.\n asr, speech, recognition, transcription, model\n\n Use cases:\n - Provide a fixed ASR model for transcription\n - Set default ASR model for the workflow\n - Configure model selection without user input";
589
- static metadataOutputTypes = {
590
- output: "asr_model"
591
- };
592
- static exposeAsTool = true;
593
- async process() {
594
- return { output: this.value ?? {} };
595
- }
596
- }
597
- __decorate([
598
- prop({ type: "asr_model", default: null, title: "Value", required: true })
599
- ], ConstantASRModelNode.prototype, "value", void 0);
600
- export class ConstantEmbeddingModelNode extends BaseNode {
601
- static nodeType = "nodetool.constant.EmbeddingModelConstant";
602
- static title = "Embedding Model Constant";
603
- static description = "Represents an embedding model constant in the workflow.\n embedding, model, vector, semantic\n\n Use cases:\n - Provide a fixed embedding model for vectorization\n - Set default embedding model for the workflow\n - Configure model selection without user input";
604
- static metadataOutputTypes = {
605
- output: "embedding_model"
606
- };
607
- static exposeAsTool = true;
608
- async process() {
609
- return { output: this.value ?? {} };
610
- }
611
- }
612
- __decorate([
613
- prop({
614
- type: "embedding_model",
615
- default: null,
616
- title: "Value",
617
- required: true
618
- })
619
- ], ConstantEmbeddingModelNode.prototype, "value", void 0);
620
- export class ConstantImageModelNode extends BaseNode {
621
- static nodeType = "nodetool.constant.ImageModelConstant";
622
- static title = "Image Model Constant";
623
- static description = "Represents an image generation model constant in the workflow.\n image, model, ai, generation, diffusion\n\n Use cases:\n - Provide a fixed image model for generation\n - Set default image model for the workflow\n - Configure model selection without user input";
624
- static metadataOutputTypes = {
625
- output: "image_model"
626
- };
627
- static exposeAsTool = true;
628
- async process() {
629
- return { output: this.value ?? {} };
630
- }
631
- }
632
- __decorate([
633
- prop({ type: "image_model", default: null, title: "Value", required: true })
634
- ], ConstantImageModelNode.prototype, "value", void 0);
635
- export class ConstantLanguageModelNode extends BaseNode {
636
- static nodeType = "nodetool.constant.LanguageModelConstant";
637
- static title = "Language Model Constant";
638
- static description = "Represents a language model constant in the workflow.\n llm, language, model, ai, chat, gpt\n\n Use cases:\n - Provide a fixed language model for chat or text generation\n - Set default language model for the workflow\n - Configure model selection without user input";
639
- static metadataOutputTypes = {
640
- output: "language_model"
641
- };
642
- static exposeAsTool = true;
643
- async process() {
644
- return { output: this.value ?? {} };
645
- }
646
- }
647
- __decorate([
648
- prop({
649
- type: "language_model",
650
- default: null,
651
- title: "Value",
652
- required: true
653
- })
654
- ], ConstantLanguageModelNode.prototype, "value", void 0);
655
- export class ConstantTTSModelNode extends BaseNode {
656
- static nodeType = "nodetool.constant.TTSModelConstant";
657
- static title = "TTSModel Constant";
658
- static description = "Represents a text-to-speech model constant in the workflow.\n tts, speech, voice, model, audio\n\n Use cases:\n - Provide a fixed TTS model for speech synthesis\n - Set default TTS model for the workflow\n - Configure model selection without user input";
659
- static metadataOutputTypes = {
660
- output: "tts_model"
661
- };
662
- static exposeAsTool = true;
663
- async process() {
664
- return { output: this.value ?? {} };
665
- }
666
- }
667
- __decorate([
668
- prop({ type: "tts_model", default: null, title: "Value", required: true })
669
- ], ConstantTTSModelNode.prototype, "value", void 0);
670
- export class ConstantVideoModelNode extends BaseNode {
671
- static nodeType = "nodetool.constant.VideoModelConstant";
672
- static title = "Video Model Constant";
673
- static description = "Represents a video generation model constant in the workflow.\n video, model, ai, generation\n\n Use cases:\n - Provide a fixed video model for generation\n - Set default video model for the workflow\n - Configure model selection without user input";
674
- static metadataOutputTypes = {
675
- output: "video_model"
676
- };
677
- static exposeAsTool = true;
678
- async process() {
679
- return { output: this.value ?? {} };
680
- }
681
- }
682
- __decorate([
683
- prop({ type: "video_model", default: null, title: "Value", required: true })
684
- ], ConstantVideoModelNode.prototype, "value", void 0);
685
- export const CONSTANT_NODES = [
686
- ConstantBaseNode,
687
- ConstantBoolNode,
688
- ConstantIntegerNode,
689
- ConstantFloatNode,
690
- ConstantStringNode,
691
- ConstantListNode,
692
- ConstantTextListNode,
693
- ConstantDictNode,
694
- ConstantAudioNode,
695
- ConstantImageNode,
696
- ConstantVideoNode,
697
- ConstantDocumentNode,
698
- ConstantJSONNode,
699
- ConstantModel3DNode,
700
- ConstantDataFrameNode,
701
- ConstantAudioListNode,
702
- ConstantImageListNode,
703
- ConstantVideoListNode,
704
- ConstantSelectNode,
705
- ConstantImageSizeNode,
706
- ConstantDateNode,
707
- ConstantDateTimeNode,
708
- ConstantASRModelNode,
709
- ConstantEmbeddingModelNode,
710
- ConstantImageModelNode,
711
- ConstantLanguageModelNode,
712
- ConstantTTSModelNode,
713
- ConstantVideoModelNode
714
- ];
715
- //# sourceMappingURL=constant.js.map