@nocobase/plugin-workflow 2.0.0-alpha.56 → 2.0.0-alpha.58
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.
- package/dist/client/WorkflowTasks.d.ts +1 -0
- package/dist/client/index.js +1 -1
- package/dist/client/variable.d.ts +1 -1
- package/dist/externalVersion.js +11 -11
- package/dist/locale/de-DE.json +2 -2
- package/dist/locale/en-US.json +5 -2
- package/dist/locale/es-ES.json +2 -2
- package/dist/locale/fr-FR.json +2 -2
- package/dist/locale/it-IT.json +2 -2
- package/dist/locale/ja-JP.json +2 -2
- package/dist/locale/ko-KR.json +2 -3
- package/dist/locale/nl-NL.json +2 -2
- package/dist/locale/pt-BR.json +2 -2
- package/dist/locale/ru-RU.json +2 -2
- package/dist/locale/tr-TR.json +2 -2
- package/dist/locale/uk-UA.json +2 -2
- package/dist/locale/zh-CN.json +8 -2
- package/dist/locale/zh-TW.json +2 -2
- package/dist/node_modules/cron-parser/package.json +1 -1
- package/dist/node_modules/lru-cache/package.json +1 -1
- package/dist/node_modules/nodejs-snowflake/package.json +1 -1
- package/dist/server/Plugin.js +3 -0
- package/dist/server/instructions/index.d.ts +3 -1
- package/dist/server/repositories/WorkflowRepository.js +5 -2
- package/dist/server/triggers/index.d.ts +3 -1
- package/package.json +2 -2
package/dist/externalVersion.js
CHANGED
|
@@ -11,8 +11,8 @@ module.exports = {
|
|
|
11
11
|
"react": "18.2.0",
|
|
12
12
|
"@formily/core": "2.3.7",
|
|
13
13
|
"@formily/react": "2.3.7",
|
|
14
|
-
"@nocobase/client": "2.0.0-alpha.
|
|
15
|
-
"@nocobase/utils": "2.0.0-alpha.
|
|
14
|
+
"@nocobase/client": "2.0.0-alpha.58",
|
|
15
|
+
"@nocobase/utils": "2.0.0-alpha.58",
|
|
16
16
|
"antd": "5.24.2",
|
|
17
17
|
"@ant-design/icons": "5.6.1",
|
|
18
18
|
"react-router-dom": "6.30.1",
|
|
@@ -20,17 +20,17 @@ module.exports = {
|
|
|
20
20
|
"lodash": "4.17.21",
|
|
21
21
|
"@dnd-kit/core": "6.1.0",
|
|
22
22
|
"@formily/shared": "2.3.7",
|
|
23
|
-
"@nocobase/plugin-mobile": "2.0.0-alpha.
|
|
23
|
+
"@nocobase/plugin-mobile": "2.0.0-alpha.58",
|
|
24
24
|
"sequelize": "6.35.2",
|
|
25
|
-
"@nocobase/server": "2.0.0-alpha.
|
|
26
|
-
"@nocobase/database": "2.0.0-alpha.
|
|
27
|
-
"@nocobase/data-source-manager": "2.0.0-alpha.
|
|
28
|
-
"@nocobase/logger": "2.0.0-alpha.
|
|
29
|
-
"@nocobase/evaluators": "2.0.0-alpha.
|
|
25
|
+
"@nocobase/server": "2.0.0-alpha.58",
|
|
26
|
+
"@nocobase/database": "2.0.0-alpha.58",
|
|
27
|
+
"@nocobase/data-source-manager": "2.0.0-alpha.58",
|
|
28
|
+
"@nocobase/logger": "2.0.0-alpha.58",
|
|
29
|
+
"@nocobase/evaluators": "2.0.0-alpha.58",
|
|
30
30
|
"@formily/antd-v5": "1.2.3",
|
|
31
31
|
"@formily/reactive": "2.3.7",
|
|
32
|
-
"@nocobase/actions": "2.0.0-alpha.
|
|
32
|
+
"@nocobase/actions": "2.0.0-alpha.58",
|
|
33
33
|
"dayjs": "1.11.13",
|
|
34
|
-
"@nocobase/plugin-workflow-test": "2.0.0-alpha.
|
|
35
|
-
"@nocobase/test": "2.0.0-alpha.
|
|
34
|
+
"@nocobase/plugin-workflow-test": "2.0.0-alpha.58",
|
|
35
|
+
"@nocobase/test": "2.0.0-alpha.58"
|
|
36
36
|
};
|
package/dist/locale/de-DE.json
CHANGED
|
@@ -226,7 +226,7 @@
|
|
|
226
226
|
"Triggered according to preset time conditions. Suitable for one-time or periodic tasks, such as sending notifications and cleaning data on a schedule.": "Wird gemäß voreingestellten Zeitbedingungen ausgelöst. Geeignet für einmalige oder periodische Aufgaben, wie das Senden von Benachrichtigungen und das Bereinigen von Daten nach Zeitplan.",
|
|
227
227
|
"Triggered at": "Ausgelöst am",
|
|
228
228
|
"Triggered but still waiting in queue to execute.": "Ausgelöst, aber wartet noch in der Warteschlange auf Ausführung.",
|
|
229
|
-
"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
|
|
229
|
+
"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.": "Wird nur ausgelöst, wenn eines der ausgewählten Felder geändert wird. Wenn nicht ausgewählt, bedeutet dies, dass es ausgelöst wird, wenn ein beliebiges Feld geändert wird. Wenn ein Datensatz hinzugefügt oder gelöscht wird, gilt jedes Feld als geändert.",
|
|
230
230
|
"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\".": "Wird ausgelöst, wenn sich Daten in der Sammlung ändern, z.B. nach dem Hinzufügen, Aktualisieren oder Löschen eines Datensatzes. Im Gegensatz zum \"Ereignis nach Aktion\" überwacht das Sammlungsereignis Datenänderungen und nicht HTTP-Anfragen. Wenn Sie die genaue Bedeutung nicht verstehen, wird empfohlen, \"Ereignis nach Aktion\" zu verwenden.",
|
|
231
231
|
"True": "Wahr",
|
|
232
232
|
"Unassigned fields will be set to default values, and those without default values will be set to null.": "Nicht zugewiesene Felder werden auf Standardwerte gesetzt, und solche ohne Standardwerte werden auf null gesetzt.",
|
|
@@ -255,4 +255,4 @@
|
|
|
255
255
|
"Workflow with unknown type will cause error. Please delete it or check plugin which provide this type.": "Workflow mit unbekanntem Typ verursacht Fehler. Bitte löschen Sie ihn oder überprüfen Sie das Plugin, das diesen Typ bereitstellt.",
|
|
256
256
|
"Yes": "Yes",
|
|
257
257
|
"concat": "verketten"
|
|
258
|
-
}
|
|
258
|
+
}
|
package/dist/locale/en-US.json
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
+
"53 bit (JavaScript safe) unique ID generated by Snowflake algorithm. Will always generate new one each time use this variable.": "53 bit (JavaScript safe) unique ID generated by Snowflake algorithm. Will always generate new one each time use this variable.",
|
|
3
|
+
"53-bit Snowflake ID doc link": "https://v2.docs.nocobase.com/data-sources/data-modeling/collection-fields/advanced/snowflake-id",
|
|
2
4
|
"\"Submit to workflow\" to \"Post-action event\" is deprecated, please use \"Custom action event\" instead.": "\"Submit to workflow\" to \"Post-action event\" is deprecated, please use \"Custom action event\" instead.",
|
|
3
5
|
"\"{{branchName}}\" branch": "\"{{branchName}}\" branch",
|
|
4
6
|
"A new version will be created automatically after execution if current version is not executed.": "A new version will be created automatically after execution if current version is not executed.",
|
|
@@ -124,6 +126,7 @@
|
|
|
124
126
|
"Inside of \"{{branchName}}\" branch": "Inside of \"{{branchName}}\" branch",
|
|
125
127
|
"Inside of branch": "Inside of branch",
|
|
126
128
|
"Keep": "Keep",
|
|
129
|
+
"Learn more": "Learn more",
|
|
127
130
|
"Load failed": "Load failed",
|
|
128
131
|
"Loading": "Loading",
|
|
129
132
|
"Log": "Log",
|
|
@@ -226,7 +229,7 @@
|
|
|
226
229
|
"Triggered according to preset time conditions. Suitable for one-time or periodic tasks, such as sending notifications and cleaning data on a schedule.": "Triggered according to preset time conditions. Suitable for one-time or periodic tasks, such as sending notifications and cleaning data on a schedule.",
|
|
227
230
|
"Triggered at": "Triggered at",
|
|
228
231
|
"Triggered but still waiting in queue to execute.": "Triggered but still waiting in queue to execute.",
|
|
229
|
-
"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
|
|
232
|
+
"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.": "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.",
|
|
230
233
|
"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\".": "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\".",
|
|
231
234
|
"True": "True",
|
|
232
235
|
"Unassigned fields will be set to default values, and those without default values will be set to null.": "Unassigned fields will be set to default values, and those without default values will be set to null.",
|
|
@@ -255,4 +258,4 @@
|
|
|
255
258
|
"Workflow with unknown type will cause error. Please delete it or check plugin which provide this type.": "Workflow with unknown type will cause error. Please delete it or check plugin which provide this type.",
|
|
256
259
|
"Yes": "Yes",
|
|
257
260
|
"concat": "concat"
|
|
258
|
-
}
|
|
261
|
+
}
|
package/dist/locale/es-ES.json
CHANGED
|
@@ -226,7 +226,7 @@
|
|
|
226
226
|
"Triggered according to preset time conditions. Suitable for one-time or periodic tasks, such as sending notifications and cleaning data on a schedule.": "Triggered according to preset time conditions. Suitable for one-time or periodic tasks, such as sending notifications and cleaning data on a schedule.",
|
|
227
227
|
"Triggered at": "Disparado a las",
|
|
228
228
|
"Triggered but still waiting in queue to execute.": "Triggered but still waiting in queue to execute.",
|
|
229
|
-
"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
|
|
229
|
+
"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.": "Se activa sólo si cambia uno de los campos seleccionados. Si no se selecciona, significa que se activará cuando cambie cualquier campo. Cuando se añade o elimina un registro, se considera que se ha modificado cualquier campo.",
|
|
230
230
|
"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\".": "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\".",
|
|
231
231
|
"True": "Verdadero",
|
|
232
232
|
"Unassigned fields will be set to default values, and those without default values will be set to null.": "Unassigned fields will be set to default values, and those without default values will be set to null.",
|
|
@@ -255,4 +255,4 @@
|
|
|
255
255
|
"Workflow with unknown type will cause error. Please delete it or check plugin which provide this type.": "Workflow with unknown type will cause error. Please delete it or check plugin which provide this type.",
|
|
256
256
|
"Yes": "Yes",
|
|
257
257
|
"concat": "concat"
|
|
258
|
-
}
|
|
258
|
+
}
|
package/dist/locale/fr-FR.json
CHANGED
|
@@ -226,7 +226,7 @@
|
|
|
226
226
|
"Triggered according to preset time conditions. Suitable for one-time or periodic tasks, such as sending notifications and cleaning data on a schedule.": "Triggered according to preset time conditions. Suitable for one-time or periodic tasks, such as sending notifications and cleaning data on a schedule.",
|
|
227
227
|
"Triggered at": "Déclenché à",
|
|
228
228
|
"Triggered but still waiting in queue to execute.": "Triggered but still waiting in queue to execute.",
|
|
229
|
-
"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
|
|
229
|
+
"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.": "Déclenché uniquement si l'un des champs sélectionnés change. S'il n'est pas sélectionné, cela signifie qu'il sera déclenché lorsque n'importe quel champ change. Lorsque l'enregistrement est ajouté ou supprimé, n'importe quel champ est considéré comme ayant été modifié.",
|
|
230
230
|
"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\".": "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\".",
|
|
231
231
|
"True": "Vrai",
|
|
232
232
|
"Unassigned fields will be set to default values, and those without default values will be set to null.": "Unassigned fields will be set to default values, and those without default values will be set to null.",
|
|
@@ -255,4 +255,4 @@
|
|
|
255
255
|
"Workflow with unknown type will cause error. Please delete it or check plugin which provide this type.": "Workflow with unknown type will cause error. Please delete it or check plugin which provide this type.",
|
|
256
256
|
"Yes": "Yes",
|
|
257
257
|
"concat": "concat"
|
|
258
|
-
}
|
|
258
|
+
}
|
package/dist/locale/it-IT.json
CHANGED
|
@@ -226,7 +226,7 @@
|
|
|
226
226
|
"Triggered according to preset time conditions. Suitable for one-time or periodic tasks, such as sending notifications and cleaning data on a schedule.": "Attivato secondo condizioni di tempo preimpostate. Adatto per attività una tantum o periodiche, come l'invio di notifiche e la pulizia dei dati in base a una pianificazione.",
|
|
227
227
|
"Triggered at": "Attivato alle",
|
|
228
228
|
"Triggered but still waiting in queue to execute.": "Attivato ma ancora in attesa in coda per l'esecuzione.",
|
|
229
|
-
"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
|
|
229
|
+
"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.": "Attivato solo se uno dei campi selezionati cambia. Se deselezionato, significa che verrà attivato quando qualsiasi campo cambia. Quando il record viene aggiunto o eliminato, qualsiasi campo è considerato cambiato.",
|
|
230
230
|
"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\".": "Attivato quando i dati cambiano nella raccolta, ad esempio dopo l'aggiunta, l'aggiornamento o l'eliminazione di un record. A differenza dell' \"evento post-azione\", l'evento raccolta ascolta le modifiche dei dati anziché le richieste HTTP. A meno che tu non capisca il significato esatto, si consiglia di utilizzare \"Evento post-azione\".",
|
|
231
231
|
"True": "Vero",
|
|
232
232
|
"Unassigned fields will be set to default values, and those without default values will be set to null.": "I campi non assegnati saranno impostati ai valori predefiniti, e quelli senza valori predefiniti saranno impostati a null.",
|
|
@@ -255,4 +255,4 @@
|
|
|
255
255
|
"Workflow with unknown type will cause error. Please delete it or check plugin which provide this type.": "Un workflow con tipo sconosciuto causerà un errore. Si prega di eliminarlo o controllare il plugin che fornisce questo tipo.",
|
|
256
256
|
"Yes": "Yes",
|
|
257
257
|
"concat": "concatena"
|
|
258
|
-
}
|
|
258
|
+
}
|
package/dist/locale/ja-JP.json
CHANGED
|
@@ -227,7 +227,7 @@
|
|
|
227
227
|
"Triggered according to preset time conditions. Suitable for one-time or periodic tasks, such as sending notifications and cleaning data on a schedule.": "あらかじめ設定された時間条件に従ってトリガーされます。通知の送信やデータの定期清掃など、一度限りまたは周期的なタスクに適しています。",
|
|
228
228
|
"Triggered at": "トリガー発生時",
|
|
229
229
|
"Triggered but still waiting in queue to execute.": "トリガーされましたが、まだキューに実行待ちの状態です。",
|
|
230
|
-
"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
|
|
230
|
+
"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.": "選択したフィールドの 1 つが変更された場合にのみトリガーされます。 選択されていない場合は、フィールドが変更されたときにトリガーされることを意味します。 レコードが追加または削除されると、すべてのフィールドが変更されたと見なされます。",
|
|
231
231
|
"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リクエストではなくデータ変更を監視します。意味を理解していない限り、「ポストアクションイベント」の使用を推奨します。",
|
|
232
232
|
"True": "真",
|
|
233
233
|
"Unassigned fields will be set to default values, and those without default values will be set to null.": "未割り当てのフィールドはデフォルト値に設定され、デフォルト値がない場合はnullに設定されます。",
|
|
@@ -260,4 +260,4 @@
|
|
|
260
260
|
"concat": "連結",
|
|
261
261
|
"false": "偽",
|
|
262
262
|
"true": "真"
|
|
263
|
-
}
|
|
263
|
+
}
|
package/dist/locale/ko-KR.json
CHANGED
|
@@ -243,9 +243,8 @@
|
|
|
243
243
|
"Triggered at": "트리거 시점",
|
|
244
244
|
"Triggered but still waiting in queue to execute.": "트리거되었으나 아직 대기열에서 실행 대기 중입니다.",
|
|
245
245
|
"Triggered but still waiting in the queue to execute.": "트리거되었으나 아직 대기열에서 실행 대기 중입니다.",
|
|
246
|
-
"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 or deleted, any field is considered to have been changed.": "선택한 필드 중 하나라도 변경되면 트리거됩니다. 선택하지 않으면 어떤 필드가 변경되어도 트리거됩니다. 레코드가 추가되거나 삭제될 때는 모든 필드가 변경된 것으로 간주됩니다.",
|
|
247
|
-
"Triggered only if one of the selected fields changes. If unselected, it means that it will be triggered when any field changes. When the record is added or deleted, any field is considered to have been changed.": "선택한 필드 중 하나라도 변경되면 트리거됩니다. 선택하지 않으면 어떤 필드가 변경되어도 트리거됩니다. 레코드가 추가되거나 삭제될 때는 모든 필드가 변경된 것으로 간주됩니다.",
|
|
248
246
|
"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\".": "컬렉션의 데이터가 변경될 때(추가, 수정, 삭제 등) 트리거됩니다. \"Post-action event\"와 달리 HTTP 요청이 아닌 데이터 변경을 감지합니다. 정확한 의미를 모르면 \"Post-action event\" 사용을 권장합니다.",
|
|
247
|
+
"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.": "선택한 필드 중 하나라도 변경되면 트리거됩니다. 선택하지 않으면 어떤 필드가 변경되더라도 트리거됩니다. 레코드가 추가되거나 삭제될 때는 어떤 필드든지 변경된 것으로 간주됩니다.",
|
|
249
248
|
"True": "참",
|
|
250
249
|
"Unassigned fields will be set to default values, and those without default values will be set to null.": "값이 할당되지 않은 필드는 기본값으로, 기본값이 없는 필드는 null로 설정됩니다.",
|
|
251
250
|
"Unknown node": "알 수 없는 노드",
|
|
@@ -277,4 +276,4 @@
|
|
|
277
276
|
"Workflow with unknown type will cause error. Please delete it or check plugin which provide this type.": "알 수 없는 유형의 워크플로우는 오류를 유발합니다. 삭제하거나 해당 플러그인을 확인하세요.",
|
|
278
277
|
"Yes": "Yes",
|
|
279
278
|
"concat": "연결"
|
|
280
|
-
}
|
|
279
|
+
}
|
package/dist/locale/nl-NL.json
CHANGED
|
@@ -226,7 +226,7 @@
|
|
|
226
226
|
"Triggered according to preset time conditions. Suitable for one-time or periodic tasks, such as sending notifications and cleaning data on a schedule.": "Triggered according to preset time conditions. Suitable for one-time or periodic tasks, such as sending notifications and cleaning data on a schedule.",
|
|
227
227
|
"Triggered at": "Triggered at",
|
|
228
228
|
"Triggered but still waiting in queue to execute.": "Triggered but still waiting in queue to execute.",
|
|
229
|
-
"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
|
|
229
|
+
"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.": "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.",
|
|
230
230
|
"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\".": "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\".",
|
|
231
231
|
"True": "True",
|
|
232
232
|
"Unassigned fields will be set to default values, and those without default values will be set to null.": "Unassigned fields will be set to default values, and those without default values will be set to null.",
|
|
@@ -255,4 +255,4 @@
|
|
|
255
255
|
"Workflow with unknown type will cause error. Please delete it or check plugin which provide this type.": "Workflow with unknown type will cause error. Please delete it or check plugin which provide this type.",
|
|
256
256
|
"Yes": "Yes",
|
|
257
257
|
"concat": "concat"
|
|
258
|
-
}
|
|
258
|
+
}
|
package/dist/locale/pt-BR.json
CHANGED
|
@@ -226,7 +226,7 @@
|
|
|
226
226
|
"Triggered according to preset time conditions. Suitable for one-time or periodic tasks, such as sending notifications and cleaning data on a schedule.": "Triggered according to preset time conditions. Suitable for one-time or periodic tasks, such as sending notifications and cleaning data on a schedule.",
|
|
227
227
|
"Triggered at": "Acionado em",
|
|
228
228
|
"Triggered but still waiting in queue to execute.": "Triggered but still waiting in queue to execute.",
|
|
229
|
-
"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
|
|
229
|
+
"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.": "Acionado apenas se um dos campos selecionados for alterado. Se não estiver selecionado, será acionado quando qualquer campo for alterado. Quando um registro é adicionado ou excluído, qualquer campo é considerado como tendo sido alterado.",
|
|
230
230
|
"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\".": "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\".",
|
|
231
231
|
"True": "Verdadeiro",
|
|
232
232
|
"Unassigned fields will be set to default values, and those without default values will be set to null.": "Unassigned fields will be set to default values, and those without default values will be set to null.",
|
|
@@ -255,4 +255,4 @@
|
|
|
255
255
|
"Workflow with unknown type will cause error. Please delete it or check plugin which provide this type.": "Workflow with unknown type will cause error. Please delete it or check plugin which provide this type.",
|
|
256
256
|
"Yes": "Yes",
|
|
257
257
|
"concat": "concatenar"
|
|
258
|
-
}
|
|
258
|
+
}
|
package/dist/locale/ru-RU.json
CHANGED
|
@@ -226,7 +226,7 @@
|
|
|
226
226
|
"Triggered according to preset time conditions. Suitable for one-time or periodic tasks, such as sending notifications and cleaning data on a schedule.": "Срабатывает в соответствии с предустановленными временными условиями. Подходит для разовых или периодических задач, таких как отправка уведомлений и очистка данных по расписанию.",
|
|
227
227
|
"Triggered at": "Сработало в",
|
|
228
228
|
"Triggered but still waiting in queue to execute.": "Сработало, но все еще ожидает в очереди для выполнения.",
|
|
229
|
-
"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
|
|
229
|
+
"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.": "Запускается только при изменении одного из выбранных полей. Если флажок не установлен, это означает, что он будет срабатывать при изменении любого поля. При добавлении или удалении записи любое поле считается измененным.",
|
|
230
230
|
"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-запросы. Если вы не понимаете точного значения, рекомендуется использовать \"После события\".",
|
|
231
231
|
"True": "True",
|
|
232
232
|
"Unassigned fields will be set to default values, and those without default values will be set to null.": "Неназначенные поля будут установлены в значения по умолчанию, а те, у которых их нет, будут установлены в null.",
|
|
@@ -255,4 +255,4 @@
|
|
|
255
255
|
"Workflow with unknown type will cause error. Please delete it or check plugin which provide this type.": "Рабочий процесс с неизвестным типом вызовет ошибку. Пожалуйста, удалите его или проверьте плагин, который предоставляет этот тип.",
|
|
256
256
|
"Yes": "Yes",
|
|
257
257
|
"concat": "объединить"
|
|
258
|
-
}
|
|
258
|
+
}
|
package/dist/locale/tr-TR.json
CHANGED
|
@@ -226,7 +226,7 @@
|
|
|
226
226
|
"Triggered according to preset time conditions. Suitable for one-time or periodic tasks, such as sending notifications and cleaning data on a schedule.": "Triggered according to preset time conditions. Suitable for one-time or periodic tasks, such as sending notifications and cleaning data on a schedule.",
|
|
227
227
|
"Triggered at": "Triggered at",
|
|
228
228
|
"Triggered but still waiting in queue to execute.": "Triggered but still waiting in queue to execute.",
|
|
229
|
-
"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
|
|
229
|
+
"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.": "Yalnızca seçilen alanlardan biri değiştiğinde tetiklenir. Seçili değilse, herhangi bir alan değiştiğinde tetikleneceği anlamına gelir. Kayıt eklendiğinde veya silindiğinde, herhangi bir alan değiştirilmiş olarak kabul edilir.",
|
|
230
230
|
"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\".": "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\".",
|
|
231
231
|
"True": "Doğru",
|
|
232
232
|
"Unassigned fields will be set to default values, and those without default values will be set to null.": "Unassigned fields will be set to default values, and those without default values will be set to null.",
|
|
@@ -255,4 +255,4 @@
|
|
|
255
255
|
"Workflow with unknown type will cause error. Please delete it or check plugin which provide this type.": "Workflow with unknown type will cause error. Please delete it or check plugin which provide this type.",
|
|
256
256
|
"Yes": "Yes",
|
|
257
257
|
"concat": "concat"
|
|
258
|
-
}
|
|
258
|
+
}
|
package/dist/locale/uk-UA.json
CHANGED
|
@@ -226,7 +226,7 @@
|
|
|
226
226
|
"Triggered according to preset time conditions. Suitable for one-time or periodic tasks, such as sending notifications and cleaning data on a schedule.": "Triggered according to preset time conditions. Suitable for one-time or periodic tasks, such as sending notifications and cleaning data on a schedule.",
|
|
227
227
|
"Triggered at": "Triggered at",
|
|
228
228
|
"Triggered but still waiting in queue to execute.": "Triggered but still waiting in queue to execute.",
|
|
229
|
-
"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
|
|
229
|
+
"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.": "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.",
|
|
230
230
|
"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\".": "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\".",
|
|
231
231
|
"True": "True",
|
|
232
232
|
"Unassigned fields will be set to default values, and those without default values will be set to null.": "Unassigned fields will be set to default values, and those without default values will be set to null.",
|
|
@@ -255,4 +255,4 @@
|
|
|
255
255
|
"Workflow with unknown type will cause error. Please delete it or check plugin which provide this type.": "Workflow with unknown type will cause error. Please delete it or check plugin which provide this type.",
|
|
256
256
|
"Yes": "Yes",
|
|
257
257
|
"concat": "concat"
|
|
258
|
-
}
|
|
258
|
+
}
|
package/dist/locale/zh-CN.json
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
{
|
|
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",
|
|
2
4
|
"\"Submit to workflow\" to \"Post-action event\" is deprecated, please use \"Custom action event\" instead.": "“提交至工作流”到“操作后事件”的方式已被弃用,请使用“自定义操作事件”代替。",
|
|
3
5
|
"\"{{branchName}}\" branch": "“{{branchName}}”分支",
|
|
4
6
|
"A new version will be created automatically after execution if current version is not executed.": "如果当前版本还未执行过,将在执行后自动创建一个新版本。",
|
|
@@ -124,6 +126,7 @@
|
|
|
124
126
|
"Inside of \"{{branchName}}\" branch": "“{{branchName}}”分支内",
|
|
125
127
|
"Inside of branch": "分支内",
|
|
126
128
|
"Keep": "保留",
|
|
129
|
+
"Learn more": "了解更多",
|
|
127
130
|
"Load failed": "加载失败",
|
|
128
131
|
"Loading": "加载中",
|
|
129
132
|
"Log": "日志",
|
|
@@ -199,6 +202,9 @@
|
|
|
199
202
|
"Syntax references: ": "语法参考:",
|
|
200
203
|
"System time": "系统时间",
|
|
201
204
|
"System variables": "系统变量",
|
|
205
|
+
"Generate snowflake ID": "生成雪花 ID",
|
|
206
|
+
"Instance ID": "应用实例 ID",
|
|
207
|
+
"The ID of current server instance": "当前服务器实例的 ID",
|
|
202
208
|
"Task type {{type}} is invalid": "待办类型 {{type}} 无效",
|
|
203
209
|
"Test run": "测试执行",
|
|
204
210
|
"Test run will do the actual data manipulating or API calling, please use with caution.": "测试执行会进行实际的数据操作或 API 调用,请谨慎使用。",
|
|
@@ -226,7 +232,7 @@
|
|
|
226
232
|
"Triggered according to preset time conditions. Suitable for one-time or periodic tasks, such as sending notifications and cleaning data on a schedule.": "按预设的时间条件定时触发。适用于一次性或周期性的任务,如定时发送通知、清理数据等。",
|
|
227
233
|
"Triggered at": "触发时间",
|
|
228
234
|
"Triggered but still waiting in queue to execute.": "已触发但仍在队列中等待执行。",
|
|
229
|
-
"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
|
|
235
|
+
"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.": "只有被选中的某个字段发生变动时才会触发。如果不选择,则表示任何字段变动时都会触发。新增数据时,任意字段都被认为发生变动。",
|
|
230
236
|
"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 请求,除非你明白确切含义,否则推荐使用“操作后事件”。",
|
|
231
237
|
"True": "真",
|
|
232
238
|
"Unassigned fields will be set to default values, and those without default values will be set to null.": "未被赋值的字段将被设置为默认值,没有默认值的设置为空值。",
|
|
@@ -255,4 +261,4 @@
|
|
|
255
261
|
"Workflow with unknown type will cause error. Please delete it or check plugin which provide this type.": "未知类型的工作流会导致错误,请删除或检查提供该类型的插件。",
|
|
256
262
|
"Yes": "是",
|
|
257
263
|
"concat": "连接"
|
|
258
|
-
}
|
|
264
|
+
}
|
package/dist/locale/zh-TW.json
CHANGED
|
@@ -226,7 +226,7 @@
|
|
|
226
226
|
"Triggered according to preset time conditions. Suitable for one-time or periodic tasks, such as sending notifications and cleaning data on a schedule.": "Triggered according to preset time conditions. Suitable for one-time or periodic tasks, such as sending notifications and cleaning data on a schedule.",
|
|
227
227
|
"Triggered at": "Triggered at",
|
|
228
228
|
"Triggered but still waiting in queue to execute.": "Triggered but still waiting in queue to execute.",
|
|
229
|
-
"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
|
|
229
|
+
"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.": "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 or deleted, any field is considered to have been changed.",
|
|
230
230
|
"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\".": "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\".",
|
|
231
231
|
"True": "True",
|
|
232
232
|
"Unassigned fields will be set to default values, and those without default values will be set to null.": "Unassigned fields will be set to default values, and those without default values will be set to null.",
|
|
@@ -255,4 +255,4 @@
|
|
|
255
255
|
"Workflow with unknown type will cause error. Please delete it or check plugin which provide this type.": "Workflow with unknown type will cause error. Please delete it or check plugin which provide this type.",
|
|
256
256
|
"Yes": "Yes",
|
|
257
257
|
"concat": "concat"
|
|
258
|
-
}
|
|
258
|
+
}
|
|
@@ -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":"2025-12-
|
|
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":"2025-12-24T07:50:44.273Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"lru-cache","description":"A cache object that deletes the least-recently-used items.","version":"8.0.5","author":"Isaac Z. Schlueter <i@izs.me>","keywords":["mru","lru","cache"],"sideEffects":false,"scripts":{"build":"npm run prepare","preprepare":"rm -rf dist","prepare":"tsc -p tsconfig.json && tsc -p tsconfig-esm.json","postprepare":"bash fixup.sh","pretest":"npm run prepare","presnap":"npm run prepare","test":"c8 tap","snap":"c8 tap","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","format":"prettier --write .","typedoc":"typedoc --tsconfig tsconfig-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"},"main":"./dist/cjs/index-cjs.js","module":"./dist/mjs/index.js","types":"./dist/mjs/index.d.ts","exports":{"./min":{"import":{"types":"./dist/mjs/index.d.ts","default":"./dist/mjs/index.min.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.min.js"}},".":{"import":{"types":"./dist/mjs/index.d.ts","default":"./dist/mjs/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index-cjs.js"}}},"repository":"git://github.com/isaacs/node-lru-cache.git","devDependencies":{"@size-limit/preset-small-lib":"^7.0.8","@types/node":"^17.0.31","@types/tap":"^15.0.6","benchmark":"^2.1.4","c8":"^7.11.2","clock-mock":"^1.0.6","esbuild":"^0.17.11","eslint-config-prettier":"^8.5.0","marked":"^4.2.12","mkdirp":"^2.1.5","prettier":"^2.6.2","size-limit":"^7.0.8","tap":"^16.3.4","ts-node":"^10.7.0","tslib":"^2.4.0","typedoc":"^0.23.24","typescript":"^4.6.4"},"license":"ISC","files":["dist"],"engines":{"node":">=16.14"},"prettier":{"semi":false,"printWidth":70,"tabWidth":2,"useTabs":false,"singleQuote":true,"jsxSingleQuote":false,"bracketSameLine":true,"arrowParens":"avoid","endOfLine":"lf"},"tap":{"coverage":false,"node-arg":["--expose-gc","--no-warnings","--loader","ts-node/esm"],"ts":false},"size-limit":[{"path":"./dist/mjs/index.js"}],"_lastModified":"2025-12-
|
|
1
|
+
{"name":"lru-cache","description":"A cache object that deletes the least-recently-used items.","version":"8.0.5","author":"Isaac Z. Schlueter <i@izs.me>","keywords":["mru","lru","cache"],"sideEffects":false,"scripts":{"build":"npm run prepare","preprepare":"rm -rf dist","prepare":"tsc -p tsconfig.json && tsc -p tsconfig-esm.json","postprepare":"bash fixup.sh","pretest":"npm run prepare","presnap":"npm run prepare","test":"c8 tap","snap":"c8 tap","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","format":"prettier --write .","typedoc":"typedoc --tsconfig tsconfig-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"},"main":"./dist/cjs/index-cjs.js","module":"./dist/mjs/index.js","types":"./dist/mjs/index.d.ts","exports":{"./min":{"import":{"types":"./dist/mjs/index.d.ts","default":"./dist/mjs/index.min.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.min.js"}},".":{"import":{"types":"./dist/mjs/index.d.ts","default":"./dist/mjs/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index-cjs.js"}}},"repository":"git://github.com/isaacs/node-lru-cache.git","devDependencies":{"@size-limit/preset-small-lib":"^7.0.8","@types/node":"^17.0.31","@types/tap":"^15.0.6","benchmark":"^2.1.4","c8":"^7.11.2","clock-mock":"^1.0.6","esbuild":"^0.17.11","eslint-config-prettier":"^8.5.0","marked":"^4.2.12","mkdirp":"^2.1.5","prettier":"^2.6.2","size-limit":"^7.0.8","tap":"^16.3.4","ts-node":"^10.7.0","tslib":"^2.4.0","typedoc":"^0.23.24","typescript":"^4.6.4"},"license":"ISC","files":["dist"],"engines":{"node":">=16.14"},"prettier":{"semi":false,"printWidth":70,"tabWidth":2,"useTabs":false,"singleQuote":true,"jsxSingleQuote":false,"bracketSameLine":true,"arrowParens":"avoid","endOfLine":"lf"},"tap":{"coverage":false,"node-arg":["--expose-gc","--no-warnings","--loader","ts-node/esm"],"ts":false},"size-limit":[{"path":"./dist/mjs/index.js"}],"_lastModified":"2025-12-24T07:50:43.919Z"}
|
|
@@ -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":"2025-12-
|
|
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":"2025-12-24T07:50:43.705Z"}
|
package/dist/server/Plugin.js
CHANGED
|
@@ -299,6 +299,9 @@ class PluginWorkflowServer extends import_server.Plugin {
|
|
|
299
299
|
this.initTriggers(options.triggers);
|
|
300
300
|
this.initInstructions(options.instructions);
|
|
301
301
|
(0, import_functions.default)(this, options.functions);
|
|
302
|
+
this.functions.register("instanceId", () => this.app.instanceId);
|
|
303
|
+
this.functions.register("epoch", () => 1605024e3);
|
|
304
|
+
this.functions.register("genSnowflakeId", () => this.app.snowflakeIdGenerator.generate());
|
|
302
305
|
this.loggerCache = new import_lru_cache.default({
|
|
303
306
|
max: 20,
|
|
304
307
|
updateAgeOnGet: true,
|
|
@@ -21,7 +21,9 @@ export type InstructionInterface = {
|
|
|
21
21
|
run: Runner;
|
|
22
22
|
resume?: Runner;
|
|
23
23
|
getScope?: (node: FlowNodeModel, data: any, processor: Processor) => any;
|
|
24
|
-
duplicateConfig?: (node: FlowNodeModel, options: Transactionable
|
|
24
|
+
duplicateConfig?: (node: FlowNodeModel, options: Transactionable & {
|
|
25
|
+
origin?: FlowNodeModel;
|
|
26
|
+
}) => object | Promise<object>;
|
|
25
27
|
test?: (config: Record<string, any>) => IJob | Promise<IJob>;
|
|
26
28
|
};
|
|
27
29
|
export declare abstract class Instruction implements InstructionInterface {
|
|
@@ -75,7 +75,7 @@ class WorkflowRepository extends import_database.Repository {
|
|
|
75
75
|
transaction
|
|
76
76
|
});
|
|
77
77
|
if (trigger && typeof trigger.duplicateConfig === "function") {
|
|
78
|
-
const newConfig = await trigger.duplicateConfig(instance, { transaction });
|
|
78
|
+
const newConfig = await trigger.duplicateConfig(instance, { origin, transaction });
|
|
79
79
|
await instance.update({ config: newConfig }, { transaction });
|
|
80
80
|
}
|
|
81
81
|
const originalNodesMap = /* @__PURE__ */ new Map();
|
|
@@ -90,12 +90,15 @@ class WorkflowRepository extends import_database.Repository {
|
|
|
90
90
|
{
|
|
91
91
|
type: node.type,
|
|
92
92
|
key: node.key,
|
|
93
|
-
config:
|
|
93
|
+
config: node.config,
|
|
94
94
|
title: node.title,
|
|
95
95
|
branchIndex: node.branchIndex
|
|
96
96
|
},
|
|
97
97
|
{ transaction }
|
|
98
98
|
);
|
|
99
|
+
if (typeof instruction.duplicateConfig === "function") {
|
|
100
|
+
await instruction.duplicateConfig(newNode, { origin: node, transaction });
|
|
101
|
+
}
|
|
99
102
|
oldToNew.set(node.id, newNode);
|
|
100
103
|
newToOld.set(newNode.id, node);
|
|
101
104
|
}
|
|
@@ -16,7 +16,9 @@ export declare abstract class Trigger {
|
|
|
16
16
|
on(workflow: WorkflowModel): void;
|
|
17
17
|
off(workflow: WorkflowModel): void;
|
|
18
18
|
validateEvent(workflow: WorkflowModel, context: any, options: Transactionable): boolean | Promise<boolean>;
|
|
19
|
-
duplicateConfig?(workflow: WorkflowModel, options: Transactionable
|
|
19
|
+
duplicateConfig?(workflow: WorkflowModel, options: Transactionable & {
|
|
20
|
+
origin?: WorkflowModel;
|
|
21
|
+
}): object | Promise<object>;
|
|
20
22
|
validateContext?(values: any, workflow: WorkflowModel): null | void | {
|
|
21
23
|
[key: string]: string;
|
|
22
24
|
};
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"description": "A powerful BPM tool that provides foundational support for business automation, with the capability to extend unlimited triggers and nodes.",
|
|
7
7
|
"description.zh-CN": "一个强大的 BPM 工具,为业务自动化提供基础支持,并且可任意扩展更多的触发器和节点。",
|
|
8
8
|
"description.ru-RU": "Мощный инструмент BPM, обеспечивающий базовую поддержку автоматизации бизнес-процессов с возможностью неограниченного расширения триггеров и узлов.",
|
|
9
|
-
"version": "2.0.0-alpha.
|
|
9
|
+
"version": "2.0.0-alpha.58",
|
|
10
10
|
"license": "AGPL-3.0",
|
|
11
11
|
"main": "./dist/server/index.js",
|
|
12
12
|
"homepage": "https://docs.nocobase.com/handbook/workflow",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@nocobase/test": "2.x",
|
|
49
49
|
"@nocobase/utils": "2.x"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "be3acea2fb2a6538a8dbe5b6cc7fa0fd5e15e43b",
|
|
52
52
|
"keywords": [
|
|
53
53
|
"Workflow"
|
|
54
54
|
]
|