@nocobase/plugin-workflow 2.2.0-beta.9 → 3.0.0-alpha.1

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 (267) hide show
  1. package/client-v2.d.ts +2 -0
  2. package/client-v2.js +1 -0
  3. package/dist/client/119.e7dbd037d52d1286.js +10 -0
  4. package/dist/client/142.fb4936d78fc80007.js +10 -0
  5. package/dist/client/159.cc9a0f2d92cab2c1.js +10 -0
  6. package/dist/client/276.69fb2aea13bc7c37.js +10 -0
  7. package/dist/client/346.66d060d37843d3d1.js +10 -0
  8. package/dist/client/382.d37fba14a6b91b0b.js +10 -0
  9. package/dist/client/394.a37310b78419ad7a.js +10 -0
  10. package/dist/client/438.8bd46a04ca080a4e.js +10 -0
  11. package/dist/client/509.3a4ac27f10833c75.js +10 -0
  12. package/dist/client/54.d81b710f7b4c1cd5.js +10 -0
  13. package/dist/client/618.1aa6c21d0f2840cb.js +10 -0
  14. package/dist/client/635.ff6085589e23d39b.js +10 -0
  15. package/dist/client/67.5eb8767a709f27d9.js +10 -0
  16. package/dist/client/719.f011fde3ad54571e.js +10 -0
  17. package/dist/client/728.711fd4f1ed7d4e6a.js +10 -0
  18. package/dist/client/739.49407722fca8d236.js +10 -0
  19. package/dist/client/759.13aab01e6912ed8d.js +10 -0
  20. package/dist/client/772.1ebaef11a0ac8688.js +10 -0
  21. package/dist/client/782.47792ce10fc0d5fb.js +10 -0
  22. package/dist/client/828.d03ecfc4ac66e0f8.js +10 -0
  23. package/dist/client/87.b62b1123d4d560fb.js +10 -0
  24. package/dist/client/938.26493fc09ba1ccbc.js +10 -0
  25. package/dist/client/964.5ab736effd480a42.js +10 -0
  26. package/dist/client/972.dd7f074d5f12e171.js +10 -0
  27. package/dist/client/AddNodeContext.d.ts +1 -9
  28. package/dist/client/BranchContext.d.ts +2 -10
  29. package/dist/client/FlowContext.d.ts +10 -5
  30. package/dist/client/NodeClipboardContext.d.ts +12 -2
  31. package/dist/client/NodeDragContext.d.ts +14 -2
  32. package/dist/client/RemoveNodeContext.d.ts +16 -2
  33. package/dist/client/WorkflowTasks.d.ts +26 -3
  34. package/dist/client/index.d.ts +2 -2
  35. package/dist/client/index.js +1 -1
  36. package/dist/client/nodeVariableUtils.d.ts +7 -6
  37. package/dist/client/nodes/calculation.d.ts +3 -75
  38. package/dist/client/nodes/condition.d.ts +7 -111
  39. package/dist/client/nodes/create.d.ts +3 -124
  40. package/dist/client/nodes/destroy.d.ts +2 -57
  41. package/dist/client/nodes/end.d.ts +2 -23
  42. package/dist/client/nodes/index.d.ts +2 -91
  43. package/dist/client/nodes/multi-conditions.d.ts +10 -48
  44. package/dist/client/nodes/output.d.ts +2 -44
  45. package/dist/client/nodes/query.d.ts +3 -255
  46. package/dist/client/nodes/update.d.ts +2 -117
  47. package/dist/client/style.d.ts +7 -27
  48. package/dist/client/triggers/collection.d.ts +3 -181
  49. package/dist/client/triggers/index.d.ts +2 -36
  50. package/dist/client/triggers/schedule/index.d.ts +8 -65
  51. package/dist/client/utils.d.ts +4 -5
  52. package/dist/client/variable.d.ts +7 -53
  53. package/dist/client-v2/119.81195bcd0d451279.js +10 -0
  54. package/dist/client-v2/142.a8c8df2a9abb43c5.js +10 -0
  55. package/dist/client-v2/159.cb221540c286cd32.js +10 -0
  56. package/dist/client-v2/276.7f746d899e221e2f.js +10 -0
  57. package/dist/client-v2/326.bdc99ad8e7590970.js +10 -0
  58. package/dist/client-v2/346.8c038b3c99d4fdc9.js +10 -0
  59. package/dist/client-v2/382.05f5482bb512b179.js +10 -0
  60. package/dist/client-v2/387.e002f8eb34aa77e3.js +10 -0
  61. package/dist/client-v2/394.515ed058e7f72797.js +10 -0
  62. package/dist/client-v2/438.1459f1a7cd19ea4f.js +10 -0
  63. package/dist/client-v2/513.18e257b3025d7692.js +10 -0
  64. package/dist/client-v2/54.d3daf06e53092726.js +10 -0
  65. package/dist/client-v2/635.14a6f21cf4f16345.js +10 -0
  66. package/dist/client-v2/677.7007f4a6a4640165.js +10 -0
  67. package/dist/client-v2/719.05cf070ef89a78f4.js +10 -0
  68. package/dist/client-v2/728.4e8322ff8fce87b9.js +10 -0
  69. package/dist/client-v2/739.5b60845103064f8d.js +10 -0
  70. package/dist/client-v2/759.7b162ad3adf450f1.js +10 -0
  71. package/dist/client-v2/772.8e5148d8c1518449.js +10 -0
  72. package/dist/client-v2/938.717e47af39485b29.js +10 -0
  73. package/dist/client-v2/ExecutionCanvas.d.ts +15 -0
  74. package/dist/client-v2/canvas/AddNodeContext.d.ts +35 -0
  75. package/dist/client-v2/canvas/AddNodeContext.shared.d.ts +33 -0
  76. package/dist/client-v2/canvas/AddNodeSlot.d.ts +20 -0
  77. package/dist/client-v2/canvas/Branch.d.ts +32 -0
  78. package/dist/client-v2/canvas/BranchContext.d.ts +29 -0
  79. package/dist/client-v2/canvas/BranchRenderContext.d.ts +14 -0
  80. package/dist/client-v2/canvas/CanvasContent.d.ts +20 -0
  81. package/dist/client-v2/canvas/DownstreamBranchIndex.d.ts +20 -0
  82. package/dist/client-v2/canvas/Instruction.d.ts +139 -0
  83. package/dist/{client/triggers/schedule/EndsByField.d.ts → client-v2/canvas/JobButton.d.ts} +3 -3
  84. package/dist/client-v2/canvas/Node.d.ts +38 -0
  85. package/dist/client-v2/canvas/NodeClipboardContext.d.ts +64 -0
  86. package/dist/client-v2/canvas/NodeConfigDrawer.d.ts +27 -0
  87. package/dist/client-v2/canvas/NodeDragContext.d.ts +83 -0
  88. package/dist/client-v2/canvas/RemoveNodeContext.d.ts +45 -0
  89. package/dist/client-v2/canvas/WorkflowTypedVariableInput.d.ts +16 -0
  90. package/dist/client-v2/canvas/WorkflowVariableInput.d.ts +47 -0
  91. package/dist/client-v2/canvas/WorkflowVariableJsonTextArea.d.ts +15 -0
  92. package/dist/client-v2/canvas/WorkflowVariableTag.d.ts +22 -0
  93. package/dist/client-v2/canvas/WorkflowVariableTextArea.d.ts +23 -0
  94. package/dist/client-v2/canvas/adaptVariableOptionToMetaTree.d.ts +48 -0
  95. package/dist/client-v2/canvas/addNodeController.d.ts +70 -0
  96. package/dist/client-v2/canvas/collectionFieldOptions.d.ts +57 -0
  97. package/dist/client-v2/canvas/contexts.d.ts +86 -0
  98. package/dist/client-v2/canvas/dropImpact.d.ts +28 -0
  99. package/dist/client-v2/canvas/instructionAvailability.d.ts +26 -0
  100. package/dist/client-v2/canvas/nodeRenderDispatch.d.ts +79 -0
  101. package/dist/client-v2/canvas/nodeTree.d.ts +21 -0
  102. package/dist/client-v2/canvas/nodeVariableUtils.d.ts +14 -0
  103. package/dist/client-v2/canvas/removeNodeUtils.d.ts +31 -0
  104. package/dist/client-v2/canvas/style.d.ts +35 -0
  105. package/dist/client-v2/canvas/textAreaInsertion.d.ts +14 -0
  106. package/dist/client-v2/canvas/useWorkflowInstruction.d.ts +23 -0
  107. package/dist/client-v2/canvas/useWorkflowVariableOptions.d.ts +40 -0
  108. package/dist/client-v2/canvas/workflowVariableConverters.d.ts +13 -0
  109. package/dist/client-v2/components/Calculation.d.ts +18 -0
  110. package/dist/client-v2/components/ExecutionStatusIcon.d.ts +18 -0
  111. package/dist/{client/triggers/schedule/RepeatField.d.ts → client-v2/components/ExecutionStatusTag.d.ts} +3 -4
  112. package/dist/client-v2/components/ExecutionViewHeader.d.ts +29 -0
  113. package/dist/client-v2/components/ExecutionsDropdown.d.ts +25 -0
  114. package/dist/client-v2/components/FilterDynamicComponent.d.ts +28 -0
  115. package/dist/client-v2/components/HideVariableContext.d.ts +11 -0
  116. package/dist/client-v2/components/JobResultModal.d.ts +11 -0
  117. package/dist/client-v2/components/RadioWithTooltip.d.ts +23 -0
  118. package/dist/client-v2/components/SyncModeSelect.d.ts +16 -0
  119. package/dist/{client/triggers/schedule/OnField.d.ts → client-v2/components/SyncModeTag.d.ts} +3 -3
  120. package/dist/client-v2/components/TestRunButton.d.ts +36 -0
  121. package/dist/client-v2/components/TimeoutInput.d.ts +15 -0
  122. package/dist/client-v2/components/WorkflowCanvasHeader.d.ts +17 -0
  123. package/dist/client-v2/components/WorkflowDetailsModal.d.ts +25 -0
  124. package/dist/client-v2/components/WorkflowEnabledSwitch.d.ts +16 -0
  125. package/dist/client-v2/components/WorkflowMenu.d.ts +17 -0
  126. package/dist/client-v2/components/WorkflowRevisionsDropdown.d.ts +15 -0
  127. package/dist/client-v2/components/WorkflowVariableWrapper.d.ts +25 -0
  128. package/dist/client-v2/components/collection/AppendsSelect.d.ts +15 -0
  129. package/dist/client-v2/components/collection/AssignedFieldsEditor.d.ts +24 -0
  130. package/dist/client-v2/components/collection/CollectionCascader.d.ts +15 -0
  131. package/dist/client-v2/components/collection/FieldsSelect.d.ts +16 -0
  132. package/dist/client-v2/components/collection/PaginationFields.d.ts +14 -0
  133. package/dist/client-v2/components/collection/SortFieldsInput.d.ts +19 -0
  134. package/dist/client-v2/components/collection/TriggerCollectionRecordSelect.d.ts +15 -0
  135. package/dist/client-v2/components/collection/index.d.ts +16 -0
  136. package/dist/client-v2/components/collection/utils.d.ts +42 -0
  137. package/dist/client-v2/components/formatResultForDisplay.d.ts +17 -0
  138. package/dist/client-v2/components/jobStatus.d.ts +27 -0
  139. package/dist/client-v2/components/renderEngineReference.d.ts +10 -0
  140. package/dist/client-v2/components/workflowCanvas.d.ts +41 -0
  141. package/dist/client-v2/constants.d.ts +19 -0
  142. package/dist/client-v2/hooks/useWorkflowRuntimePaths.d.ts +16 -0
  143. package/dist/client-v2/index.d.ts +48 -0
  144. package/dist/client-v2/index.js +10 -0
  145. package/dist/client-v2/legacySettingsRedirect.d.ts +15 -0
  146. package/dist/client-v2/locale.d.ts +41 -0
  147. package/dist/{client → client-v2}/models/NodeDetailsGridModel.d.ts +1 -1
  148. package/dist/{client → client-v2}/models/NodeDetailsModel.d.ts +1 -1
  149. package/dist/{client → client-v2}/models/NodeValueModel.d.ts +1 -1
  150. package/dist/{client → client-v2}/models/TaskCardCommonItemModel.d.ts +1 -1
  151. package/dist/client-v2/models/WorkflowTasksTopbarActionModel.d.ts +18 -0
  152. package/dist/{client → client-v2}/models/index.d.ts +2 -0
  153. package/dist/client-v2/models/triggerWorkflows.d.ts +43 -0
  154. package/dist/client-v2/nodes/calculation.d.ts +38 -0
  155. package/dist/client-v2/nodes/collectionNode.d.ts +29 -0
  156. package/dist/client-v2/nodes/components/calculation.d.ts +11 -0
  157. package/dist/client-v2/nodes/components/collection.d.ts +15 -0
  158. package/dist/client-v2/nodes/components/condition.d.ts +25 -0
  159. package/dist/client-v2/nodes/components/conditionShared.d.ts +20 -0
  160. package/dist/client-v2/nodes/components/create.d.ts +12 -0
  161. package/dist/client-v2/nodes/components/destroy.d.ts +12 -0
  162. package/dist/{client/triggers/schedule/ScheduleConfig.d.ts → client-v2/nodes/components/end.d.ts} +1 -1
  163. package/dist/client-v2/nodes/components/filter.d.ts +17 -0
  164. package/dist/client-v2/nodes/components/multi-conditions.d.ts +13 -0
  165. package/dist/client-v2/nodes/components/multiConditionsShared.d.ts +20 -0
  166. package/dist/client-v2/nodes/components/output.d.ts +10 -0
  167. package/dist/client-v2/nodes/components/query.d.ts +12 -0
  168. package/dist/client-v2/nodes/components/update.d.ts +12 -0
  169. package/dist/client-v2/nodes/condition.d.ts +46 -0
  170. package/dist/client-v2/nodes/create.d.ts +30 -0
  171. package/dist/client-v2/nodes/destroy.d.ts +24 -0
  172. package/dist/client-v2/nodes/end.d.ts +21 -0
  173. package/dist/client-v2/nodes/multi-conditions.d.ts +34 -0
  174. package/dist/client-v2/nodes/output.d.ts +29 -0
  175. package/dist/client-v2/nodes/query.d.ts +32 -0
  176. package/dist/client-v2/nodes/update.d.ts +25 -0
  177. package/dist/client-v2/pages/ExecutionHistoryDrawer.d.ts +13 -0
  178. package/dist/client-v2/pages/ExecutionViewPage.d.ts +10 -0
  179. package/dist/client-v2/pages/WorkflowCanvasPage.d.ts +10 -0
  180. package/dist/client-v2/pages/WorkflowCategoryTabs.d.ts +25 -0
  181. package/dist/client-v2/pages/WorkflowFormDrawer.d.ts +40 -0
  182. package/dist/client-v2/pages/WorkflowPane.d.ts +10 -0
  183. package/dist/client-v2/pages/WorkflowTasksPage.d.ts +10 -0
  184. package/dist/client-v2/plugin.d.ts +119 -0
  185. package/dist/client-v2/taskCenter.d.ts +105 -0
  186. package/dist/client-v2/triggers/ExecuteWorkflowButton.d.ts +35 -0
  187. package/dist/client-v2/triggers/TriggerConfig.d.ts +22 -0
  188. package/dist/client-v2/triggers/TriggerExecutionButton.d.ts +13 -0
  189. package/dist/client-v2/triggers/collection/CollectionConfig.d.ts +14 -0
  190. package/dist/client-v2/triggers/collection/TriggerCollectionConfig.d.ts +11 -0
  191. package/dist/client-v2/triggers/collection/constants.d.ts +28 -0
  192. package/dist/client-v2/triggers/collection/index.d.ts +40 -0
  193. package/dist/client-v2/triggers/index.d.ts +63 -0
  194. package/dist/client-v2/triggers/schedule/EndsByField.d.ts +17 -0
  195. package/dist/client-v2/triggers/schedule/OnField.d.ts +20 -0
  196. package/dist/client-v2/triggers/schedule/RepeatField.d.ts +23 -0
  197. package/dist/client-v2/triggers/schedule/ScheduleConfig.d.ts +17 -0
  198. package/dist/client-v2/triggers/schedule/ScheduleModes.d.ts +41 -0
  199. package/dist/{client → client-v2}/triggers/schedule/TriggerScheduleConfig.d.ts +1 -0
  200. package/dist/{client → client-v2}/triggers/schedule/constants.d.ts +8 -5
  201. package/dist/client-v2/triggers/schedule/index.d.ts +40 -0
  202. package/dist/client-v2/triggers/schedule/locale/Cron.zh-CN.d.ts +11 -0
  203. package/dist/client-v2/utils/contextSingleton.d.ts +9 -0
  204. package/dist/common/collections/userWorkflowTaskStats.d.ts +54 -0
  205. package/dist/common/collections/userWorkflowTaskStats.js +87 -0
  206. package/dist/common/collections/workflows.d.ts +16 -0
  207. package/dist/common/collections/workflows.js +5 -0
  208. package/dist/common/defaultWorkflowFilter.d.ts +21 -0
  209. package/dist/common/defaultWorkflowFilter.js +38 -0
  210. package/dist/common/executionStatus.d.ts +44 -0
  211. package/dist/common/executionStatus.js +133 -0
  212. package/dist/externalVersion.js +16 -13
  213. package/dist/locale/de-DE.json +15 -1
  214. package/dist/locale/en-US.json +30 -1
  215. package/dist/locale/es-ES.json +15 -1
  216. package/dist/locale/fr-FR.json +15 -1
  217. package/dist/locale/hu-HU.json +15 -1
  218. package/dist/locale/id-ID.json +15 -1
  219. package/dist/locale/it-IT.json +15 -1
  220. package/dist/locale/ja-JP.json +15 -1
  221. package/dist/locale/ko-KR.json +15 -1
  222. package/dist/locale/nl-NL.json +15 -1
  223. package/dist/locale/pt-BR.json +15 -1
  224. package/dist/locale/ru-RU.json +15 -1
  225. package/dist/locale/tr-TR.json +15 -1
  226. package/dist/locale/uk-UA.json +15 -1
  227. package/dist/locale/vi-VN.json +15 -1
  228. package/dist/locale/zh-CN.json +29 -1
  229. package/dist/locale/zh-TW.json +21 -1
  230. package/dist/node_modules/cron-parser/package.json +1 -1
  231. package/dist/node_modules/joi/package.json +1 -1
  232. package/dist/node_modules/lru-cache/package.json +1 -1
  233. package/dist/node_modules/nodejs-snowflake/package.json +1 -1
  234. package/dist/server/Dispatcher.d.ts +27 -15
  235. package/dist/server/Dispatcher.js +199 -161
  236. package/dist/server/ExecutionTimeoutManager.js +2 -1
  237. package/dist/server/Plugin.d.ts +58 -12
  238. package/dist/server/Plugin.js +355 -15
  239. package/dist/server/Processor.d.ts +1 -7
  240. package/dist/server/Processor.js +11 -7
  241. package/dist/server/actions/executions.js +3 -6
  242. package/dist/server/actions/index.js +3 -1
  243. package/dist/server/actions/jobs.js +1 -2
  244. package/dist/server/actions/userWorkflowTaskStats.d.ts +10 -0
  245. package/dist/server/actions/userWorkflowTaskStats.js +112 -0
  246. package/dist/server/actions/workflows.d.ts +1 -0
  247. package/dist/server/actions/workflows.js +34 -2
  248. package/dist/server/collections/userWorkflowTaskStats.d.ts +11 -0
  249. package/dist/server/collections/userWorkflowTaskStats.js +43 -0
  250. package/dist/server/index.d.ts +1 -0
  251. package/dist/server/triggers/CollectionTrigger.d.ts +1 -1
  252. package/dist/server/triggers/CollectionTrigger.js +3 -0
  253. package/dist/server/triggers/ScheduleTrigger/StaticScheduleTrigger.d.ts +1 -1
  254. package/dist/server/triggers/index.d.ts +1 -1
  255. package/dist/server/types/Execution.d.ts +2 -0
  256. package/dist/server/types/Job.d.ts +5 -0
  257. package/dist/server/types/Workflow.d.ts +1 -0
  258. package/dist/server/utils.d.ts +2 -1
  259. package/dist/server/utils.js +19 -1
  260. package/dist/swagger/index.d.ts +69 -1
  261. package/dist/swagger/index.js +65 -3
  262. package/package.json +4 -2
  263. package/dist/client/618.c91be3f6e4d73501.js +0 -10
  264. package/dist/client/67.61e70b8b777f8638.js +0 -10
  265. package/dist/client/964.5e11e1820fece37b.js +0 -10
  266. package/dist/client/triggers/schedule/ScheduleModes.d.ts +0 -170
  267. package/dist/client/triggers/schedule/locale/Cron.zh-CN.d.ts +0 -42
