@nocobase/plugin-workflow 2.2.0-alpha.1 → 2.2.0-alpha.10

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 (264) 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.6c6409d821d8c353.js +10 -0
  11. package/dist/client/509.88792f5bd054b2af.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.56a3d15a55ab7d5c.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.6880ab21513b1968.js +10 -0
  23. package/dist/client/87.083467b89aaf3e53.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/Branch.d.ts +1 -1
  29. package/dist/client/BranchContext.d.ts +2 -10
  30. package/dist/client/FlowContext.d.ts +10 -5
  31. package/dist/client/NodeClipboardContext.d.ts +12 -2
  32. package/dist/client/NodeDragContext.d.ts +14 -2
  33. package/dist/client/RemoveNodeContext.d.ts +16 -2
  34. package/dist/client/index.d.ts +1 -1
  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 -26
  48. package/dist/client/triggers/collection.d.ts +3 -154
  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.5e61d648d16dbf1b.js +10 -0
  61. package/dist/client-v2/394.515ed058e7f72797.js +10 -0
  62. package/dist/client-v2/438.b7df0416b66f8f64.js +10 -0
  63. package/dist/client-v2/513.617697f74783a611.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.7382807126d9621a.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/locale.d.ts +41 -0
  146. package/dist/{client → client-v2}/models/NodeDetailsGridModel.d.ts +1 -1
  147. package/dist/{client → client-v2}/models/NodeDetailsModel.d.ts +1 -1
  148. package/dist/{client → client-v2}/models/NodeValueModel.d.ts +1 -1
  149. package/dist/{client → client-v2}/models/TaskCardCommonItemModel.d.ts +1 -1
  150. package/dist/client-v2/models/WorkflowTasksTopbarActionModel.d.ts +18 -0
  151. package/dist/{client → client-v2}/models/index.d.ts +2 -0
  152. package/dist/client-v2/models/triggerWorkflows.d.ts +43 -0
  153. package/dist/client-v2/nodes/calculation.d.ts +38 -0
  154. package/dist/client-v2/nodes/collectionNode.d.ts +29 -0
  155. package/dist/client-v2/nodes/components/calculation.d.ts +11 -0
  156. package/dist/client-v2/nodes/components/collection.d.ts +15 -0
  157. package/dist/client-v2/nodes/components/condition.d.ts +25 -0
  158. package/dist/client-v2/nodes/components/conditionShared.d.ts +20 -0
  159. package/dist/client-v2/nodes/components/create.d.ts +12 -0
  160. package/dist/client-v2/nodes/components/destroy.d.ts +12 -0
  161. package/dist/{client/triggers/schedule/ScheduleConfig.d.ts → client-v2/nodes/components/end.d.ts} +1 -1
  162. package/dist/client-v2/nodes/components/filter.d.ts +17 -0
  163. package/dist/client-v2/nodes/components/multi-conditions.d.ts +13 -0
  164. package/dist/client-v2/nodes/components/multiConditionsShared.d.ts +20 -0
  165. package/dist/client-v2/nodes/components/output.d.ts +10 -0
  166. package/dist/client-v2/nodes/components/query.d.ts +12 -0
  167. package/dist/client-v2/nodes/components/update.d.ts +12 -0
  168. package/dist/client-v2/nodes/condition.d.ts +46 -0
  169. package/dist/client-v2/nodes/create.d.ts +30 -0
  170. package/dist/client-v2/nodes/destroy.d.ts +24 -0
  171. package/dist/client-v2/nodes/end.d.ts +21 -0
  172. package/dist/client-v2/nodes/multi-conditions.d.ts +34 -0
  173. package/dist/client-v2/nodes/output.d.ts +29 -0
  174. package/dist/client-v2/nodes/query.d.ts +32 -0
  175. package/dist/client-v2/nodes/update.d.ts +25 -0
  176. package/dist/client-v2/pages/ExecutionHistoryDrawer.d.ts +13 -0
  177. package/dist/client-v2/pages/ExecutionViewPage.d.ts +10 -0
  178. package/dist/client-v2/pages/WorkflowCanvasPage.d.ts +10 -0
  179. package/dist/client-v2/pages/WorkflowCategoryTabs.d.ts +25 -0
  180. package/dist/client-v2/pages/WorkflowFormDrawer.d.ts +40 -0
  181. package/dist/client-v2/pages/WorkflowPane.d.ts +10 -0
  182. package/dist/client-v2/pages/WorkflowTasksPage.d.ts +10 -0
  183. package/dist/client-v2/plugin.d.ts +119 -0
  184. package/dist/client-v2/taskCenter.d.ts +105 -0
  185. package/dist/client-v2/triggers/ExecuteWorkflowButton.d.ts +35 -0
  186. package/dist/client-v2/triggers/TriggerConfig.d.ts +22 -0
  187. package/dist/client-v2/triggers/TriggerExecutionButton.d.ts +13 -0
  188. package/dist/client-v2/triggers/collection/CollectionConfig.d.ts +14 -0
  189. package/dist/client-v2/triggers/collection/TriggerCollectionConfig.d.ts +11 -0
  190. package/dist/client-v2/triggers/collection/constants.d.ts +28 -0
  191. package/dist/client-v2/triggers/collection/index.d.ts +40 -0
  192. package/dist/client-v2/triggers/index.d.ts +63 -0
  193. package/dist/client-v2/triggers/schedule/EndsByField.d.ts +17 -0
  194. package/dist/client-v2/triggers/schedule/OnField.d.ts +20 -0
  195. package/dist/client-v2/triggers/schedule/RepeatField.d.ts +23 -0
  196. package/dist/client-v2/triggers/schedule/ScheduleConfig.d.ts +17 -0
  197. package/dist/client-v2/triggers/schedule/ScheduleModes.d.ts +41 -0
  198. package/dist/{client → client-v2}/triggers/schedule/TriggerScheduleConfig.d.ts +1 -0
  199. package/dist/{client → client-v2}/triggers/schedule/constants.d.ts +8 -5
  200. package/dist/client-v2/triggers/schedule/index.d.ts +40 -0
  201. package/dist/client-v2/triggers/schedule/locale/Cron.zh-CN.d.ts +11 -0
  202. package/dist/client-v2/utils/contextSingleton.d.ts +9 -0
  203. package/dist/common/collections/workflows.d.ts +16 -0
  204. package/dist/common/collections/workflows.js +5 -0
  205. package/dist/common/defaultWorkflowFilter.d.ts +21 -0
  206. package/dist/common/defaultWorkflowFilter.js +38 -0
  207. package/dist/common/executionStatus.d.ts +44 -0
  208. package/dist/common/executionStatus.js +133 -0
  209. package/dist/externalVersion.js +16 -12
  210. package/dist/locale/de-DE.json +16 -1
  211. package/dist/locale/en-US.json +31 -2
  212. package/dist/locale/es-ES.json +16 -1
  213. package/dist/locale/fr-FR.json +16 -1
  214. package/dist/locale/hu-HU.json +16 -1
  215. package/dist/locale/id-ID.json +16 -1
  216. package/dist/locale/it-IT.json +16 -1
  217. package/dist/locale/ja-JP.json +16 -1
  218. package/dist/locale/ko-KR.json +16 -1
  219. package/dist/locale/nl-NL.json +16 -1
  220. package/dist/locale/pt-BR.json +16 -1
  221. package/dist/locale/ru-RU.json +16 -1
  222. package/dist/locale/tr-TR.json +16 -1
  223. package/dist/locale/uk-UA.json +16 -1
  224. package/dist/locale/vi-VN.json +16 -1
  225. package/dist/locale/zh-CN.json +30 -2
  226. package/dist/locale/zh-TW.json +22 -1
  227. package/dist/node_modules/cron-parser/package.json +1 -1
  228. package/dist/node_modules/joi/package.json +1 -1
  229. package/dist/node_modules/lru-cache/package.json +1 -1
  230. package/dist/node_modules/nodejs-snowflake/package.json +1 -1
  231. package/dist/server/Dispatcher.d.ts +27 -14
  232. package/dist/server/Dispatcher.js +208 -154
  233. package/dist/server/ExecutionTimeoutManager.js +4 -3
  234. package/dist/server/Plugin.d.ts +17 -8
  235. package/dist/server/Plugin.js +58 -13
  236. package/dist/server/Processor.d.ts +17 -7
  237. package/dist/server/Processor.js +112 -0
  238. package/dist/server/actions/executions.js +3 -6
  239. package/dist/server/actions/jobs.js +1 -2
  240. package/dist/server/actions/nodes.js +36 -1
  241. package/dist/server/actions/workflows.d.ts +1 -0
  242. package/dist/server/actions/workflows.js +17 -2
  243. package/dist/server/index.d.ts +1 -1
  244. package/dist/server/instructions/CreateInstruction.js +6 -2
  245. package/dist/server/instructions/DestroyInstruction.js +2 -1
  246. package/dist/server/instructions/QueryInstruction.js +2 -1
  247. package/dist/server/instructions/UpdateInstruction.js +2 -1
  248. package/dist/server/triggers/CollectionTrigger.d.ts +6 -1
  249. package/dist/server/triggers/CollectionTrigger.js +29 -1
  250. package/dist/server/triggers/ScheduleTrigger/StaticScheduleTrigger.d.ts +1 -1
  251. package/dist/server/triggers/index.d.ts +1 -1
  252. package/dist/server/types/Execution.d.ts +2 -0
  253. package/dist/server/types/Job.d.ts +5 -0
  254. package/dist/server/types/Workflow.d.ts +1 -0
  255. package/dist/server/utils.d.ts +2 -1
  256. package/dist/server/utils.js +46 -28
  257. package/dist/swagger/index.d.ts +1 -0
  258. package/dist/swagger/index.js +4 -2
  259. package/package.json +4 -2
  260. package/dist/client/618.19af7f84261c815d.js +0 -10
  261. package/dist/client/67.452743ce8ec30617.js +0 -10
  262. package/dist/client/964.ffbf5b47ed12bbdc.js +0 -10
  263. package/dist/client/triggers/schedule/ScheduleModes.d.ts +0 -170
  264. 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": "Yürütme Geçmişi",
