plugin-document-understanding 1.1.15 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +19 -25
- package/dist/client/169.6888909107c553c3.js +10 -0
- package/dist/client/379.e29f5ced467ce23d.js +10 -0
- package/dist/client/867.3ed3b814115181ca.js +10 -0
- package/dist/client/index.js +1 -1
- package/dist/client-v2/169.53bf1be2ec192f0c.js +10 -0
- package/dist/client-v2/379.e75c4829567cdb89.js +10 -0
- package/dist/client-v2/867.66d7291e95f1de78.js +10 -0
- package/dist/client-v2/index.js +1 -1
- package/dist/externalVersion.js +10 -8
- package/dist/locale/en-US.json +126 -0
- package/dist/locale/vi-VN.json +130 -2
- package/dist/locale/zh-CN.json +127 -1
- package/dist/node_modules/form-data/package.json +1 -1
- package/dist/node_modules/mime-types/package.json +1 -1
- package/dist/server/actions.js +211 -11
- package/dist/server/collections/api-keys.js +55 -0
- package/dist/server/collections/artifacts.js +59 -0
- package/dist/server/collections/config.js +9 -3
- package/dist/server/collections/endpoints.js +3 -0
- package/dist/server/collections/jobs.js +7 -4
- package/dist/server/collections/operations.js +76 -0
- package/dist/server/contracts/du-contracts.js +828 -0
- package/dist/server/dugate-seed.js +98 -340
- package/dist/server/plugin.js +49 -7
- package/dist/server/routes/du-gateway-router.js +443 -0
- package/dist/server/services/ArtifactStorageService.js +459 -0
- package/dist/server/services/AsyncJobManager.js +1 -1
- package/dist/server/services/BuiltinBusinessEngine.js +1223 -0
- package/dist/server/services/DocumentUnderstandingService.js +151 -25
- package/dist/server/services/ExternalDuReworkClient.js +210 -0
- package/dist/server/services/OperationOrchestrator.js +1087 -0
- package/dist/server/services/PipelineExecutor.js +164 -43
- package/dist/server/tools/document-understanding-tool.js +49 -24
- package/dist/server/workflow/DocumentUnderstandingInstruction.js +292 -0
- package/package.json +8 -4
- package/src/client/index.tsx +11 -0
- package/src/client-v2/components/ApiKeysTab.tsx +198 -0
- package/src/client-v2/components/EndpointsTab.tsx +39 -2
- package/src/client-v2/components/JobsTab.tsx +136 -21
- package/src/client-v2/components/OperationsTab.tsx +586 -0
- package/src/client-v2/components/PluginSettings.tsx +24 -8
- package/src/client-v2/components/ServiceConfigTab.tsx +225 -65
- package/src/client-v2/components/__tests__/PluginSettings.test.tsx +43 -0
- package/src/client-v2/locale.ts +1 -8
- package/src/client-v2/models/index.ts +1 -8
- package/src/client-v2/plugin.tsx +12 -8
- package/src/client-v2/types.ts +13 -1
- package/src/client-v2/workflow/DocumentUnderstandingFieldset.tsx +122 -0
- package/src/client-v2/workflow/DocumentUnderstandingInstruction.tsx +49 -0
- package/src/locale/en-US.json +126 -0
- package/src/locale/vi-VN.json +130 -2
- package/src/locale/zh-CN.json +127 -1
- package/src/server/__tests__/actions.test.ts +1 -8
- package/src/server/__tests__/du-rework-gateway.test.ts +462 -0
- package/src/server/__tests__/dugate-integration.test.ts +79 -42
- package/src/server/__tests__/smoke.test.ts +1 -8
- package/src/server/__tests__/upload-security.test.ts +1 -8
- package/src/server/actions.ts +252 -36
- package/src/server/collections/api-keys.ts +35 -0
- package/src/server/collections/artifacts.ts +39 -0
- package/src/server/collections/config.ts +18 -2
- package/src/server/collections/endpoints.ts +12 -0
- package/src/server/collections/jobs.ts +16 -4
- package/src/server/collections/operations.ts +56 -0
- package/src/server/contracts/du-contracts.ts +1026 -0
- package/src/server/dugate-seed.ts +126 -453
- package/src/server/plugin.ts +64 -14
- package/src/server/routes/du-gateway-router.ts +465 -0
- package/src/server/services/ArtifactStorageService.ts +596 -0
- package/src/server/services/AsyncJobManager.ts +10 -1
- package/src/server/services/BuiltinBusinessEngine.ts +1544 -0
- package/src/server/services/DocumentUnderstandingService.ts +186 -44
- package/src/server/services/ExternalDuReworkClient.ts +222 -0
- package/src/server/services/OperationOrchestrator.ts +1359 -0
- package/src/server/services/PipelineExecutor.ts +245 -108
- package/src/server/tools/document-understanding-tool.ts +63 -45
- package/src/server/types.ts +101 -16
- package/src/server/workflow/DocumentUnderstandingInstruction.ts +308 -0
- package/dist/client/345.e6e484fb1974c3d3.js +0 -10
- package/dist/client-v2/345.a8f28526ac21e02a.js +0 -10
package/src/locale/en-US.json
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
"Document Understanding - Pipeline Orchestrator": "Document Understanding - Pipeline Orchestrator",
|
|
4
4
|
"Service Connection": "Service Connection",
|
|
5
5
|
"Service Config": "Service Config",
|
|
6
|
+
"Operations": "Operations",
|
|
7
|
+
"API Keys": "API Keys",
|
|
6
8
|
"Endpoints": "Endpoints",
|
|
7
9
|
"Pipelines": "Pipelines",
|
|
8
10
|
"Jobs history": "Jobs history",
|
|
@@ -13,10 +15,12 @@
|
|
|
13
15
|
"Authentication Type": "Authentication Type",
|
|
14
16
|
"None": "None",
|
|
15
17
|
"API Key": "API Key",
|
|
18
|
+
"API Key (x-api-key)": "API Key (x-api-key)",
|
|
16
19
|
"Bearer Token": "Bearer Token",
|
|
17
20
|
"Custom Header": "Custom Header",
|
|
18
21
|
"Custom Header Name": "Custom Header Name",
|
|
19
22
|
"Enter key or token": "Enter key or token",
|
|
23
|
+
"Leave blank to keep existing secret": "Leave blank to keep existing secret",
|
|
20
24
|
"Request Timeout (ms)": "Request Timeout (ms)",
|
|
21
25
|
"Default Retries": "Default Retries",
|
|
22
26
|
"Poll Interval (ms)": "Poll Interval (ms)",
|
|
@@ -24,9 +28,130 @@
|
|
|
24
28
|
"Webhook Secret": "Webhook Secret",
|
|
25
29
|
"Used to verify HMAC-SHA256 signatures on incoming webhook callbacks": "Used to verify HMAC-SHA256 signatures on incoming webhook callbacks",
|
|
26
30
|
"Optional: secret for webhook signature verification": "Optional: secret for webhook signature verification",
|
|
31
|
+
"Signs outbound x-du-signature callbacks and verifies incoming webhooks": "Signs outbound x-du-signature callbacks and verifies incoming webhooks",
|
|
32
|
+
"Optional: secret for HMAC-SHA256 webhook signature": "Optional: secret for HMAC-SHA256 webhook signature",
|
|
27
33
|
"Save Configuration": "Save Configuration",
|
|
28
34
|
"Configuration saved successfully": "Configuration saved successfully",
|
|
29
35
|
"Failed to save config": "Failed to save config",
|
|
36
|
+
"Document Understanding Service & Public API Gateway": "Document Understanding Service & Public API Gateway",
|
|
37
|
+
"Provides built-in Document Understanding APIs (/api/du/v1/* and /api/v1/*) compatible with du-rework, with optional delegation to an external gateway.": "Provides built-in Document Understanding APIs (/api/du/v1/* and /api/v1/*) compatible with du-rework, with optional delegation to an external gateway.",
|
|
38
|
+
"Check Service Health": "Check Service Health",
|
|
39
|
+
"Sync du-rework Catalog (36 profiles)": "Sync du-rework Catalog (36 profiles)",
|
|
40
|
+
"Health check succeeded": "Health check succeeded",
|
|
41
|
+
"Health check failed": "Health check failed",
|
|
42
|
+
"Catalog synchronized": "Catalog synchronized",
|
|
43
|
+
"Runtime Health": "Runtime Health",
|
|
44
|
+
"Execution Engine & Gateway Policy": "Execution Engine & Gateway Policy",
|
|
45
|
+
"Execution Engine Mode": "Execution Engine Mode",
|
|
46
|
+
"Built-in NocoBase AI & Document Parser Engine": "Built-in NocoBase AI & Document Parser Engine",
|
|
47
|
+
"Hybrid (Built-in first, fallback to External Gateway)": "Hybrid (Built-in first, fallback to External Gateway)",
|
|
48
|
+
"External du-rework API Gateway": "External du-rework API Gateway",
|
|
49
|
+
"Public API Gateway": "Public API Gateway",
|
|
50
|
+
"Disabled": "Disabled",
|
|
51
|
+
"Reasoning LLM Service (@nocobase/plugin-ai)": "Reasoning LLM Service (@nocobase/plugin-ai)",
|
|
52
|
+
"Leave blank to auto-select the first enabled LLM service": "Leave blank to auto-select the first enabled LLM service",
|
|
53
|
+
"Auto-select active LLM service": "Auto-select active LLM service",
|
|
54
|
+
"Reasoning Model": "Reasoning Model",
|
|
55
|
+
"Auto-select default model": "Auto-select default model",
|
|
56
|
+
"Vision / OCR LLM Service (Optional)": "Vision / OCR LLM Service (Optional)",
|
|
57
|
+
"Same as Reasoning LLM Service": "Same as Reasoning LLM Service",
|
|
58
|
+
"Vision / OCR Model (Optional)": "Vision / OCR Model (Optional)",
|
|
59
|
+
"Max Files per Operation (DI-06)": "Max Files per Operation (DI-06)",
|
|
60
|
+
"Max File Size (bytes)": "Max File Size (bytes)",
|
|
61
|
+
"External Gateway & Webhook Connection": "External Gateway & Webhook Connection",
|
|
62
|
+
"Used when delegating to an external du-rework gateway or custom REST endpoints": "Used when delegating to an external du-rework gateway or custom REST endpoints",
|
|
63
|
+
"Operation ID": "Operation ID",
|
|
64
|
+
"Business / Action": "Business / Action",
|
|
65
|
+
"Business": "Business",
|
|
66
|
+
"Variant / Mode": "Variant / Mode",
|
|
67
|
+
"State": "State",
|
|
68
|
+
"Progress": "Progress",
|
|
69
|
+
"Tokens / Cost": "Tokens / Cost",
|
|
70
|
+
"Created": "Created",
|
|
71
|
+
"Approve / Resume": "Approve / Resume",
|
|
72
|
+
"Resume": "Resume",
|
|
73
|
+
"Cancel this operation?": "Cancel this operation?",
|
|
74
|
+
"Operation cancellation requested": "Operation cancellation requested",
|
|
75
|
+
"Operation resumed": "Operation resumed",
|
|
76
|
+
"Operation submitted": "Operation submitted",
|
|
77
|
+
"Operations (30d)": "Operations (30d)",
|
|
78
|
+
"Input Tokens": "Input Tokens",
|
|
79
|
+
"Output Tokens": "Output Tokens",
|
|
80
|
+
"Estimated Cost (USD)": "Estimated Cost (USD)",
|
|
81
|
+
"Run Business Action": "Run Business Action",
|
|
82
|
+
"Filter by state": "Filter by state",
|
|
83
|
+
"Filter by business": "Filter by business",
|
|
84
|
+
"Run Document Understanding Action": "Run Document Understanding Action",
|
|
85
|
+
"Submit Operation": "Submit Operation",
|
|
86
|
+
"Upload Input Documents": "Upload Input Documents",
|
|
87
|
+
"Select Files": "Select Files",
|
|
88
|
+
"Page Selection (DI-06)": "Page Selection (DI-06)",
|
|
89
|
+
"Optional page ranges, e.g. \"1-2, 5\" (leave blank for all pages)": "Optional page ranges, e.g. \"1-2, 5\" (leave blank for all pages)",
|
|
90
|
+
"Optional page ranges, e.g. \"1-3, 5\" (leave empty for all pages)": "Optional page ranges, e.g. \"1-3, 5\" (leave empty for all pages)",
|
|
91
|
+
"Human-in-the-Loop Approval": "Human-in-the-Loop Approval",
|
|
92
|
+
"Submit Decision": "Submit Decision",
|
|
93
|
+
"Approve & Proceed": "Approve & Proceed",
|
|
94
|
+
"Approve": "Approve",
|
|
95
|
+
"Reject": "Reject",
|
|
96
|
+
"Reviewer Note": "Reviewer Note",
|
|
97
|
+
"Enter verification note...": "Enter verification note...",
|
|
98
|
+
"Operation": "Operation",
|
|
99
|
+
"Operation Details": "Operation Details",
|
|
100
|
+
"Human Sign-off Required (Trade Finance L/C Policy)": "Human Sign-off Required (Trade Finance L/C Policy)",
|
|
101
|
+
"Automated UCP 600 / ISBP 821 findings require an authorized specialist signature.": "Automated UCP 600 / ISBP 821 findings require an authorized specialist signature.",
|
|
102
|
+
"Token & Cost Usage": "Token & Cost Usage",
|
|
103
|
+
"Document Input Coverage (DI-06)": "Document Input Coverage (DI-06)",
|
|
104
|
+
"Output Payload": "Output Payload",
|
|
105
|
+
"Gateway API Keys (x-api-key)": "Gateway API Keys (x-api-key)",
|
|
106
|
+
"External integrations pass x-api-key to call /api/du/v1/* or /api/v1/{uploads,businesses,operations,artifacts,usage}. Keys are stored as one-way SHA-256 hashes and isolated by Tenant ID.": "External integrations pass x-api-key to call /api/du/v1/* or /api/v1/{uploads,businesses,operations,artifacts,usage}. Keys are stored as one-way SHA-256 hashes and isolated by Tenant ID.",
|
|
107
|
+
"Copy your new x-api-key now — it will never be shown again": "Copy your new x-api-key now — it will never be shown again",
|
|
108
|
+
"Issue API Key": "Issue API Key",
|
|
109
|
+
"Issue Gateway API Key": "Issue Gateway API Key",
|
|
110
|
+
"Issue Key": "Issue Key",
|
|
111
|
+
"Key Name": "Key Name",
|
|
112
|
+
"Key Prefix": "Key Prefix",
|
|
113
|
+
"Tenant": "Tenant",
|
|
114
|
+
"Tenant ID": "Tenant ID",
|
|
115
|
+
"Operations and artifacts are isolated per Tenant ID (cross-tenant lookups return 404)": "Operations and artifacts are isolated per Tenant ID (cross-tenant lookups return 404)",
|
|
116
|
+
"Allowed Businesses": "Allowed Businesses",
|
|
117
|
+
"All Businesses (*)": "All Businesses (*)",
|
|
118
|
+
"Last Used": "Last Used",
|
|
119
|
+
"Revoke": "Revoke",
|
|
120
|
+
"Revoke this API key?": "Revoke this API key?",
|
|
121
|
+
"API key issued": "API key issued",
|
|
122
|
+
"API key revoked": "API key revoked",
|
|
123
|
+
"Protocol": "Protocol",
|
|
124
|
+
"Protocol Mode": "Protocol Mode",
|
|
125
|
+
"Custom REST": "Custom REST",
|
|
126
|
+
"Canonical du-rework (Built-in / Hybrid)": "Canonical du-rework (Built-in / Hybrid)",
|
|
127
|
+
"Canonical du-rework (External Gateway)": "Canonical du-rework (External Gateway)",
|
|
128
|
+
"Legacy / Generic HTTP REST": "Legacy / Generic HTTP REST",
|
|
129
|
+
"Business ID": "Business ID",
|
|
130
|
+
"Action Name": "Action Name",
|
|
131
|
+
"Waiting Input": "Waiting Input",
|
|
132
|
+
"Cancelled": "Cancelled",
|
|
133
|
+
"Job cancelled": "Job cancelled",
|
|
134
|
+
"Job resumed": "Job resumed",
|
|
135
|
+
"Cancel this job?": "Cancel this job?",
|
|
136
|
+
"Canonical Business Action (du-rework)": "Canonical Business Action (du-rework)",
|
|
137
|
+
"Configured Pipeline": "Configured Pipeline",
|
|
138
|
+
"Select a pipeline": "Select a pipeline",
|
|
139
|
+
"Select pipeline": "Select pipeline",
|
|
140
|
+
"Select variant": "Select variant",
|
|
141
|
+
"Document Files / Attachment Variable": "Document Files / Attachment Variable",
|
|
142
|
+
"Bind an attachment field, file URL, or comma-separated upload paths from upstream nodes": "Bind an attachment field, file URL, or comma-separated upload paths from upstream nodes",
|
|
143
|
+
"Input Parameters (JSON)": "Input Parameters (JSON)",
|
|
144
|
+
"Additional action parameters (e.g. referenceData, questions, targetLanguage, ruleSetVersion)": "Additional action parameters (e.g. referenceData, questions, targetLanguage, ruleSetVersion)",
|
|
145
|
+
"Continue workflow even if document processing fails": "Continue workflow even if document processing fails",
|
|
146
|
+
"Parse, OCR, extract, analyze, transform, compare, or audit L/C & disbursement documents via Document Understanding.": "Parse, OCR, extract, analyze, transform, compare, or audit L/C & disbursement documents via Document Understanding.",
|
|
147
|
+
"Structured Data": "Structured Data",
|
|
148
|
+
"Markdown Content": "Markdown Content",
|
|
149
|
+
"Plain Text": "Plain Text",
|
|
150
|
+
"Report": "Report",
|
|
151
|
+
"Verdict": "Verdict",
|
|
152
|
+
"Discrepancies": "Discrepancies",
|
|
153
|
+
"Invalid API key payload.": "Invalid API key payload.",
|
|
154
|
+
"Invalid operation payload.": "Invalid operation payload.",
|
|
30
155
|
"Add Endpoint": "Add Endpoint",
|
|
31
156
|
"Edit Endpoint": "Edit Endpoint",
|
|
32
157
|
"Basic": "Basic",
|
|
@@ -123,6 +248,7 @@
|
|
|
123
248
|
"Test Playground": "Test Playground",
|
|
124
249
|
"Input JSON": "Input JSON",
|
|
125
250
|
"Invalid JSON input": "Invalid JSON input",
|
|
251
|
+
"Invalid JSON input.": "Invalid JSON input.",
|
|
126
252
|
"Run test": "Run test",
|
|
127
253
|
"Test job started": "Test job started",
|
|
128
254
|
"Result": "Result",
|
package/src/locale/vi-VN.json
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"Document Understanding": "Hiểu Tài Liệu",
|
|
3
|
-
"Document Understanding - Pipeline Orchestrator": "Hiểu Tài Liệu -
|
|
3
|
+
"Document Understanding - Pipeline Orchestrator": "Hiểu Tài Liệu - Cổng API & Điều Phối Nghiệp Vụ",
|
|
4
4
|
"Service Connection": "Kết nối dịch vụ",
|
|
5
5
|
"Service Config": "Cấu hình dịch vụ",
|
|
6
|
+
"Operations": "Tác vụ (Operations)",
|
|
7
|
+
"API Keys": "Khóa API (x-api-key)",
|
|
6
8
|
"Endpoints": "Endpoints",
|
|
7
9
|
"Pipelines": "Pipelines",
|
|
8
10
|
"Jobs history": "Lịch sử công việc",
|
|
@@ -13,10 +15,12 @@
|
|
|
13
15
|
"Authentication Type": "Loại xác thực",
|
|
14
16
|
"None": "Không",
|
|
15
17
|
"API Key": "Khóa API",
|
|
18
|
+
"API Key (x-api-key)": "Khóa API (x-api-key)",
|
|
16
19
|
"Bearer Token": "Token Bearer",
|
|
17
20
|
"Custom Header": "Header tùy chỉnh",
|
|
18
21
|
"Custom Header Name": "Tên Header tùy chỉnh",
|
|
19
22
|
"Enter key or token": "Nhập khóa hoặc token",
|
|
23
|
+
"Leave blank to keep existing secret": "Để trống để giữ khóa bí mật hiện tại",
|
|
20
24
|
"Request Timeout (ms)": "Timeout request (ms)",
|
|
21
25
|
"Default Retries": "Số lần thử lại mặc định",
|
|
22
26
|
"Poll Interval (ms)": "Khoảng thời gian poll (ms)",
|
|
@@ -24,9 +28,130 @@
|
|
|
24
28
|
"Webhook Secret": "Mã bí mật Webhook",
|
|
25
29
|
"Used to verify HMAC-SHA256 signatures on incoming webhook callbacks": "Dùng để xác thực chữ ký HMAC-SHA256 của các webhook callback đến",
|
|
26
30
|
"Optional: secret for webhook signature verification": "Tùy chọn: mã bí mật để xác thực chữ ký webhook",
|
|
31
|
+
"Signs outbound x-du-signature callbacks and verifies incoming webhooks": "Ký HMAC x-du-signature cho webhook gửi đi và xác thực webhook đến",
|
|
32
|
+
"Optional: secret for HMAC-SHA256 webhook signature": "Tùy chọn: khóa bí mật ký HMAC-SHA256 cho webhook",
|
|
27
33
|
"Save Configuration": "Lưu cấu hình",
|
|
28
34
|
"Configuration saved successfully": "Đã lưu cấu hình thành công",
|
|
29
35
|
"Failed to save config": "Lưu cấu hình thất bại",
|
|
36
|
+
"Document Understanding Service & Public API Gateway": "Dịch vụ Hiểu Tài liệu & Cổng Public API",
|
|
37
|
+
"Provides built-in Document Understanding APIs (/api/du/v1/* and /api/v1/*) compatible with du-rework, with optional delegation to an external gateway.": "Cung cấp trực tiếp bộ API xử lý tài liệu bất đồng bộ (/api/du/v1/* và /api/v1/*) tương thích chuẩn du-rework ngay trên NocoBase, kèm tùy chọn kết nối qua cổng ngoài.",
|
|
38
|
+
"Check Service Health": "Kiểm tra sức khỏe dịch vụ",
|
|
39
|
+
"Sync du-rework Catalog (36 profiles)": "Đồng bộ Catalog du-rework (36 nghiệp vụ)",
|
|
40
|
+
"Health check succeeded": "Kiểm tra sức khỏe thành công",
|
|
41
|
+
"Health check failed": "Kiểm tra sức khỏe thất bại",
|
|
42
|
+
"Catalog synchronized": "Đã đồng bộ danh mục",
|
|
43
|
+
"Runtime Health": "Trạng thái Runtime",
|
|
44
|
+
"Execution Engine & Gateway Policy": "Bộ máy thực thi & Chính sách Cổng API",
|
|
45
|
+
"Execution Engine Mode": "Chế độ bộ máy thực thi",
|
|
46
|
+
"Built-in NocoBase AI & Document Parser Engine": "Xử lý nội bộ bằng NocoBase AI & Document Parser",
|
|
47
|
+
"Hybrid (Built-in first, fallback to External Gateway)": "Hybrid (Ưu tiên nội bộ, dự phòng qua cổng ngoài)",
|
|
48
|
+
"External du-rework API Gateway": "Ủy quyền qua cổng du-rework bên ngoài",
|
|
49
|
+
"Public API Gateway": "Cổng Public API",
|
|
50
|
+
"Disabled": "Tắt",
|
|
51
|
+
"Reasoning LLM Service (@nocobase/plugin-ai)": "Dịch vụ LLM Suy luận (@nocobase/plugin-ai)",
|
|
52
|
+
"Leave blank to auto-select the first enabled LLM service": "Để trống để tự động chọn dịch vụ LLM đang bật đầu tiên",
|
|
53
|
+
"Auto-select active LLM service": "Tự động chọn dịch vụ LLM đang bật",
|
|
54
|
+
"Reasoning Model": "Mô hình Suy luận",
|
|
55
|
+
"Auto-select default model": "Tự động chọn model mặc định",
|
|
56
|
+
"Vision / OCR LLM Service (Optional)": "Dịch vụ Vision / OCR LLM (Tùy chọn)",
|
|
57
|
+
"Same as Reasoning LLM Service": "Dùng chung dịch vụ Suy luận",
|
|
58
|
+
"Vision / OCR Model (Optional)": "Mô hình Vision / OCR (Tùy chọn)",
|
|
59
|
+
"Max Files per Operation (DI-06)": "Số tệp tối đa mỗi tác vụ (DI-06)",
|
|
60
|
+
"Max File Size (bytes)": "Dung lượng tệp tối đa (bytes)",
|
|
61
|
+
"External Gateway & Webhook Connection": "Kết nối Cổng ngoài & Webhook",
|
|
62
|
+
"Used when delegating to an external du-rework gateway or custom REST endpoints": "Dùng khi ủy quyền sang cổng du-rework bên ngoài hoặc gọi custom REST endpoint",
|
|
63
|
+
"Operation ID": "Mã Operation",
|
|
64
|
+
"Business / Action": "Phân hệ / Hành động",
|
|
65
|
+
"Business": "Phân hệ nghiệp vụ",
|
|
66
|
+
"Variant / Mode": "Biến thể / Chế độ",
|
|
67
|
+
"State": "Trạng thái",
|
|
68
|
+
"Progress": "Tiến độ",
|
|
69
|
+
"Tokens / Cost": "Tokens / Chi phí",
|
|
70
|
+
"Created": "Thời gian tạo",
|
|
71
|
+
"Approve / Resume": "Phê duyệt / Tiếp tục",
|
|
72
|
+
"Resume": "Tiếp tục",
|
|
73
|
+
"Cancel this operation?": "Hủy tác vụ này?",
|
|
74
|
+
"Operation cancellation requested": "Đã gửi yêu cầu hủy tác vụ",
|
|
75
|
+
"Operation resumed": "Đã tiếp tục thực thi tác vụ",
|
|
76
|
+
"Operation submitted": "Đã gửi tác vụ",
|
|
77
|
+
"Operations (30d)": "Tác vụ (30 ngày)",
|
|
78
|
+
"Input Tokens": "Input Tokens",
|
|
79
|
+
"Output Tokens": "Output Tokens",
|
|
80
|
+
"Estimated Cost (USD)": "Chi phí ước tính (USD)",
|
|
81
|
+
"Run Business Action": "Chạy Tác vụ Nghiệp vụ",
|
|
82
|
+
"Filter by state": "Lọc theo trạng thái",
|
|
83
|
+
"Filter by business": "Lọc theo phân hệ",
|
|
84
|
+
"Run Document Understanding Action": "Thực thi Nghiệp vụ Hiểu Tài liệu",
|
|
85
|
+
"Submit Operation": "Gửi thực thi",
|
|
86
|
+
"Upload Input Documents": "Tải lên tài liệu đầu vào",
|
|
87
|
+
"Select Files": "Chọn tệp",
|
|
88
|
+
"Page Selection (DI-06)": "Chọn trang xử lý (DI-06)",
|
|
89
|
+
"Optional page ranges, e.g. \"1-2, 5\" (leave blank for all pages)": "Tùy chọn dải trang, vd \"1-2, 5\" (để trống để xử lý toàn bộ trang)",
|
|
90
|
+
"Optional page ranges, e.g. \"1-3, 5\" (leave empty for all pages)": "Tùy chọn dải trang, vd \"1-3, 5\" (để trống để xử lý toàn bộ trang)",
|
|
91
|
+
"Human-in-the-Loop Approval": "Phê duyệt Con người (HITL)",
|
|
92
|
+
"Submit Decision": "Gửi quyết định",
|
|
93
|
+
"Approve & Proceed": "Đồng ý phê duyệt & tiếp tục",
|
|
94
|
+
"Approve": "Đồng ý",
|
|
95
|
+
"Reject": "Từ chối",
|
|
96
|
+
"Reviewer Note": "Ghi chú người duyệt",
|
|
97
|
+
"Enter verification note...": "Nhập ghi chú thẩm định...",
|
|
98
|
+
"Operation": "Operation",
|
|
99
|
+
"Operation Details": "Chi tiết Operation",
|
|
100
|
+
"Human Sign-off Required (Trade Finance L/C Policy)": "Bắt buộc Thanh toán viên ký duyệt (Chính sách L/C)",
|
|
101
|
+
"Automated UCP 600 / ISBP 821 findings require an authorized specialist signature.": "Kết quả đối chiếu UCP 600 / ISBP 821 là bản hỗ trợ kiểm chứng từ, bắt buộc chuyên viên có thẩm quyền ký duyệt.",
|
|
102
|
+
"Token & Cost Usage": "Thống kê Token & Chi phí",
|
|
103
|
+
"Document Input Coverage (DI-06)": "Báo cáo Độ phủ Tài liệu (DI-06)",
|
|
104
|
+
"Output Payload": "Dữ liệu Kết quả Nghiệp vụ",
|
|
105
|
+
"Gateway API Keys (x-api-key)": "Khóa Cổng API (x-api-key)",
|
|
106
|
+
"External integrations pass x-api-key to call /api/du/v1/* or /api/v1/{uploads,businesses,operations,artifacts,usage}. Keys are stored as one-way SHA-256 hashes and isolated by Tenant ID.": "Hệ thống tích hợp ngoài truyền header x-api-key khi gọi /api/du/v1/* hoặc /api/v1/{uploads,businesses,operations,artifacts,usage}. Khóa được băm một chiều SHA-256 và cô lập theo Tenant ID.",
|
|
107
|
+
"Copy your new x-api-key now — it will never be shown again": "Sao chép khóa x-api-key ngay bây giờ — hệ thống chỉ hiển thị duy nhất một lần",
|
|
108
|
+
"Issue API Key": "Cấp khóa API mới",
|
|
109
|
+
"Issue Gateway API Key": "Phát hành Khóa Cổng API",
|
|
110
|
+
"Issue Key": "Phát hành khóa",
|
|
111
|
+
"Key Name": "Tên khóa",
|
|
112
|
+
"Key Prefix": "Tiền tố khóa",
|
|
113
|
+
"Tenant": "Tenant",
|
|
114
|
+
"Tenant ID": "Mã Tenant",
|
|
115
|
+
"Operations and artifacts are isolated per Tenant ID (cross-tenant lookups return 404)": "Tác vụ và tệp được cô lập chặt theo Tenant ID (truy cập chéo tenant trả về 404)",
|
|
116
|
+
"Allowed Businesses": "Phân hệ được phép gọi",
|
|
117
|
+
"All Businesses (*)": "Tất cả phân hệ (*)",
|
|
118
|
+
"Last Used": "Lần dùng cuối",
|
|
119
|
+
"Revoke": "Thu hồi",
|
|
120
|
+
"Revoke this API key?": "Thu hồi khóa API này?",
|
|
121
|
+
"API key issued": "Đã phát hành khóa API",
|
|
122
|
+
"API key revoked": "Đã thu hồi khóa API",
|
|
123
|
+
"Protocol": "Giao thức",
|
|
124
|
+
"Protocol Mode": "Chế độ giao thức",
|
|
125
|
+
"Custom REST": "Custom REST",
|
|
126
|
+
"Canonical du-rework (Built-in / Hybrid)": "Chuẩn du-rework (Nội bộ / Hybrid)",
|
|
127
|
+
"Canonical du-rework (External Gateway)": "Chuẩn du-rework (Cổng ngoài)",
|
|
128
|
+
"Legacy / Generic HTTP REST": "Legacy / HTTP REST chung",
|
|
129
|
+
"Business ID": "Mã Business",
|
|
130
|
+
"Action Name": "Tên Action",
|
|
131
|
+
"Waiting Input": "Chờ duyệt (HITL)",
|
|
132
|
+
"Cancelled": "Đã hủy",
|
|
133
|
+
"Job cancelled": "Đã hủy công việc",
|
|
134
|
+
"Job resumed": "Đã tiếp tục công việc",
|
|
135
|
+
"Cancel this job?": "Hủy công việc này?",
|
|
136
|
+
"Canonical Business Action (du-rework)": "Hành động Nghiệp vụ Chuẩn (du-rework)",
|
|
137
|
+
"Configured Pipeline": "Pipeline đã cấu hình",
|
|
138
|
+
"Select a pipeline": "Vui lòng chọn pipeline",
|
|
139
|
+
"Select pipeline": "Chọn pipeline",
|
|
140
|
+
"Select variant": "Chọn biến thể",
|
|
141
|
+
"Document Files / Attachment Variable": "Tệp tài liệu / Biến đính kèm",
|
|
142
|
+
"Bind an attachment field, file URL, or comma-separated upload paths from upstream nodes": "Gắn biến trường tệp đính kèm, URL tệp hoặc danh sách đường dẫn upload từ các node trước",
|
|
143
|
+
"Input Parameters (JSON)": "Tham số đầu vào (JSON)",
|
|
144
|
+
"Additional action parameters (e.g. referenceData, questions, targetLanguage, ruleSetVersion)": "Tham số bổ sung của action (vd: referenceData, questions, targetLanguage, ruleSetVersion)",
|
|
145
|
+
"Continue workflow even if document processing fails": "Tiếp tục chạy workflow ngay cả khi bước xử lý tài liệu gặp lỗi",
|
|
146
|
+
"Parse, OCR, extract, analyze, transform, compare, or audit L/C & disbursement documents via Document Understanding.": "Đọc, OCR, bóc tách, phân tích, chuyển đổi, đối chiếu hoặc kiểm chứng từ L/C & giải ngân qua Document Understanding.",
|
|
147
|
+
"Structured Data": "Dữ liệu có cấu trúc",
|
|
148
|
+
"Markdown Content": "Nội dung Markdown",
|
|
149
|
+
"Plain Text": "Văn bản thuần",
|
|
150
|
+
"Report": "Báo cáo tổng hợp",
|
|
151
|
+
"Verdict": "Kết luận thẩm định",
|
|
152
|
+
"Discrepancies": "Danh sách bất hợp lệ",
|
|
153
|
+
"Invalid API key payload.": "Dữ liệu phát hành khóa API không hợp lệ.",
|
|
154
|
+
"Invalid operation payload.": "Dữ liệu yêu cầu thực thi không hợp lệ.",
|
|
30
155
|
"Add Endpoint": "Thêm Endpoint",
|
|
31
156
|
"Edit Endpoint": "Sửa Endpoint",
|
|
32
157
|
"Basic": "Cơ bản",
|
|
@@ -123,6 +248,7 @@
|
|
|
123
248
|
"Test Playground": "Khu vực kiểm thử",
|
|
124
249
|
"Input JSON": "JSON đầu vào",
|
|
125
250
|
"Invalid JSON input": "JSON đầu vào không hợp lệ",
|
|
251
|
+
"Invalid JSON input.": "JSON đầu vào không hợp lệ.",
|
|
126
252
|
"Run test": "Chạy kiểm thử",
|
|
127
253
|
"Test job started": "Đã khởi chạy công việc kiểm thử",
|
|
128
254
|
"Result": "Kết quả",
|
|
@@ -178,5 +304,7 @@
|
|
|
178
304
|
"Sync Query Param": "Tham số đồng bộ",
|
|
179
305
|
"Value sent in the discriminator field (e.g. parse, invoice, disbursement).": "Giá trị gửi trong trường phân biệt (vd: parse, invoice, disbursement).",
|
|
180
306
|
"Regex with one capture group to pull the task id from the extracted path value (e.g. operations/([^/]+)).": "Regex với một nhóm bắt để lấy task ID từ giá trị đường dẫn đã trích (vd: operations/([^/]+)).",
|
|
181
|
-
"Form field that selects the API sub-case (e.g. mode/type/task/action/process). Sent automatically.": "Trường trong form chọn loại API con (vd: mode/type/task/action/process). Được gửi tự động."
|
|
307
|
+
"Form field that selects the API sub-case (e.g. mode/type/task/action/process). Sent automatically.": "Trường trong form chọn loại API con (vd: mode/type/task/action/process). Được gửi tự động.",
|
|
308
|
+
"Invalid document upload.": "Tệp tài liệu tải lên không hợp lệ.",
|
|
309
|
+
"Invalid pipeline input.": "Dữ liệu đầu vào pipeline không hợp lệ."
|
|
182
310
|
}
|
package/src/locale/zh-CN.json
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"Document Understanding": "文档理解",
|
|
3
|
-
"Document Understanding - Pipeline Orchestrator": "文档理解 -
|
|
3
|
+
"Document Understanding - Pipeline Orchestrator": "文档理解 - API 网关与流水线编排器",
|
|
4
4
|
"Service Connection": "服务连接",
|
|
5
5
|
"Service Config": "服务配置",
|
|
6
|
+
"Operations": "异步作业",
|
|
7
|
+
"API Keys": "API 密钥",
|
|
6
8
|
"Endpoints": "接口",
|
|
7
9
|
"Pipelines": "流水线",
|
|
8
10
|
"Jobs history": "任务历史",
|
|
@@ -13,10 +15,12 @@
|
|
|
13
15
|
"Authentication Type": "认证类型",
|
|
14
16
|
"None": "无",
|
|
15
17
|
"API Key": "API 密钥",
|
|
18
|
+
"API Key (x-api-key)": "API 密钥 (x-api-key)",
|
|
16
19
|
"Bearer Token": "Bearer 令牌",
|
|
17
20
|
"Custom Header": "自定义请求头",
|
|
18
21
|
"Custom Header Name": "自定义请求头名称",
|
|
19
22
|
"Enter key or token": "请输入密钥或令牌",
|
|
23
|
+
"Leave blank to keep existing secret": "留空以保留现有密钥",
|
|
20
24
|
"Request Timeout (ms)": "请求超时(毫秒)",
|
|
21
25
|
"Default Retries": "默认重试次数",
|
|
22
26
|
"Poll Interval (ms)": "轮询间隔(毫秒)",
|
|
@@ -24,9 +28,130 @@
|
|
|
24
28
|
"Webhook Secret": "Webhook 密钥",
|
|
25
29
|
"Used to verify HMAC-SHA256 signatures on incoming webhook callbacks": "用于校验 Webhook 回调的 HMAC-SHA256 签名",
|
|
26
30
|
"Optional: secret for webhook signature verification": "可选:用于 Webhook 签名校验的密钥",
|
|
31
|
+
"Signs outbound x-du-signature callbacks and verifies incoming webhooks": "用于为出站 x-du-signature 回调签名并验证入站 Webhook",
|
|
32
|
+
"Optional: secret for HMAC-SHA256 webhook signature": "可选:HMAC-SHA256 Webhook 签名密钥",
|
|
27
33
|
"Save Configuration": "保存配置",
|
|
28
34
|
"Configuration saved successfully": "配置保存成功",
|
|
29
35
|
"Failed to save config": "配置保存失败",
|
|
36
|
+
"Document Understanding Service & Public API Gateway": "文档理解服务与公共 API 网关",
|
|
37
|
+
"Provides built-in Document Understanding APIs (/api/du/v1/* and /api/v1/*) compatible with du-rework, with optional delegation to an external gateway.": "在 NocoBase 内直接提供兼容 du-rework 的异步文档理解 API(/api/du/v1/* 与 /api/v1/*),并支持可选委托至外部网关。",
|
|
38
|
+
"Check Service Health": "检查服务健康状态",
|
|
39
|
+
"Sync du-rework Catalog (36 profiles)": "同步 du-rework 目录(36 项配置)",
|
|
40
|
+
"Health check succeeded": "健康检查成功",
|
|
41
|
+
"Health check failed": "健康检查失败",
|
|
42
|
+
"Catalog synchronized": "目录已同步",
|
|
43
|
+
"Runtime Health": "运行时状态",
|
|
44
|
+
"Execution Engine & Gateway Policy": "执行引擎与网关策略",
|
|
45
|
+
"Execution Engine Mode": "执行引擎模式",
|
|
46
|
+
"Built-in NocoBase AI & Document Parser Engine": "内置 NocoBase AI 与文档解析引擎",
|
|
47
|
+
"Hybrid (Built-in first, fallback to External Gateway)": "混合模式(内置优先,外部网关兜底)",
|
|
48
|
+
"External du-rework API Gateway": "外部 du-rework API 网关",
|
|
49
|
+
"Public API Gateway": "公共 API 网关",
|
|
50
|
+
"Disabled": "已禁用",
|
|
51
|
+
"Reasoning LLM Service (@nocobase/plugin-ai)": "推理 LLM 服务 (@nocobase/plugin-ai)",
|
|
52
|
+
"Leave blank to auto-select the first enabled LLM service": "留空将自动选择第一个已启用的 LLM 服务",
|
|
53
|
+
"Auto-select active LLM service": "自动选择已启用 LLM 服务",
|
|
54
|
+
"Reasoning Model": "推理模型",
|
|
55
|
+
"Auto-select default model": "自动选择默认模型",
|
|
56
|
+
"Vision / OCR LLM Service (Optional)": "视觉 / OCR LLM 服务(可选)",
|
|
57
|
+
"Same as Reasoning LLM Service": "与推理 LLM 服务相同",
|
|
58
|
+
"Vision / OCR Model (Optional)": "视觉 / OCR 模型(可选)",
|
|
59
|
+
"Max Files per Operation (DI-06)": "单次操作最大文件数 (DI-06)",
|
|
60
|
+
"Max File Size (bytes)": "单文件最大字节数",
|
|
61
|
+
"External Gateway & Webhook Connection": "外部网关与 Webhook 连接",
|
|
62
|
+
"Used when delegating to an external du-rework gateway or custom REST endpoints": "委托给外部 du-rework 网关或调用自定义 REST 接口时使用",
|
|
63
|
+
"Operation ID": "操作 ID",
|
|
64
|
+
"Business / Action": "业务域 / 动作",
|
|
65
|
+
"Business": "业务域",
|
|
66
|
+
"Variant / Mode": "变体 / 模式",
|
|
67
|
+
"State": "状态",
|
|
68
|
+
"Progress": "进度",
|
|
69
|
+
"Tokens / Cost": "Token / 成本",
|
|
70
|
+
"Created": "创建时间",
|
|
71
|
+
"Approve / Resume": "审批 / 继续",
|
|
72
|
+
"Resume": "继续",
|
|
73
|
+
"Cancel this operation?": "确定取消此操作?",
|
|
74
|
+
"Operation cancellation requested": "已请求取消操作",
|
|
75
|
+
"Operation resumed": "操作已恢复执行",
|
|
76
|
+
"Operation submitted": "操作已提交",
|
|
77
|
+
"Operations (30d)": "操作总数(30天)",
|
|
78
|
+
"Input Tokens": "输入 Token",
|
|
79
|
+
"Output Tokens": "输出 Token",
|
|
80
|
+
"Estimated Cost (USD)": "预估费用 (USD)",
|
|
81
|
+
"Run Business Action": "运行业务动作",
|
|
82
|
+
"Filter by state": "按状态筛选",
|
|
83
|
+
"Filter by business": "按业务域筛选",
|
|
84
|
+
"Run Document Understanding Action": "执行文档理解动作",
|
|
85
|
+
"Submit Operation": "提交操作",
|
|
86
|
+
"Upload Input Documents": "上传输入文档",
|
|
87
|
+
"Select Files": "选择文件",
|
|
88
|
+
"Page Selection (DI-06)": "页码选择 (DI-06)",
|
|
89
|
+
"Optional page ranges, e.g. \"1-2, 5\" (leave blank for all pages)": "可选页码范围,如 \"1-2, 5\"(留空处理全部页)",
|
|
90
|
+
"Optional page ranges, e.g. \"1-3, 5\" (leave empty for all pages)": "可选页码范围,如 \"1-3, 5\"(留空处理全部页)",
|
|
91
|
+
"Human-in-the-Loop Approval": "人工审核 (HITL)",
|
|
92
|
+
"Submit Decision": "提交决定",
|
|
93
|
+
"Approve & Proceed": "批准并继续",
|
|
94
|
+
"Approve": "批准",
|
|
95
|
+
"Reject": "拒绝",
|
|
96
|
+
"Reviewer Note": "审核备注",
|
|
97
|
+
"Enter verification note...": "输入审核说明...",
|
|
98
|
+
"Operation": "操作",
|
|
99
|
+
"Operation Details": "操作详情",
|
|
100
|
+
"Human Sign-off Required (Trade Finance L/C Policy)": "需人工签批(贸易融资信用证策略)",
|
|
101
|
+
"Automated UCP 600 / ISBP 821 findings require an authorized specialist signature.": "UCP 600 / ISBP 821 自动审单结论需经授权审单员复核签字。",
|
|
102
|
+
"Token & Cost Usage": "Token 与成本统计",
|
|
103
|
+
"Document Input Coverage (DI-06)": "文档页覆盖报告 (DI-06)",
|
|
104
|
+
"Output Payload": "业务输出负载",
|
|
105
|
+
"Gateway API Keys (x-api-key)": "网关 API 密钥 (x-api-key)",
|
|
106
|
+
"External integrations pass x-api-key to call /api/du/v1/* or /api/v1/{uploads,businesses,operations,artifacts,usage}. Keys are stored as one-way SHA-256 hashes and isolated by Tenant ID.": "外部系统通过 x-api-key 调用 /api/du/v1/* 或 /api/v1/{uploads,businesses,operations,artifacts,usage}。密钥以单向 SHA-256 哈希存储并按租户隔离。",
|
|
107
|
+
"Copy your new x-api-key now — it will never be shown again": "请立即复制新生成的 x-api-key — 关闭后将不再显示",
|
|
108
|
+
"Issue API Key": "签发 API 密钥",
|
|
109
|
+
"Issue Gateway API Key": "签发网关 API 密钥",
|
|
110
|
+
"Issue Key": "签发密钥",
|
|
111
|
+
"Key Name": "密钥名称",
|
|
112
|
+
"Key Prefix": "密钥前缀",
|
|
113
|
+
"Tenant": "租户",
|
|
114
|
+
"Tenant ID": "租户 ID",
|
|
115
|
+
"Operations and artifacts are isolated per Tenant ID (cross-tenant lookups return 404)": "操作与制品按租户 ID 严格隔离(跨租户访问返回 404)",
|
|
116
|
+
"Allowed Businesses": "允许的业务域",
|
|
117
|
+
"All Businesses (*)": "全部业务域 (*)",
|
|
118
|
+
"Last Used": "最近使用",
|
|
119
|
+
"Revoke": "吊销",
|
|
120
|
+
"Revoke this API key?": "确定吊销该 API 密钥?",
|
|
121
|
+
"API key issued": "API 密钥已签发",
|
|
122
|
+
"API key revoked": "API 密钥已吊销",
|
|
123
|
+
"Protocol": "协议",
|
|
124
|
+
"Protocol Mode": "协议模式",
|
|
125
|
+
"Custom REST": "自定义 REST",
|
|
126
|
+
"Canonical du-rework (Built-in / Hybrid)": "标准 du-rework(内置 / 混合)",
|
|
127
|
+
"Canonical du-rework (External Gateway)": "标准 du-rework(外部网关)",
|
|
128
|
+
"Legacy / Generic HTTP REST": "传统 / 通用 HTTP REST",
|
|
129
|
+
"Business ID": "业务 ID",
|
|
130
|
+
"Action Name": "动作名称",
|
|
131
|
+
"Waiting Input": "等待人工输入",
|
|
132
|
+
"Cancelled": "已取消",
|
|
133
|
+
"Job cancelled": "任务已取消",
|
|
134
|
+
"Job resumed": "任务已继续",
|
|
135
|
+
"Cancel this job?": "确定取消该任务?",
|
|
136
|
+
"Canonical Business Action (du-rework)": "标准业务动作 (du-rework)",
|
|
137
|
+
"Configured Pipeline": "已配置流水线",
|
|
138
|
+
"Select a pipeline": "请选择流水线",
|
|
139
|
+
"Select pipeline": "选择流水线",
|
|
140
|
+
"Select variant": "选择变体",
|
|
141
|
+
"Document Files / Attachment Variable": "文档文件 / 附件变量",
|
|
142
|
+
"Bind an attachment field, file URL, or comma-separated upload paths from upstream nodes": "绑定上游节点的附件字段、文件 URL 或逗号分隔的上传路径",
|
|
143
|
+
"Input Parameters (JSON)": "输入参数 (JSON)",
|
|
144
|
+
"Additional action parameters (e.g. referenceData, questions, targetLanguage, ruleSetVersion)": "附加动作参数(如 referenceData、questions、targetLanguage、ruleSetVersion)",
|
|
145
|
+
"Continue workflow even if document processing fails": "即使文档处理失败也继续执行工作流",
|
|
146
|
+
"Parse, OCR, extract, analyze, transform, compare, or audit L/C & disbursement documents via Document Understanding.": "通过文档理解服务执行解析、OCR、结构化提取、分析、转换、对比或信用证与放款审单。",
|
|
147
|
+
"Structured Data": "结构化数据",
|
|
148
|
+
"Markdown Content": "Markdown 内容",
|
|
149
|
+
"Plain Text": "纯文本",
|
|
150
|
+
"Report": "分析报告",
|
|
151
|
+
"Verdict": "判定结论",
|
|
152
|
+
"Discrepancies": "不符点列表",
|
|
153
|
+
"Invalid API key payload.": "无效的 API 密钥参数。",
|
|
154
|
+
"Invalid operation payload.": "无效的操作提交参数。",
|
|
30
155
|
"Add Endpoint": "添加接口",
|
|
31
156
|
"Edit Endpoint": "编辑接口",
|
|
32
157
|
"Basic": "基础",
|
|
@@ -123,6 +248,7 @@
|
|
|
123
248
|
"Test Playground": "测试沙箱",
|
|
124
249
|
"Input JSON": "输入 JSON",
|
|
125
250
|
"Invalid JSON input": "输入的 JSON 无效",
|
|
251
|
+
"Invalid JSON input.": "输入的 JSON 无效。",
|
|
126
252
|
"Run test": "运行测试",
|
|
127
253
|
"Test job started": "测试任务已启动",
|
|
128
254
|
"Result": "结果",
|
|
@@ -1,11 +1,4 @@
|
|
|
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
|
-
*/
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
9
2
|
|
|
10
3
|
import { createMockServer, type MockServer } from '@nocobase/test';
|
|
11
4
|
import PluginDocumentUnderstandingServer from '../plugin';
|