@@ -102,6 +102,9 @@
102
102
  "Executed at": "Executed at",
103
103
  "Executed workflow cannot be modified. Could be copied to a new version to modify.": "Executed workflow cannot be modified. Could be copied to a new version to modify.",
104
104
  "Execution history": "Execution history",
105
+ "Version ID": "Version ID",
106
+ "Parent execution ID": "Parent execution ID",
107
+ "Triggered manually": "Triggered manually",
105
108
  "Timeout settings": "Налаштування тайм-ауту",
106
109
  "0 means unlimited. If you set any other value and the execution is still not completed when the timeout is reached, the execution plan will be terminated and the remaining nodes will not be executed. Time spent in queue is not counted; timing starts only after it first enters a processor.": "0 означає без обмежень. Якщо встановити будь-яке інше значення і на момент досягнення тайм-ауту виконання ще не завершене, план виконання буде зупинено, а решта вузлів не виконуватиметься. Час у черзі не враховується; відлік починається лише після першого входу до процесора.",
107
110
  "Exit when query result is null": "Exit when query result is null",
@@ -251,7 +254,9 @@
251
254
  "When no condition matches": "When no condition matches",
252
255
  "Will be executed in the background as a queued task.": "Will be executed in the background as a queued task.",
253
256
  "Workflow": "Workflow",