105
+ "Version ID": "Sürüm Kimliği",
106
+ "Parent execution ID": "Üst yürütme kimliği",
107
+ "Triggered manually": "Elle tetiklendi",
105
108
  "Timeout settings": "Zaman aşımı ayarları",
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 sınırsız anlamına gelir. Başka herhangi bir değer ayarlanırsa ve zaman aşımına ulaşıldığında yürütme hâlâ tamamlanmamışsa, yürütme planı sonlandırılır ve kalan düğümler çalıştırılmaz. Kuyrukta bekleme süresi hesaba katılmaz; süre sayımı yalnızca ilk kez bir işlemciye girdikten sonra başlar.",
107
110
  "Exit when query result is null": "Exit when query result is null",
@@ -202,6 +205,7 @@
202
205
  "Syntax references: ": "Syntax references: ",
203
206
  "System time": "System time",
204
207
  "System variables": "System variables",
208
+ "System process failed, please contact administrator.": "Sistem işlemi başarısız oldu, yöneticiyle iletişime geçin.",
205
209
  "Task type {{type}} is invalid": "Task type {{type}} is invalid",
206
210
  "Test run": "Test run",
207
211
  "Test run will do the actual data manipulating or API calling, please use with caution.": "Test run will do the actual data manipulating or API calling, please use with caution.",
