@crowdin/app-project-module 0.76.1 → 0.77.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/out/middlewares/integration-credentials.js +12 -4
- package/out/modules/ai-provider/index.js +14 -2
- package/out/modules/custom-mt/index.js +8 -1
- package/out/modules/custom-spell-check/index.js +26 -4
- package/out/modules/external-qa-check/index.js +17 -2
- package/out/modules/file-processing/index.js +8 -1
- package/out/modules/integration/types.d.ts +8 -0
- package/out/modules/manifest.js +84 -34
- package/out/modules/organization-menu/index.js +5 -1
- package/out/modules/organization-settings-menu/index.js +5 -1
- package/out/modules/profile-resources-menu/index.js +6 -2
- package/out/modules/profile-settings-menu/index.js +6 -2
- package/out/modules/workflow-step-type/index.js +14 -2
- package/out/static/js/form.js +12 -12
- package/out/storage/mysql.js +1 -1
- package/out/storage/postgre.js +1 -1
- package/package.json +11 -11
package/out/storage/mysql.js
CHANGED
|
@@ -532,7 +532,7 @@ class MySQLStorage {
|
|
|
532
532
|
const updateParams = [Date.now().toString()];
|
|
533
533
|
if (progress) {
|
|
534
534
|
updateFields.push('progress = ?');
|
|
535
|
-
updateParams.push(progress);
|
|
535
|
+
updateParams.push(Math.round(progress));
|
|
536
536
|
if (progress >= 100) {
|
|
537
537
|
updateFields.push('finished_at = ?');
|
|
538
538
|
updateParams.push(Date.now().toString());
|
package/out/storage/postgre.js
CHANGED
|
@@ -577,7 +577,7 @@ class PostgreStorage {
|
|
|
577
577
|
if (progress) {
|
|
578
578
|
parametersPointer++;
|
|
579
579
|
updateFields.push('progress = $' + parametersPointer);
|
|
580
|
-
updateParams.push(progress);
|
|
580
|
+
updateParams.push(Math.round(progress));
|
|
581
581
|
if (progress >= 100) {
|
|
582
582
|
parametersPointer++;
|
|
583
583
|
updateFields.push('finished_at = $' + parametersPointer);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crowdin/app-project-module",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.77.0",
|
|
4
4
|
"description": "Module that generates for you all common endpoints for serving standalone Crowdin App",
|
|
5
5
|
"main": "out/index.js",
|
|
6
6
|
"types": "out/index.d.ts",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"out/**/*"
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@aws-sdk/client-s3": "^3.
|
|
23
|
-
"@aws-sdk/s3-request-presigner": "^3.
|
|
22
|
+
"@aws-sdk/client-s3": "^3.744.0",
|
|
23
|
+
"@aws-sdk/s3-request-presigner": "^3.744.0",
|
|
24
24
|
"@crowdin/crowdin-apps-functions": "^0.10.0",
|
|
25
25
|
"@crowdin/logs-formatter": "^2.1.7",
|
|
26
26
|
"@godaddy/terminus": "^4.12.1",
|
|
@@ -42,15 +42,15 @@
|
|
|
42
42
|
"uuid": "^8.3.2"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@babel/preset-react": "^7.
|
|
45
|
+
"@babel/preset-react": "^7.26.3",
|
|
46
46
|
"@emotion/react": "^11.14.0",
|
|
47
47
|
"@emotion/styled": "^11.14.0",
|
|
48
48
|
"@mui/icons-material": "^5.16.14",
|
|
49
49
|
"@mui/material": "^5.16.14",
|
|
50
|
-
"@rjsf/core": "^5.24.
|
|
51
|
-
"@rjsf/mui": "^5.24.
|
|
52
|
-
"@rjsf/utils": "^5.
|
|
53
|
-
"@rjsf/validator-ajv8": "^5.24.
|
|
50
|
+
"@rjsf/core": "^5.24.3",
|
|
51
|
+
"@rjsf/mui": "^5.24.3",
|
|
52
|
+
"@rjsf/utils": "^5.24.3",
|
|
53
|
+
"@rjsf/validator-ajv8": "^5.24.3",
|
|
54
54
|
"@rollup/plugin-babel": "^6.0.4",
|
|
55
55
|
"@rollup/plugin-commonjs": "^24.1.0",
|
|
56
56
|
"@rollup/plugin-json": "^6.1.0",
|
|
@@ -62,14 +62,14 @@
|
|
|
62
62
|
"@types/crypto-js": "^4.2.2",
|
|
63
63
|
"@types/express": "4.17.21",
|
|
64
64
|
"@types/express-handlebars": "^5.3.1",
|
|
65
|
-
"@types/jest": "^29.5.
|
|
65
|
+
"@types/jest": "^29.5.14",
|
|
66
66
|
"@types/lodash.get": "^4.4.9",
|
|
67
67
|
"@types/lodash.isstring": "^4.0.9",
|
|
68
68
|
"@types/lodash.snakecase": "^4.1.9",
|
|
69
69
|
"@types/lodash.uniqby": "^4.7.9",
|
|
70
|
-
"@types/node": "^16.18.
|
|
70
|
+
"@types/node": "^16.18.126",
|
|
71
71
|
"@types/node-cron": "^3.0.11",
|
|
72
|
-
"@types/pg": "^8.11.
|
|
72
|
+
"@types/pg": "^8.11.11",
|
|
73
73
|
"@types/swagger-jsdoc": "^6.0.4",
|
|
74
74
|
"@types/uuid": "^9.0.7",
|
|
75
75
|
"@typescript-eslint/eslint-plugin": "^2.3.1",
|