257
+ "Workflow not executed": "Робочий процес не виконано",
254
258
  "Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>",
259
+ "Workflow was not triggered because the current request did not meet the trigger requirements.": "Робочий процес не було запущено, оскільки поточний запит не відповідає вимогам тригера.",
255
260
  "Workflow of execution is not existed": "Workflow of execution is not existed",
256
261
  "Workflow tasks": "Workflow tasks",
257
262
  "Workflow todos": "Workflow todos",
@@ -266,5 +271,14 @@
266
271
  "Impacted dependent node variables": "Вузли, які посилаються на змінні поточного вузла",
267
272
  "Keep variable references": "Зберегти посилання на змінні",
268
273
  "Keeping variable references requires manual adjustment, otherwise workflow may fail.": "Збереження посилань на змінні потребує ручного налаштування, інакше робочий процес може завершитися помилкою.",
269
- "Failed to update node variables": "Не вдалося оновити змінні вузла"
274
+ "Failed to update node variables": "Не вдалося оновити змінні вузла",
275
+ "Unsupported node": "Unsupported node",
276
+ "This node type is not available in the new canvas yet.": "This node type is not available in the new canvas yet.",
277
+ "This node's configuration has not been migrated to the new canvas yet.": "This node's configuration has not been migrated to the new canvas yet.",
278
+ "Node title": "Node title",
279
+ "Failed to add node": "Failed to add node",
280
+ "Failed to delete node": "Failed to delete node",
281
+ "Failed to save node": "Failed to save node",
282
+ "Failed to run": "Failed to run",
283
+ "Copied node": "Copied node"
270
284
  }
