@nocobase/plugin-workflow-request-interceptor 2.0.3

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 (40) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +99 -0
  3. package/client.d.ts +2 -0
  4. package/client.js +1 -0
  5. package/dist/client/RequestInterceptionTrigger.d.ts +172 -0
  6. package/dist/client/index.d.ts +13 -0
  7. package/dist/client/index.js +10 -0
  8. package/dist/common/constants.d.ts +14 -0
  9. package/dist/common/constants.js +41 -0
  10. package/dist/externalVersion.js +20 -0
  11. package/dist/index.d.ts +9 -0
  12. package/dist/index.js +42 -0
  13. package/dist/locale/de-DE.json +24 -0
  14. package/dist/locale/en-US.json +24 -0
  15. package/dist/locale/es-ES.json +24 -0
  16. package/dist/locale/fr-FR.json +24 -0
  17. package/dist/locale/hu-HU.json +24 -0
  18. package/dist/locale/id-ID.json +24 -0
  19. package/dist/locale/index.d.ts +10 -0
  20. package/dist/locale/index.js +42 -0
  21. package/dist/locale/it-IT.json +24 -0
  22. package/dist/locale/ja-JP.json +24 -0
  23. package/dist/locale/ko-KR.json +24 -0
  24. package/dist/locale/nl-NL.json +24 -0
  25. package/dist/locale/pt-BR.json +24 -0
  26. package/dist/locale/ru-RU.json +24 -0
  27. package/dist/locale/tr-TR.json +24 -0
  28. package/dist/locale/uk-UA.json +24 -0
  29. package/dist/locale/vi-VN.json +24 -0
  30. package/dist/locale/zh-CN.json +24 -0
  31. package/dist/locale/zh-TW.json +24 -0
  32. package/dist/server/Plugin.d.ts +13 -0
  33. package/dist/server/Plugin.js +56 -0
  34. package/dist/server/RequestInterceptionTrigger.d.ts +23 -0
  35. package/dist/server/RequestInterceptionTrigger.js +218 -0
  36. package/dist/server/index.d.ts +9 -0
  37. package/dist/server/index.js +42 -0
  38. package/package.json +32 -0
  39. package/server.d.ts +2 -0
  40. package/server.js +1 -0
