next-workflow-builder 0.1.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.
Files changed (754) hide show
  1. package/dist/client/components/ai-elements/canvas.d.ts +9 -0
  2. package/dist/client/components/ai-elements/canvas.d.ts.map +1 -0
  3. package/dist/client/components/ai-elements/canvas.js +7 -0
  4. package/dist/client/components/ai-elements/canvas.js.map +1 -0
  5. package/dist/client/components/ai-elements/connection.d.ts +3 -0
  6. package/dist/client/components/ai-elements/connection.d.ts.map +1 -0
  7. package/dist/client/components/ai-elements/connection.js +4 -0
  8. package/dist/client/components/ai-elements/connection.js.map +1 -0
  9. package/dist/client/components/ai-elements/controls.d.ts +2 -0
  10. package/dist/client/components/ai-elements/controls.d.ts.map +1 -0
  11. package/dist/client/components/ai-elements/controls.js +26 -0
  12. package/dist/client/components/ai-elements/controls.js.map +1 -0
  13. package/dist/client/components/ai-elements/edge.d.ts +6 -0
  14. package/dist/client/components/ai-elements/edge.d.ts.map +1 -0
  15. package/dist/client/components/ai-elements/edge.js +86 -0
  16. package/dist/client/components/ai-elements/edge.js.map +1 -0
  17. package/dist/client/components/ai-elements/node.d.ts +23 -0
  18. package/dist/client/components/ai-elements/node.d.ts.map +1 -0
  19. package/dist/client/components/ai-elements/node.js +13 -0
  20. package/dist/client/components/ai-elements/node.js.map +1 -0
  21. package/dist/client/components/ai-elements/panel.d.ts +6 -0
  22. package/dist/client/components/ai-elements/panel.d.ts.map +1 -0
  23. package/dist/client/components/ai-elements/panel.js +5 -0
  24. package/dist/client/components/ai-elements/panel.js.map +1 -0
  25. package/dist/client/components/ai-elements/prompt.d.ts +7 -0
  26. package/dist/client/components/ai-elements/prompt.d.ts.map +1 -0
  27. package/dist/client/components/ai-elements/prompt.js +220 -0
  28. package/dist/client/components/ai-elements/prompt.js.map +1 -0
  29. package/dist/client/components/ai-elements/shimmer.d.ts +10 -0
  30. package/dist/client/components/ai-elements/shimmer.d.ts.map +1 -0
  31. package/dist/client/components/ai-elements/shimmer.js +19 -0
  32. package/dist/client/components/ai-elements/shimmer.js.map +1 -0
  33. package/dist/client/components/auth/dialog.d.ts +8 -0
  34. package/dist/client/components/auth/dialog.d.ts.map +1 -0
  35. package/dist/client/components/auth/dialog.js +181 -0
  36. package/dist/client/components/auth/dialog.js.map +1 -0
  37. package/dist/client/components/deploy-button.d.ts +2 -0
  38. package/dist/client/components/deploy-button.d.ts.map +1 -0
  39. package/dist/client/components/deploy-button.js +8 -0
  40. package/dist/client/components/deploy-button.js.map +1 -0
  41. package/dist/client/components/global-modals.d.ts +2 -0
  42. package/dist/client/components/global-modals.d.ts.map +1 -0
  43. package/dist/client/components/global-modals.js +8 -0
  44. package/dist/client/components/global-modals.js.map +1 -0
  45. package/dist/client/components/icons/github-icon.d.ts +4 -0
  46. package/dist/client/components/icons/github-icon.d.ts.map +1 -0
  47. package/dist/client/components/icons/github-icon.js +5 -0
  48. package/dist/client/components/icons/github-icon.js.map +1 -0
  49. package/dist/client/components/index.d.ts +7 -0
  50. package/dist/client/components/index.d.ts.map +1 -0
  51. package/dist/client/components/index.js +8 -0
  52. package/dist/client/components/index.js.map +1 -0
  53. package/dist/client/components/layout-provider.d.ts +4 -0
  54. package/dist/client/components/layout-provider.d.ts.map +1 -0
  55. package/dist/client/components/layout-provider.js +20 -0
  56. package/dist/client/components/layout-provider.js.map +1 -0
  57. package/dist/client/components/overlays/add-connection-overlay.d.ts +14 -0
  58. package/dist/client/components/overlays/add-connection-overlay.d.ts.map +1 -0
  59. package/dist/client/components/overlays/add-connection-overlay.js +218 -0
  60. package/dist/client/components/overlays/add-connection-overlay.js.map +1 -0
  61. package/dist/client/components/overlays/api-keys-overlay.d.ts +6 -0
  62. package/dist/client/components/overlays/api-keys-overlay.d.ts.map +1 -0
  63. package/dist/client/components/overlays/api-keys-overlay.js +124 -0
  64. package/dist/client/components/overlays/api-keys-overlay.js.map +1 -0
  65. package/dist/client/components/overlays/configuration-overlay.d.ts +5 -0
  66. package/dist/client/components/overlays/configuration-overlay.d.ts.map +1 -0
  67. package/dist/client/components/overlays/configuration-overlay.js +325 -0
  68. package/dist/client/components/overlays/configuration-overlay.js.map +1 -0
  69. package/dist/client/components/overlays/confirm-overlay.d.ts +15 -0
  70. package/dist/client/components/overlays/confirm-overlay.d.ts.map +1 -0
  71. package/dist/client/components/overlays/confirm-overlay.js +31 -0
  72. package/dist/client/components/overlays/confirm-overlay.js.map +1 -0
  73. package/dist/client/components/overlays/edit-connection-overlay.d.ts +16 -0
  74. package/dist/client/components/overlays/edit-connection-overlay.d.ts.map +1 -0
  75. package/dist/client/components/overlays/edit-connection-overlay.js +213 -0
  76. package/dist/client/components/overlays/edit-connection-overlay.js.map +1 -0
  77. package/dist/client/components/overlays/export-workflow-overlay.d.ts +8 -0
  78. package/dist/client/components/overlays/export-workflow-overlay.d.ts.map +1 -0
  79. package/dist/client/components/overlays/export-workflow-overlay.js +22 -0
  80. package/dist/client/components/overlays/export-workflow-overlay.js.map +1 -0
  81. package/dist/client/components/overlays/integrations-overlay.d.ts +6 -0
  82. package/dist/client/components/overlays/integrations-overlay.d.ts.map +1 -0
  83. package/dist/client/components/overlays/integrations-overlay.js +56 -0
  84. package/dist/client/components/overlays/integrations-overlay.js.map +1 -0
  85. package/dist/client/components/overlays/make-public-overlay.d.ts +7 -0
  86. package/dist/client/components/overlays/make-public-overlay.d.ts.map +1 -0
  87. package/dist/client/components/overlays/make-public-overlay.js +17 -0
  88. package/dist/client/components/overlays/make-public-overlay.js.map +1 -0
  89. package/dist/client/components/overlays/overlay-container.d.ts +2 -0
  90. package/dist/client/components/overlays/overlay-container.d.ts.map +1 -0
  91. package/dist/client/components/overlays/overlay-container.js +236 -0
  92. package/dist/client/components/overlays/overlay-container.js.map +1 -0
  93. package/dist/client/components/overlays/overlay-footer.d.ts +3 -0
  94. package/dist/client/components/overlays/overlay-footer.d.ts.map +1 -0
  95. package/dist/client/components/overlays/overlay-footer.js +25 -0
  96. package/dist/client/components/overlays/overlay-footer.js.map +1 -0
  97. package/dist/client/components/overlays/overlay-header.d.ts +8 -0
  98. package/dist/client/components/overlays/overlay-header.d.ts.map +1 -0
  99. package/dist/client/components/overlays/overlay-header.js +32 -0
  100. package/dist/client/components/overlays/overlay-header.js.map +1 -0
  101. package/dist/client/components/overlays/overlay-provider.d.ts +17 -0
  102. package/dist/client/components/overlays/overlay-provider.d.ts.map +1 -0
  103. package/dist/client/components/overlays/overlay-provider.js +120 -0
  104. package/dist/client/components/overlays/overlay-provider.js.map +1 -0
  105. package/dist/client/components/overlays/overlay-sync.d.ts +2 -0
  106. package/dist/client/components/overlays/overlay-sync.d.ts.map +1 -0
  107. package/dist/client/components/overlays/overlay-sync.js +21 -0
  108. package/dist/client/components/overlays/overlay-sync.js.map +1 -0
  109. package/dist/client/components/overlays/overlay.d.ts +7 -0
  110. package/dist/client/components/overlays/overlay.d.ts.map +1 -0
  111. package/dist/client/components/overlays/overlay.js +9 -0
  112. package/dist/client/components/overlays/overlay.js.map +1 -0
  113. package/dist/client/components/overlays/settings-overlay.d.ts +6 -0
  114. package/dist/client/components/overlays/settings-overlay.d.ts.map +1 -0
  115. package/dist/client/components/overlays/settings-overlay.js +64 -0
  116. package/dist/client/components/overlays/settings-overlay.js.map +1 -0
  117. package/dist/client/components/overlays/types.d.ts +64 -0
  118. package/dist/client/components/overlays/types.d.ts.map +1 -0
  119. package/dist/client/components/overlays/types.js +2 -0
  120. package/dist/client/components/overlays/types.js.map +1 -0
  121. package/dist/client/components/overlays/workflow-issues-overlay.d.ts +37 -0
  122. package/dist/client/components/overlays/workflow-issues-overlay.d.ts.map +1 -0
  123. package/dist/client/components/overlays/workflow-issues-overlay.js +67 -0
  124. package/dist/client/components/overlays/workflow-issues-overlay.js.map +1 -0
  125. package/dist/client/components/pages/home-page.d.ts +3 -0
  126. package/dist/client/components/pages/home-page.d.ts.map +1 -0
  127. package/dist/client/components/pages/home-page.js +100 -0
  128. package/dist/client/components/pages/home-page.js.map +1 -0
  129. package/dist/client/components/pages/workflow-page.d.ts +4 -0
  130. package/dist/client/components/pages/workflow-page.d.ts.map +1 -0
  131. package/dist/client/components/pages/workflow-page.js +23 -0
  132. package/dist/client/components/pages/workflow-page.js.map +1 -0
  133. package/dist/client/components/pages/workflows-redirect.d.ts +3 -0
  134. package/dist/client/components/pages/workflows-redirect.d.ts.map +1 -0
  135. package/dist/client/components/pages/workflows-redirect.js +30 -0
  136. package/dist/client/components/pages/workflows-redirect.js.map +1 -0
  137. package/dist/client/components/settings/account-settings.d.ts +9 -0
  138. package/dist/client/components/settings/account-settings.d.ts.map +1 -0
  139. package/dist/client/components/settings/account-settings.js +8 -0
  140. package/dist/client/components/settings/account-settings.js.map +1 -0
  141. package/dist/client/components/settings/integrations-manager.d.ts +7 -0
  142. package/dist/client/components/settings/integrations-manager.d.ts.map +1 -0
  143. package/dist/client/components/settings/integrations-manager.js +120 -0
  144. package/dist/client/components/settings/integrations-manager.js.map +1 -0
  145. package/dist/client/components/theme-provider.d.ts +5 -0
  146. package/dist/client/components/theme-provider.d.ts.map +1 -0
  147. package/dist/client/components/theme-provider.js +6 -0
  148. package/dist/client/components/theme-provider.js.map +1 -0
  149. package/dist/client/components/ui/alert-dialog.d.ts +15 -0
  150. package/dist/client/components/ui/alert-dialog.d.ts.map +1 -0
  151. package/dist/client/components/ui/alert-dialog.js +40 -0
  152. package/dist/client/components/ui/alert-dialog.js.map +1 -0
  153. package/dist/client/components/ui/alert.d.ts +10 -0
  154. package/dist/client/components/ui/alert.d.ts.map +1 -0
  155. package/dist/client/components/ui/alert.js +25 -0
  156. package/dist/client/components/ui/alert.js.map +1 -0
  157. package/dist/client/components/ui/animated-border.d.ts +6 -0
  158. package/dist/client/components/ui/animated-border.d.ts.map +1 -0
  159. package/dist/client/components/ui/animated-border.js +34 -0
  160. package/dist/client/components/ui/animated-border.js.map +1 -0
  161. package/dist/client/components/ui/avatar.d.ts +7 -0
  162. package/dist/client/components/ui/avatar.d.ts.map +1 -0
  163. package/dist/client/components/ui/avatar.js +15 -0
  164. package/dist/client/components/ui/avatar.js.map +1 -0
  165. package/dist/client/components/ui/button-group.d.ts +12 -0
  166. package/dist/client/components/ui/button-group.d.ts.map +1 -0
  167. package/dist/client/components/ui/button-group.js +28 -0
  168. package/dist/client/components/ui/button-group.js.map +1 -0
  169. package/dist/client/components/ui/button.d.ts +11 -0
  170. package/dist/client/components/ui/button.d.ts.map +1 -0
  171. package/dist/client/components/ui/button.js +34 -0
  172. package/dist/client/components/ui/button.js.map +1 -0
  173. package/dist/client/components/ui/card.d.ts +10 -0
  174. package/dist/client/components/ui/card.d.ts.map +1 -0
  175. package/dist/client/components/ui/card.js +25 -0
  176. package/dist/client/components/ui/card.js.map +1 -0
  177. package/dist/client/components/ui/checkbox.d.ts +5 -0
  178. package/dist/client/components/ui/checkbox.d.ts.map +1 -0
  179. package/dist/client/components/ui/checkbox.js +10 -0
  180. package/dist/client/components/ui/checkbox.js.map +1 -0
  181. package/dist/client/components/ui/code-editor.d.ts +3 -0
  182. package/dist/client/components/ui/code-editor.d.ts.map +1 -0
  183. package/dist/client/components/ui/code-editor.js +17 -0
  184. package/dist/client/components/ui/code-editor.js.map +1 -0
  185. package/dist/client/components/ui/collapsible.d.ts +6 -0
  186. package/dist/client/components/ui/collapsible.d.ts.map +1 -0
  187. package/dist/client/components/ui/collapsible.js +14 -0
  188. package/dist/client/components/ui/collapsible.js.map +1 -0
  189. package/dist/client/components/ui/context-menu.d.ts +26 -0
  190. package/dist/client/components/ui/context-menu.d.ts.map +1 -0
  191. package/dist/client/components/ui/context-menu.js +52 -0
  192. package/dist/client/components/ui/context-menu.js.map +1 -0
  193. package/dist/client/components/ui/dialog.d.ts +16 -0
  194. package/dist/client/components/ui/dialog.d.ts.map +1 -0
  195. package/dist/client/components/ui/dialog.js +37 -0
  196. package/dist/client/components/ui/dialog.js.map +1 -0
  197. package/dist/client/components/ui/drawer.d.ts +14 -0
  198. package/dist/client/components/ui/drawer.d.ts.map +1 -0
  199. package/dist/client/components/ui/drawer.js +36 -0
  200. package/dist/client/components/ui/drawer.js.map +1 -0
  201. package/dist/client/components/ui/dropdown-menu.d.ts +26 -0
  202. package/dist/client/components/ui/dropdown-menu.d.ts.map +1 -0
  203. package/dist/client/components/ui/dropdown-menu.js +52 -0
  204. package/dist/client/components/ui/dropdown-menu.js.map +1 -0
  205. package/dist/client/components/ui/input.d.ts +4 -0
  206. package/dist/client/components/ui/input.d.ts.map +1 -0
  207. package/dist/client/components/ui/input.js +7 -0
  208. package/dist/client/components/ui/input.js.map +1 -0
  209. package/dist/client/components/ui/integration-icon.d.ts +7 -0
  210. package/dist/client/components/ui/integration-icon.d.ts.map +1 -0
  211. package/dist/client/components/ui/integration-icon.js +25 -0
  212. package/dist/client/components/ui/integration-icon.js.map +1 -0
  213. package/dist/client/components/ui/integration-selector.d.ts +12 -0
  214. package/dist/client/components/ui/integration-selector.d.ts.map +1 -0
  215. package/dist/client/components/ui/integration-selector.js +198 -0
  216. package/dist/client/components/ui/integration-selector.js.map +1 -0
  217. package/dist/client/components/ui/label.d.ts +5 -0
  218. package/dist/client/components/ui/label.d.ts.map +1 -0
  219. package/dist/client/components/ui/label.js +9 -0
  220. package/dist/client/components/ui/label.js.map +1 -0
  221. package/dist/client/components/ui/resizable.d.ts +9 -0
  222. package/dist/client/components/ui/resizable.d.ts.map +1 -0
  223. package/dist/client/components/ui/resizable.js +16 -0
  224. package/dist/client/components/ui/resizable.js.map +1 -0
  225. package/dist/client/components/ui/select.d.ts +16 -0
  226. package/dist/client/components/ui/select.d.ts.map +1 -0
  227. package/dist/client/components/ui/select.js +39 -0
  228. package/dist/client/components/ui/select.js.map +1 -0
  229. package/dist/client/components/ui/separator.d.ts +5 -0
  230. package/dist/client/components/ui/separator.d.ts.map +1 -0
  231. package/dist/client/components/ui/separator.js +9 -0
  232. package/dist/client/components/ui/separator.js.map +1 -0
  233. package/dist/client/components/ui/sheet.d.ts +14 -0
  234. package/dist/client/components/ui/sheet.d.ts.map +1 -0
  235. package/dist/client/components/ui/sheet.js +41 -0
  236. package/dist/client/components/ui/sheet.js.map +1 -0
  237. package/dist/client/components/ui/sonner.d.ts +4 -0
  238. package/dist/client/components/ui/sonner.d.ts.map +1 -0
  239. package/dist/client/components/ui/sonner.js +22 -0
  240. package/dist/client/components/ui/sonner.js.map +1 -0
  241. package/dist/client/components/ui/spinner.d.ts +4 -0
  242. package/dist/client/components/ui/spinner.d.ts.map +1 -0
  243. package/dist/client/components/ui/spinner.js +9 -0
  244. package/dist/client/components/ui/spinner.js.map +1 -0
  245. package/dist/client/components/ui/tabs.d.ts +8 -0
  246. package/dist/client/components/ui/tabs.d.ts.map +1 -0
  247. package/dist/client/components/ui/tabs.js +18 -0
  248. package/dist/client/components/ui/tabs.js.map +1 -0
  249. package/dist/client/components/ui/template-autocomplete.d.ts +14 -0
  250. package/dist/client/components/ui/template-autocomplete.d.ts.map +1 -0
  251. package/dist/client/components/ui/template-autocomplete.js +239 -0
  252. package/dist/client/components/ui/template-autocomplete.js.map +1 -0
  253. package/dist/client/components/ui/template-badge-input.d.ts +10 -0
  254. package/dist/client/components/ui/template-badge-input.d.ts.map +1 -0
  255. package/dist/client/components/ui/template-badge-input.js +360 -0
  256. package/dist/client/components/ui/template-badge-input.js.map +1 -0
  257. package/dist/client/components/ui/template-badge-textarea.d.ts +11 -0
  258. package/dist/client/components/ui/template-badge-textarea.d.ts.map +1 -0
  259. package/dist/client/components/ui/template-badge-textarea.js +431 -0
  260. package/dist/client/components/ui/template-badge-textarea.js.map +1 -0
  261. package/dist/client/components/ui/timezone-select.d.ts +9 -0
  262. package/dist/client/components/ui/timezone-select.d.ts.map +1 -0
  263. package/dist/client/components/ui/timezone-select.js +87 -0
  264. package/dist/client/components/ui/timezone-select.js.map +1 -0
  265. package/dist/client/components/ui/tooltip.d.ts +8 -0
  266. package/dist/client/components/ui/tooltip.d.ts.map +1 -0
  267. package/dist/client/components/ui/tooltip.js +18 -0
  268. package/dist/client/components/ui/tooltip.js.map +1 -0
  269. package/dist/client/components/ui/workflow-icon.d.ts +4 -0
  270. package/dist/client/components/ui/workflow-icon.d.ts.map +1 -0
  271. package/dist/client/components/ui/workflow-icon.js +5 -0
  272. package/dist/client/components/ui/workflow-icon.js.map +1 -0
  273. package/dist/client/components/workflow/config/action-config-renderer.d.ts +10 -0
  274. package/dist/client/components/workflow/config/action-config-renderer.d.ts.map +1 -0
  275. package/dist/client/components/workflow/config/action-config-renderer.js +64 -0
  276. package/dist/client/components/workflow/config/action-config-renderer.js.map +1 -0
  277. package/dist/client/components/workflow/config/action-config.d.ts +9 -0
  278. package/dist/client/components/workflow/config/action-config.d.ts.map +1 -0
  279. package/dist/client/components/workflow/config/action-config.js +174 -0
  280. package/dist/client/components/workflow/config/action-config.js.map +1 -0
  281. package/dist/client/components/workflow/config/action-grid.d.ts +8 -0
  282. package/dist/client/components/workflow/config/action-grid.d.ts.map +1 -0
  283. package/dist/client/components/workflow/config/action-grid.js +162 -0
  284. package/dist/client/components/workflow/config/action-grid.js.map +1 -0
  285. package/dist/client/components/workflow/config/condition-config.d.ts +8 -0
  286. package/dist/client/components/workflow/config/condition-config.d.ts.map +1 -0
  287. package/dist/client/components/workflow/config/condition-config.js +7 -0
  288. package/dist/client/components/workflow/config/condition-config.js.map +1 -0
  289. package/dist/client/components/workflow/config/editor-config.d.ts +13 -0
  290. package/dist/client/components/workflow/config/editor-config.d.ts.map +1 -0
  291. package/dist/client/components/workflow/config/editor-config.js +34 -0
  292. package/dist/client/components/workflow/config/editor-config.js.map +1 -0
  293. package/dist/client/components/workflow/config/schema-builder.d.ts +17 -0
  294. package/dist/client/components/workflow/config/schema-builder.d.ts.map +1 -0
  295. package/dist/client/components/workflow/config/schema-builder.js +55 -0
  296. package/dist/client/components/workflow/config/schema-builder.js.map +1 -0
  297. package/dist/client/components/workflow/config/system-action.d.ts +9 -0
  298. package/dist/client/components/workflow/config/system-action.d.ts.map +1 -0
  299. package/dist/client/components/workflow/config/system-action.js +33 -0
  300. package/dist/client/components/workflow/config/system-action.js.map +1 -0
  301. package/dist/client/components/workflow/config/trigger-config.d.ts +9 -0
  302. package/dist/client/components/workflow/config/trigger-config.d.ts.map +1 -0
  303. package/dist/client/components/workflow/config/trigger-config.js +33 -0
  304. package/dist/client/components/workflow/config/trigger-config.js.map +1 -0
  305. package/dist/client/components/workflow/node-config-panel.d.ts +3 -0
  306. package/dist/client/components/workflow/node-config-panel.d.ts.map +1 -0
  307. package/dist/client/components/workflow/node-config-panel.js +353 -0
  308. package/dist/client/components/workflow/node-config-panel.js.map +1 -0
  309. package/dist/client/components/workflow/nodes/action-node.d.ts +10 -0
  310. package/dist/client/components/workflow/nodes/action-node.d.ts.map +1 -0
  311. package/dist/client/components/workflow/nodes/action-node.js +176 -0
  312. package/dist/client/components/workflow/nodes/action-node.js.map +1 -0
  313. package/dist/client/components/workflow/nodes/add-node.d.ts +9 -0
  314. package/dist/client/components/workflow/nodes/add-node.d.ts.map +1 -0
  315. package/dist/client/components/workflow/nodes/add-node.js +8 -0
  316. package/dist/client/components/workflow/nodes/add-node.js.map +1 -0
  317. package/dist/client/components/workflow/nodes/trigger-node.d.ts +8 -0
  318. package/dist/client/components/workflow/nodes/trigger-node.d.ts.map +1 -0
  319. package/dist/client/components/workflow/nodes/trigger-node.js +25 -0
  320. package/dist/client/components/workflow/nodes/trigger-node.js.map +1 -0
  321. package/dist/client/components/workflow/persistent-canvas.d.ts +2 -0
  322. package/dist/client/components/workflow/persistent-canvas.d.ts.map +1 -0
  323. package/dist/client/components/workflow/persistent-canvas.js +13 -0
  324. package/dist/client/components/workflow/persistent-canvas.js.map +1 -0
  325. package/dist/client/components/workflow/utils/code-generators.d.ts +12 -0
  326. package/dist/client/components/workflow/utils/code-generators.d.ts.map +1 -0
  327. package/dist/client/components/workflow/utils/code-generators.js +70 -0
  328. package/dist/client/components/workflow/utils/code-generators.js.map +1 -0
  329. package/dist/client/components/workflow/workflow-canvas.d.ts +3 -0
  330. package/dist/client/components/workflow/workflow-canvas.d.ts.map +1 -0
  331. package/dist/client/components/workflow/workflow-canvas.js +347 -0
  332. package/dist/client/components/workflow/workflow-canvas.js.map +1 -0
  333. package/dist/client/components/workflow/workflow-context-menu.d.ts +27 -0
  334. package/dist/client/components/workflow/workflow-context-menu.d.ts.map +1 -0
  335. package/dist/client/components/workflow/workflow-context-menu.js +156 -0
  336. package/dist/client/components/workflow/workflow-context-menu.js.map +1 -0
  337. package/dist/client/components/workflow/workflow-editor.d.ts +6 -0
  338. package/dist/client/components/workflow/workflow-editor.d.ts.map +1 -0
  339. package/dist/client/components/workflow/workflow-editor.js +443 -0
  340. package/dist/client/components/workflow/workflow-editor.js.map +1 -0
  341. package/dist/client/components/workflow/workflow-runs.d.ts +8 -0
  342. package/dist/client/components/workflow/workflow-runs.d.ts.map +1 -0
  343. package/dist/client/components/workflow/workflow-runs.js +336 -0
  344. package/dist/client/components/workflow/workflow-runs.js.map +1 -0
  345. package/dist/client/components/workflow/workflow-toolbar.d.ts +6 -0
  346. package/dist/client/components/workflow/workflow-toolbar.d.ts.map +1 -0
  347. package/dist/client/components/workflow/workflow-toolbar.js +707 -0
  348. package/dist/client/components/workflow/workflow-toolbar.js.map +1 -0
  349. package/dist/client/components/workflows/user-menu.d.ts +2 -0
  350. package/dist/client/components/workflows/user-menu.d.ts.map +1 -0
  351. package/dist/client/components/workflows/user-menu.js +65 -0
  352. package/dist/client/components/workflows/user-menu.js.map +1 -0
  353. package/dist/client/hooks/use-mobile.d.ts +2 -0
  354. package/dist/client/hooks/use-mobile.d.ts.map +1 -0
  355. package/dist/client/hooks/use-mobile.js +16 -0
  356. package/dist/client/hooks/use-mobile.js.map +1 -0
  357. package/dist/client/hooks/use-touch.d.ts +2 -0
  358. package/dist/client/hooks/use-touch.d.ts.map +1 -0
  359. package/dist/client/hooks/use-touch.js +12 -0
  360. package/dist/client/hooks/use-touch.js.map +1 -0
  361. package/dist/client/index.d.ts +11 -0
  362. package/dist/client/index.d.ts.map +1 -0
  363. package/dist/client/index.js +12 -0
  364. package/dist/client/index.js.map +1 -0
  365. package/dist/client/package.json +1 -0
  366. package/dist/lib/api-client.d.ts +330 -0
  367. package/dist/lib/api-client.d.ts.map +1 -0
  368. package/dist/lib/api-client.js +274 -0
  369. package/dist/lib/api-client.js.map +1 -0
  370. package/dist/lib/atoms/overlay.d.ts +15 -0
  371. package/dist/lib/atoms/overlay.d.ts.map +1 -0
  372. package/dist/lib/atoms/overlay.js +78 -0
  373. package/dist/lib/atoms/overlay.js.map +1 -0
  374. package/dist/lib/auth-client.d.ts +871 -0
  375. package/dist/lib/auth-client.d.ts.map +1 -0
  376. package/dist/lib/auth-client.js +10 -0
  377. package/dist/lib/auth-client.js.map +1 -0
  378. package/dist/lib/auth-providers.d.ts +12 -0
  379. package/dist/lib/auth-providers.d.ts.map +1 -0
  380. package/dist/lib/auth-providers.js +27 -0
  381. package/dist/lib/auth-providers.js.map +1 -0
  382. package/dist/lib/auth.d.ts +5 -0
  383. package/dist/lib/auth.d.ts.map +1 -0
  384. package/dist/lib/auth.js +62 -0
  385. package/dist/lib/auth.js.map +1 -0
  386. package/dist/lib/codegen-templates/condition.d.ts +3 -0
  387. package/dist/lib/codegen-templates/condition.d.ts.map +1 -0
  388. package/dist/lib/codegen-templates/condition.js +9 -0
  389. package/dist/lib/codegen-templates/condition.js.map +1 -0
  390. package/dist/lib/codegen-templates/database-query.d.ts +3 -0
  391. package/dist/lib/codegen-templates/database-query.d.ts.map +1 -0
  392. package/dist/lib/codegen-templates/database-query.js +24 -0
  393. package/dist/lib/codegen-templates/database-query.js.map +1 -0
  394. package/dist/lib/codegen-templates/http-request.d.ts +3 -0
  395. package/dist/lib/codegen-templates/http-request.d.ts.map +1 -0
  396. package/dist/lib/codegen-templates/http-request.js +44 -0
  397. package/dist/lib/codegen-templates/http-request.js.map +1 -0
  398. package/dist/lib/condition-validator.d.ts +10 -0
  399. package/dist/lib/condition-validator.d.ts.map +1 -0
  400. package/dist/lib/condition-validator.js +230 -0
  401. package/dist/lib/condition-validator.js.map +1 -0
  402. package/dist/lib/constants.d.ts +3 -0
  403. package/dist/lib/constants.d.ts.map +1 -0
  404. package/dist/lib/constants.js +3 -0
  405. package/dist/lib/constants.js.map +1 -0
  406. package/dist/lib/credential-fetcher.d.ts +4 -0
  407. package/dist/lib/credential-fetcher.d.ts.map +1 -0
  408. package/dist/lib/credential-fetcher.js +38 -0
  409. package/dist/lib/credential-fetcher.js.map +1 -0
  410. package/dist/lib/db/index.d.ts +4 -0
  411. package/dist/lib/db/index.d.ts.map +1 -0
  412. package/dist/lib/db/index.js +17 -0
  413. package/dist/lib/db/index.js.map +1 -0
  414. package/dist/lib/db/integrations.d.ts +36 -0
  415. package/dist/lib/db/integrations.d.ts.map +1 -0
  416. package/dist/lib/db/integrations.js +170 -0
  417. package/dist/lib/db/integrations.js.map +1 -0
  418. package/dist/lib/db/schema.d.ts +1474 -0
  419. package/dist/lib/db/schema.d.ts.map +1 -0
  420. package/dist/lib/db/schema.js +143 -0
  421. package/dist/lib/db/schema.js.map +1 -0
  422. package/dist/lib/integrations-store.d.ts +13 -0
  423. package/dist/lib/integrations-store.d.ts.map +1 -0
  424. package/dist/lib/integrations-store.js +10 -0
  425. package/dist/lib/integrations-store.js.map +1 -0
  426. package/dist/lib/managed-connection.d.ts +49 -0
  427. package/dist/lib/managed-connection.d.ts.map +1 -0
  428. package/dist/lib/managed-connection.js +21 -0
  429. package/dist/lib/managed-connection.js.map +1 -0
  430. package/dist/lib/monaco-theme.d.ts +29 -0
  431. package/dist/lib/monaco-theme.d.ts.map +1 -0
  432. package/dist/lib/monaco-theme.js +54 -0
  433. package/dist/lib/monaco-theme.js.map +1 -0
  434. package/dist/lib/plugin-registry.d.ts +10 -0
  435. package/dist/lib/plugin-registry.d.ts.map +1 -0
  436. package/dist/lib/plugin-registry.js +16 -0
  437. package/dist/lib/plugin-registry.js.map +1 -0
  438. package/dist/lib/steps/credentials.d.ts +14 -0
  439. package/dist/lib/steps/credentials.d.ts.map +1 -0
  440. package/dist/lib/steps/credentials.js +65 -0
  441. package/dist/lib/steps/credentials.js.map +1 -0
  442. package/dist/lib/steps/http-request.d.ts +22 -0
  443. package/dist/lib/steps/http-request.d.ts.map +1 -0
  444. package/dist/lib/steps/http-request.js +72 -0
  445. package/dist/lib/steps/http-request.js.map +1 -0
  446. package/dist/lib/steps/index.d.ts +10 -0
  447. package/dist/lib/steps/index.d.ts.map +1 -0
  448. package/dist/lib/steps/index.js +14 -0
  449. package/dist/lib/steps/index.js.map +1 -0
  450. package/dist/lib/steps/step-handler.d.ts +30 -0
  451. package/dist/lib/steps/step-handler.d.ts.map +1 -0
  452. package/dist/lib/steps/step-handler.js +105 -0
  453. package/dist/lib/steps/step-handler.js.map +1 -0
  454. package/dist/lib/steps/trigger.d.ts +21 -0
  455. package/dist/lib/steps/trigger.d.ts.map +1 -0
  456. package/dist/lib/steps/trigger.js +17 -0
  457. package/dist/lib/steps/trigger.js.map +1 -0
  458. package/dist/lib/types/integration.d.ts +3 -0
  459. package/dist/lib/types/integration.d.ts.map +1 -0
  460. package/dist/lib/types/integration.js +2 -0
  461. package/dist/lib/types/integration.js.map +1 -0
  462. package/dist/lib/utils/format-number.d.ts +2 -0
  463. package/dist/lib/utils/format-number.d.ts.map +1 -0
  464. package/dist/lib/utils/format-number.js +16 -0
  465. package/dist/lib/utils/format-number.js.map +1 -0
  466. package/dist/lib/utils/id.d.ts +2 -0
  467. package/dist/lib/utils/id.d.ts.map +1 -0
  468. package/dist/lib/utils/id.js +6 -0
  469. package/dist/lib/utils/id.js.map +1 -0
  470. package/dist/lib/utils/redact.d.ts +4 -0
  471. package/dist/lib/utils/redact.d.ts.map +1 -0
  472. package/dist/lib/utils/redact.js +143 -0
  473. package/dist/lib/utils/redact.js.map +1 -0
  474. package/dist/lib/utils/template.d.ts +18 -0
  475. package/dist/lib/utils/template.d.ts.map +1 -0
  476. package/dist/lib/utils/template.js +323 -0
  477. package/dist/lib/utils/template.js.map +1 -0
  478. package/dist/lib/utils/time.d.ts +2 -0
  479. package/dist/lib/utils/time.d.ts.map +1 -0
  480. package/dist/lib/utils/time.js +34 -0
  481. package/dist/lib/utils/time.js.map +1 -0
  482. package/dist/lib/utils.d.ts +5 -0
  483. package/dist/lib/utils.d.ts.map +1 -0
  484. package/dist/lib/utils.js +99 -0
  485. package/dist/lib/utils.js.map +1 -0
  486. package/dist/lib/workflow-codegen-sdk.d.ts +4 -0
  487. package/dist/lib/workflow-codegen-sdk.d.ts.map +1 -0
  488. package/dist/lib/workflow-codegen-sdk.js +482 -0
  489. package/dist/lib/workflow-codegen-sdk.js.map +1 -0
  490. package/dist/lib/workflow-codegen-shared.d.ts +26 -0
  491. package/dist/lib/workflow-codegen-shared.d.ts.map +1 -0
  492. package/dist/lib/workflow-codegen-shared.js +232 -0
  493. package/dist/lib/workflow-codegen-shared.js.map +1 -0
  494. package/dist/lib/workflow-codegen.d.ts +18 -0
  495. package/dist/lib/workflow-codegen.d.ts.map +1 -0
  496. package/dist/lib/workflow-codegen.js +786 -0
  497. package/dist/lib/workflow-codegen.js.map +1 -0
  498. package/dist/lib/workflow-executor.workflow.d.ts +33 -0
  499. package/dist/lib/workflow-executor.workflow.d.ts.map +1 -0
  500. package/dist/lib/workflow-executor.workflow.js +605 -0
  501. package/dist/lib/workflow-executor.workflow.js.map +1 -0
  502. package/dist/lib/workflow-logging.d.ts +29 -0
  503. package/dist/lib/workflow-logging.d.ts.map +1 -0
  504. package/dist/lib/workflow-logging.js +48 -0
  505. package/dist/lib/workflow-logging.js.map +1 -0
  506. package/dist/lib/workflow-store.d.ts +118 -0
  507. package/dist/lib/workflow-store.d.ts.map +1 -0
  508. package/dist/lib/workflow-store.js +351 -0
  509. package/dist/lib/workflow-store.js.map +1 -0
  510. package/dist/plugins/condition/components/condition-fields.d.ts +7 -0
  511. package/dist/plugins/condition/components/condition-fields.d.ts.map +1 -0
  512. package/dist/plugins/condition/components/condition-fields.js +8 -0
  513. package/dist/plugins/condition/components/condition-fields.js.map +1 -0
  514. package/dist/plugins/condition/index.d.ts +4 -0
  515. package/dist/plugins/condition/index.d.ts.map +1 -0
  516. package/dist/plugins/condition/index.js +23 -0
  517. package/dist/plugins/condition/index.js.map +1 -0
  518. package/dist/plugins/condition/steps/evaluate.d.ts +15 -0
  519. package/dist/plugins/condition/steps/evaluate.d.ts.map +1 -0
  520. package/dist/plugins/condition/steps/evaluate.js +10 -0
  521. package/dist/plugins/condition/steps/evaluate.js.map +1 -0
  522. package/dist/plugins/database/components/database-query-fields.d.ts +7 -0
  523. package/dist/plugins/database/components/database-query-fields.d.ts.map +1 -0
  524. package/dist/plugins/database/components/database-query-fields.js +18 -0
  525. package/dist/plugins/database/components/database-query-fields.js.map +1 -0
  526. package/dist/plugins/database/index.d.ts +4 -0
  527. package/dist/plugins/database/index.d.ts.map +1 -0
  528. package/dist/plugins/database/index.js +23 -0
  529. package/dist/plugins/database/index.js.map +1 -0
  530. package/dist/plugins/database/steps/query.d.ts +20 -0
  531. package/dist/plugins/database/steps/query.d.ts.map +1 -0
  532. package/dist/plugins/database/steps/query.js +92 -0
  533. package/dist/plugins/database/steps/query.js.map +1 -0
  534. package/dist/plugins/index.d.ts +10 -0
  535. package/dist/plugins/index.d.ts.map +1 -0
  536. package/dist/plugins/index.js +6 -0
  537. package/dist/plugins/index.js.map +1 -0
  538. package/dist/plugins/legacy-mappings.d.ts +2 -0
  539. package/dist/plugins/legacy-mappings.d.ts.map +1 -0
  540. package/dist/plugins/legacy-mappings.js +2 -0
  541. package/dist/plugins/legacy-mappings.js.map +1 -0
  542. package/dist/plugins/loop/components/loop-fields.d.ts +7 -0
  543. package/dist/plugins/loop/components/loop-fields.d.ts.map +1 -0
  544. package/dist/plugins/loop/components/loop-fields.js +8 -0
  545. package/dist/plugins/loop/components/loop-fields.js.map +1 -0
  546. package/dist/plugins/loop/icon.d.ts +4 -0
  547. package/dist/plugins/loop/icon.d.ts.map +1 -0
  548. package/dist/plugins/loop/icon.js +5 -0
  549. package/dist/plugins/loop/icon.js.map +1 -0
  550. package/dist/plugins/loop/index.d.ts +4 -0
  551. package/dist/plugins/loop/index.d.ts.map +1 -0
  552. package/dist/plugins/loop/index.js +52 -0
  553. package/dist/plugins/loop/index.js.map +1 -0
  554. package/dist/plugins/loop/steps/iterate.d.ts +24 -0
  555. package/dist/plugins/loop/steps/iterate.d.ts.map +1 -0
  556. package/dist/plugins/loop/steps/iterate.js +31 -0
  557. package/dist/plugins/loop/steps/iterate.js.map +1 -0
  558. package/dist/plugins/registry.d.ts +136 -0
  559. package/dist/plugins/registry.d.ts.map +1 -0
  560. package/dist/plugins/registry.js +241 -0
  561. package/dist/plugins/registry.js.map +1 -0
  562. package/dist/plugins/switch/icon.d.ts +4 -0
  563. package/dist/plugins/switch/icon.d.ts.map +1 -0
  564. package/dist/plugins/switch/icon.js +5 -0
  565. package/dist/plugins/switch/icon.js.map +1 -0
  566. package/dist/plugins/switch/index.d.ts +4 -0
  567. package/dist/plugins/switch/index.d.ts.map +1 -0
  568. package/dist/plugins/switch/index.js +81 -0
  569. package/dist/plugins/switch/index.js.map +1 -0
  570. package/dist/plugins/switch/steps/evaluate.d.ts +27 -0
  571. package/dist/plugins/switch/steps/evaluate.d.ts.map +1 -0
  572. package/dist/plugins/switch/steps/evaluate.js +81 -0
  573. package/dist/plugins/switch/steps/evaluate.js.map +1 -0
  574. package/dist/scripts/create-plugin.d.ts +3 -0
  575. package/dist/scripts/create-plugin.d.ts.map +1 -0
  576. package/dist/scripts/create-plugin.js +205 -0
  577. package/dist/scripts/create-plugin.js.map +1 -0
  578. package/dist/scripts/discover-plugins.d.ts +3 -0
  579. package/dist/scripts/discover-plugins.d.ts.map +1 -0
  580. package/dist/scripts/discover-plugins.js +729 -0
  581. package/dist/scripts/discover-plugins.js.map +1 -0
  582. package/dist/scripts/migrate-prod.d.ts +2 -0
  583. package/dist/scripts/migrate-prod.d.ts.map +1 -0
  584. package/dist/scripts/migrate-prod.js +17 -0
  585. package/dist/scripts/migrate-prod.js.map +1 -0
  586. package/dist/scripts/nwb.d.ts +3 -0
  587. package/dist/scripts/nwb.d.ts.map +1 -0
  588. package/dist/scripts/nwb.js +33 -0
  589. package/dist/scripts/nwb.js.map +1 -0
  590. package/dist/server/api/handler-utils.d.ts +22 -0
  591. package/dist/server/api/handler-utils.d.ts.map +1 -0
  592. package/dist/server/api/handler-utils.js +42 -0
  593. package/dist/server/api/handler-utils.js.map +1 -0
  594. package/dist/server/api/handlers/ai/generate/route.d.ts +3 -0
  595. package/dist/server/api/handlers/ai/generate/route.d.ts.map +1 -0
  596. package/dist/server/api/handlers/ai/generate/route.js +260 -0
  597. package/dist/server/api/handlers/ai/generate/route.js.map +1 -0
  598. package/dist/server/api/handlers/api-keys/[keyId]/route.d.ts +3 -0
  599. package/dist/server/api/handlers/api-keys/[keyId]/route.d.ts.map +1 -0
  600. package/dist/server/api/handlers/api-keys/[keyId]/route.js +25 -0
  601. package/dist/server/api/handlers/api-keys/[keyId]/route.js.map +1 -0
  602. package/dist/server/api/handlers/api-keys/route.d.ts +3 -0
  603. package/dist/server/api/handlers/api-keys/route.d.ts.map +1 -0
  604. package/dist/server/api/handlers/api-keys/route.js +84 -0
  605. package/dist/server/api/handlers/api-keys/route.js.map +1 -0
  606. package/dist/server/api/handlers/auth/route.d.ts +3 -0
  607. package/dist/server/api/handlers/auth/route.d.ts.map +1 -0
  608. package/dist/server/api/handlers/auth/route.js +14 -0
  609. package/dist/server/api/handlers/auth/route.js.map +1 -0
  610. package/dist/server/api/handlers/integrations/[integrationId]/route.d.ts +16 -0
  611. package/dist/server/api/handlers/integrations/[integrationId]/route.d.ts.map +1 -0
  612. package/dist/server/api/handlers/integrations/[integrationId]/route.js +117 -0
  613. package/dist/server/api/handlers/integrations/[integrationId]/route.js.map +1 -0
  614. package/dist/server/api/handlers/integrations/[integrationId]/test/route.d.ts +7 -0
  615. package/dist/server/api/handlers/integrations/[integrationId]/test/route.d.ts.map +1 -0
  616. package/dist/server/api/handlers/integrations/[integrationId]/test/route.js +96 -0
  617. package/dist/server/api/handlers/integrations/[integrationId]/test/route.js.map +1 -0
  618. package/dist/server/api/handlers/integrations/route.d.ts +24 -0
  619. package/dist/server/api/handlers/integrations/route.d.ts.map +1 -0
  620. package/dist/server/api/handlers/integrations/route.js +80 -0
  621. package/dist/server/api/handlers/integrations/route.js.map +1 -0
  622. package/dist/server/api/handlers/integrations/test/route.d.ts +12 -0
  623. package/dist/server/api/handlers/integrations/test/route.d.ts.map +1 -0
  624. package/dist/server/api/handlers/integrations/test/route.js +76 -0
  625. package/dist/server/api/handlers/integrations/test/route.js.map +1 -0
  626. package/dist/server/api/handlers/og/workflow/[workflowId]/route.d.ts +7 -0
  627. package/dist/server/api/handlers/og/workflow/[workflowId]/route.d.ts.map +1 -0
  628. package/dist/server/api/handlers/og/workflow/[workflowId]/route.js +197 -0
  629. package/dist/server/api/handlers/og/workflow/[workflowId]/route.js.map +1 -0
  630. package/dist/server/api/handlers/user/route.d.ts +3 -0
  631. package/dist/server/api/handlers/user/route.d.ts.map +1 -0
  632. package/dist/server/api/handlers/user/route.js +81 -0
  633. package/dist/server/api/handlers/user/route.js.map +1 -0
  634. package/dist/server/api/handlers/workflow/[workflowId]/cron/route.d.ts +3 -0
  635. package/dist/server/api/handlers/workflow/[workflowId]/cron/route.d.ts.map +1 -0
  636. package/dist/server/api/handlers/workflow/[workflowId]/cron/route.js +65 -0
  637. package/dist/server/api/handlers/workflow/[workflowId]/cron/route.js.map +1 -0
  638. package/dist/server/api/handlers/workflow/[workflowId]/execute/route.d.ts +3 -0
  639. package/dist/server/api/handlers/workflow/[workflowId]/execute/route.d.ts.map +1 -0
  640. package/dist/server/api/handlers/workflow/[workflowId]/execute/route.js +72 -0
  641. package/dist/server/api/handlers/workflow/[workflowId]/execute/route.js.map +1 -0
  642. package/dist/server/api/handlers/workflows/[workflowId]/code/route.d.ts +3 -0
  643. package/dist/server/api/handlers/workflows/[workflowId]/code/route.d.ts.map +1 -0
  644. package/dist/server/api/handlers/workflows/[workflowId]/code/route.js +24 -0
  645. package/dist/server/api/handlers/workflows/[workflowId]/code/route.js.map +1 -0
  646. package/dist/server/api/handlers/workflows/[workflowId]/cron/route.d.ts +3 -0
  647. package/dist/server/api/handlers/workflows/[workflowId]/cron/route.d.ts.map +1 -0
  648. package/dist/server/api/handlers/workflows/[workflowId]/cron/route.js +65 -0
  649. package/dist/server/api/handlers/workflows/[workflowId]/cron/route.js.map +1 -0
  650. package/dist/server/api/handlers/workflows/[workflowId]/download/route.d.ts +3 -0
  651. package/dist/server/api/handlers/workflows/[workflowId]/download/route.d.ts.map +1 -0
  652. package/dist/server/api/handlers/workflows/[workflowId]/download/route.js +24 -0
  653. package/dist/server/api/handlers/workflows/[workflowId]/download/route.js.map +1 -0
  654. package/dist/server/api/handlers/workflows/[workflowId]/duplicate/route.d.ts +3 -0
  655. package/dist/server/api/handlers/workflows/[workflowId]/duplicate/route.d.ts.map +1 -0
  656. package/dist/server/api/handlers/workflows/[workflowId]/duplicate/route.js +89 -0
  657. package/dist/server/api/handlers/workflows/[workflowId]/duplicate/route.js.map +1 -0
  658. package/dist/server/api/handlers/workflows/[workflowId]/execute/route.d.ts +3 -0
  659. package/dist/server/api/handlers/workflows/[workflowId]/execute/route.d.ts.map +1 -0
  660. package/dist/server/api/handlers/workflows/[workflowId]/execute/route.js +72 -0
  661. package/dist/server/api/handlers/workflows/[workflowId]/execute/route.js.map +1 -0
  662. package/dist/server/api/handlers/workflows/[workflowId]/executions/route.d.ts +3 -0
  663. package/dist/server/api/handlers/workflows/[workflowId]/executions/route.d.ts.map +1 -0
  664. package/dist/server/api/handlers/workflows/[workflowId]/executions/route.js +63 -0
  665. package/dist/server/api/handlers/workflows/[workflowId]/executions/route.js.map +1 -0
  666. package/dist/server/api/handlers/workflows/[workflowId]/route.d.ts +3 -0
  667. package/dist/server/api/handlers/workflows/[workflowId]/route.d.ts.map +1 -0
  668. package/dist/server/api/handlers/workflows/[workflowId]/route.js +132 -0
  669. package/dist/server/api/handlers/workflows/[workflowId]/route.js.map +1 -0
  670. package/dist/server/api/handlers/workflows/[workflowId]/webhook/route.d.ts +3 -0
  671. package/dist/server/api/handlers/workflows/[workflowId]/webhook/route.d.ts.map +1 -0
  672. package/dist/server/api/handlers/workflows/[workflowId]/webhook/route.js +111 -0
  673. package/dist/server/api/handlers/workflows/[workflowId]/webhook/route.js.map +1 -0
  674. package/dist/server/api/handlers/workflows/create/route.d.ts +3 -0
  675. package/dist/server/api/handlers/workflows/create/route.d.ts.map +1 -0
  676. package/dist/server/api/handlers/workflows/create/route.js +67 -0
  677. package/dist/server/api/handlers/workflows/create/route.js.map +1 -0
  678. package/dist/server/api/handlers/workflows/current/route.d.ts +3 -0
  679. package/dist/server/api/handlers/workflows/current/route.d.ts.map +1 -0
  680. package/dist/server/api/handlers/workflows/current/route.js +89 -0
  681. package/dist/server/api/handlers/workflows/current/route.js.map +1 -0
  682. package/dist/server/api/handlers/workflows/executions/[executionId]/logs/route.d.ts +3 -0
  683. package/dist/server/api/handlers/workflows/executions/[executionId]/logs/route.d.ts.map +1 -0
  684. package/dist/server/api/handlers/workflows/executions/[executionId]/logs/route.js +38 -0
  685. package/dist/server/api/handlers/workflows/executions/[executionId]/logs/route.js.map +1 -0
  686. package/dist/server/api/handlers/workflows/executions/[executionId]/status/route.d.ts +3 -0
  687. package/dist/server/api/handlers/workflows/executions/[executionId]/status/route.d.ts.map +1 -0
  688. package/dist/server/api/handlers/workflows/executions/[executionId]/status/route.js +35 -0
  689. package/dist/server/api/handlers/workflows/executions/[executionId]/status/route.js.map +1 -0
  690. package/dist/server/api/handlers/workflows/route.d.ts +3 -0
  691. package/dist/server/api/handlers/workflows/route.d.ts.map +1 -0
  692. package/dist/server/api/handlers/workflows/route.js +22 -0
  693. package/dist/server/api/handlers/workflows/route.js.map +1 -0
  694. package/dist/server/api/routes.d.ts +4 -0
  695. package/dist/server/api/routes.d.ts.map +1 -0
  696. package/dist/server/api/routes.js +51 -0
  697. package/dist/server/api/routes.js.map +1 -0
  698. package/dist/server/api/types.d.ts +41 -0
  699. package/dist/server/api/types.d.ts.map +1 -0
  700. package/dist/server/api/types.js +2 -0
  701. package/dist/server/api/types.js.map +1 -0
  702. package/dist/server/api/workflows.d.ts +8 -0
  703. package/dist/server/api/workflows.d.ts.map +1 -0
  704. package/dist/server/api/workflows.js +75 -0
  705. package/dist/server/api/workflows.js.map +1 -0
  706. package/dist/server/db/migrate.d.ts +2 -0
  707. package/dist/server/db/migrate.d.ts.map +1 -0
  708. package/dist/server/db/migrate.js +2 -0
  709. package/dist/server/db/migrate.js.map +1 -0
  710. package/dist/server/db/schema.d.ts +1465 -0
  711. package/dist/server/db/schema.d.ts.map +1 -0
  712. package/dist/server/db/schema.js +15 -0
  713. package/dist/server/db/schema.js.map +1 -0
  714. package/dist/server/index.d.ts +11 -0
  715. package/dist/server/index.d.ts.map +1 -0
  716. package/dist/server/index.js +9 -0
  717. package/dist/server/index.js.map +1 -0
  718. package/dist/server/plugin.d.ts +17 -0
  719. package/dist/server/plugin.d.ts.map +1 -0
  720. package/dist/server/plugin.js +27 -0
  721. package/dist/server/plugin.js.map +1 -0
  722. package/dist/server/utils.d.ts +3 -0
  723. package/dist/server/utils.d.ts.map +1 -0
  724. package/dist/server/utils.js +7 -0
  725. package/dist/server/utils.js.map +1 -0
  726. package/dist/styles/globals.css +254 -0
  727. package/package.json +130 -0
  728. package/src/plugins/_template/credentials.ts.txt +10 -0
  729. package/src/plugins/_template/icon.tsx.txt +28 -0
  730. package/src/plugins/_template/index.ts.txt +122 -0
  731. package/src/plugins/_template/steps/action.ts.txt +103 -0
  732. package/src/plugins/_template/test.ts.txt +57 -0
  733. package/src/plugins/condition/components/condition-fields.tsx +32 -0
  734. package/src/plugins/condition/index.ts +27 -0
  735. package/src/plugins/condition/steps/evaluate.ts +32 -0
  736. package/src/plugins/database/components/database-query-fields.tsx +58 -0
  737. package/src/plugins/database/index.ts +27 -0
  738. package/src/plugins/database/steps/query.ts +141 -0
  739. package/src/plugins/index.ts +37 -0
  740. package/src/plugins/legacy-mappings.ts +11 -0
  741. package/src/plugins/loop/components/loop-fields.tsx +46 -0
  742. package/src/plugins/loop/icon.tsx +21 -0
  743. package/src/plugins/loop/index.ts +57 -0
  744. package/src/plugins/loop/steps/iterate.ts +74 -0
  745. package/src/plugins/loop/workflow-executor.patch +241 -0
  746. package/src/plugins/registry.ts +660 -0
  747. package/src/plugins/switch/icon.tsx +23 -0
  748. package/src/plugins/switch/index.ts +87 -0
  749. package/src/plugins/switch/steps/evaluate.ts +139 -0
  750. package/src/plugins/switch/workflow-executor.patch +130 -0
  751. package/src/scripts/create-plugin.ts +301 -0
  752. package/src/scripts/discover-plugins.ts +1122 -0
  753. package/src/scripts/migrate-prod.ts +16 -0
  754. package/src/scripts/nwb.ts +54 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/lib/db/schema.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUhB,CAAC;AAEH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWnB,CAAC;AAEH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsBhC,CAAC;AAGH,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYlB,CAAC;AAGH,eAAO,MAAM,2BAA2B;;EAQvC,CAAC;AAEF,MAAM,MAAM,IAAI,GAAG,OAAO,KAAK,CAAC,YAAY,CAAC;AAC7C,MAAM,MAAM,OAAO,GAAG,OAAO,QAAQ,CAAC,YAAY,CAAC;AACnD,MAAM,MAAM,QAAQ,GAAG,OAAO,SAAS,CAAC,YAAY,CAAC;AACrD,MAAM,MAAM,WAAW,GAAG,OAAO,SAAS,CAAC,YAAY,CAAC;AACxD,MAAM,MAAM,WAAW,GAAG,OAAO,YAAY,CAAC,YAAY,CAAC;AAC3D,MAAM,MAAM,cAAc,GAAG,OAAO,YAAY,CAAC,YAAY,CAAC;AAC9D,MAAM,MAAM,iBAAiB,GAAG,OAAO,kBAAkB,CAAC,YAAY,CAAC;AACvE,MAAM,MAAM,oBAAoB,GAAG,OAAO,kBAAkB,CAAC,YAAY,CAAC;AAC1E,MAAM,MAAM,oBAAoB,GAAG,OAAO,qBAAqB,CAAC,YAAY,CAAC;AAC7E,MAAM,MAAM,uBAAuB,GAAG,OAAO,qBAAqB,CAAC,YAAY,CAAC;AAChF,MAAM,MAAM,MAAM,GAAG,OAAO,OAAO,CAAC,YAAY,CAAC;AACjD,MAAM,MAAM,SAAS,GAAG,OAAO,OAAO,CAAC,YAAY,CAAC"}