@@ -102,6 +102,9 @@
102
102
  "Executed at": "Executed at",
103
103
  "Executed workflow cannot be modified. Could be copied to a new version to modify.": "Executed workflow cannot be modified. Could be copied to a new version to modify.",
104
104
  "Execution history": "Execution history",
105
+ "Version ID": "Version ID",
106
+ "Parent execution ID": "Parent execution ID",
107
+ "Triggered manually": "Triggered manually",
105
108
  "Timeout settings": "Cài đặt thời gian chờ",
106
109
  "0 means unlimited. If you set any other value and the execution is still not completed when the timeout is reached, the execution plan will be terminated and the remaining nodes will not be executed. Time spent in queue is not counted; timing starts only after it first enters a processor.": "0 nghĩa là không giới hạn. Nếu đặt bất kỳ giá trị nào khác mà việc thực thi vẫn chưa hoàn tất khi hết thời gian chờ, kế hoạch thực thi sẽ bị chấm dứt và các nút còn lại sẽ không được thực thi. Thời gian chờ trong hàng đợi không được tính; chỉ bắt đầu tính thời gian sau khi lần đầu đi vào bộ xử lý.",
107
110
  "Exit when query result is null": "Exit when query result is null",
@@ -251,7 +254,9 @@
251
254
  "When no condition matches": "When no condition matches",
252
255
  "Will be executed in the background as a queued task.": "Will be executed in the background as a queued task.",
253
256
  "Workflow": "Workflow",
257
+ "Workflow not executed": "Quy trình làm việc chưa được thực thi",
254
258
  "Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>",
259
+ "Workflow was not triggered because the current request did not meet the trigger requirements.": "Quy trình làm việc không được kích hoạt vì yêu cầu hiện tại không đáp ứng các điều kiện kích hoạt.",
255
260
  "Workflow is not exists": "Workflow is not exists",
256
261
  "Workflow tasks": "Workflow tasks",
257
262
  "Workflow todos": "Workflow todos",
@@ -267,5 +272,14 @@
267
272
  "Impacted dependent node variables": "Các nút tham chiếu đến biến của nút hiện tại",
268
273
  "Keep variable references": "Giữ tham chiếu biến",
269
274
  "Keeping variable references requires manual adjustment, otherwise workflow may fail.": "Giữ tham chiếu biến cần điều chỉnh thủ công, nếu không quy trình có thể lỗi.",
270
- "Failed to update node variables": "Không thể cập nhật biến của nút"
275
+ "Failed to update node variables": "Không thể cập nhật biến của nút",
276
+ "Unsupported node": "Unsupported node",
277
+ "This node type is not available in the new canvas yet.": "This node type is not available in the new canvas yet.",
278
+ "This node's configuration has not been migrated to the new canvas yet.": "This node's configuration has not been migrated to the new canvas yet.",
279
+ "Node title": "Node title",
280
+ "Failed to add node": "Failed to add node",
281
+ "Failed to delete node": "Failed to delete node",
282
+ "Failed to save node": "Failed to save node",
283
+ "Failed to run": "Failed to run",
284
+ "Copied node": "Copied node"
271
285
  }
@@ -8,6 +8,7 @@
8
8
  "Add": "添加",
9
9
  "Add branch": "添加分支",
10
10
  "Add category": "添加分类",
11
+ "Add field": "添加字段",
11
12
  "Add new record to a collection. You can use variables from upstream nodes to assign values to fields.": "向一个数据表中添加新的数据。可以使用上游节点里的变量为字段赋值。",
12
13
  "Add node": "添加节点",
13
14
  "Add workflow": "添加工作流",
@@ -19,6 +20,7 @@
19
20
  "After record deleted": "删除数据后",
20
21
  "After record updated": "更新数据后",
21
22
  "All": "全部",
23
+ "All workflows": "全部工作流",
22
24
  "Allow multiple records as result": "允许结果是多条数据",
23
25
  "Are you sure you want to cancel the execution?": "确定要取消该执行吗?",
24
26
  "Arithmetic calculation": "Arithmetic calculation",
@@ -120,6 +122,8 @@
120
122
  "Failed to satisfy node configurations.": "未满足节点配置造成的失败。",
121
123
  "False": "假",
122
124
  "Fields that are not assigned a value will be set to the default value, and those that do not have a default value are set to null.": "Fields that are not assigned a value will be set to the default value, and those that do not have a default value are set to null.",
125
+ "Fields values": "字段值",
126
+ "Failed to save trigger": "保存触发器失败",
123
127
  "First condition": "第一个条件",
124
128
  "For user actions that require immediate feedback. Can not use asynchronous nodes in such mode, and it is not recommended to perform time-consuming operations under synchronous mode.": "适用于需要即时反馈的用户操作。不能在此模式下使用异步节点,并且不建议在同步模式下执行耗时的操作。",
125
129
  "From left to right, attempt each branch sequentially based on the configured conditions. Only branches that meet the conditions will be executed. Otherwise, the next branch will be attempted. If none of the branches meet the conditions, it can either exit the process or continue to the next node based on configuration.": "从左到右,基于配置的条件,依次尝试每个分支。只有满足条件的分支才会被执行,否则尝试下一个分支。如果没有任何分支满足条件,可以根据配置选择退出流程或继续下一个节点。",
@@ -138,6 +142,7 @@
138
142
  "Keep": "保留",
139
143
  "Learn more": "了解更多",