@@ -250,7 +254,9 @@
250
254
  "When no condition matches": "When no condition matches",
251
255
  "Will be executed in the background as a queued task.": "Will be executed in the background as a queued task.",
252
256
  "Workflow": "İş Akışı",
257
+ "Workflow not executed": "İş akışı yürütülmedi",
253
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.": "Geçerli istek tetikleme gereksinimlerini karşılamadığı için iş akışı tetiklenmedi.",
254
260
  "Workflow of execution is not existed": "Workflow of execution is not existed",
255
261
  "Workflow tasks": "Workflow tasks",
256
262
  "Workflow todos": "Workflow todos",
@@ -265,5 +271,14 @@
265
271
  "Impacted dependent node variables": "Mevcut düğüm değişkenlerine başvuran düğümler",
266
272
  "Keep variable references": "Değişken başvurularını koru",
267
273
  "Keeping variable references requires manual adjustment, otherwise workflow may fail.": "Değişken başvurularını korumak manuel ayar gerektirir; aksi halde iş akışı başarısız olabilir.",
268
- "Failed to update node variables": "Düğüm değişkenleri güncellenemedi"
274
+ "Failed to update node variables": "Düğüm değişkenleri güncellenemedi",
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"
269
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": "Налаштування тайм-ауту",
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",
@@ -202,6 +205,7 @@
202
205
  "Syntax references: ": "Syntax references: ",