package/dist/index.js ADDED
@@ -0,0 +1,42 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+
10
+ var __create = Object.create;
11
+ var __defProp = Object.defineProperty;
12
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
13
+ var __getOwnPropNames = Object.getOwnPropertyNames;
14
+ var __getProtoOf = Object.getPrototypeOf;
15
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
16
+ var __export = (target, all) => {
17
+ for (var name in all)
18
+ __defProp(target, name, { get: all[name], enumerable: true });
19
+ };
20
+ var __copyProps = (to, from, except, desc) => {
21
+ if (from && typeof from === "object" || typeof from === "function") {
22
+ for (let key of __getOwnPropNames(from))
23
+ if (!__hasOwnProp.call(to, key) && key !== except)
24
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
25
+ }
26
+ return to;
27
+ };
28
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
29
+ // If the importer is in node compatibility mode or this is not an ESM
30
+ // file that has been converted to a CommonJS file using a Babel-
31
+ // compatible transform (i.e. "__esModule" has not been set), then set
32
+ // "default" to the CommonJS "module.exports" for node compatibility.
33
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
34
+ mod
35
+ ));
36
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
37
+ var src_exports = {};
38
+ __export(src_exports, {
39
+ default: () => import_server.default
40
+ });
41
+ module.exports = __toCommonJS(src_exports);
42
+ var import_server = __toESM(require("./server"));
@@ -0,0 +1,24 @@
1
+ {
2
+ "Create a record": "Create a record",
3
+ "Create record": "Create record",
4
+ "Delete": "Delete",
5
+ "Delete record": "Delete record",
6
+ "Global mode, triggered before executing the following actions": "Global mode, triggered before executing the following actions",
7
+ "Local mode, triggered before executing the actions bound to this workflow": "Local mode, triggered before executing the actions bound to this workflow",
8
+ "Parameters": "Parameters",
9
+ "Pre-action event": "Pre-action event",
10
+ "Record to submit": "Record to submit",
11
+ "Request inteception": "Request inteception",
12
+ "Request to intercept": "Request to intercept",
13
+ "Role of user acted": "Role of user acted",
14
+ "Select actions": "Select actions",
15
+ "The following selected requests all trigger interception on submission": "The following selected requests all trigger interception on submission",
16
+ "Trigger mode": "Trigger mode",
17
+ "Triggered before submitting a create, update, or delete request to a collection, so that data validation, logical judgment, etc., can be performed before executing the request, and then either approving the request or rejecting the request by using the \"End process\" node.": "Triggered before submitting a create, update, or delete request to a collection, so that data validation, logical judgment, etc., can be performed before executing the request, and then either approving the request or rejecting the request by using the \"End process\" node.",
18
+ "Triggered before the execution of a request initiated through an action button or API, such as before adding, updating, or deleting data. Suitable for data validation and logic judgment before action, and the request could be rejected by using the \"End process\" node.": "Triggered before the execution of a request initiated through an action button or API, such as before adding, updating, or deleting data. Suitable for data validation and logic judgment before action, and the request could be rejected by using the \"End process\" node.",
19
+ "Triggered only when a form bound to this workflow is submitted": "Triggered only when a form bound to this workflow is submitted",
20
+ "Update a record": "Update a record",
21
+ "Update record": "Update record",
22
+ "User acted": "User acted",
23
+ "Values submitted": "Values submitted"
24
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "Create a record": "Create a record",
3
+ "Create record": "Create record",
4
+ "Delete": "Delete",
5
+ "Delete record": "Delete record",
6
+ "Global mode, triggered before executing the following actions": "Global mode, triggered before executing the following actions",
7
+ "Local mode, triggered before executing the actions bound to this workflow": "Local mode, triggered before executing the actions bound to this workflow",
8
+ "Parameters": "Parameters",
9
+ "Pre-action event": "Pre-action event",
10
+ "Record to submit": "Record to submit",
11
+ "Request inteception": "Request inteception",
12
+ "Request to intercept": "Request to intercept",
13
+ "Role of user acted": "Role of user acted",
14
+ "Select actions": "Select actions",
15
+ "The following selected requests all trigger interception on submission": "The following selected requests all trigger interception on submission",
16
+ "Trigger mode": "Trigger mode",
17
+ "Triggered before submitting a create, update, or delete request to a collection, so that data validation, logical judgment, etc., can be performed before executing the request, and then either approving the request or rejecting the request by using the \"End process\" node.": "Triggered before submitting a create, update, or delete request to a collection, so that data validation, logical judgment, etc., can be performed before executing the request, and then either approving the request or rejecting the request by using the \"End process\" node.",
18
+ "Triggered before the execution of a request initiated through an action button or API, such as before adding, updating, or deleting data. Suitable for data validation and logic judgment before action, and the request could be rejected by using the \"End process\" node.": "Triggered before the execution of a request initiated through an action button or API, such as before adding, updating, or deleting data. Suitable for data validation and logic judgment before action, and the request could be rejected by using the \"End process\" node.",
19
+ "Triggered only when a form bound to this workflow is submitted": "Triggered only when a form bound to this workflow is submitted",
20
+ "Update a record": "Update a record",
21
+ "Update record": "Update record",
22
+ "User acted": "User acted",
23
+ "Values submitted": "Values submitted"
24
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "Create a record": "Create a record",
3
+ "Create record": "Create record",
4
+ "Delete": "Delete",
5
+ "Delete record": "Delete record",
6
+ "Global mode, triggered before executing the following actions": "Global mode, triggered before executing the following actions",
7
+ "Local mode, triggered before executing the actions bound to this workflow": "Local mode, triggered before executing the actions bound to this workflow",
8
+ "Parameters": "Parameters",
9
+ "Pre-action event": "Pre-action event",
10
+ "Record to submit": "Record to submit",
11
+ "Request inteception": "Request inteception",
12
+ "Request to intercept": "Request to intercept",
13
+ "Role of user acted": "Role of user acted",
14
+ "Select actions": "Select actions",
15
+ "The following selected requests all trigger interception on submission": "The following selected requests all trigger interception on submission",
16
+ "Trigger mode": "Trigger mode",
17
+ "Triggered before submitting a create, update, or delete request to a collection, so that data validation, logical judgment, etc., can be performed before executing the request, and then either approving the request or rejecting the request by using the \"End process\" node.": "Triggered before submitting a create, update, or delete request to a collection, so that data validation, logical judgment, etc., can be performed before executing the request, and then either approving the request or rejecting the request by using the \"End process\" node.",
18
+ "Triggered before the execution of a request initiated through an action button or API, such as before adding, updating, or deleting data. Suitable for data validation and logic judgment before action, and the request could be rejected by using the \"End process\" node.": "Triggered before the execution of a request initiated through an action button or API, such as before adding, updating, or deleting data. Suitable for data validation and logic judgment before action, and the request could be rejected by using the \"End process\" node.",
19
+ "Triggered only when a form bound to this workflow is submitted": "Triggered only when a form bound to this workflow is submitted",
20
+ "Update a record": "Update a record",
21
+ "Update record": "Update record",
22
+ "User acted": "User acted",
23
+ "Values submitted": "Values submitted"
24
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "Create a record": "Create a record",
3
+ "Create record": "Create record",
4
+ "Delete": "Delete",
5
+ "Delete record": "Delete record",
6
+ "Global mode, triggered before executing the following actions": "Global mode, triggered before executing the following actions",
7
+ "Local mode, triggered before executing the actions bound to this workflow": "Local mode, triggered before executing the actions bound to this workflow",
8
+ "Parameters": "Parameters",
9
+ "Pre-action event": "Pre-action event",
10
+ "Record to submit": "Record to submit",
11
+ "Request inteception": "Request inteception",
12
+ "Request to intercept": "Request to intercept",
13
+ "Role of user acted": "Role of user acted",
14
+ "Select actions": "Select actions",
15
+ "The following selected requests all trigger interception on submission": "The following selected requests all trigger interception on submission",
16
+ "Trigger mode": "Trigger mode",
17
+ "Triggered before submitting a create, update, or delete request to a collection, so that data validation, logical judgment, etc., can be performed before executing the request, and then either approving the request or rejecting the request by using the \"End process\" node.": "Triggered before submitting a create, update, or delete request to a collection, so that data validation, logical judgment, etc., can be performed before executing the request, and then either approving the request or rejecting the request by using the \"End process\" node.",
18
+ "Triggered before the execution of a request initiated through an action button or API, such as before adding, updating, or deleting data. Suitable for data validation and logic judgment before action, and the request could be rejected by using the \"End process\" node.": "Triggered before the execution of a request initiated through an action button or API, such as before adding, updating, or deleting data. Suitable for data validation and logic judgment before action, and the request could be rejected by using the \"End process\" node.",
19
+ "Triggered only when a form bound to this workflow is submitted": "Triggered only when a form bound to this workflow is submitted",
20
+ "Update a record": "Update a record",
21
+ "Update record": "Update record",
22
+ "User acted": "User acted",
23
+ "Values submitted": "Values submitted"
24
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "Create a record": "Rekord létrehozása",
3
+ "Create record": "Rekord létrehozása",
4
+ "Delete": "Törlés",
5
+ "Delete record": "Rekord törlése",
6
+ "Global mode, triggered before executing the following actions": "Globális mód, a következő műveletek végrehajtása előtt aktiválódik",
7
+ "Local mode, triggered before executing the actions bound to this workflow": "Helyi mód, az ehhez a munkafolyamathoz kötött műveletek végrehajtása előtt aktiválódik",
8
+ "Parameters": "Paraméterek",
9
+ "Pre-action event": "Művelet előtti esemény",
10
+ "Record to submit": "Beküldendő rekord",
11
+ "Request inteception": "Kérés elfogás",
12
+ "Request to intercept": "Elfogandó kérés",
13
+ "Role of user acted": "A cselekvő felhasználó szerepe",
14
+ "Select actions": "Műveletek kiválasztása",
15
+ "The following selected requests all trigger interception on submission": "Az alábbi kiválasztott kérések mind elfogásra kerülnek beküldéskor",
16
+ "Trigger mode": "Kiváltási mód",
17
+ "Triggered before submitting a create, update, or delete request to a collection, so that data validation, logical judgment, etc., can be performed before executing the request, and then either approving the request or rejecting the request by using the \"End process\" node.": "Egy gyűjteményhez való létrehozási, frissítési vagy törlési kérés beküldése előtt aktiválódik, így a kérés végrehajtása előtt adatellenőrzés, logikai döntéshozatal stb. végezhető, majd vagy jóváhagyja a kérést, vagy elutasítja a kérést a \"Folyamat befejezése\" csomópont használatával.",
18
+ "Triggered before the execution of a request initiated through an action button or API, such as before adding, updating, or deleting data. Suitable for data validation and logic judgment before action, and the request could be rejected by using the \"End process\" node.": "Egy művelet gomb vagy API által kezdeményezett kérés végrehajtása előtt aktiválódik, például adatok hozzáadása, frissítése vagy törlése előtt. Alkalmas adatellenőrzésre és logikai döntéshozatalra a művelet előtt, és a kérés elutasítható a \"Folyamat befejezése\" csomópont használatával.",
19
+ "Triggered only when a form bound to this workflow is submitted": "Csak akkor aktiválódik, amikor egy ehhez a munkafolyamathoz kötött űrlapot küldenek be",
20
+ "Update a record": "Rekord frissítése",
21
+ "Update record": "Rekord frissítése",
22
+ "User acted": "Cselekvő felhasználó",
23
+ "Values submitted": "Beküldött értékek"
24
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "Create a record": "Buat catatan",
3
+ "Create record": "Buat catatan",
4
+ "Delete": "Hapus",
5
+ "Delete record": "Hapus catatan",
6
+ "Global mode, triggered before executing the following actions": "Mode global, dipicu sebelum mengeksekusi tindakan berikut",
7
+ "Local mode, triggered before executing the actions bound to this workflow": "Mode lokal, dipicu sebelum mengeksekusi tindakan yang terikat pada alur kerja ini",
8
+ "Parameters": "Parameter",
9
+ "Pre-action event": "Peristiwa pra-tindakan",
10
+ "Record to submit": "Catatan untuk dikirim",
11
+ "Request inteception": "Penyadapan permintaan",
12
+ "Request to intercept": "Permintaan untuk disadap",
13
+ "Role of user acted": "Peran pengguna yang bertindak",
14
+ "Select actions": "Pilih tindakan",
15
+ "The following selected requests all trigger interception on submission": "Permintaan yang dipilih berikut semuanya memicu penyadapan saat pengiriman",
16
+ "Trigger mode": "Mode pemicu",
17
+ "Triggered before submitting a create, update, or delete request to a collection, so that data validation, logical judgment, etc., can be performed before executing the request, and then either approving the request or rejecting the request by using the \"End process\" node.": "Dipicu sebelum mengirimkan permintaan buat, perbarui, atau hapus ke koleksi, sehingga validasi data, penilaian logis, dll., dapat dilakukan sebelum mengeksekusi permintaan, dan kemudian menyetujui permintaan atau menolak permintaan dengan menggunakan node \"Akhiri proses\".",
18
+ "Triggered before the execution of a request initiated through an action button or API, such as before adding, updating, or deleting data. Suitable for data validation and logic judgment before action, and the request could be rejected by using the \"End process\" node.": "Dipicu sebelum eksekusi permintaan yang dimulai melalui tombol tindakan atau API, seperti sebelum menambahkan, memperbarui, atau menghapus data. Cocok untuk validasi data dan penilaian logika sebelum tindakan, dan permintaan dapat ditolak dengan menggunakan node \"Akhiri proses\".",
19
+ "Triggered only when a form bound to this workflow is submitted": "Dipicu hanya ketika formulir yang terikat pada alur kerja ini dikirimkan",
20
+ "Update a record": "Perbarui catatan",
21
+ "Update record": "Perbarui catatan",
22
+ "User acted": "Pengguna yang bertindak",
23
+ "Values submitted": "Nilai yang dikirimkan"
24
+ }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This program is offered under a commercial license.
7
+ * For more information, see <https://www.nocobase.com/agreement>
8
+ */
9
+ export declare const NAMESPACE = "@nocobase/plugin-workflow-request-interceptor";
10
+ export declare function lang(key: string, options?: {}): string;
@@ -0,0 +1,42 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+
10
+ var __defProp = Object.defineProperty;
11
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
12
+ var __getOwnPropNames = Object.getOwnPropertyNames;
13
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
14
+ var __export = (target, all) => {
15
+ for (var name in all)
16
+ __defProp(target, name, { get: all[name], enumerable: true });
17
+ };
18
+ var __copyProps = (to, from, except, desc) => {
19
+ if (from && typeof from === "object" || typeof from === "function") {
20
+ for (let key of __getOwnPropNames(from))
21
+ if (!__hasOwnProp.call(to, key) && key !== except)
22
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
23
+ }
24
+ return to;
25
+ };
26
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
27
+ var locale_exports = {};
28
+ __export(locale_exports, {
29
+ NAMESPACE: () => NAMESPACE,
30
+ lang: () => lang
31
+ });
32
+ module.exports = __toCommonJS(locale_exports);
33
+ var import_client = require("@nocobase/client");
34
+ const NAMESPACE = "@nocobase/plugin-workflow-request-interceptor";
35
+ function lang(key, options = {}) {
36
+ return import_client.i18n.t(key, { ...options, ns: NAMESPACE });
37
+ }
38
+ // Annotate the CommonJS export names for ESM import in node:
39
+ 0 && (module.exports = {
40
+ NAMESPACE,
41
+ lang
42
+ });
@@ -0,0 +1,24 @@
1
+ {
2
+ "Create a record": "Create a record",
3
+ "Create record": "Create record",
4
+ "Delete": "Delete",
5
+ "Delete record": "Delete record",
6
+ "Global mode, triggered before executing the following actions": "Global mode, triggered before executing the following actions",
7
+ "Local mode, triggered before executing the actions bound to this workflow": "Local mode, triggered before executing the actions bound to this workflow",
8
+ "Parameters": "Parameters",
9
+ "Pre-action event": "Pre-action event",
10
+ "Record to submit": "Record to submit",
11
+ "Request inteception": "Request inteception",
12
+ "Request to intercept": "Request to intercept",
13
+ "Role of user acted": "Role of user acted",
14
+ "Select actions": "Select actions",
15
+ "The following selected requests all trigger interception on submission": "The following selected requests all trigger interception on submission",
16
+ "Trigger mode": "Trigger mode",
17
+ "Triggered before submitting a create, update, or delete request to a collection, so that data validation, logical judgment, etc., can be performed before executing the request, and then either approving the request or rejecting the request by using the \"End process\" node.": "Triggered before submitting a create, update, or delete request to a collection, so that data validation, logical judgment, etc., can be performed before executing the request, and then either approving the request or rejecting the request by using the \"End process\" node.",
18
+ "Triggered before the execution of a request initiated through an action button or API, such as before adding, updating, or deleting data. Suitable for data validation and logic judgment before action, and the request could be rejected by using the \"End process\" node.": "Triggered before the execution of a request initiated through an action button or API, such as before adding, updating, or deleting data. Suitable for data validation and logic judgment before action, and the request could be rejected by using the \"End process\" node.",
19
+ "Triggered only when a form bound to this workflow is submitted": "Triggered only when a form bound to this workflow is submitted",
20
+ "Update a record": "Update a record",
21
+ "Update record": "Update record",
22
+ "User acted": "User acted",
23
+ "Values submitted": "Values submitted"
24
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "Create a record": "レコード作成",
3
+ "Create record": "レコード作成",
4
+ "Delete": "削除",
5
+ "Delete record": "レコード削除",
6
+ "Global mode, triggered before executing the following actions": "グローバルモード:以下のアクション実行前にトリガーされます",
7
+ "Local mode, triggered before executing the actions bound to this workflow": "ローカルモード:本ワークフローに紐づくアクション実行前にトリガーされます",
8
+ "Parameters": "パラメータ",
9
+ "Pre-action event": "アクション前イベント",
10
+ "Record to submit": "提出対象レコード",
11
+ "Request inteception": "リクエストインターセプト",
12
+ "Request to intercept": "インターセプト対象リクエスト",
13
+ "Role of user acted": "操作者ロール",
14
+ "Select actions": "操作選択",
15
+ "The following selected requests all trigger interception on submission": "選択された以下のリクエストはすべて提出時にインターセプトをトリガーします",
16
+ "Trigger mode": "トリガーモード",
17
+ "Triggered before submitting a create, update, or delete request to a collection, so that data validation, logical judgment, etc., can be performed before executing the request, and then either approving the request or rejecting the request by using the \"End process\" node.": "コレクションへの作成・更新・削除リクエスト提出前にトリガーされ、リクエスト実行前のデータ検証や論理判断を実施可能です。「プロセス終了」ノードを使用してリクエストを承認または拒否します。",
18
+ "Triggered before the execution of a request initiated through an action button or API, such as before adding, updating, or deleting data. Suitable for data validation and logic judgment before action, and the request could be rejected by using the \"End process\" node.": "アクションボタンまたはAPI経由でリクエストが実行される前にトリガーされます(データ追加・更新・削除前など)。操作前のデータ検証や論理判断に適し、「プロセス終了」ノードによるリクエスト拒否が可能です。",
19
+ "Triggered only when a form bound to this workflow is submitted": "本ワークフローに紐づくフォーム提出時のみトリガーされます",
20
+ "Update a record": "レコード更新",
21
+ "Update record": "レコード更新",
22
+ "User acted": "操作者",
23
+ "Values submitted": "提出値オブジェクト"
24
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "Create a record": "레코드 생성",
3
+ "Create record": "레코드 생성",
4
+ "Delete": "삭제",
5
+ "Delete record": "레코드 삭제",
6
+ "Global mode, triggered before executing the following actions": "글로벌 모드, 아래 작업 실행 전 트리거",
7
+ "Local mode, triggered before executing the actions bound to this workflow": "로컬 모드, 이 워크플로에 바인딩된 작업 실행 전 트리거",
8
+ "Parameters": "매개변수",
9
+ "Pre-action event": "사전 동작 이벤트",
10
+ "Record to submit": "제출할 레코드",
11
+ "Request inteception": "요청 가로채기",
12
+ "Request to intercept": "가로챌 요청",
13
+ "Role of user acted": "작업한 사용자의 역할",
14
+ "Select actions": "작업 선택",
15
+ "The following selected requests all trigger interception on submission": "아래 선택된 요청은 모두 제출 시 가로채기가 트리거됩니다",
16
+ "Trigger mode": "트리거 모드",
17
+ "Triggered before submitting a create, update, or delete request to a collection, so that data validation, logical judgment, etc., can be performed before executing the request, and then either approving the request or rejecting the request by using the \"End process\" node.": "컬렉션에 생성, 수정, 삭제 요청을 제출하기 전에 트리거되어 데이터 검증, 논리 판단 등을 수행할 수 있으며, 이후 \"프로세스 종료\" 노드를 사용해 요청을 승인하거나 거부할 수 있습니다.",
18
+ "Triggered before the execution of a request initiated through an action button or API, such as before adding, updating, or deleting data. Suitable for data validation and logic judgment before action, and the request could be rejected by using the \"End process\" node.": "액션 버튼이나 API를 통해 생성, 수정, 삭제 요청 실행 전 트리거됩니다. 동작 전 데이터 검증, 논리 판단에 적합하며, \"프로세스 종료\" 노드로 요청을 거부할 수 있습니다.",
19
+ "Triggered only when a form bound to this workflow is submitted": "이 워크플로에 바인딩된 폼이 제출될 때만 트리거",
20
+ "Update a record": "레코드 업데이트",
21
+ "Update record": "레코드 업데이트",
22
+ "User acted": "작업한 사용자",
23
+ "Values submitted": "제출된 값"
24
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "Create a record": "Create a record",
3
+ "Create record": "Create record",
4
+ "Delete": "Delete",
5
+ "Delete record": "Delete record",
6
+ "Global mode, triggered before executing the following actions": "Global mode, triggered before executing the following actions",
7
+ "Local mode, triggered before executing the actions bound to this workflow": "Local mode, triggered before executing the actions bound to this workflow",
8
+ "Parameters": "Parameters",
9
+ "Pre-action event": "Pre-action event",
10
+ "Record to submit": "Record to submit",
11
+ "Request inteception": "Request inteception",
12
+ "Request to intercept": "Request to intercept",
13
+ "Role of user acted": "Role of user acted",
14
+ "Select actions": "Select actions",
15
+ "The following selected requests all trigger interception on submission": "The following selected requests all trigger interception on submission",
16
+ "Trigger mode": "Trigger mode",
17
+ "Triggered before submitting a create, update, or delete request to a collection, so that data validation, logical judgment, etc., can be performed before executing the request, and then either approving the request or rejecting the request by using the \"End process\" node.": "Triggered before submitting a create, update, or delete request to a collection, so that data validation, logical judgment, etc., can be performed before executing the request, and then either approving the request or rejecting the request by using the \"End process\" node.",
18
+ "Triggered before the execution of a request initiated through an action button or API, such as before adding, updating, or deleting data. Suitable for data validation and logic judgment before action, and the request could be rejected by using the \"End process\" node.": "Triggered before the execution of a request initiated through an action button or API, such as before adding, updating, or deleting data. Suitable for data validation and logic judgment before action, and the request could be rejected by using the \"End process\" node.",
19
+ "Triggered only when a form bound to this workflow is submitted": "Triggered only when a form bound to this workflow is submitted",
20
+ "Update a record": "Update a record",
21
+ "Update record": "Update record",
22
+ "User acted": "User acted",
23
+ "Values submitted": "Values submitted"
24
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "Create a record": "Create a record",
3
+ "Create record": "Create record",
4
+ "Delete": "Delete",
5
+ "Delete record": "Delete record",
6
+ "Global mode, triggered before executing the following actions": "Global mode, triggered before executing the following actions",
7
+ "Local mode, triggered before executing the actions bound to this workflow": "Local mode, triggered before executing the actions bound to this workflow",
8
+ "Parameters": "Parameters",
9
+ "Pre-action event": "Pre-action event",
10
+ "Record to submit": "Record to submit",
11
+ "Request inteception": "Request inteception",
12
+ "Request to intercept": "Request to intercept",
13
+ "Role of user acted": "Role of user acted",
14
+ "Select actions": "Select actions",
15
+ "The following selected requests all trigger interception on submission": "The following selected requests all trigger interception on submission",
16
+ "Trigger mode": "Trigger mode",
17
+ "Triggered before submitting a create, update, or delete request to a collection, so that data validation, logical judgment, etc., can be performed before executing the request, and then either approving the request or rejecting the request by using the \"End process\" node.": "Triggered before submitting a create, update, or delete request to a collection, so that data validation, logical judgment, etc., can be performed before executing the request, and then either approving the request or rejecting the request by using the \"End process\" node.",
18
+ "Triggered before the execution of a request initiated through an action button or API, such as before adding, updating, or deleting data. Suitable for data validation and logic judgment before action, and the request could be rejected by using the \"End process\" node.": "Triggered before the execution of a request initiated through an action button or API, such as before adding, updating, or deleting data. Suitable for data validation and logic judgment before action, and the request could be rejected by using the \"End process\" node.",
19
+ "Triggered only when a form bound to this workflow is submitted": "Triggered only when a form bound to this workflow is submitted",
20
+ "Update a record": "Update a record",
21
+ "Update record": "Update record",
22
+ "User acted": "User acted",
23
+ "Values submitted": "Values submitted"
24
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "Create a record": "Создать запись",
3
+ "Create record": "Создать запись",
4
+ "Delete": "Удалить",
5
+ "Delete record": "Удалить запись",
6
+ "Global mode, triggered before executing the following actions": "Глобальный режим, срабатывает перед выполнением следующих действий",
7
+ "Local mode, triggered before executing the actions bound to this workflow": "Локальный режим, срабатывает перед выполнением действий, связанных с этим рабочим процессом",
8
+ "Parameters": "Параметры",
9
+ "Pre-action event": "До события",
10
+ "Record to submit": "Запись для отправки",
11
+ "Request inteception": "Перехват запроса",
12
+ "Request to intercept": "Запрос для перехвата",
13
+ "Role of user acted": "Роль пользователя, совершившего действие",
14
+ "Select actions": "Выбрать действия",
15
+ "The following selected requests all trigger interception on submission": "Следующие выбранные запросы все вызывают перехват при отправке",
16
+ "Trigger mode": "Режим срабатывания",
17
+ "Triggered before submitting a create, update, or delete request to a collection, so that data validation, logical judgment, etc., can be performed before executing the request, and then either approving the request or rejecting the request by using the \"End process\" node.": "Срабатывает перед отправкой запроса на создание, обновление или удаление в коллекции, позволяя выполнять проверку данных, логические суждения и т. д., а затем либо одобрять запрос, либо отклонять его с помощью узла \"Конец процесса\".",
18
+ "Triggered before the execution of a request initiated through an action button or API, such as before adding, updating, or deleting data. Suitable for data validation and logic judgment before action, and the request could be rejected by using the \"End process\" node.": "Срабатывает перед выполнением запроса, инициированного через кнопку действия или API, например, перед добавлением, обновлением или удалением данных. Подходит для проверки данных и логических суждений перед действием, и запрос может быть отклонен с помощью узла \"Конец процесса\".",
19
+ "Triggered only when a form bound to this workflow is submitted": "Срабатывает только при отправке формы, связанной с этим рабочим процессом",
20
+ "Update a record": "Обновить запись",
21
+ "Update record": "Обновить запись",
22
+ "User acted": "Пользователь, совершивший действие",
23
+ "Values submitted": "Отправленные значения"
24
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "Create a record": "Create a record",
3
+ "Create record": "Create record",
4
+ "Delete": "Delete",
5
+ "Delete record": "Delete record",
6
+ "Global mode, triggered before executing the following actions": "Global mode, triggered before executing the following actions",
7
+ "Local mode, triggered before executing the actions bound to this workflow": "Local mode, triggered before executing the actions bound to this workflow",
8
+ "Parameters": "Parameters",
9
+ "Pre-action event": "Pre-action event",
10
+ "Record to submit": "Record to submit",
11
+ "Request inteception": "Request inteception",
12
+ "Request to intercept": "Request to intercept",
13
+ "Role of user acted": "Role of user acted",
14
+ "Select actions": "Select actions",
15
+ "The following selected requests all trigger interception on submission": "The following selected requests all trigger interception on submission",
16
+ "Trigger mode": "Trigger mode",
17
+ "Triggered before submitting a create, update, or delete request to a collection, so that data validation, logical judgment, etc., can be performed before executing the request, and then either approving the request or rejecting the request by using the \"End process\" node.": "Triggered before submitting a create, update, or delete request to a collection, so that data validation, logical judgment, etc., can be performed before executing the request, and then either approving the request or rejecting the request by using the \"End process\" node.",
18
+ "Triggered before the execution of a request initiated through an action button or API, such as before adding, updating, or deleting data. Suitable for data validation and logic judgment before action, and the request could be rejected by using the \"End process\" node.": "Triggered before the execution of a request initiated through an action button or API, such as before adding, updating, or deleting data. Suitable for data validation and logic judgment before action, and the request could be rejected by using the \"End process\" node.",
19
+ "Triggered only when a form bound to this workflow is submitted": "Triggered only when a form bound to this workflow is submitted",
20
+ "Update a record": "Update a record",
21
+ "Update record": "Update record",
22
+ "User acted": "User acted",
23
+ "Values submitted": "Values submitted"
24
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "Create a record": "Create a record",
3
+ "Create record": "Create record",
4
+ "Delete": "Delete",
5
+ "Delete record": "Delete record",
6
+ "Global mode, triggered before executing the following actions": "Global mode, triggered before executing the following actions",
7
+ "Local mode, triggered before executing the actions bound to this workflow": "Local mode, triggered before executing the actions bound to this workflow",
8
+ "Parameters": "Parameters",
9
+ "Pre-action event": "Pre-action event",
10
+ "Record to submit": "Record to submit",
11
+ "Request inteception": "Request inteception",
12
+ "Request to intercept": "Request to intercept",
13
+ "Role of user acted": "Role of user acted",
14
+ "Select actions": "Select actions",
15
+ "The following selected requests all trigger interception on submission": "The following selected requests all trigger interception on submission",
16
+ "Trigger mode": "Trigger mode",
17
+ "Triggered before submitting a create, update, or delete request to a collection, so that data validation, logical judgment, etc., can be performed before executing the request, and then either approving the request or rejecting the request by using the \"End process\" node.": "Triggered before submitting a create, update, or delete request to a collection, so that data validation, logical judgment, etc., can be performed before executing the request, and then either approving the request or rejecting the request by using the \"End process\" node.",
18
+ "Triggered before the execution of a request initiated through an action button or API, such as before adding, updating, or deleting data. Suitable for data validation and logic judgment before action, and the request could be rejected by using the \"End process\" node.": "Triggered before the execution of a request initiated through an action button or API, such as before adding, updating, or deleting data. Suitable for data validation and logic judgment before action, and the request could be rejected by using the \"End process\" node.",
19
+ "Triggered only when a form bound to this workflow is submitted": "Triggered only when a form bound to this workflow is submitted",
20
+ "Update a record": "Update a record",
21
+ "Update record": "Update record",
22
+ "User acted": "User acted",
23
+ "Values submitted": "Values submitted"
24
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "Create a record": "Create a record",
3
+ "Create record": "Create record",
4
+ "Delete": "Delete",
5
+ "Delete record": "Delete record",
6
+ "Global mode, triggered before executing the following actions": "Global mode, triggered before executing the following actions",
7
+ "Local mode, triggered before executing the actions bound to this workflow": "Local mode, triggered before executing the actions bound to this workflow",
8
+ "Parameters": "Parameters",
9
+ "Pre-action event": "Pre-action event",
10
+ "Record to submit": "Record to submit",
11
+ "Request inteception": "Request inteception",
12
+ "Request to intercept": "Request to intercept",
13
+ "Role of user acted": "Role of user acted",
14
+ "Select actions": "Select actions",
15
+ "The following selected requests all trigger interception on submission": "The following selected requests all trigger interception on submission",
16
+ "Trigger mode": "Trigger mode",
17
+ "Triggered before submitting a create, update, or delete request to a collection, so that data validation, logical judgment, etc., can be performed before executing the request, and then either approving the request or rejecting the request by using the \"End process\" node.": "Triggered before submitting a create, update, or delete request to a collection, so that data validation, logical judgment, etc., can be performed before executing the request, and then either approving the request or rejecting the request by using the \"End process\" node.",
18
+ "Triggered before the execution of a request initiated through an action button or API, such as before adding, updating, or deleting data. Suitable for data validation and logic judgment before action, and the request could be rejected by using the \"End process\" node.": "Triggered before the execution of a request initiated through an action button or API, such as before adding, updating, or deleting data. Suitable for data validation and logic judgment before action, and the request could be rejected by using the \"End process\" node.",
19
+ "Triggered only when a form bound to this workflow is submitted": "Triggered only when a form bound to this workflow is submitted",
20
+ "Update a record": "Update a record",
21
+ "Update record": "Update record",
22
+ "User acted": "User acted",
23
+ "Values submitted": "Values submitted"
24
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "Create a record": "Create a record",
3
+ "Create record": "创建记录",
4
+ "Delete": "Delete",
5
+ "Delete record": "删除记录",
6
+ "Global mode, triggered before executing the following actions": "全局模式,以下操作执行前都触发",
7
+ "Local mode, triggered before executing the actions bound to this workflow": "局部模式,绑定该工作流的操作执行前触发",
8
+ "Parameters": "参数",
9
+ "Pre-action event": "操作前事件",
10
+ "Record to submit": "待提交的记录",
11
+ "Request inteception": "Request inteception",
12
+ "Request to intercept": "Request to intercept",
13
+ "Role of user acted": "操作者角色",
14
+ "Select actions": "选择操作",
15
+ "The following selected requests all trigger interception on submission": "The following selected requests all trigger interception on submission",
16
+ "Trigger mode": "触发模式",
17
+ "Triggered before submitting a create, update, or delete request to a collection, so that data validation, logical judgment, etc., can be performed before executing the request, and then either approving the request or rejecting the request by using the \"End process\" node.": "Triggered before submitting a create, update, or delete request to a collection, so that data validation, logical judgment, etc., can be performed before executing the request, and then either approving the request or rejecting the request by using the \"End process\" node.",
18
+ "Triggered before the execution of a request initiated through an action button or API, such as before adding, updating, or deleting data. Suitable for data validation and logic judgment before action, and the request could be rejected by using the \"End process\" node.": "通过操作按钮或 API 发起请求并在执行前触发,比如新增、更新、删除数据之前。适用于在操作前进行数据验证、逻辑判断,并可通过“结束节点”来拦截请求。",
19
+ "Triggered only when a form bound to this workflow is submitted": "Triggered only when a form bound to this workflow is submitted",
20
+ "Update a record": "Update a record",
21
+ "Update record": "更新记录",
22
+ "User acted": "操作者",
23
+ "Values submitted": "提交的值对象"
24
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "Create a record": "Create a record",
3
+ "Create record": "Create record",
4
+ "Delete": "Delete",
5
+ "Delete record": "Delete record",
6
+ "Global mode, triggered before executing the following actions": "Global mode, triggered before executing the following actions",
7
+ "Local mode, triggered before executing the actions bound to this workflow": "Local mode, triggered before executing the actions bound to this workflow",
8
+ "Parameters": "Parameters",
9
+ "Pre-action event": "Pre-action event",
10
+ "Record to submit": "Record to submit",
11
+ "Request inteception": "Request inteception",
12
+ "Request to intercept": "Request to intercept",
13
+ "Role of user acted": "Role of user acted",
14
+ "Select actions": "Select actions",
15
+ "The following selected requests all trigger interception on submission": "The following selected requests all trigger interception on submission",
16
+ "Trigger mode": "Trigger mode",
17
+ "Triggered before submitting a create, update, or delete request to a collection, so that data validation, logical judgment, etc., can be performed before executing the request, and then either approving the request or rejecting the request by using the \"End process\" node.": "Triggered before submitting a create, update, or delete request to a collection, so that data validation, logical judgment, etc., can be performed before executing the request, and then either approving the request or rejecting the request by using the \"End process\" node.",
18
+ "Triggered before the execution of a request initiated through an action button or API, such as before adding, updating, or deleting data. Suitable for data validation and logic judgment before action, and the request could be rejected by using the \"End process\" node.": "Triggered before the execution of a request initiated through an action button or API, such as before adding, updating, or deleting data. Suitable for data validation and logic judgment before action, and the request could be rejected by using the \"End process\" node.",
19
+ "Triggered only when a form bound to this workflow is submitted": "Triggered only when a form bound to this workflow is submitted",
20
+ "Update a record": "Update a record",
21
+ "Update record": "Update record",
22
+ "User acted": "User acted",
23
+ "Values submitted": "Values submitted"
24
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This program is offered under a commercial license.
7
+ * For more information, see <https://www.nocobase.com/agreement>
8
+ */
9
+ import { Plugin } from '@nocobase/server';
10
+ export declare class PluginWorkflowRequestInterceptorServer extends Plugin {
11
+ load(): Promise<void>;
12
+ }
13
+ export default PluginWorkflowRequestInterceptorServer;