@@ -0,0 +1,143 @@
1
+ import { relations } from "drizzle-orm";
2
+ import { boolean, jsonb, pgTable, text, timestamp } from "drizzle-orm/pg-core";
3
+ import { generateId } from "../utils/id.js";
4
+ export const users = pgTable("users", {
5
+ id: text("id").primaryKey(),
6
+ name: text("name"),
7
+ email: text("email").unique(),
8
+ emailVerified: boolean("email_verified").notNull().default(false),
9
+ image: text("image"),
10
+ createdAt: timestamp("created_at").notNull(),
11
+ updatedAt: timestamp("updated_at").notNull(),
12
+ isAnonymous: boolean("is_anonymous").default(false),
13
+ });
14
+ export const sessions = pgTable("sessions", {
15
+ id: text("id").primaryKey(),
16
+ expiresAt: timestamp("expires_at").notNull(),
17
+ token: text("token").notNull().unique(),
18
+ createdAt: timestamp("created_at").notNull(),
19
+ updatedAt: timestamp("updated_at").notNull(),
20
+ ipAddress: text("ip_address"),
21
+ userAgent: text("user_agent"),
22
+ userId: text("user_id")
23
+ .notNull()
24
+ .references(() => users.id),
25
+ });
26
+ export const accounts = pgTable("accounts", {
27
+ id: text("id").primaryKey(),
28
+ accountId: text("account_id").notNull(),
29
+ providerId: text("provider_id").notNull(),
30
+ userId: text("user_id")
31
+ .notNull()
32
+ .references(() => users.id),
33
+ accessToken: text("access_token"),
34
+ refreshToken: text("refresh_token"),
35
+ idToken: text("id_token"),
36
+ accessTokenExpiresAt: timestamp("access_token_expires_at"),
37
+ refreshTokenExpiresAt: timestamp("refresh_token_expires_at"),
38
+ scope: text("scope"),
39
+ password: text("password"),
40
+ createdAt: timestamp("created_at").notNull(),
41
+ updatedAt: timestamp("updated_at").notNull(),
42
+ });
43
+ export const verifications = pgTable("verifications", {
44
+ id: text("id").primaryKey(),
45
+ identifier: text("identifier").notNull(),
46
+ value: text("value").notNull(),
47
+ expiresAt: timestamp("expires_at").notNull(),
48
+ createdAt: timestamp("created_at"),
49
+ updatedAt: timestamp("updated_at"),
50
+ });
51
+ export const workflows = pgTable("workflows", {
52
+ id: text("id")
53
+ .primaryKey()
54
+ .$defaultFn(() => generateId()),
55
+ name: text("name").notNull(),
56
+ description: text("description"),
57
+ userId: text("user_id")
58
+ .notNull()
59
+ .references(() => users.id),
60
+ nodes: jsonb("nodes").notNull().$type(),
61
+ edges: jsonb("edges").notNull().$type(),
62
+ visibility: text("visibility")
63
+ .notNull()
64
+ .default("private")
65
+ .$type(),
66
+ createdAt: timestamp("created_at").notNull().defaultNow(),
67
+ updatedAt: timestamp("updated_at").notNull().defaultNow(),
68
+ });
69
+ export const integrations = pgTable("integrations", {
70
+ id: text("id")
71
+ .primaryKey()
72
+ .$defaultFn(() => generateId()),
73
+ userId: text("user_id")
74
+ .notNull()
75
+ .references(() => users.id),
76
+ name: text("name").notNull(),
77
+ type: text("type").notNull().$type(),
78
+ config: jsonb("config").notNull().$type(),
79
+ isManaged: boolean("is_managed").default(false),
80
+ createdAt: timestamp("created_at").notNull().defaultNow(),
81
+ updatedAt: timestamp("updated_at").notNull().defaultNow(),
82
+ });
83
+ export const workflowExecutions = pgTable("workflow_executions", {
84
+ id: text("id")
85
+ .primaryKey()
86
+ .$defaultFn(() => generateId()),
87
+ workflowId: text("workflow_id")
88
+ .notNull()
89
+ .references(() => workflows.id),
90
+ userId: text("user_id")
91
+ .notNull()
92
+ .references(() => users.id),
93
+ status: text("status")
94
+ .notNull()
95
+ .$type(),
96
+ input: jsonb("input").$type(),
97
+ output: jsonb("output").$type(),
98
+ error: text("error"),
99
+ startedAt: timestamp("started_at").notNull().defaultNow(),
100
+ completedAt: timestamp("completed_at"),
101
+ duration: text("duration"),
102
+ });
103
+ export const workflowExecutionLogs = pgTable("workflow_execution_logs", {
104
+ id: text("id")
105
+ .primaryKey()
106
+ .$defaultFn(() => generateId()),
107
+ executionId: text("execution_id")
108
+ .notNull()
109
+ .references(() => workflowExecutions.id),
110
+ nodeId: text("node_id").notNull(),
111
+ nodeName: text("node_name").notNull(),
112
+ nodeType: text("node_type").notNull(),
113
+ status: text("status")
114
+ .notNull()
115
+ .$type(),
116
+ input: jsonb("input").$type(),
117
+ output: jsonb("output").$type(),
118
+ error: text("error"),
119
+ startedAt: timestamp("started_at").notNull().defaultNow(),
120
+ completedAt: timestamp("completed_at"),
121
+ duration: text("duration"),
122
+ timestamp: timestamp("timestamp").notNull().defaultNow(),
123
+ });
124
+ export const apiKeys = pgTable("api_keys", {
125
+ id: text("id")
126
+ .primaryKey()
127
+ .$defaultFn(() => generateId()),
128
+ userId: text("user_id")
129
+ .notNull()
130
+ .references(() => users.id),
131
+ name: text("name"),
132
+ keyHash: text("key_hash").notNull(),
133
+ keyPrefix: text("key_prefix").notNull(),
134
+ createdAt: timestamp("created_at").notNull().defaultNow(),
135
+ lastUsedAt: timestamp("last_used_at"),
136
+ });
137
+ export const workflowExecutionsRelations = relations(workflowExecutions, ({ one }) => ({
138
+ workflow: one(workflows, {
139
+ fields: [workflowExecutions.workflowId],
140
+ references: [workflows.id],
141
+ }),
142
+ }));
143
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../src/lib/db/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAE/E,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAG5C,MAAM,CAAC,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,EAAE;IACpC,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE;IAC3B,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;IAClB,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE;IAC7B,aAAa,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IACjE,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC;IACpB,SAAS,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC,OAAO,EAAE;IAC5C,SAAS,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC,OAAO,EAAE;IAE5C,WAAW,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC,OAAO,CAAC,KAAK,CAA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CACH,CAAC,CACH,CAAC"}
@@ -0,0 +1,13 @@
1
+ import type { Integration } from "./api-client.js";
2
+ export declare const integrationsAtom: import("jotai").PrimitiveAtom<Integration[]> & {
3
+ init: Integration[];
4
+ };
5
+ export declare const integrationsLoadedAtom: import("jotai").PrimitiveAtom<boolean> & {
6
+ init: boolean;
7
+ };
8
+ export declare const selectedIntegrationAtom: import("jotai").Atom<Integration>;
9
+ export declare const integrationsVersionAtom: import("jotai").PrimitiveAtom<number> & {
10
+ init: number;
11
+ };
12
+ export declare const integrationIdsAtom: import("jotai").Atom<Set<string>>;
13
+ //# sourceMappingURL=integrations-store.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"integrations-store.d.ts","sourceRoot":"","sources":["../../src/lib/integrations-store.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAGnD,eAAO,MAAM,gBAAgB;;CAA0B,CAAC;AAGxD,eAAO,MAAM,sBAAsB;;CAAc,CAAC;AAGlD,eAAO,MAAM,uBAAuB,mCAAiC,CAAC;AAItE,eAAO,MAAM,uBAAuB;;CAAU,CAAC;AAG/C,eAAO,MAAM,kBAAkB,mCAG7B,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { atom } from "jotai";
2
+ export const integrationsAtom = atom([]);
3
+ export const integrationsLoadedAtom = atom(false);
4
+ export const selectedIntegrationAtom = atom(null);
5
+ export const integrationsVersionAtom = atom(0);
6
+ export const integrationIdsAtom = atom((get) => {
7
+ const integrations = get(integrationsAtom);
8
+ return new Set(integrations.map((i) => i.id));
9
+ });
10
+ //# sourceMappingURL=integrations-store.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"integrations-store.js","sourceRoot":"","sources":["../../src/lib/integrations-store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAI7B,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,CAAgB,EAAE,CAAC,CAAC;AAGxD,MAAM,CAAC,MAAM,sBAAsB,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC;AAGlD,MAAM,CAAC,MAAM,uBAAuB,GAAG,IAAI,CAAqB,IAAI,CAAC,CAAC;AAItE,MAAM,CAAC,MAAM,uBAAuB,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;AAG/C,MAAM,CAAC,MAAM,kBAAkB,GAAG,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE;IAC7C,MAAM,YAAY,GAAG,GAAG,CAAC,gBAAgB,CAAC,CAAC;IAC3C,OAAO,IAAI,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC"}
@@ -0,0 +1,49 @@
1
+ import { type PrimitiveAtom } from "jotai";
2
+ import type { ComponentType } from "react";
3
+ export type ManagedConnectionStatus = {
4
+ enabled: boolean;
5
+ signedIn: boolean;
6
+ isVercelUser: boolean;
7
+ hasManagedKey: boolean;
8
+ managedIntegrationId?: string;
9
+ } | null;
10
+ export type ManagedConnectionTeam = {
11
+ id: string;
12
+ name: string;
13
+ slug: string;
14
+ avatar?: string;
15
+ isPersonal: boolean;
16
+ };
17
+ export type ManagedConsentResponse = {
18
+ success: boolean;
19
+ hasManagedKey: boolean;
20
+ managedIntegrationId?: string;
21
+ error?: string;
22
+ };
23
+ export type ConsentOverlayProps = {
24
+ overlayId: string;
25
+ onConsent?: (integrationId: string) => void;
26
+ onManualEntry?: () => void;
27
+ onDecline?: () => void;
28
+ };
29
+ export type ManagedConnectionApi = {
30
+ getStatus: () => Promise<NonNullable<ManagedConnectionStatus>>;
31
+ getTeams: () => Promise<{
32
+ teams: ManagedConnectionTeam[];
33
+ }>;
34
+ consent: (teamId: string, teamName: string) => Promise<ManagedConsentResponse>;
35
+ revokeConsent: () => Promise<ManagedConsentResponse>;
36
+ };
37
+ export type ManagedConnectionProvider = {
38
+ integrationType: string;
39
+ ConsentOverlay: ComponentType<ConsentOverlayProps>;
40
+ api: ManagedConnectionApi;
41
+ };
42
+ export declare function registerManagedConnectionProvider(provider: ManagedConnectionProvider): void;
43
+ export declare const managedConnectionStatusAtom: PrimitiveAtom<ManagedConnectionStatus>;
44
+ export declare const managedConnectionTeamsAtom: PrimitiveAtom<ManagedConnectionTeam[]>;
45
+ export declare const managedConnectionTeamsLoadingAtom: PrimitiveAtom<boolean>;
46
+ export declare const managedConnectionTeamsFetchedAtom: PrimitiveAtom<boolean>;
47
+ export declare const managedConnectionProviderAtom: PrimitiveAtom<ManagedConnectionProvider | null>;
48
+ export declare function useManagedConnectionSetup(): void;
49
+ //# sourceMappingURL=managed-connection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"managed-connection.d.ts","sourceRoot":"","sources":["../../src/lib/managed-connection.ts"],"names":[],"mappings":"AAEA,OAAO,EAAQ,KAAK,aAAa,EAAc,MAAM,OAAO,CAAC;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAkB3C,MAAM,MAAM,uBAAuB,GAAG;IACpC,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,OAAO,CAAC;IACvB,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B,GAAG,IAAI,CAAC;AAGT,MAAM,MAAM,qBAAqB,GAAG;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAGF,MAAM,MAAM,sBAAsB,GAAG;IACnC,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,OAAO,CAAC;IACvB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,KAAK,CAA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QxC"}
@@ -0,0 +1,21 @@
1
+ "use client";
2
+ import { atom, useSetAtom } from "jotai";
3
+ import { useEffect } from "react";
4
+ let pendingProvider = null;
5
+ export function registerManagedConnectionProvider(provider) {
6
+ pendingProvider = provider;
7
+ }
8
+ export const managedConnectionStatusAtom = atom(null);
9
+ export const managedConnectionTeamsAtom = atom([]);
10
+ export const managedConnectionTeamsLoadingAtom = atom(false);
11
+ export const managedConnectionTeamsFetchedAtom = atom(false);
12
+ export const managedConnectionProviderAtom = atom(null);
13
+ export function useManagedConnectionSetup() {
14
+ const setProvider = useSetAtom(managedConnectionProviderAtom);
15
+ useEffect(() => {
16
+ if (pendingProvider) {
17
+ setProvider(pendingProvider);
18
+ }
19
+ }, [setProvider]);
20
+ }
21
+ //# sourceMappingURL=managed-connection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"managed-connection.js","sourceRoot":"","sources":["../../src/lib/managed-connection.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EAAE,IAAI,EAAsB,UAAU,EAAE,MAAM,OAAO,CAAC;AAE7D,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAsElC,IAAI,eAAe,GAAqC,IAAI,CAAC;AAM7D,MAAM,UAAU,iCAAiC,CAAC,QAAmC;IACnF,eAAe,GAAG,QAAQ,CAAC;AAC7B,CAAC;AAKD,MAAM,CAAC,MAAM,2BAA2B,GAAG,IAAI,CAA0B,IAAI,CAA2C,CAAC;AAGzH,MAAM,CAAC,MAAM,0BAA0B,GAA2C,IAAI,CAA0B,EAAE,CAAC,CAAC;AAGpH,MAAM,CAAC,MAAM,iCAAiC,GAA2B,IAAI,CAAC,KAAK,CAAC,CAAC;AAGrF,MAAM,CAAC,MAAM,iCAAiC,GAA2B,IAAI,CAAC,KAAK,CAAC,CAAC;AAGrF,MAAM,CAAC,MAAM,6BAA6B,GAAG,IAAI,CAAmC,IAAI,CAAoD,CAAC;AAQ7I,MAAM,UAAU,yBAAyB;IACvC,MAAM,WAAW,GAAG,UAAU,CAAC,6BAA6B,CAAC,CAAC;IAE9D,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,eAAe,EAAE,CAAC;YACpB,WAAW,CAAC,eAAe,CAAC,CAAC;QAC/B,CAAC;IACH,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC;AACpB,CAAC"}
@@ -0,0 +1,29 @@
1
+ export declare const vercelDarkTheme: {
2
+ base: "vs-dark";
3
+ inherit: boolean;
4
+ rules: ({
5
+ token: string;
6
+ foreground: string;
7
+ fontStyle?: undefined;
8
+ } | {
9
+ token: string;
10
+ foreground: string;
11
+ fontStyle: string;
12
+ })[];
13
+ colors: {
14
+ "editor.background": string;
15
+ "editor.foreground": string;
16
+ "editorLineNumber.foreground": string;
17
+ "editorLineNumber.activeForeground": string;
18
+ "editor.lineHighlightBackground": string;
19
+ "editor.selectionBackground": string;
20
+ "editor.inactiveSelectionBackground": string;
21
+ "editorCursor.foreground": string;
22
+ "editorWhitespace.foreground": string;
23
+ "editorIndentGuide.background": string;
24
+ "editorIndentGuide.activeBackground": string;
25
+ "editorBracketMatch.background": string;
26
+ "editorBracketMatch.border": string;
27
+ };
28
+ };
29
+ //# sourceMappingURL=monaco-theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"monaco-theme.d.ts","sourceRoot":"","sources":["../../src/lib/monaco-theme.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6E3B,CAAC"}
@@ -0,0 +1,54 @@
1
+ export const vercelDarkTheme = {
2
+ base: "vs-dark",
3
+ inherit: true,
4
+ rules: [
5
+ { token: "", foreground: "ededed" },
6
+ { token: "comment", foreground: "a1a1a1", fontStyle: "italic" },
7
+ { token: "keyword", foreground: "ff4d8d" },
8
+ { token: "keyword.operator", foreground: "ff4d8d" },
9
+ { token: "string", foreground: "00ca50" },
10
+ { token: "string.escape", foreground: "00ca50" },
11
+ { token: "number", foreground: "ffffff" },
12
+ { token: "type", foreground: "47a8ff" },
13
+ { token: "type.identifier", foreground: "47a8ff" },
14
+ { token: "identifier", foreground: "ededed" },
15
+ { token: "parameter", foreground: "ededed" },
16
+ { token: "variable", foreground: "ededed" },
17
+ { token: "variable.parameter", foreground: "ededed" },
18
+ { token: "function", foreground: "c472fb" },
19
+ { token: "identifier.function", foreground: "c472fb" },
20
+ { token: "member.function", foreground: "c472fb" },
21
+ { token: "constant.language", foreground: "47a8ff" },
22
+ { token: "keyword.json", foreground: "47a8ff" },
23
+ { token: "variable.predefined", foreground: "ededed" },
24
+ { token: "support.variable", foreground: "ededed" },
25
+ { token: "support.constant", foreground: "ededed" },
26
+ { token: "delimiter", foreground: "ededed" },
27
+ { token: "delimiter.bracket", foreground: "ededed" },
28
+ { token: "delimiter.parenthesis", foreground: "ededed" },
29
+ { token: "delimiter.curly", foreground: "ededed" },
30
+ { token: "delimiter.array", foreground: "ededed" },
31
+ { token: "punctuation", foreground: "ededed" },
32
+ { token: "operator", foreground: "ededed" },
33
+ { token: "string.key.json", foreground: "47a8ff" },
34
+ { token: "string.value.json", foreground: "00ca50" },
35
+ { token: "number.json", foreground: "ffffff" },
36
+ { token: "keyword.json", foreground: "47a8ff" },
37
+ ],
38
+ colors: {
39
+ "editor.background": "#000000",
40
+ "editor.foreground": "#ededed",
41
+ "editorLineNumber.foreground": "#444444",
42
+ "editorLineNumber.activeForeground": "#888888",
43
+ "editor.lineHighlightBackground": "#0A0A0A",
44
+ "editor.selectionBackground": "#264F78",
45
+ "editor.inactiveSelectionBackground": "#1A1A1A",
46
+ "editorCursor.foreground": "#FFFFFF",
47
+ "editorWhitespace.foreground": "#333333",
48
+ "editorIndentGuide.background": "#1A1A1A",
49
+ "editorIndentGuide.activeBackground": "#333333",
50
+ "editorBracketMatch.background": "#0A0A0A",
51
+ "editorBracketMatch.border": "#444444",
52
+ },
53
+ };
54
+ //# sourceMappingURL=monaco-theme.js.map
@@ -0,0 +1 @@
1
+ {"version":3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,6BAA6B,EAAE,SAAS;QACxC,8BAA8B,EAAE,SAAS;QACzC,oCAAoC,EAAE,SAAS;QAC/C,+BAA+B,EAAE,SAAS;QAC1C,2BAA2B,EAAE,SAAS;KACvC;CACF,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { IntegrationPlugin } from "../plugins/registry.js";
2
+ import type { StepImporter } from "./steps/index.js";
3
+ export interface PluginRegistry {
4
+ stepImporters: Record<string, StepImporter>;
5
+ actionLabels: Record<string, string>;
6
+ plugins?: IntegrationPlugin[];
7
+ }
8
+ export declare function setPluginRegistry(registry: PluginRegistry): void;
9
+ export declare function getPluginRegistry(): PluginRegistry;
10
+ //# sourceMappingURL=plugin-registry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-registry.d.ts","sourceRoot":"","sources":["../../src/lib/plugin-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,MAAM,WAAW,cAAc;IAC7B,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IAC5C,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACrC,OAAO,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAC/B;AAYD,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,cAAc,QAMzD;AAKD,wBAAgB,iBAAiB,IAAI,cAAc,CAElD"}
@@ -0,0 +1,16 @@
1
+ import { registerIntegration } from "../plugins/registry.js";
2
+ let _registry = {
3
+ stepImporters: {},
4
+ actionLabels: {},
5
+ plugins: [],
6
+ };
7
+ export function setPluginRegistry(registry) {
8
+ _registry = registry;
9
+ for (const plugin of registry.plugins ?? []) {
10
+ registerIntegration(plugin);
11
+ }
12
+ }
13
+ export function getPluginRegistry() {
14
+ return _registry;
15
+ }
16
+ //# sourceMappingURL=plugin-registry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-registry.js","sourceRoot":"","sources":["../../src/lib/plugin-registry.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAS7D,IAAI,SAAS,GAAmB;IAC9B,aAAa,EAAE,EAAE;IACjB,YAAY,EAAE,EAAE;IAChB,OAAO,EAAE,EAAE;CACZ,CAAC;AAMF,MAAM,UAAU,iBAAiB,CAAC,QAAwB;IACxD,SAAS,GAAG,QAAQ,CAAC;IAErB,KAAK,MAAM,MAAM,IAAI,QAAQ,CAAC,OAAO,IAAI,EAAE,EAAE,CAAC;QAC5C,mBAAmB,CAAC,MAAM,CAAC,CAAC;IAC9B,CAAC;AACH,CAAC;AAKD,MAAM,UAAU,iBAAiB;IAC/B,OAAO,SAAS,CAAC;AACnB,CAAC"}
@@ -0,0 +1,14 @@
1
+ export type CredentialSource = "user" | "system";
2
+ export type EnvVarConfig = {
3
+ LINEAR_API_KEY?: string;
4
+ LINEAR_TEAM_ID?: string;
5
+ RESEND_API_KEY?: string;
6
+ RESEND_FROM_EMAIL?: string;
7
+ OPENAI_API_KEY?: string;
8
+ AI_GATEWAY_API_KEY?: string;
9
+ DATABASE_URL?: string;
10
+ FIRECRAWL_API_KEY?: string;
11
+ };
12
+ export declare function getCredentials(source: CredentialSource, userEnvVars?: EnvVarConfig): EnvVarConfig;
13
+ export declare function enrichStepInput(actionType: string, input: Record<string, unknown>, credentials: EnvVarConfig): Record<string, unknown>;
14
+ //# sourceMappingURL=credentials.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../../../src/lib/steps/credentials.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,QAAQ,CAAC;AAEjD,MAAM,MAAM,YAAY,GAAG;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC;AAKF,wBAAgB,cAAc,CAC5B,MAAM,EAAE,gBAAgB,EACxB,WAAW,CAAC,EAAE,YAAY,GACzB,YAAY,CAgBd;AAKD,wBAAgB,eAAe,CAC7B,UAAU,EAAE,MAAM,EAClB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC9B,WAAW,EAAE,YAAY,GACxB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAqBzB"}
@@ -0,0 +1,65 @@
1
+ export function getCredentials(source, userEnvVars) {
2
+ if (source === "user" && userEnvVars) {
3
+ return userEnvVars;
4
+ }
5
+ return {
6
+ LINEAR_API_KEY: process.env.LINEAR_API_KEY,
7
+ LINEAR_TEAM_ID: process.env.LINEAR_TEAM_ID,
8
+ RESEND_API_KEY: process.env.RESEND_API_KEY,
9
+ RESEND_FROM_EMAIL: process.env.RESEND_FROM_EMAIL,
10
+ OPENAI_API_KEY: process.env.OPENAI_API_KEY,
11
+ AI_GATEWAY_API_KEY: process.env.AI_GATEWAY_API_KEY,
12
+ DATABASE_URL: process.env.DATABASE_URL,
13
+ FIRECRAWL_API_KEY: process.env.FIRECRAWL_API_KEY,
14
+ };
15
+ }
16
+ export function enrichStepInput(actionType, input, credentials) {
17
+ const enrichedInput = { ...input };
18
+ const actionHandlers = {
19
+ "Create Ticket": () => enrichLinearCredentials(enrichedInput, credentials),
20
+ "Find Issues": () => enrichLinearCredentials(enrichedInput, credentials),
21
+ "Send Email": () => enrichResendCredentials(enrichedInput, credentials),
22
+ "Generate Text": () => enrichAICredentials(enrichedInput, credentials),
23
+ "Generate Image": () => enrichAICredentials(enrichedInput, credentials),
24
+ "Database Query": () => enrichDatabaseCredentials(enrichedInput, credentials),
25
+ Scrape: () => enrichFirecrawlCredentials(enrichedInput, credentials),
26
+ Search: () => enrichFirecrawlCredentials(enrichedInput, credentials),
27
+ };
28
+ const handler = actionHandlers[actionType];
29
+ if (handler) {
30
+ handler();
31
+ }
32
+ return enrichedInput;
33
+ }
34
+ function enrichLinearCredentials(input, credentials) {
35
+ if (credentials.LINEAR_API_KEY) {
36
+ input.apiKey = credentials.LINEAR_API_KEY;
37
+ }
38
+ if (credentials.LINEAR_TEAM_ID) {
39
+ input.teamId = credentials.LINEAR_TEAM_ID;
40
+ }
41
+ }
42
+ function enrichResendCredentials(input, credentials) {
43
+ if (credentials.RESEND_API_KEY) {
44
+ input.apiKey = credentials.RESEND_API_KEY;
45
+ }
46
+ if (credentials.RESEND_FROM_EMAIL) {
47
+ input.fromEmail = credentials.RESEND_FROM_EMAIL;
48
+ }
49
+ }
50
+ function enrichAICredentials(input, credentials) {
51
+ if (credentials.AI_GATEWAY_API_KEY) {
52
+ input.apiKey = credentials.AI_GATEWAY_API_KEY;
53
+ }
54
+ }
55
+ function enrichDatabaseCredentials(input, credentials) {
56
+ if (credentials.DATABASE_URL) {
57
+ input.databaseUrl = credentials.DATABASE_URL;
58
+ }
59
+ }
60
+ function enrichFirecrawlCredentials(input, credentials) {
61
+ if (credentials.FIRECRAWL_API_KEY) {
62
+ input.apiKey = credentials.FIRECRAWL_API_KEY;
63
+ }
64
+ }
65
+ //# sourceMappingURL=credentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credentials.js","sourceRoot":"","sources":["../../../src/lib/steps/credentials.ts"],"names":[],"mappings":"AAsBA,MAAM,UAAU,cAAc,CAC5B,MAAwB,EACxB,WAA0B;IAE1B,IAAI,MAAM,KAAK,MAAM,IAAI,WAAW,EAAE,CAAC;QACrC,OAAO,WAAW,CAAC;IACrB,CAAC;IAGD,OAAO;QACL,cAAc,EAAE,OAAO,CAA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
3
+ success: true;
4
+ data: unknown;
5
+ status: number;
6
+ } | {
7
+ success: false;
8
+ error: string;
9
+ status?: number;
10
+ };
11
+ export type HttpRequestInput = StepInput & {
12
+ endpoint: string;
13
+ httpMethod: string;
14
+ httpHeaders?: string;
15
+ httpBody?: string;
16
+ };
17
+ export declare function httpRequestStep(input: HttpRequestInput): Promise<HttpRequestResult>;
18
+ export declare namespace httpRequestStep {
19
+ var maxRetries: number;
20
+ }
21
+ export {};
22
+ //# sourceMappingURL=http-request.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"http-request.d.ts","sourceRoot":"","sources":["../../../src/lib/steps/http-request.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAmB,MAAM,gBAAgB,CAAC;AAEjE,KAAK,iBAAiB,GAClB;IAAE,OAAO,EAAE,IAAI,CAAC;IAAC,IAAI,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GAChD;IAAE,OAAO,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEvD,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG;IACzC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAgFF,wBAAsB,eAAe,CACnC,KAAK,EAAE,gBAAgB,GACtB,OAAO,CAAC,iBAAiB,CAAC,CAG5B;yBALqB,eAAe"}
@@ -0,0 +1,72 @@
1
+ import { getErrorMessage } from "../utils.js";
2
+ import { withStepLogging } from "./step-handler.js";
3
+ function parseHeaders(httpHeaders) {
4
+ if (!httpHeaders) {
5
+ return {};
6
+ }
7
+ try {
8
+ return JSON.parse(httpHeaders);
9
+ }
10
+ catch {
11
+ return {};
12
+ }
13
+ }
14
+ function parseBody(httpMethod, httpBody) {
15
+ if (httpMethod === "GET" || !httpBody) {
16
+ return;
17
+ }
18
+ try {
19
+ const parsedBody = JSON.parse(httpBody);
20
+ return Object.keys(parsedBody).length > 0
21
+ ? JSON.stringify(parsedBody)
22
+ : undefined;
23
+ }
24
+ catch {
25
+ const trimmed = httpBody.trim();
26
+ return trimmed && trimmed !== "{}" ? httpBody : undefined;
27
+ }
28
+ }
29
+ function parseResponse(response) {
30
+ const contentType = response.headers.get("content-type");
31
+ if (contentType?.includes("application/json")) {
32
+ return response.json();
33
+ }
34
+ return response.text();
35
+ }
36
+ async function httpRequest(input) {
37
+ if (!input.endpoint) {
38
+ return {
39
+ success: false,
40
+ error: "HTTP request failed: URL is required",
41
+ };
42
+ }
43
+ try {
44
+ const response = await fetch(input.endpoint, {
45
+ method: input.httpMethod,
46
+ headers: parseHeaders(input.httpHeaders),
47
+ body: parseBody(input.httpMethod, input.httpBody),
48
+ });
49
+ if (!response.ok) {
50
+ const errorText = await response.text().catch(() => "Unknown error");
51
+ return {
52
+ success: false,
53
+ error: `HTTP request failed with status ${response.status}: ${errorText}`,
54
+ status: response.status,
55
+ };
56
+ }
57
+ const data = await parseResponse(response);
58
+ return { success: true, data, status: response.status };
59
+ }
60
+ catch (error) {
61
+ return {
62
+ success: false,
63
+ error: `HTTP request failed: ${getErrorMessage(error)}`,
64
+ };
65
+ }
66
+ }
67
+ export async function httpRequestStep(input) {
68
+ "use step";
69
+ return withStepLogging(input, () => httpRequest(input));
70
+ }
71
+ httpRequestStep.maxRetries = 0;
72
+ //# sourceMappingURL=http-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"http-request.js","sourceRoot":"","sources":["../../../src/lib/steps/http-request.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAkB,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAajE,SAAS,YAAY,CAAC,WAAoB;IACxC,IAAI,CAAC,WAAW,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AI,CAAC;QACH,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,KAAK,CAAC,QAAQ,EAAE;YAC3C,MAAM,EAAE,KAAK,CAAC,UAAU;YACxB,OAAO,EAAE,YAAY,CAAC,KAAK,CAAC,WAAW,CAAC;YACxC,IAAI,EAAE,SAAS,CAAC,KAAK,CAAC,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC;SAClD,CAAC,CAAC;QAEH,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;YACjB,MAAM,SAAS,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,eAAe,CAAC,CAAC;YACrE,OAAO;gBACL,OAAO,EAAE,KAAK;gBACd,KAAK,EAAE,mCAAmC,QAAQ,CAAC,MAAM,KAAK,SAAS,EAAE;gBACzE,MAAM,EAAE,QAAQ,CAAC,MAAM;aACxB,CAAC;QACJ,CAAC;QAED,MAAM,IAAI,GAAG,MAAM,aAAa,CAAC,QAAQ,CAAC,CAAC;QAC3C,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,CAAC,MAAM,EAAE,CAAC;IAC1D,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO;YACL,OAAO,EAAE,KAAK;YACd,KAAK,EAAE,wBAAwB,eAAe,CAAC,KAAK,CAAC,EAAE;SACxD,CAAC;IACJ,CAAC;AACH,CAAC;AAOD,MAAM,CAAC,KAAK,UAAU,eAAe,CACnC,KAAuB;IAEvB,UAAU,CAAC;IACX,OAAO,eAAe,CAAC,KAAK,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;AAC1D,CAAC;AACD,eAAe,CAAC,UAAU,GAAG,CAAC,CAAC"}
@@ -0,0 +1,10 @@
1
+ export type StepFunction = (input: Record<string, unknown>) => Promise<unknown>;
2
+ export type StepModule = Record<string, any>;
3
+ export type StepImporter = {
4
+ importer: () => Promise<StepModule>;
5
+ stepFunction: string;
6
+ };
7
+ export declare const stepRegistry: Record<string, StepFunction>;
8
+ export declare function hasStep(actionType: string): boolean;
9
+ export declare function getStep(actionType: string): StepFunction | undefined;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/steps/index.ts"],"names":[],"mappings":"AAaA,MAAM,MAAM,YAAY,GAAG,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;AAIhF,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAE7C,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,EAAE,MAAM,OAAO,CAAC,UAAU,CAAC,CAAC;IACpC,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAGF,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAqBrD,CAAC;AAGF,wBAAgB,OAAO,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAEnD;AAGD,wBAAgB,OAAO,CAAC,UAAU,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS,CAEpE"}