203
206
  "System time": "System time",
204
207
  "System variables": "System variables",
208
+ "System process failed, please contact administrator.": "Системний процес завершився з помилкою, зверніться до адміністратора.",
205
209
  "Task type {{type}} is invalid": "Task type {{type}} is invalid",
206
210
  "Test run": "Test run",
207
211
  "Test run will do the actual data manipulating or API calling, please use with caution.": "Test run will do the actual data manipulating or API calling, please use with caution.",
@@ -250,7 +254,9 @@
250
254
  "When no condition matches": "When no condition matches",
251
255
  "Will be executed in the background as a queued task.": "Will be executed in the background as a queued task.",
252
256
  "Workflow": "Workflow",
257
+ "Workflow not executed": "Робочий процес не виконано",
253
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.": "Робочий процес не було запущено, оскільки поточний запит не відповідає вимогам тригера.",
254
260
  "Workflow of execution is not existed": "Workflow of execution is not existed",
255
261
  "Workflow tasks": "Workflow tasks",
256
262
  "Workflow todos": "Workflow todos",
@@ -265,5 +271,14 @@
265
271
  "Impacted dependent node variables": "Вузли, які посилаються на змінні поточного вузла",
266
272
  "Keep variable references": "Зберегти посилання на змінні",
267
273
  "Keeping variable references requires manual adjustment, otherwise workflow may fail.": "Збереження посилань на змінні потребує ручного налаштування, інакше робочий процес може завершитися помилкою.",
268
- "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"
269
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",
@@ -202,6 +205,7 @@
202
205
  "Syntax references: ": "Syntax references: ",
203
206
  "System time": "System time",
204
207
  "System variables": "System variables",
208
+ "System process failed, please contact administrator.": "Quy trình hệ thống thất bại, vui lòng liên hệ quản trị viên.",
205
209
  "Task type {{type}} is invalid": "Task type {{type}} is invalid",
206
210
  "Test run": "Test run",
207
211
  "Test run will do the actual data manipulating or API calling, please use with caution.": "Test run will do the actual data manipulating or API calling, please use with caution.",
@@ -250,7 +254,9 @@
250
254
  "When no condition matches": "When no condition matches",
251
255
  "Will be executed in the background as a queued task.": "Will be executed in the background as a queued task.",
252
256
  "Workflow": "Workflow",
257
+ "Workflow not executed": "Quy trình làm việc chưa được thực thi",
253
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.",
254
260
  "Workflow is not exists": "Workflow is not exists",
255
261
  "Workflow tasks": "Workflow tasks",
256
262
  "Workflow todos": "Workflow todos",
@@ -266,5 +272,14 @@
266
272
  "Impacted dependent node variables": "Các nút tham chiếu đến biến của nút hiện tại",
267
273
  "Keep variable references": "Giữ tham chiếu biến",
268
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.",
269
- "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"
270
285
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "53 bit (JavaScript safe) unique ID generated by Snowflake algorithm. Will always generate new one each time use this variable.": "53 位长度(JavaScript 安全)雪花算法唯一 ID,每次使用该变量都会生成一个新的 ID。",
3
- "53-bit Snowflake ID doc link": "https://v2.docs.nocobase.com/cn/data-sources/data-modeling/collection-fields/advanced/snowflake-id",
3
+ "53-bit Snowflake ID doc link": "https://docs.nocobase.com/cn/data-sources/data-modeling/collection-fields/advanced/snowflake-id",
4
4
  "\"Submit to workflow\" to \"Post-action event\" is deprecated, please use \"Custom action event\" instead.": "“提交至工作流”到“操作后事件”的方式已被弃用,请使用“自定义操作事件”代替。",
5
5
  "\"{{branchName}}\" branch": "“{{branchName}}”分支",
6
6
  "A new version will be created automatically after execution if current version is not executed.": "如果当前版本还未执行过,将在执行后自动创建一个新版本。",