140
144
  "Load failed": "加载失败",
145
+ "Load more": "加载更多",
141
146
  "Loading": "加载中",
142
147
  "Log": "日志",
143
148
  "Manual": "人工处理",
@@ -159,6 +164,7 @@
159
164
  "No workflow tasks available. Please contact the administrator.": "没有可用的工作流待办,请联系管理员。",
160
165
  "Node in executed workflow cannot be modified": "Node in executed workflow cannot be modified",
161
166
  "Node result": "节点数据",
167
+ "Node title": "节点标题",
162
168
  "Node type": "节点类型",
163
169
  "Node with unknown type will cause error. Please delete it or check plugin which provide this type.": "未知类型的节点会导致错误,请删除或检查提供该类型的插件。",
164
170
  "Null": "Null",
@@ -173,6 +179,7 @@
173
179
  "Otherwise": "否则",
174
180
  "Output": "流程输出",
175
181
  "Output value": "结果值",
182
+ "Parent execution ID": "父执行 ID",
176
183
  "Pending": "待处理",
177
184
  "Please add at least one condition": "请添加至少一个条件",
178
185
  "Please select collection first": "请先选择数据表",
@@ -191,13 +198,16 @@
191
198
  "Result": "结果",
192
199
  "Result type": "结果类型",
193
200
  "Retry needed": "需重试",
201
+ "Retry": "重试",
194
202
  "Running of some node was aborted by program flow.": "某个节点被程序流程终止。",
195
203
  "Schedule event": "定时任务",
196
204
  "Scope variables": "局域变量",
197
205
  "Seconds": "秒",
198
206
  "Select context": "选择上下文",
207
+ "Select field": "选择字段",
199
208
  "Select users": "选择用户",
200
209
  "Select workflow": "选择工作流",
210
+ "Search workflows": "搜索工作流",
201
211
  "Set output data of this workflow. When this one is executed as a subflow, the output could be used as variables in downstream nodes of super workflow. You can also use this node in an AI employee workflow, to define what to output. If this node is added multiple times, the value of the last executed node prevails.": "设置工作流的输出数据。在作为子流程执行后可以被上级流程后续节点使用。你也可以在 AI 员工工作流中使用此节点,来定义输出内容。如果多次添加此节点,则以最后一个被执行的节点的值为准。",
202
212
  "Single record": "单条数据",
203
213
  "Some node meets error.": "某个节点出错。",
@@ -236,6 +246,10 @@
236
246
  "This is a main version, delete it will cause the whole workflow to be deleted (including all other revisions).": "当前是主版本,删除将导致整个流程被删除(包括所有其他版本)。",
237
247
  "This node contains branches, deleting will also be preformed to them, are you sure?": "节点包含分支,将同时删除其所有分支下的子节点,确定继续?",
238
248
  "This type of node can not be used in current type of workflow or execute mode.": "该类型的节点在当前类型的工作流或执行模式中不可用。",
249
+ "This node type is not available in the new canvas yet.": "该节点类型尚未在新画布中支持。",
250
+ "This node's configuration has not been migrated to the new canvas yet.": "该节点的配置尚未迁移到新画布。",
251
+ "This trigger type is not available in the new canvas yet.": "该触发器类型尚未在新画布中支持。",
252
+ "This trigger's configuration has not been migrated to the new canvas yet.": "该触发器的配置尚未迁移到新画布。",
239
253
  "This type of trigger has not been supported to be executed manually.": "该类型的触发器暂未支持手动执行。",
240
254
  "This will perform all the actions configured in the workflow. Are you sure you want to continue?": "将按照工作流中配置的所有操作执行,确定继续吗?",
241
255
  "Trigger": "触发器",
@@ -245,6 +259,7 @@
245
259
  "Trigger in executed workflow cannot be modified": "已执行的工作流中的触发器无法修改",
246
260
  "Trigger mode": "触发模式",
247
261
  "Trigger on": "触发时机",
262
+ "Trigger title": "触发器标题",
248
263
  "Trigger time": "触发时间",
249
264
  "Trigger type": "触发方式",
250
265
  "Trigger variables": "触发器变量",
@@ -252,6 +267,7 @@
252
267
  "Triggered according to preset time conditions. Suitable for one-time or periodic tasks, such as sending notifications and cleaning data on a schedule.": "按预设的时间条件定时触发。适用于一次性或周期性的任务,如定时发送通知、清理数据等。",
253
268
  "Triggered at": "触发时间",
254
269
  "Triggered but still waiting in queue to execute.": "已触发但仍在队列中等待执行。",
270
+ "Triggered manually": "手动触发",
255
271
  "Triggered only if one of the selected fields changes. If unselected, it means that it will be triggered when any field changes. When record is added, any field is considered to have been changed.": "只有被选中的某个字段发生变动时才会触发。如果不选择,则表示任何字段变动时都会触发。新增数据时,任意字段都被认为发生变动。",
256
272
  "Triggered when data changes in the collection, such as after adding, updating, or deleting a record. Unlike \"Post-action event\", Collection event listens for data changes rather than HTTP requests. Unless you understand the exact meaning, it is recommended to use \"Post-action event\".": "当数据表中的数据发生变化时触发,比如新增、更新或删除一条数据后。与“操作后事件”不同,数据表事件监听数据变动而不是 HTTP 请求,除非你明白确切含义,否则推荐使用“操作后事件”。",
257
273
  "True": "真",
@@ -263,17 +279,24 @@
263
279
  "Update in a batch": "批量更新",
264
280
  "Update mode": "更新模式",
265
281
  "Update one by one": "逐条更新",
282
+ "Unsupported node": "暂不支持的节点",
266
283
  "Update record": "更新数据",
267
284
  "Update records of a collection. You can use variables from upstream nodes as query conditions and field values.": "更新一个数据表中的数据。可以使用上游节点里的变量作为查询条件和数据值。",
268
285
  "Use transaction": "启用事务",
269
286
  "Variable key of node": "节点变量标识",
270
287
  "Version": "版本",
288
+ "Version ID": "版本 ID",
271
289
  "View result": "查看结果",
272
290
  "Weeks": "周",
273
291
  "When no condition matches": "未满足任何条件时",
274
292
  "Will be executed in the background as a queued task.": "将作为队列任务在后台执行。",
275
293
  "Workflow": "工作流",
294
+ "This workflow has configuration issues and may not work properly.": "该工作流配置存在问题,可能无法正常使用",
295
+ "Workflow title": "工作流名称",
296
+ "Workflow canvas editor is being migrated to the new UI.": "工作流画布编辑器正在迁移到新版界面。",
297
+ "Workflow not executed": "工作流未执行",
276
298
  "Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "工作流已执行,结果状态为 <1>{{statusText}}</1><2>查看执行详情</2>",
299
+ "Workflow was not triggered because the current request did not meet the trigger requirements.": "当前请求未满足触发要求,工作流未触发。",
277
300
  "Workflow of execution is not existed": "执行计划对应的工作流不存在",
278
301
  "Workflow tasks": "流程待办",
279
302
  "Workflow todos": "流程待办",
@@ -281,6 +304,10 @@
281
304
  "Workflow will be triggered directly once the button clicked, without data saving. Only supports to be bound with \"Custom action event\".": "按钮点击后直接触发工作流,但不会保存数据。仅支持绑定“自定义操作事件”。",
