@nocobase/plugin-async-task-manager 1.7.0-beta.1 → 1.7.0-beta.11
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/externalVersion.js +6 -6
- package/dist/locale/de-DE.json +45 -0
- package/dist/locale/it-IT.json +40 -0
- package/dist/locale/nl-NL.json +46 -0
- package/dist/node_modules/uuid/package.json +1 -1
- package/dist/server/index.d.ts +8 -1
- package/dist/server/index.js +1 -3
- package/package.json +2 -2
- package/dist/server/static-import.d.ts +0 -1
- package/dist/server/static-import.js +0 -39
package/dist/externalVersion.js
CHANGED
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
module.exports = {
|
|
11
|
-
"@nocobase/client": "1.7.0-beta.
|
|
11
|
+
"@nocobase/client": "1.7.0-beta.11",
|
|
12
12
|
"react": "18.2.0",
|
|
13
|
-
"antd": "5.
|
|
14
|
-
"@nocobase/logger": "1.7.0-beta.
|
|
15
|
-
"@nocobase/server": "1.7.0-beta.
|
|
13
|
+
"antd": "5.24.2",
|
|
14
|
+
"@nocobase/logger": "1.7.0-beta.11",
|
|
15
|
+
"@nocobase/server": "1.7.0-beta.11",
|
|
16
16
|
"lodash": "4.17.21",
|
|
17
|
-
"@nocobase/plugin-error-handler": "1.7.0-beta.
|
|
18
|
-
"dayjs": "1.11.
|
|
17
|
+
"@nocobase/plugin-error-handler": "1.7.0-beta.11",
|
|
18
|
+
"dayjs": "1.11.13"
|
|
19
19
|
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Export": "Exportieren",
|
|
3
|
+
"Import": "Importieren",
|
|
4
|
+
"Data": "Daten",
|
|
5
|
+
"Task": "Aufgabe",
|
|
6
|
+
"Status": "Status",
|
|
7
|
+
"Actions": "Aktionen",
|
|
8
|
+
"Created at": "Erstellt am",
|
|
9
|
+
"Type": "Typ",
|
|
10
|
+
"Waiting": "Wartend",
|
|
11
|
+
"Processing": "In Bearbeitung",
|
|
12
|
+
"Completed": "Abgeschlossen",
|
|
13
|
+
"Failed": "Fehlgeschlagen",
|
|
14
|
+
"Cancelled": "Abgebrochen",
|
|
15
|
+
"Cancel": "Abbrechen",
|
|
16
|
+
"Cancelling": "Wird abgebrochen",
|
|
17
|
+
"Download": "Herunterladen",
|
|
18
|
+
"Error details": "Fehlerdetails",
|
|
19
|
+
"Confirm cancel": "Abbruch bestätigen",
|
|
20
|
+
"Confirm cancel description": "Sind Sie sicher, dass Sie diese Aufgabe abbrechen möchten?",
|
|
21
|
+
"Confirm": "Bestätigen",
|
|
22
|
+
"Task cancelled": "Aufgabe abgebrochen",
|
|
23
|
+
"Task completed": "Aufgabe abgeschlossen",
|
|
24
|
+
"Task failed": "Aufgabe fehlgeschlagen",
|
|
25
|
+
"Error Details": "Fehlerdetails",
|
|
26
|
+
"Close": "Schließen",
|
|
27
|
+
"Error code": "Fehlercode",
|
|
28
|
+
"Unknown error": "Unbekannter Fehler",
|
|
29
|
+
"OK": "OK",
|
|
30
|
+
"Import result": "Importergebnis",
|
|
31
|
+
"Import completed": "Import abgeschlossen: {{success}} Datensätze importiert, {{updated}} Datensätze aktualisiert, {{skipped}} Datensätze übersprungen, insgesamt {{total}} Datensätze",
|
|
32
|
+
"Import summary": "{{success}}/{{total}} Datensätze importiert",
|
|
33
|
+
"Import details": "{{success}} erfolgreich importiert, {{updated}} aktualisiert, {{skipped}} übersprungen, insgesamt {{total}}",
|
|
34
|
+
"Imported": "{{count}}/{{total}} importiert",
|
|
35
|
+
"Successfully imported": "Erfolgreich importiert",
|
|
36
|
+
"Updated records": "Aktualisierte Datensätze",
|
|
37
|
+
"Skipped records": "Übersprungene Datensätze",
|
|
38
|
+
"Total records": "Gesamtzahl der Datensätze",
|
|
39
|
+
"View result": "Ergebnis anzeigen",
|
|
40
|
+
"ImportResult": "{{success}} importiert, {{updated}} aktualisiert, {{skipped}} übersprungen, insgesamt {{total}}",
|
|
41
|
+
"Task result": "Aufgabenergebnis",
|
|
42
|
+
"Export {collection} attachments": "Export von {collection} Anhängen",
|
|
43
|
+
"Export {collection} data": "Export von {collection} Daten",
|
|
44
|
+
"Import {collection} data": "Import von {collection} Daten"
|
|
45
|
+
}
|
package/dist/locale/it-IT.json
CHANGED
|
@@ -1,4 +1,44 @@
|
|
|
1
1
|
{
|
|
2
|
+
"Export": "Esporta",
|
|
3
|
+
"Import": "Importa",
|
|
4
|
+
"Data": "Dati",
|
|
5
|
+
"Task": "Attività",
|
|
6
|
+
"Status": "Stato",
|
|
7
|
+
"Actions": "Azioni",
|
|
8
|
+
"Created at": "Creato alle",
|
|
9
|
+
"Type": "Tipo",
|
|
10
|
+
"Waiting": "In attesa",
|
|
11
|
+
"Processing": "In elaborazione",
|
|
12
|
+
"Completed": "Completato",
|
|
13
|
+
"Failed": "Fallito",
|
|
14
|
+
"Cancelled": "Annullato",
|
|
15
|
+
"Cancel": "Annulla",
|
|
16
|
+
"Cancelling": "Annullamento in corso",
|
|
17
|
+
"Download": "Scarica",
|
|
18
|
+
"Error details": "Dettagli errore",
|
|
19
|
+
"Confirm cancel": "Conferma annullamento",
|
|
20
|
+
"Confirm cancel description": "Sei sicuro di voler annullare questa attività?",
|
|
21
|
+
"Confirm": "Conferma",
|
|
22
|
+
"Task cancelled": "Attività annullata",
|
|
23
|
+
"Task completed": "Attività completata",
|
|
24
|
+
"Task failed": "Esecuzione attività fallita",
|
|
25
|
+
"Error Details": "Dettagli errore",
|
|
26
|
+
"Close": "Chiudi",
|
|
27
|
+
"Error code": "Codice errore",
|
|
28
|
+
"Unknown error": "Errore sconosciuto",
|
|
29
|
+
"OK": "OK",
|
|
30
|
+
"Import result": "Risultato importazione",
|
|
31
|
+
"Import completed": "Importazione completata: {{success}} record importati con successo, {{updated}} record aggiornati, {{skipped}} record saltati, totale {{total}} record",
|
|
32
|
+
"Import summary": "{{success}}/{{total}} record importati",
|
|
33
|
+
"Import details": "{{success}} record importati con successo, {{updated}} record aggiornati, {{skipped}} record saltati, totale {{total}} record",
|
|
34
|
+
"Imported": "{{count}}/{{total}} importati",
|
|
35
|
+
"Successfully imported": "Importazione riuscita",
|
|
36
|
+
"Updated records": "Record aggiornati",
|
|
37
|
+
"Skipped records": "Record saltati",
|
|
38
|
+
"Total records": "Record totali",
|
|
39
|
+
"View result": "Visualizza risultato",
|
|
40
|
+
"ImportResult": "Importati {{success}}, aggiornati {{updated}}, saltati {{skipped}}, totale {{total}}",
|
|
41
|
+
"Task result": "Risultato attività",
|
|
2
42
|
"Export {collection} attachments": "Esporta allegati {collection}",
|
|
3
43
|
"Export {collection} data": "Esporta dati {collection}",
|
|
4
44
|
"Import {collection} data": "Importa dati {collection}"
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Export": "Exporteer",
|
|
3
|
+
"Import": "Importeer",
|
|
4
|
+
"Data": "Data",
|
|
5
|
+
"Task": "Taak",
|
|
6
|
+
"Status": "Status",
|
|
7
|
+
"Actions": "Acties",
|
|
8
|
+
"Created at": "Aangemaakt op",
|
|
9
|
+
"Type": "Type",
|
|
10
|
+
"Waiting": "Wachten",
|
|
11
|
+
"Processing": "Verwerken",
|
|
12
|
+
"Completed": "Voltooid",
|
|
13
|
+
"Failed": "Mislukt",
|
|
14
|
+
"Cancelled": "Geannuleerd",
|
|
15
|
+
"Cancel": "Annuleren",
|
|
16
|
+
"Cancelling": "Annuleren",
|
|
17
|
+
"Download": "Downloaden",
|
|
18
|
+
"Error details": "Foutdetails",
|
|
19
|
+
"Confirm cancel": "Bevestig annuleren",
|
|
20
|
+
"Confirm cancel description": "Weet je zeker dat je deze taak wilt annuleren?",
|
|
21
|
+
"Confirm": "Bevestigen",
|
|
22
|
+
"Task cancelled": "Taak geannuleerd",
|
|
23
|
+
"Task completed": "Taak voltooid",
|
|
24
|
+
"Task failed": "Taak mislukt",
|
|
25
|
+
"Error Details": "Foutdetails",
|
|
26
|
+
"Close": "Sluiten",
|
|
27
|
+
"Error code": "Foutcode",
|
|
28
|
+
"Unknown error": "Onbekende fout",
|
|
29
|
+
"OK": "OK",
|
|
30
|
+
"Import result": "Importresultaat",
|
|
31
|
+
"Import completed": "Import voltooid: {{success}} records geïmporteerd, {{updated}} records bijgewerkt, {{skipped}} records overgeslagen, totaal {{total}} records",
|
|
32
|
+
"Import summary": "Importeer {{success}}/{{total}}",
|
|
33
|
+
"Import details": "{{success}} records zijn geïmporteerd, {{updated}} records zijn bijgewerkt, {{skipped}} records zijn overgeslagen, totaal {{total}} records",
|
|
34
|
+
"Imported": "{{count}}/{{total}}",
|
|
35
|
+
"Successfully imported": "Succesvol geïmporteerd",
|
|
36
|
+
"Updated records": "Bijgewerkte records",
|
|
37
|
+
"Skipped records": "Overgeslagen records",
|
|
38
|
+
"Total records": "Totaal aantal records",
|
|
39
|
+
"View result": "Toon",
|
|
40
|
+
"ImportResult": "{{success}} records zijn geïmporteerd, {{updated}} records zijn bijgewerkt, {{skipped}} records zijn overgeslagen, totaal {{total}} records",
|
|
41
|
+
"Task result": "Taakresultaat",
|
|
42
|
+
"Export {collection} attachments": "Exporteer {collection} bijlagen",
|
|
43
|
+
"Export {collection} data": "Exporteer {collection} gegevens",
|
|
44
|
+
"Import {collection} data": "Importeer {collection} gegevens"
|
|
45
|
+
}
|
|
46
|
+
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"uuid","version":"3.4.0","description":"RFC4122 (v1, v4, and v5) UUIDs","commitlint":{"extends":["@commitlint/config-conventional"]},"keywords":["uuid","guid","rfc4122"],"license":"MIT","bin":{"uuid":"./bin/uuid"},"devDependencies":{"@commitlint/cli":"~8.2.0","@commitlint/config-conventional":"~8.2.0","eslint":"~6.4.0","husky":"~3.0.5","mocha":"6.2.0","runmd":"1.2.1","standard-version":"7.0.0"},"scripts":{"lint":"eslint .","test":"npm run lint && mocha test/test.js","md":"runmd --watch --output=README.md README_js.md","release":"standard-version","prepare":"runmd --output=README.md README_js.md"},"browser":{"./lib/rng.js":"./lib/rng-browser.js","./lib/sha1.js":"./lib/sha1-browser.js","./lib/md5.js":"./lib/md5-browser.js"},"repository":{"type":"git","url":"https://github.com/uuidjs/uuid.git"},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"_lastModified":"2025-03-
|
|
1
|
+
{"name":"uuid","version":"3.4.0","description":"RFC4122 (v1, v4, and v5) UUIDs","commitlint":{"extends":["@commitlint/config-conventional"]},"keywords":["uuid","guid","rfc4122"],"license":"MIT","bin":{"uuid":"./bin/uuid"},"devDependencies":{"@commitlint/cli":"~8.2.0","@commitlint/config-conventional":"~8.2.0","eslint":"~6.4.0","husky":"~3.0.5","mocha":"6.2.0","runmd":"1.2.1","standard-version":"7.0.0"},"scripts":{"lint":"eslint .","test":"npm run lint && mocha test/test.js","md":"runmd --watch --output=README.md README_js.md","release":"standard-version","prepare":"runmd --output=README.md README_js.md"},"browser":{"./lib/rng.js":"./lib/rng-browser.js","./lib/sha1.js":"./lib/sha1-browser.js","./lib/md5.js":"./lib/md5-browser.js"},"repository":{"type":"git","url":"https://github.com/uuidjs/uuid.git"},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"_lastModified":"2025-03-27T10:28:58.206Z"}
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
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
9
|
export * from './interfaces/async-task-manager';
|
|
2
10
|
export * from './task-type';
|
|
3
|
-
export * from './static-import';
|
|
4
11
|
export { default } from './plugin';
|
package/dist/server/index.js
CHANGED
|
@@ -42,11 +42,9 @@ __export(server_exports, {
|
|
|
42
42
|
module.exports = __toCommonJS(server_exports);
|
|
43
43
|
__reExport(server_exports, require("./interfaces/async-task-manager"), module.exports);
|
|
44
44
|
__reExport(server_exports, require("./task-type"), module.exports);
|
|
45
|
-
__reExport(server_exports, require("./static-import"), module.exports);
|
|
46
45
|
var import_plugin = __toESM(require("./plugin"));
|
|
47
46
|
// Annotate the CommonJS export names for ESM import in node:
|
|
48
47
|
0 && (module.exports = {
|
|
49
48
|
...require("./interfaces/async-task-manager"),
|
|
50
|
-
...require("./task-type")
|
|
51
|
-
...require("./static-import")
|
|
49
|
+
...require("./task-type")
|
|
52
50
|
});
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"displayName.zh-CN": "异步任务管理器",
|
|
5
5
|
"description": "Manage and monitor asynchronous tasks such as data import/export. Support task progress tracking and notification.",
|
|
6
6
|
"description.zh-CN": "管理和监控数据导入导出等异步任务。支持任务进度跟踪和通知。",
|
|
7
|
-
"version": "1.7.0-beta.
|
|
7
|
+
"version": "1.7.0-beta.11",
|
|
8
8
|
"main": "dist/server/index.js",
|
|
9
9
|
"peerDependencies": {
|
|
10
10
|
"@nocobase/client": "1.x",
|
|
@@ -12,5 +12,5 @@
|
|
|
12
12
|
"@nocobase/server": "1.x",
|
|
13
13
|
"@nocobase/test": "1.x"
|
|
14
14
|
},
|
|
15
|
-
"gitHead": "
|
|
15
|
+
"gitHead": "a5227915c2ef65501965dbff8be0e0f51039296e"
|
|
16
16
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function staticImport(): Promise<void>;
|
|
@@ -1,39 +0,0 @@
|
|
|
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 static_import_exports = {};
|
|
28
|
-
__export(static_import_exports, {
|
|
29
|
-
staticImport: () => staticImport
|
|
30
|
-
});
|
|
31
|
-
module.exports = __toCommonJS(static_import_exports);
|
|
32
|
-
var import_server = require("@nocobase/server");
|
|
33
|
-
async function staticImport() {
|
|
34
|
-
await (0, import_server.appendToBuiltInPlugins)("@nocobase/plugin-async-task-manager");
|
|
35
|
-
}
|
|
36
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
37
|
-
0 && (module.exports = {
|
|
38
|
-
staticImport
|
|
39
|
-
});
|