@@ -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": "添加工作流",
@@ -120,6 +121,8 @@
120
121
  "Failed to satisfy node configurations.": "未满足节点配置造成的失败。",
121
122
  "False": "假",
122
123
  "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.",
124
+ "Fields values": "字段值",
125
+ "Failed to save trigger": "保存触发器失败",
123
126
  "First condition": "第一个条件",
124
127
  "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
128
  "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.": "从左到右,基于配置的条件,依次尝试每个分支。只有满足条件的分支才会被执行,否则尝试下一个分支。如果没有任何分支满足条件,可以根据配置选择退出流程或继续下一个节点。",
@@ -159,6 +162,7 @@
159
162
  "No workflow tasks available. Please contact the administrator.": "没有可用的工作流待办,请联系管理员。",
160
163
  "Node in executed workflow cannot be modified": "Node in executed workflow cannot be modified",
161
164
  "Node result": "节点数据",
165
+ "Node title": "节点标题",
162
166
  "Node type": "节点类型",
163
167
  "Node with unknown type will cause error. Please delete it or check plugin which provide this type.": "未知类型的节点会导致错误,请删除或检查提供该类型的插件。",
164
168
  "Null": "Null",
@@ -173,6 +177,7 @@
173
177
  "Otherwise": "否则",
174
178
  "Output": "流程输出",
175
179
  "Output value": "结果值",
180
+ "Parent execution ID": "父执行 ID",
176
181
  "Pending": "待处理",
177
182
  "Please add at least one condition": "请添加至少一个条件",
178
183
  "Please select collection first": "请先选择数据表",
@@ -196,6 +201,7 @@
196
201
  "Scope variables": "局域变量",
197
202
  "Seconds": "秒",
198
203
  "Select context": "选择上下文",
204
+ "Select field": "选择字段",
199
205
  "Select users": "选择用户",
200
206
  "Select workflow": "选择工作流",
201
207
  "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 员工工作流中使用此节点,来定义输出内容。如果多次添加此节点,则以最后一个被执行的节点的值为准。",
@@ -212,8 +218,12 @@
212
218
  "Support pre-action event (local mode), post-action event (local mode), and approval event here.": "此处支持“操作前事件(局部模式)”、“操作后事件(局部模式)”、“审批事件”。",
213
219
  "Sync": "同步",
214
220
  "Sync enabled status of all workflows from database": "从数据库同步所有工作流的启用状态",
221
+ "Synchronous collection event workflows run within the trigger transaction by default. Related data operations automatically use this transaction.": "同步的数据表事件工作流默认包含在触发器事务之内,相关的数据处理会自动应用该事务。",
222
+ "Rollback when workflow execution fails": "流程执行失败时回滚",
223
+ "Only available in synchronous mode. When enabled, if the workflow execution ends with a failed status, the data operation that triggered it will fail and be rolled back.": "仅在同步模式下可用。启用后,如果流程执行以失败状态结束,触发该流程的数据操作也会失败并回滚。",
215
224
  "Synchronously": "同步",
216
225
  "Syntax references: ": "语法参考:",
226
+ "System process failed, please contact administrator.": "系统处理失败,请联系管理员。",
217
227
  "System time": "系统时间",
218
228
  "System variables": "系统变量",
219
229
  "Generate snowflake ID": "生成雪花 ID",
@@ -232,6 +242,10 @@
232
242
  "This is a main version, delete it will cause the whole workflow to be deleted (including all other revisions).": "当前是主版本,删除将导致整个流程被删除(包括所有其他版本)。",
233
243
  "This node contains branches, deleting will also be preformed to them, are you sure?": "节点包含分支,将同时删除其所有分支下的子节点,确定继续?",
234
244
  "This type of node can not be used in current type of workflow or execute mode.": "该类型的节点在当前类型的工作流或执行模式中不可用。",
245
+ "This node type is not available in the new canvas yet.": "该节点类型尚未在新画布中支持。",
246
+ "This node's configuration has not been migrated to the new canvas yet.": "该节点的配置尚未迁移到新画布。",
247
+ "This trigger type is not available in the new canvas yet.": "该触发器类型尚未在新画布中支持。",
248
+ "This trigger's configuration has not been migrated to the new canvas yet.": "该触发器的配置尚未迁移到新画布。",
235
249
  "This type of trigger has not been supported to be executed manually.": "该类型的触发器暂未支持手动执行。",
