@nodetool-ai/base-nodes 0.7.0-rc.11

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 (353) hide show
  1. package/dist/index.d.ts +72 -0
  2. package/dist/index.d.ts.map +1 -0
  3. package/dist/index.js +270 -0
  4. package/dist/index.js.map +1 -0
  5. package/dist/lib/audio-wav.d.ts +66 -0
  6. package/dist/lib/audio-wav.d.ts.map +1 -0
  7. package/dist/lib/audio-wav.js +215 -0
  8. package/dist/lib/audio-wav.js.map +1 -0
  9. package/dist/nodes/agents.d.ts +253 -0
  10. package/dist/nodes/agents.d.ts.map +1 -0
  11. package/dist/nodes/agents.js +2784 -0
  12. package/dist/nodes/agents.js.map +1 -0
  13. package/dist/nodes/anthropic.d.ts +26 -0
  14. package/dist/nodes/anthropic.d.ts.map +1 -0
  15. package/dist/nodes/anthropic.js +133 -0
  16. package/dist/nodes/anthropic.js.map +1 -0
  17. package/dist/nodes/apify.d.ts +120 -0
  18. package/dist/nodes/apify.d.ts.map +1 -0
  19. package/dist/nodes/apify.js +618 -0
  20. package/dist/nodes/apify.js.map +1 -0
  21. package/dist/nodes/audio.d.ts +301 -0
  22. package/dist/nodes/audio.d.ts.map +1 -0
  23. package/dist/nodes/audio.js +1274 -0
  24. package/dist/nodes/audio.js.map +1 -0
  25. package/dist/nodes/code-node.d.ts +34 -0
  26. package/dist/nodes/code-node.d.ts.map +1 -0
  27. package/dist/nodes/code-node.js +343 -0
  28. package/dist/nodes/code-node.js.map +1 -0
  29. package/dist/nodes/code.d.ts +301 -0
  30. package/dist/nodes/code.d.ts.map +1 -0
  31. package/dist/nodes/code.js +850 -0
  32. package/dist/nodes/code.js.map +1 -0
  33. package/dist/nodes/compare.d.ts +18 -0
  34. package/dist/nodes/compare.d.ts.map +1 -0
  35. package/dist/nodes/compare.js +122 -0
  36. package/dist/nodes/compare.js.map +1 -0
  37. package/dist/nodes/constant.d.ts +315 -0
  38. package/dist/nodes/constant.d.ts.map +1 -0
  39. package/dist/nodes/constant.js +715 -0
  40. package/dist/nodes/constant.js.map +1 -0
  41. package/dist/nodes/control.d.ts +83 -0
  42. package/dist/nodes/control.d.ts.map +1 -0
  43. package/dist/nodes/control.js +212 -0
  44. package/dist/nodes/control.js.map +1 -0
  45. package/dist/nodes/data.d.ts +369 -0
  46. package/dist/nodes/data.d.ts.map +1 -0
  47. package/dist/nodes/data.js +1590 -0
  48. package/dist/nodes/data.js.map +1 -0
  49. package/dist/nodes/document.d.ts +134 -0
  50. package/dist/nodes/document.d.ts.map +1 -0
  51. package/dist/nodes/document.js +984 -0
  52. package/dist/nodes/document.js.map +1 -0
  53. package/dist/nodes/extended-placeholders.d.ts +6 -0
  54. package/dist/nodes/extended-placeholders.d.ts.map +1 -0
  55. package/dist/nodes/extended-placeholders.js +19 -0
  56. package/dist/nodes/extended-placeholders.js.map +1 -0
  57. package/dist/nodes/gemini.d.ts +109 -0
  58. package/dist/nodes/gemini.d.ts.map +1 -0
  59. package/dist/nodes/gemini.js +861 -0
  60. package/dist/nodes/gemini.js.map +1 -0
  61. package/dist/nodes/generators.d.ts +84 -0
  62. package/dist/nodes/generators.d.ts.map +1 -0
  63. package/dist/nodes/generators.js +937 -0
  64. package/dist/nodes/generators.js.map +1 -0
  65. package/dist/nodes/image.d.ts +232 -0
  66. package/dist/nodes/image.d.ts.map +1 -0
  67. package/dist/nodes/image.js +1395 -0
  68. package/dist/nodes/image.js.map +1 -0
  69. package/dist/nodes/input.d.ts +445 -0
  70. package/dist/nodes/input.d.ts.map +1 -0
  71. package/dist/nodes/input.js +1459 -0
  72. package/dist/nodes/input.js.map +1 -0
  73. package/dist/nodes/kie-dynamic.d.ts +31 -0
  74. package/dist/nodes/kie-dynamic.d.ts.map +1 -0
  75. package/dist/nodes/kie-dynamic.js +270 -0
  76. package/dist/nodes/kie-dynamic.js.map +1 -0
  77. package/dist/nodes/lib-audio-dsp.d.ts +85 -0
  78. package/dist/nodes/lib-audio-dsp.d.ts.map +1 -0
  79. package/dist/nodes/lib-audio-dsp.js +450 -0
  80. package/dist/nodes/lib-audio-dsp.js.map +1 -0
  81. package/dist/nodes/lib-audio-effects.d.ts +116 -0
  82. package/dist/nodes/lib-audio-effects.d.ts.map +1 -0
  83. package/dist/nodes/lib-audio-effects.js +905 -0
  84. package/dist/nodes/lib-audio-effects.js.map +1 -0
  85. package/dist/nodes/lib-browser.d.ts +99 -0
  86. package/dist/nodes/lib-browser.d.ts.map +1 -0
  87. package/dist/nodes/lib-browser.js +692 -0
  88. package/dist/nodes/lib-browser.js.map +1 -0
  89. package/dist/nodes/lib-charts.d.ts +20 -0
  90. package/dist/nodes/lib-charts.d.ts.map +1 -0
  91. package/dist/nodes/lib-charts.js +245 -0
  92. package/dist/nodes/lib-charts.js.map +1 -0
  93. package/dist/nodes/lib-datetime.d.ts +108 -0
  94. package/dist/nodes/lib-datetime.d.ts.map +1 -0
  95. package/dist/nodes/lib-datetime.js +421 -0
  96. package/dist/nodes/lib-datetime.js.map +1 -0
  97. package/dist/nodes/lib-doc-convert.d.ts +19 -0
  98. package/dist/nodes/lib-doc-convert.d.ts.map +1 -0
  99. package/dist/nodes/lib-doc-convert.js +257 -0
  100. package/dist/nodes/lib-doc-convert.js.map +1 -0
  101. package/dist/nodes/lib-doc-transform.d.ts +39 -0
  102. package/dist/nodes/lib-doc-transform.d.ts.map +1 -0
  103. package/dist/nodes/lib-doc-transform.js +335 -0
  104. package/dist/nodes/lib-doc-transform.js.map +1 -0
  105. package/dist/nodes/lib-docx.d.ts +106 -0
  106. package/dist/nodes/lib-docx.d.ts.map +1 -0
  107. package/dist/nodes/lib-docx.js +595 -0
  108. package/dist/nodes/lib-docx.js.map +1 -0
  109. package/dist/nodes/lib-epub.d.ts +55 -0
  110. package/dist/nodes/lib-epub.d.ts.map +1 -0
  111. package/dist/nodes/lib-epub.js +220 -0
  112. package/dist/nodes/lib-epub.js.map +1 -0
  113. package/dist/nodes/lib-excel.d.ts +74 -0
  114. package/dist/nodes/lib-excel.d.ts.map +1 -0
  115. package/dist/nodes/lib-excel.js +448 -0
  116. package/dist/nodes/lib-excel.js.map +1 -0
  117. package/dist/nodes/lib-graphql.d.ts +66 -0
  118. package/dist/nodes/lib-graphql.d.ts.map +1 -0
  119. package/dist/nodes/lib-graphql.js +333 -0
  120. package/dist/nodes/lib-graphql.js.map +1 -0
  121. package/dist/nodes/lib-grid.d.ts +27 -0
  122. package/dist/nodes/lib-grid.d.ts.map +1 -0
  123. package/dist/nodes/lib-grid.js +172 -0
  124. package/dist/nodes/lib-grid.js.map +1 -0
  125. package/dist/nodes/lib-html-parse.d.ts +108 -0
  126. package/dist/nodes/lib-html-parse.d.ts.map +1 -0
  127. package/dist/nodes/lib-html-parse.js +365 -0
  128. package/dist/nodes/lib-html-parse.js.map +1 -0
  129. package/dist/nodes/lib-http.d.ts +98 -0
  130. package/dist/nodes/lib-http.d.ts.map +1 -0
  131. package/dist/nodes/lib-http.js +267 -0
  132. package/dist/nodes/lib-http.js.map +1 -0
  133. package/dist/nodes/lib-image-color-grading.d.ts +3 -0
  134. package/dist/nodes/lib-image-color-grading.d.ts.map +1 -0
  135. package/dist/nodes/lib-image-color-grading.js +1386 -0
  136. package/dist/nodes/lib-image-color-grading.js.map +1 -0
  137. package/dist/nodes/lib-image-draw.d.ts +3 -0
  138. package/dist/nodes/lib-image-draw.d.ts.map +1 -0
  139. package/dist/nodes/lib-image-draw.js +470 -0
  140. package/dist/nodes/lib-image-draw.js.map +1 -0
  141. package/dist/nodes/lib-image-enhance.d.ts +3 -0
  142. package/dist/nodes/lib-image-enhance.d.ts.map +1 -0
  143. package/dist/nodes/lib-image-enhance.js +731 -0
  144. package/dist/nodes/lib-image-enhance.js.map +1 -0
  145. package/dist/nodes/lib-image-filter.d.ts +3 -0
  146. package/dist/nodes/lib-image-filter.d.ts.map +1 -0
  147. package/dist/nodes/lib-image-filter.js +684 -0
  148. package/dist/nodes/lib-image-filter.js.map +1 -0
  149. package/dist/nodes/lib-image-utils.d.ts +24 -0
  150. package/dist/nodes/lib-image-utils.d.ts.map +1 -0
  151. package/dist/nodes/lib-image-utils.js +150 -0
  152. package/dist/nodes/lib-image-utils.js.map +1 -0
  153. package/dist/nodes/lib-mail.d.ts +74 -0
  154. package/dist/nodes/lib-mail.d.ts.map +1 -0
  155. package/dist/nodes/lib-mail.js +452 -0
  156. package/dist/nodes/lib-mail.js.map +1 -0
  157. package/dist/nodes/lib-markdown.d.ts +70 -0
  158. package/dist/nodes/lib-markdown.d.ts.map +1 -0
  159. package/dist/nodes/lib-markdown.js +236 -0
  160. package/dist/nodes/lib-markdown.js.map +1 -0
  161. package/dist/nodes/lib-nlp.d.ts +98 -0
  162. package/dist/nodes/lib-nlp.d.ts.map +1 -0
  163. package/dist/nodes/lib-nlp.js +374 -0
  164. package/dist/nodes/lib-nlp.js.map +1 -0
  165. package/dist/nodes/lib-notion.d.ts +99 -0
  166. package/dist/nodes/lib-notion.d.ts.map +1 -0
  167. package/dist/nodes/lib-notion.js +601 -0
  168. package/dist/nodes/lib-notion.js.map +1 -0
  169. package/dist/nodes/lib-ocr.d.ts +31 -0
  170. package/dist/nodes/lib-ocr.d.ts.map +1 -0
  171. package/dist/nodes/lib-ocr.js +143 -0
  172. package/dist/nodes/lib-ocr.js.map +1 -0
  173. package/dist/nodes/lib-os.d.ts +312 -0
  174. package/dist/nodes/lib-os.d.ts.map +1 -0
  175. package/dist/nodes/lib-os.js +909 -0
  176. package/dist/nodes/lib-os.js.map +1 -0
  177. package/dist/nodes/lib-pdf.d.ts +142 -0
  178. package/dist/nodes/lib-pdf.d.ts.map +1 -0
  179. package/dist/nodes/lib-pdf.js +871 -0
  180. package/dist/nodes/lib-pdf.js.map +1 -0
  181. package/dist/nodes/lib-pptx.d.ts +29 -0
  182. package/dist/nodes/lib-pptx.d.ts.map +1 -0
  183. package/dist/nodes/lib-pptx.js +122 -0
  184. package/dist/nodes/lib-pptx.js.map +1 -0
  185. package/dist/nodes/lib-rss.d.ts +31 -0
  186. package/dist/nodes/lib-rss.d.ts.map +1 -0
  187. package/dist/nodes/lib-rss.js +163 -0
  188. package/dist/nodes/lib-rss.js.map +1 -0
  189. package/dist/nodes/lib-s3.d.ts +112 -0
  190. package/dist/nodes/lib-s3.d.ts.map +1 -0
  191. package/dist/nodes/lib-s3.js +521 -0
  192. package/dist/nodes/lib-s3.js.map +1 -0
  193. package/dist/nodes/lib-secret.d.ts +15 -0
  194. package/dist/nodes/lib-secret.d.ts.map +1 -0
  195. package/dist/nodes/lib-secret.js +42 -0
  196. package/dist/nodes/lib-secret.js.map +1 -0
  197. package/dist/nodes/lib-sqlite.d.ts +102 -0
  198. package/dist/nodes/lib-sqlite.d.ts.map +1 -0
  199. package/dist/nodes/lib-sqlite.js +532 -0
  200. package/dist/nodes/lib-sqlite.js.map +1 -0
  201. package/dist/nodes/lib-supabase.d.ts +86 -0
  202. package/dist/nodes/lib-supabase.d.ts.map +1 -0
  203. package/dist/nodes/lib-supabase.js +425 -0
  204. package/dist/nodes/lib-supabase.js.map +1 -0
  205. package/dist/nodes/lib-svg.d.ts +199 -0
  206. package/dist/nodes/lib-svg.d.ts.map +1 -0
  207. package/dist/nodes/lib-svg.js +1027 -0
  208. package/dist/nodes/lib-svg.js.map +1 -0
  209. package/dist/nodes/lib-tensorflow.d.ts +71 -0
  210. package/dist/nodes/lib-tensorflow.d.ts.map +1 -0
  211. package/dist/nodes/lib-tensorflow.js +351 -0
  212. package/dist/nodes/lib-tensorflow.js.map +1 -0
  213. package/dist/nodes/lib-twilio.d.ts +71 -0
  214. package/dist/nodes/lib-twilio.d.ts.map +1 -0
  215. package/dist/nodes/lib-twilio.js +469 -0
  216. package/dist/nodes/lib-twilio.js.map +1 -0
  217. package/dist/nodes/lib-validate.d.ts +84 -0
  218. package/dist/nodes/lib-validate.d.ts.map +1 -0
  219. package/dist/nodes/lib-validate.js +215 -0
  220. package/dist/nodes/lib-validate.js.map +1 -0
  221. package/dist/nodes/lib-video-download.d.ts +26 -0
  222. package/dist/nodes/lib-video-download.d.ts.map +1 -0
  223. package/dist/nodes/lib-video-download.js +299 -0
  224. package/dist/nodes/lib-video-download.js.map +1 -0
  225. package/dist/nodes/messaging.d.ts +88 -0
  226. package/dist/nodes/messaging.d.ts.map +1 -0
  227. package/dist/nodes/messaging.js +418 -0
  228. package/dist/nodes/messaging.js.map +1 -0
  229. package/dist/nodes/mistral.d.ts +83 -0
  230. package/dist/nodes/mistral.d.ts.map +1 -0
  231. package/dist/nodes/mistral.js +450 -0
  232. package/dist/nodes/mistral.js.map +1 -0
  233. package/dist/nodes/model3d/analysis.d.ts +13 -0
  234. package/dist/nodes/model3d/analysis.d.ts.map +1 -0
  235. package/dist/nodes/model3d/analysis.js +36 -0
  236. package/dist/nodes/model3d/analysis.js.map +1 -0
  237. package/dist/nodes/model3d/base.d.ts +11 -0
  238. package/dist/nodes/model3d/base.d.ts.map +1 -0
  239. package/dist/nodes/model3d/base.js +20 -0
  240. package/dist/nodes/model3d/base.js.map +1 -0
  241. package/dist/nodes/model3d/boolean-ops.d.ts +2 -0
  242. package/dist/nodes/model3d/boolean-ops.d.ts.map +1 -0
  243. package/dist/nodes/model3d/boolean-ops.js +172 -0
  244. package/dist/nodes/model3d/boolean-ops.js.map +1 -0
  245. package/dist/nodes/model3d/cleanup.d.ts +47 -0
  246. package/dist/nodes/model3d/cleanup.d.ts.map +1 -0
  247. package/dist/nodes/model3d/cleanup.js +136 -0
  248. package/dist/nodes/model3d/cleanup.js.map +1 -0
  249. package/dist/nodes/model3d/convert.d.ts +14 -0
  250. package/dist/nodes/model3d/convert.d.ts.map +1 -0
  251. package/dist/nodes/model3d/convert.js +64 -0
  252. package/dist/nodes/model3d/convert.js.map +1 -0
  253. package/dist/nodes/model3d/defaults.d.ts +34 -0
  254. package/dist/nodes/model3d/defaults.d.ts.map +1 -0
  255. package/dist/nodes/model3d/defaults.js +28 -0
  256. package/dist/nodes/model3d/defaults.js.map +1 -0
  257. package/dist/nodes/model3d/document-ops.d.ts +4 -0
  258. package/dist/nodes/model3d/document-ops.d.ts.map +1 -0
  259. package/dist/nodes/model3d/document-ops.js +40 -0
  260. package/dist/nodes/model3d/document-ops.js.map +1 -0
  261. package/dist/nodes/model3d/generation.d.ts +39 -0
  262. package/dist/nodes/model3d/generation.d.ts.map +1 -0
  263. package/dist/nodes/model3d/generation.js +179 -0
  264. package/dist/nodes/model3d/generation.js.map +1 -0
  265. package/dist/nodes/model3d/glb.d.ts +29 -0
  266. package/dist/nodes/model3d/glb.d.ts.map +1 -0
  267. package/dist/nodes/model3d/glb.js +255 -0
  268. package/dist/nodes/model3d/glb.js.map +1 -0
  269. package/dist/nodes/model3d/index.d.ts +20 -0
  270. package/dist/nodes/model3d/index.d.ts.map +1 -0
  271. package/dist/nodes/model3d/index.js +38 -0
  272. package/dist/nodes/model3d/index.js.map +1 -0
  273. package/dist/nodes/model3d/io.d.ts +38 -0
  274. package/dist/nodes/model3d/io.d.ts.map +1 -0
  275. package/dist/nodes/model3d/io.js +162 -0
  276. package/dist/nodes/model3d/io.js.map +1 -0
  277. package/dist/nodes/model3d/mesh-ops.d.ts +40 -0
  278. package/dist/nodes/model3d/mesh-ops.d.ts.map +1 -0
  279. package/dist/nodes/model3d/mesh-ops.js +775 -0
  280. package/dist/nodes/model3d/mesh-ops.js.map +1 -0
  281. package/dist/nodes/model3d/nodes.d.ts +2 -0
  282. package/dist/nodes/model3d/nodes.d.ts.map +1 -0
  283. package/dist/nodes/model3d/nodes.js +2 -0
  284. package/dist/nodes/model3d/nodes.js.map +1 -0
  285. package/dist/nodes/model3d/ops.d.ts +37 -0
  286. package/dist/nodes/model3d/ops.d.ts.map +1 -0
  287. package/dist/nodes/model3d/ops.js +137 -0
  288. package/dist/nodes/model3d/ops.js.map +1 -0
  289. package/dist/nodes/model3d/transforms.d.ts +49 -0
  290. package/dist/nodes/model3d/transforms.d.ts.map +1 -0
  291. package/dist/nodes/model3d/transforms.js +142 -0
  292. package/dist/nodes/model3d/transforms.js.map +1 -0
  293. package/dist/nodes/model3d/types.d.ts +81 -0
  294. package/dist/nodes/model3d/types.d.ts.map +1 -0
  295. package/dist/nodes/model3d/types.js +2 -0
  296. package/dist/nodes/model3d/types.js.map +1 -0
  297. package/dist/nodes/model3d/utils.d.ts +34 -0
  298. package/dist/nodes/model3d/utils.d.ts.map +1 -0
  299. package/dist/nodes/model3d/utils.js +185 -0
  300. package/dist/nodes/model3d/utils.js.map +1 -0
  301. package/dist/nodes/model3d.d.ts +2 -0
  302. package/dist/nodes/model3d.d.ts.map +1 -0
  303. package/dist/nodes/model3d.js +2 -0
  304. package/dist/nodes/model3d.js.map +1 -0
  305. package/dist/nodes/openai.d.ts +172 -0
  306. package/dist/nodes/openai.d.ts.map +1 -0
  307. package/dist/nodes/openai.js +1294 -0
  308. package/dist/nodes/openai.js.map +1 -0
  309. package/dist/nodes/output.d.ts +29 -0
  310. package/dist/nodes/output.d.ts.map +1 -0
  311. package/dist/nodes/output.js +87 -0
  312. package/dist/nodes/output.js.map +1 -0
  313. package/dist/nodes/sandbox.d.ts +67 -0
  314. package/dist/nodes/sandbox.d.ts.map +1 -0
  315. package/dist/nodes/sandbox.js +681 -0
  316. package/dist/nodes/sandbox.js.map +1 -0
  317. package/dist/nodes/search.d.ts +117 -0
  318. package/dist/nodes/search.d.ts.map +1 -0
  319. package/dist/nodes/search.js +607 -0
  320. package/dist/nodes/search.js.map +1 -0
  321. package/dist/nodes/team.d.ts +74 -0
  322. package/dist/nodes/team.d.ts.map +1 -0
  323. package/dist/nodes/team.js +304 -0
  324. package/dist/nodes/team.js.map +1 -0
  325. package/dist/nodes/text-extra.d.ts +633 -0
  326. package/dist/nodes/text-extra.d.ts.map +1 -0
  327. package/dist/nodes/text-extra.js +2226 -0
  328. package/dist/nodes/text-extra.js.map +1 -0
  329. package/dist/nodes/tool-agents.d.ts +334 -0
  330. package/dist/nodes/tool-agents.d.ts.map +1 -0
  331. package/dist/nodes/tool-agents.js +1861 -0
  332. package/dist/nodes/tool-agents.js.map +1 -0
  333. package/dist/nodes/triggers.d.ts +107 -0
  334. package/dist/nodes/triggers.d.ts.map +1 -0
  335. package/dist/nodes/triggers.js +706 -0
  336. package/dist/nodes/triggers.js.map +1 -0
  337. package/dist/nodes/vector.d.ts +168 -0
  338. package/dist/nodes/vector.d.ts.map +1 -0
  339. package/dist/nodes/vector.js +1121 -0
  340. package/dist/nodes/vector.js.map +1 -0
  341. package/dist/nodes/video.d.ts +387 -0
  342. package/dist/nodes/video.d.ts.map +1 -0
  343. package/dist/nodes/video.js +2361 -0
  344. package/dist/nodes/video.js.map +1 -0
  345. package/dist/nodes/workflow.d.ts +24 -0
  346. package/dist/nodes/workflow.d.ts.map +1 -0
  347. package/dist/nodes/workflow.js +146 -0
  348. package/dist/nodes/workflow.js.map +1 -0
  349. package/dist/nodes/workspace.d.ts +203 -0
  350. package/dist/nodes/workspace.d.ts.map +1 -0
  351. package/dist/nodes/workspace.js +795 -0
  352. package/dist/nodes/workspace.js.map +1 -0
  353. package/package.json +103 -0
@@ -0,0 +1,715 @@
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