282
305
  "Workflow with unknown type will cause error. Please delete it or check plugin which provide this type.": "未知类型的工作流会导致错误,请删除或检查提供该类型的插件。",
283
306
  "Yes": "是",
307
+ "Failed to add node": "添加节点失败",
308
+ "Failed to delete node": "删除节点失败",
309
+ "Failed to run": "执行失败",
310
+ "Failed to save node": "保存节点失败",
284
311
  "Failed to move node": "节点移动失败",
285
312
  "Confirm move": "确认移动",
286
313
  "Moving this node may remove variable references.": "移动该节点可能会移除变量引用。",
@@ -296,5 +323,6 @@
296
323
  "Click a paste button to place": "点击粘贴按钮放置",
297
324
  "Confirm paste": "确认粘贴",
298
325
  "This action will remove invalid variable references, otherwise the workflow cannot run correctly.": "该操作将移除无效的变量引用,否则工作流将无法正确执行。",
299
- "Failed to paste node": "粘贴节点失败"
326
+ "Failed to paste node": "粘贴节点失败",
327
+ "Available in the classic UI for now": "暂时仅在旧版界面中可用"
300
328
  }
@@ -102,6 +102,9 @@
102
102
  "Executed at": "Executed at",
103
103
  "Executed workflow cannot be modified. Could be copied to a new version to modify.": "Executed workflow cannot be modified. Could be copied to a new version to modify.",
104
104
  "Execution history": "Execution history",
105
+ "Version ID": "Version ID",
106
+ "Parent execution ID": "Parent execution ID",
107
+ "Triggered manually": "Triggered manually",
105
108
  "Timeout settings": "逾時設定",
106
109
  "0 means unlimited. If you set any other value and the execution is still not completed when the timeout is reached, the execution plan will be terminated and the remaining nodes will not be executed. Time spent in queue is not counted; timing starts only after it first enters a processor.": "0 表示不限制,設定其他任意值在到期仍未執行完成時,執行計畫將被終止,剩餘節點不再執行。處於佇列中的執行計畫不計時,僅在首次進入處理器後開始計時。",
107
110
  "Exit when query result is null": "Exit when query result is null",
@@ -111,6 +114,7 @@
111
114
  "Failed to satisfy node configurations.": "Failed to satisfy node configurations.",
112
115
  "False": "False",
113
116
  "Fields that are not assigned a value will be set to the default value, and those that do not have a default value are set to null.": "Fields that are not assigned a value will be set to the default value, and those that do not have a default value are set to null.",
117
+ "Failed to save trigger": "保存觸發器失敗",
114
118
  "First condition": "First condition",
115
119
  "For user actions that require immediate feedback. Can not use asynchronous nodes in such mode, and it is not recommended to perform time-consuming operations under synchronous mode.": "For user actions that require immediate feedback. Can not use asynchronous nodes in such mode, and it is not recommended to perform time-consuming operations under synchronous mode.",
116
120
  "From left to right, attempt each branch sequentially based on the configured conditions. Only branches that meet the conditions will be executed. Otherwise, the next branch will be attempted. If none of the branches meet the conditions, it can either exit the process or continue to the next node based on configuration.": "From left to right, attempt each branch sequentially based on the configured conditions. Only branches that meet the conditions will be executed. Otherwise, the next branch will be attempted. If none of the branches meet the conditions, it can either exit the process or continue to the next node based on configuration.",
@@ -183,6 +187,7 @@
183
187
  "Scope variables": "Scope variables",
184
188
  "Seconds": "秒",
185
189
  "Select context": "Select context",
190
+ "Select field": "選擇欄位",
186
191
  "Select users": "Select users",
187
192
  "Select workflow": "Select workflow",
188
193
  "Single record": "Single record",
@@ -251,7 +256,10 @@
251
256
  "When no condition matches": "When no condition matches",
252
257
  "Will be executed in the background as a queued task.": "Will be executed in the background as a queued task.",
253
258
  "Workflow": "Workflow",
259
+ "Workflow title": "工作流名稱",
260
+ "Workflow not executed": "工作流未執行",
254
261
  "Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>",
262
+ "Workflow was not triggered because the current request did not meet the trigger requirements.": "目前請求未滿足觸發要求,工作流未觸發。",
255
263
  "Workflow of execution is not existed": "Workflow of execution is not existed",
256
264
  "Workflow tasks": "Workflow tasks",
257
265
  "Workflow todos": "Workflow todos",
@@ -266,5 +274,17 @@
266
274
  "Impacted dependent node variables": "引用目前節點變數的節點",
267
275
  "Keep variable references": "保留變數引用",
268
276
  "Keeping variable references requires manual adjustment, otherwise workflow may fail.": "已保留變數引用,請手動調整,否則工作流執行可能出錯。",
269
- "Failed to update node variables": "更新節點變數失敗"
277
+ "Failed to update node variables": "更新節點變數失敗",
278
+ "Unsupported node": "Unsupported node",
279
+ "This node type is not available in the new canvas yet.": "This node type is not available in the new canvas yet.",
280
+ "This node's configuration has not been migrated to the new canvas yet.": "This node's configuration has not been migrated to the new canvas yet.",
281
+ "This trigger type is not available in the new canvas yet.": "此觸發器類型尚未在新畫布中支援。",
282
+ "This trigger's configuration has not been migrated to the new canvas yet.": "此觸發器的配置尚未遷移到新畫布。",
283
+ "Node title": "Node title",
284
+ "Trigger title": "觸發器標題",
285
+ "Failed to add node": "Failed to add node",
286
+ "Failed to delete node": "Failed to delete node",
287
+ "Failed to save node": "Failed to save node",
288
+ "Failed to run": "Failed to run",
289
+ "Copied node": "Copied node"
270
290
  }