236
250
  "This will perform all the actions configured in the workflow. Are you sure you want to continue?": "将按照工作流中配置的所有操作执行,确定继续吗?",
237
251
  "Trigger": "触发器",
@@ -241,6 +255,7 @@
241
255
  "Trigger in executed workflow cannot be modified": "已执行的工作流中的触发器无法修改",
242
256
  "Trigger mode": "触发模式",
243
257
  "Trigger on": "触发时机",
258
+ "Trigger title": "触发器标题",
244
259
  "Trigger time": "触发时间",
245
260
  "Trigger type": "触发方式",
246
261
  "Trigger variables": "触发器变量",
@@ -248,6 +263,7 @@
248
263
  "Triggered according to preset time conditions. Suitable for one-time or periodic tasks, such as sending notifications and cleaning data on a schedule.": "按预设的时间条件定时触发。适用于一次性或周期性的任务,如定时发送通知、清理数据等。",
249
264
  "Triggered at": "触发时间",
250
265
  "Triggered but still waiting in queue to execute.": "已触发但仍在队列中等待执行。",
266
+ "Triggered manually": "手动触发",
251
267
  "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.": "只有被选中的某个字段发生变动时才会触发。如果不选择,则表示任何字段变动时都会触发。新增数据时,任意字段都被认为发生变动。",
252
268
  "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 请求,除非你明白确切含义,否则推荐使用“操作后事件”。",
253
269
  "True": "真",
@@ -259,17 +275,24 @@
259
275
  "Update in a batch": "批量更新",
260
276
  "Update mode": "更新模式",
261
277
  "Update one by one": "逐条更新",
278
+ "Unsupported node": "暂不支持的节点",
262
279
  "Update record": "更新数据",
263
280
  "Update records of a collection. You can use variables from upstream nodes as query conditions and field values.": "更新一个数据表中的数据。可以使用上游节点里的变量作为查询条件和数据值。",
264
281
  "Use transaction": "启用事务",
265
282
  "Variable key of node": "节点变量标识",
266
283
  "Version": "版本",
284
+ "Version ID": "版本 ID",
267
285
  "View result": "查看结果",
268
286
  "Weeks": "周",
269
287
  "When no condition matches": "未满足任何条件时",
270
288
  "Will be executed in the background as a queued task.": "将作为队列任务在后台执行。",
271
289
  "Workflow": "工作流",
290
+ "This workflow has configuration issues and may not work properly.": "该工作流配置存在问题,可能无法正常使用",
291
+ "Workflow title": "工作流名称",
292
+ "Workflow canvas editor is being migrated to the new UI.": "工作流画布编辑器正在迁移到新版界面。",
293
+ "Workflow not executed": "工作流未执行",
272
294
  "Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "工作流已执行,结果状态为 <1>{{statusText}}</1><2>查看执行详情</2>",
295
+ "Workflow was not triggered because the current request did not meet the trigger requirements.": "当前请求未满足触发要求,工作流未触发。",
273
296
  "Workflow of execution is not existed": "执行计划对应的工作流不存在",
274
297
  "Workflow tasks": "流程待办",
275
298
  "Workflow todos": "流程待办",
@@ -277,6 +300,10 @@
277
300
  "Workflow will be triggered directly once the button clicked, without data saving. Only supports to be bound with \"Custom action event\".": "按钮点击后直接触发工作流,但不会保存数据。仅支持绑定“自定义操作事件”。",
278
301
  "Workflow with unknown type will cause error. Please delete it or check plugin which provide this type.": "未知类型的工作流会导致错误,请删除或检查提供该类型的插件。",
279
302
  "Yes": "是",
303
+ "Failed to add node": "添加节点失败",
304
+ "Failed to delete node": "删除节点失败",
305
+ "Failed to run": "执行失败",
306
+ "Failed to save node": "保存节点失败",
280
307
  "Failed to move node": "节点移动失败",
281
308
  "Confirm move": "确认移动",
282
309
  "Moving this node may remove variable references.": "移动该节点可能会移除变量引用。",
@@ -292,5 +319,6 @@
292
319
  "Click a paste button to place": "点击粘贴按钮放置",
293
320
  "Confirm paste": "确认粘贴",
294
321
  "This action will remove invalid variable references, otherwise the workflow cannot run correctly.": "该操作将移除无效的变量引用,否则工作流将无法正确执行。",
295
- "Failed to paste node": "粘贴节点失败"
322
+ "Failed to paste node": "粘贴节点失败",
323
+ "Available in the classic UI for now": "暂时仅在旧版界面中可用"
296
324
  }
@@ -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",
@@ -202,6 +207,7 @@
202
207
  "Syntax references: ": "Syntax references: ",
203
208
  "System time": "System time",
204
209
  "System variables": "System variables",
210
+ "System process failed, please contact administrator.": "系統處理失敗,請聯絡管理員。",
205
211
  "Task type {{type}} is invalid": "Task type {{type}} is invalid",
206
212
  "Test run": "Test run",
207
213
  "Test run will do the actual data manipulating or API calling, please use with caution.": "Test run will do the actual data manipulating or API calling, please use with caution.",
@@ -250,7 +256,10 @@
250
256
  "When no condition matches": "When no condition matches",
251
257
  "Will be executed in the background as a queued task.": "Will be executed in the background as a queued task.",
252
258
  "Workflow": "Workflow",
259
+ "Workflow title": "工作流名稱",
260
+ "Workflow not executed": "工作流未執行",
253
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.": "目前請求未滿足觸發要求,工作流未觸發。",
254
263
  "Workflow of execution is not existed": "Workflow of execution is not existed",
255
264
  "Workflow tasks": "Workflow tasks",
256
265
  "Workflow todos": "Workflow todos",
@@ -265,5 +274,17 @@
265
274
  "Impacted dependent node variables": "引用目前節點變數的節點",
266
275
  "Keep variable references": "保留變數引用",
267
276
  "Keeping variable references requires manual adjustment, otherwise workflow may fail.": "已保留變數引用,請手動調整,否則工作流執行可能出錯。",
268
- "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"
269
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-06-10T18:13:06.366Z"}
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-28T04:40:52.920Z"}
@@ -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-06-10T18:13:06.096Z"}
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-28T04:40:52.644Z"}
@@ -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-06-10T18:13:05.361Z"}
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-28T04:40:51.898Z"}
@@ -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-06-10T18:13:05.205Z"}
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-28T04:40:51.738Z"}
@@ -9,13 +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;
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;
19
27
  };
20
28
  export type EventOptions = {
21
29
  eventKey?: string;
@@ -25,31 +33,36 @@ export type EventOptions = {
25
33
  force?: boolean;
26
34
  stack?: Array<number | string>;
27
35
  parentExecutionId?: number | string;
28
- onTriggerFail?: Function;
36
+ onTriggerFail?: (workflow: WorkflowModel, context: object, options: EventOptions, error?: unknown) => void | Promise<void>;
29
37
  [key: string]: any;
30
38
  } & Transactionable;
31
39
  export default class Dispatcher {
32
40
  private readonly plugin;
33
41
  private ready;
34
42
  private executing;
43
+ private recovering;
35
44
  private saving;
36
- private pending;
37
45
  private events;
38
46
  private eventsCount;
39
47
  get idle(): boolean;
40
48
  constructor(plugin: PluginWorkflowServer);
41
- readonly onQueueExecution: QueueEventOptions['process'];
49
+ readonly onQueueTask: QueueEventOptions['process'];
42
50
  setReady(ready: boolean): void;
43
51
  getEventsCount(): number;
44
- trigger(workflow: WorkflowModel, context: object, options?: EventOptions): void | Promise<Processor | null>;
52
+ trigger(workflow: WorkflowModel, context: object, options?: EventOptions): void | Promise<Processor | null | void>;
45
53
  private saveEvent;
46
- resume(job: JobModel): Promise<void>;
47
- start(execution: ExecutionModel): Promise<void>;
48
54
  beforeStop(): Promise<void>;
49
- dispatch(): void;
50
- 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;
51
63
  private triggerSync;
52
64
  private validateEvent;
65
+ private handleTriggerFail;
53
66
  private createExecution;
54
67
  private prepare;
55
68
  private acquireExecution;