@@ -1 +1 @@
1
- {"name":"cron-parser","version":"4.4.0","description":"Node.js library for parsing crontab instructions","main":"lib/parser.js","types":"index.d.ts","typesVersions":{"<4.1":{"*":["types/ts3/*"]}},"directories":{"test":"test"},"scripts":{"test:tsd":"tsd","test:unit":"TZ=UTC tap ./test/*.js","test:cover":"TZ=UTC tap --coverage-report=html ./test/*.js","lint":"eslint .","lint:fix":"eslint --fix .","test":"npm run lint && npm run test:unit && npm run test:tsd"},"repository":{"type":"git","url":"https://github.com/harrisiirak/cron-parser.git"},"keywords":["cron","crontab","parser"],"author":"Harri Siirak","contributors":["Nicholas Clawson","Daniel Prentis <daniel@salsitasoft.com>","Renault John Lecoultre","Richard Astbury <richard.astbury@gmail.com>","Meaglin Wasabi <Meaglin.wasabi@gmail.com>","Mike Kusold <hello@mikekusold.com>","Alex Kit <alex.kit@atmajs.com>","Santiago Gimeno <santiago.gimeno@gmail.com>","Daniel <darc.tec@gmail.com>","Christian Steininger <christian.steininger.cs@gmail.com>","Mykola Piskovyi <m.piskovyi@gmail.com>","Brian Vaughn <brian.david.vaughn@gmail.com>","Nicholas Clawson <nickclaw@gmail.com>","Yasuhiroki <yasuhiroki.duck@gmail.com>","Nicholas Clawson <nickclaw@gmail.com>","Brendan Warkentin <faazshift@gmail.com>","Charlie Fish <fishcharlie.code@gmail.com>","Ian Graves <ian+diskimage@iangrav.es>","Andy Thompson <me@andytson.com>","Regev Brody <regevbr@gmail.com>"],"license":"MIT","dependencies":{"luxon":"^1.28.0"},"devDependencies":{"eslint":"^8.2.0","sinon":"^10.0.0","tap":"^16.0.1","tsd":"^0.19.0"},"engines":{"node":">=0.8"},"browser":{"fs":false},"tap":{"check-coverage":false},"tsd":{"directory":"test","compilerOptions":{"lib":["es2017","dom"]}},"_lastModified":"2026-07-06T02:56:28.250Z"}
1
+ {"name":"cron-parser","version":"4.4.0","description":"Node.js library for parsing crontab instructions","main":"lib/parser.js","types":"index.d.ts","typesVersions":{"<4.1":{"*":["types/ts3/*"]}},"directories":{"test":"test"},"scripts":{"test:tsd":"tsd","test:unit":"TZ=UTC tap ./test/*.js","test:cover":"TZ=UTC tap --coverage-report=html ./test/*.js","lint":"eslint .","lint:fix":"eslint --fix .","test":"npm run lint && npm run test:unit && npm run test:tsd"},"repository":{"type":"git","url":"https://github.com/harrisiirak/cron-parser.git"},"keywords":["cron","crontab","parser"],"author":"Harri Siirak","contributors":["Nicholas Clawson","Daniel Prentis <daniel@salsitasoft.com>","Renault John Lecoultre","Richard Astbury <richard.astbury@gmail.com>","Meaglin Wasabi <Meaglin.wasabi@gmail.com>","Mike Kusold <hello@mikekusold.com>","Alex Kit <alex.kit@atmajs.com>","Santiago Gimeno <santiago.gimeno@gmail.com>","Daniel <darc.tec@gmail.com>","Christian Steininger <christian.steininger.cs@gmail.com>","Mykola Piskovyi <m.piskovyi@gmail.com>","Brian Vaughn <brian.david.vaughn@gmail.com>","Nicholas Clawson <nickclaw@gmail.com>","Yasuhiroki <yasuhiroki.duck@gmail.com>","Nicholas Clawson <nickclaw@gmail.com>","Brendan Warkentin <faazshift@gmail.com>","Charlie Fish <fishcharlie.code@gmail.com>","Ian Graves <ian+diskimage@iangrav.es>","Andy Thompson <me@andytson.com>","Regev Brody <regevbr@gmail.com>"],"license":"MIT","dependencies":{"luxon":"^1.28.0"},"devDependencies":{"eslint":"^8.2.0","sinon":"^10.0.0","tap":"^16.0.1","tsd":"^0.19.0"},"engines":{"node":">=0.8"},"browser":{"fs":false},"tap":{"check-coverage":false},"tsd":{"directory":"test","compilerOptions":{"lib":["es2017","dom"]}},"_lastModified":"2026-07-30T03:56:41.122Z"}
@@ -1 +1 @@
1
- {"name":"joi","description":"Object schema validation","version":"17.13.3","repository":"git://github.com/hapijs/joi","main":"lib/index.js","types":"lib/index.d.ts","browser":"dist/joi-browser.min.js","files":["lib/**/*","dist/*"],"keywords":["schema","validation"],"dependencies":{"@hapi/hoek":"^9.3.0","@hapi/topo":"^5.1.0","@sideway/address":"^4.1.5","@sideway/formula":"^3.0.1","@sideway/pinpoint":"^2.0.0"},"devDependencies":{"@hapi/bourne":"2.x.x","@hapi/code":"8.x.x","@hapi/joi-legacy-test":"npm:@hapi/joi@15.x.x","@hapi/lab":"^25.1.3","@types/node":"^14.18.63","typescript":"4.3.x"},"scripts":{"prepublishOnly":"cd browser && npm install && npm run build","test":"lab -t 100 -a @hapi/code -L -Y","test-cov-html":"lab -r html -o coverage.html -a @hapi/code"},"license":"BSD-3-Clause","_lastModified":"2026-07-06T02:56:27.974Z"}
1
+ {"name":"joi","description":"Object schema validation","version":"17.13.3","repository":"git://github.com/hapijs/joi","main":"lib/index.js","types":"lib/index.d.ts","browser":"dist/joi-browser.min.js","files":["lib/**/*","dist/*"],"keywords":["schema","validation"],"dependencies":{"@hapi/hoek":"^9.3.0","@hapi/topo":"^5.1.0","@sideway/address":"^4.1.5","@sideway/formula":"^3.0.1","@sideway/pinpoint":"^2.0.0"},"devDependencies":{"@hapi/bourne":"2.x.x","@hapi/code":"8.x.x","@hapi/joi-legacy-test":"npm:@hapi/joi@15.x.x","@hapi/lab":"^25.1.3","@types/node":"^14.18.63","typescript":"4.3.x"},"scripts":{"prepublishOnly":"cd browser && npm install && npm run build","test":"lab -t 100 -a @hapi/code -L -Y","test-cov-html":"lab -r html -o coverage.html -a @hapi/code"},"license":"BSD-3-Clause","_lastModified":"2026-07-30T03:56:40.879Z"}
@@ -1 +1 @@
1
- {"name":"lru-cache","description":"A cache object that deletes the least-recently-used items.","version":"11.3.5","author":"Isaac Z. Schlueter <i@izs.me>","keywords":["mru","lru","cache"],"sideEffects":false,"scripts":{"build":"npm run prepare","prepare":"tshy && bash scripts/build.sh","pretest":"npm run prepare","presnap":"npm run prepare","test":"tap","snap":"tap","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","format":"prettier --write .","typedoc":"typedoc --tsconfig ./.tshy/esm.json ./src/*.ts","benchmark-results-typedoc":"bash scripts/benchmark-results-typedoc.sh","prebenchmark":"npm run prepare","benchmark":"make -C benchmark","preprofile":"npm run prepare","profile":"make -C benchmark profile","lint":"oxlint --fix src test","postsnap":"npm run lint","postlint":"npm run format"},"main":"./dist/commonjs/index.min.js","types":"./dist/commonjs/index.d.ts","tshy":{"esmDialects":["node","browser"],"exports":{"./raw":"./src/index.ts",".":{"import":{"node":{"types":"./dist/esm/node/index.d.ts","default":"./dist/esm/node/index.min.js"},"browser":{"types":"./dist/esm/browser/index.d.ts","default":"./dist/esm/browser/index.min.js"},"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.min.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.min.js"}}},"selfLink":false},"repository":{"type":"git","url":"git+ssh://git@github.com/isaacs/node-lru-cache.git"},"devDependencies":{"benchmark":"^2.1.4","esbuild":"^0.25.9","marked":"^4.2.12","mkdirp":"^3.0.1","oxlint":"^1.58.0","oxlint-tsgolint":"^0.19.0","prettier":"^3.8.1","tap":"^21.6.3","tshy":"^4.1.1","typedoc":"^0.28.18"},"license":"BlueOak-1.0.0","files":["dist"],"engines":{"node":"20 || >=22"},"exports":{"./raw":{"import":{"node":{"types":"./dist/esm/node/index.d.ts","default":"./dist/esm/node/index.js"},"browser":{"types":"./dist/esm/browser/index.d.ts","default":"./dist/esm/browser/index.js"},"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},".":{"import":{"node":{"types":"./dist/esm/node/index.d.ts","default":"./dist/esm/node/index.min.js"},"browser":{"types":"./dist/esm/browser/index.d.ts","default":"./dist/esm/browser/index.min.js"},"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.min.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.min.js"}}},"type":"module","module":"./dist/esm/index.min.js","_lastModified":"2026-07-06T02:56:27.231Z"}
1
+ {"name":"lru-cache","description":"A cache object that deletes the least-recently-used items.","version":"11.3.5","author":"Isaac Z. Schlueter <i@izs.me>","keywords":["mru","lru","cache"],"sideEffects":false,"scripts":{"build":"npm run prepare","prepare":"tshy && bash scripts/build.sh","pretest":"npm run prepare","presnap":"npm run prepare","test":"tap","snap":"tap","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","format":"prettier --write .","typedoc":"typedoc --tsconfig ./.tshy/esm.json ./src/*.ts","benchmark-results-typedoc":"bash scripts/benchmark-results-typedoc.sh","prebenchmark":"npm run prepare","benchmark":"make -C benchmark","preprofile":"npm run prepare","profile":"make -C benchmark profile","lint":"oxlint --fix src test","postsnap":"npm run lint","postlint":"npm run format"},"main":"./dist/commonjs/index.min.js","types":"./dist/commonjs/index.d.ts","tshy":{"esmDialects":["node","browser"],"exports":{"./raw":"./src/index.ts",".":{"import":{"node":{"types":"./dist/esm/node/index.d.ts","default":"./dist/esm/node/index.min.js"},"browser":{"types":"./dist/esm/browser/index.d.ts","default":"./dist/esm/browser/index.min.js"},"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.min.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.min.js"}}},"selfLink":false},"repository":{"type":"git","url":"git+ssh://git@github.com/isaacs/node-lru-cache.git"},"devDependencies":{"benchmark":"^2.1.4","esbuild":"^0.25.9","marked":"^4.2.12","mkdirp":"^3.0.1","oxlint":"^1.58.0","oxlint-tsgolint":"^0.19.0","prettier":"^3.8.1","tap":"^21.6.3","tshy":"^4.1.1","typedoc":"^0.28.18"},"license":"BlueOak-1.0.0","files":["dist"],"engines":{"node":"20 || >=22"},"exports":{"./raw":{"import":{"node":{"types":"./dist/esm/node/index.d.ts","default":"./dist/esm/node/index.js"},"browser":{"types":"./dist/esm/browser/index.d.ts","default":"./dist/esm/browser/index.js"},"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},".":{"import":{"node":{"types":"./dist/esm/node/index.d.ts","default":"./dist/esm/node/index.min.js"},"browser":{"types":"./dist/esm/browser/index.d.ts","default":"./dist/esm/browser/index.min.js"},"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.min.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.min.js"}}},"type":"module","module":"./dist/esm/index.min.js","_lastModified":"2026-07-30T03:56:40.233Z"}
@@ -1 +1 @@
1
- {"name":"nodejs-snowflake","collaborators":["Utkarsh Srivastava <utkarsh@sagacious.dev>"],"description":"Generate time sortable 64 bits unique ids for distributed systems (inspired from twitter snowflake)","version":"2.0.1","license":"Apache 2.0","repository":{"type":"git","url":"https://github.com/utkarsh-pro/nodejs-snowflake.git"},"files":["nodejs_snowflake_bg.wasm","nodejs_snowflake.js","nodejs_snowflake.d.ts"],"main":"nodejs_snowflake.js","types":"nodejs_snowflake.d.ts","_lastModified":"2026-07-06T02:56:27.067Z"}
1
+ {"name":"nodejs-snowflake","collaborators":["Utkarsh Srivastava <utkarsh@sagacious.dev>"],"description":"Generate time sortable 64 bits unique ids for distributed systems (inspired from twitter snowflake)","version":"2.0.1","license":"Apache 2.0","repository":{"type":"git","url":"https://github.com/utkarsh-pro/nodejs-snowflake.git"},"files":["nodejs_snowflake_bg.wasm","nodejs_snowflake.js","nodejs_snowflake.d.ts"],"main":"nodejs_snowflake.js","types":"nodejs_snowflake.d.ts","_lastModified":"2026-07-30T03:56:40.062Z"}
@@ -9,14 +9,21 @@
9
9
  import { Transactionable } from 'sequelize';
10
10
  import type { QueueEventOptions } from '@nocobase/server';
11
11
  import Processor, { ProcessorRerunOptions } from './Processor';
12
- import type { ExecutionModel, JobModel, WorkflowModel } from './types';
12
+ import type { WorkflowModel } from './types';
13
13
  import type PluginWorkflowServer from './Plugin';
14
- type Pending = {
15
- execution: ExecutionModel;
16
- job?: JobModel;
17
- immediate?: boolean;
18
- rerun?: ProcessorRerunOptions;
19
- dispatchAttempts?: number;
14
+ type ID = number | string;
15
+ type WorkflowQueueTask = {
16
+ executionId: ID;
17
+ jobId?: never;
18
+ rerun?: never;
19
+ } | {
20
+ executionId: ID;
21
+ jobId: ID;
22
+ rerun?: never;
23
+ } | {
24
+ executionId: ID;
25
+ jobId?: never;
26
+ rerun: ProcessorRerunOptions;
20
27
  };
21
28
  export type EventOptions = {
22
29
  eventKey?: string;
@@ -26,31 +33,36 @@ export type EventOptions = {
26
33
  force?: boolean;
27
34
  stack?: Array<number | string>;
28
35
  parentExecutionId?: number | string;
29
- onTriggerFail?: Function;
36
+ onTriggerFail?: (workflow: WorkflowModel, context: object, options: EventOptions, error?: unknown) => void | Promise<void>;
30
37
  [key: string]: any;
31
38
  } & Transactionable;
32
39
  export default class Dispatcher {
33
40
  private readonly plugin;
34
41
  private ready;
35
42
  private executing;
43
+ private recovering;
36
44
  private saving;
37
- private pending;
38
45
  private events;
39
46
  private eventsCount;
40
47
  get idle(): boolean;
41
48
  constructor(plugin: PluginWorkflowServer);
42
- readonly onQueueExecution: QueueEventOptions['process'];
49
+ readonly onQueueTask: QueueEventOptions['process'];
43
50
  setReady(ready: boolean): void;
44
51
  getEventsCount(): number;
45
- trigger(workflow: WorkflowModel, context: object, options?: EventOptions): void | Promise<Processor | null>;
52
+ trigger(workflow: WorkflowModel, context: object, options?: EventOptions): void | Promise<Processor | null | void>;
46
53
  private saveEvent;
47
- resume(job: JobModel): Promise<void>;
48
- start(execution: ExecutionModel): Promise<void>;
49
54
  beforeStop(): Promise<void>;
50
- dispatch(): void;
51
- run(pending: Pending): Promise<void>;
55
+ recover(options?: {
56
+ gracePeriod?: number;
57
+ }): Promise<void>;
58
+ private recoverQueueTasks;
59
+ enqueue(task: WorkflowQueueTask): Promise<void>;
60
+ private loadJob;
61
+ private findQueueingExecutions;
62
+ private resolveTask;
52
63
  private triggerSync;
53
64
  private validateEvent;
65
+ private handleTriggerFail;
54
66
  private createExecution;
55
67
  private prepare;
56
68
  private acquireExecution;