@crowdin/app-project-module 0.41.2 → 0.43.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.
@@ -126,7 +126,7 @@ function applyIntegrationModuleDefaults(config, integration) {
126
126
  }
127
127
  if (!integration.getFileProgress) {
128
128
  integration.getFileProgress = (projectId, client, fileId) => __awaiter(this, void 0, void 0, function* () {
129
- const progress = yield client.translationStatusApi.getFileProgress(projectId, fileId);
129
+ const progress = yield client.translationStatusApi.withFetchAll().getFileProgress(projectId, fileId);
130
130
  return { [fileId]: progress.data.map((e) => e.data) };
131
131
  });
132
132
  }
@@ -210,6 +210,23 @@
210
210
  >
211
211
  </crowdin-input>
212
212
  {{/ifeq}}
213
+ {{#ifeq type "textarea"}}
214
+ <crowdin-textarea
215
+ id="{{key}}-settings"
216
+ label="{{label}}"
217
+ key="{{key}}"
218
+ {{#if helpText}}
219
+ help-text="{{helpText}}"
220
+ {{/if}}
221
+ {{#if helpTextHtml}}
222
+ help-text-html="{{helpTextHtml}}"
223
+ {{/if}}
224
+ {{#if dependencySettings}}
225
+ data-dependency="{{dependencySettings}}"
226
+ {{/if}}
227
+ value="{{#if defaultValue}}{{defaultValue}}{{/if}}">
228
+ </crowdin-textarea>
229
+ {{/ifeq}}
213
230
  {{else}}
214
231
  {{#if labelHtml}}
215
232
  <crowdin-p
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@crowdin/app-project-module",
3
- "version": "0.41.2",
3
+ "version": "0.43.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",
7
7
  "scripts": {
8
8
  "build": "tsc -p ./ && cp -R views out && cp -R static out && cp logo.png out && rollup -c rollup.config.mjs",
9
9
  "build-main": "tsc -p ./ && cp -R views out && cp -R static out && cp logo.png out",
10
+ "watch-main": "tsc --watch -p ./ && cp -R views out && cp -R static out && cp logo.png out",
10
11
  "lint": "eslint --fix \"{src,tests}/**/*.{js,ts}\"",
11
12
  "prettier": "prettier --config .prettierrc src/**/*.ts --write",
12
13
  "lint-ci": "eslint \"{src,tests}/**/*.{js,ts}\"",
@@ -25,7 +26,7 @@
25
26
  "express-handlebars": "^5.3.5",
26
27
  "lodash.uniqby": "^4.7.0",
27
28
  "mysql2": "^2.3.3",
28
- "node-cron": "^3.0.2",
29
+ "node-cron": "^3.0.3",
29
30
  "pg": "^8.11.3",
30
31
  "redoc-express": "^2.1.0",
31
32
  "sqlite3": "^5.1.6",
@@ -36,26 +37,26 @@
36
37
  "@babel/preset-react": "^7.23.3",
37
38
  "@emotion/react": "^11.11.1",
38
39
  "@emotion/styled": "^11.11.0",
39
- "@mui/icons-material": "^5.15.7",
40
- "@mui/material": "^5.15.7",
41
- "@rjsf/core": "^5.16.1",
42
- "@rjsf/mui": "^5.16.1",
43
- "@rjsf/utils": "^5.15.1",
44
- "@rjsf/validator-ajv8": "^5.16.1",
40
+ "@mui/icons-material": "^5.15.11",
41
+ "@mui/material": "^5.15.11",
42
+ "@rjsf/core": "^5.17.1",
43
+ "@rjsf/mui": "^5.17.1",
44
+ "@rjsf/utils": "^5.17.1",
45
+ "@rjsf/validator-ajv8": "^5.17.1",
45
46
  "@rollup/plugin-babel": "^6.0.4",
46
47
  "@rollup/plugin-commonjs": "^24.1.0",
47
- "@rollup/plugin-json": "^6.0.0",
48
+ "@rollup/plugin-json": "^6.1.0",
48
49
  "@rollup/plugin-node-resolve": "^15.2.3",
49
50
  "@rollup/plugin-replace": "^5.0.5",
50
51
  "@rollup/plugin-terser": "^0.4.3",
51
52
  "@types/amqplib": "^0.10.4",
52
- "@types/crypto-js": "^4.1.3",
53
+ "@types/crypto-js": "^4.2.2",
53
54
  "@types/express": "4.17.21",
54
55
  "@types/express-handlebars": "^5.3.1",
55
56
  "@types/jest": "^29.5.5",
56
57
  "@types/lodash.uniqby": "^4.7.9",
57
58
  "@types/node": "^16.18.69",
58
- "@types/node-cron": "^3.0.9",
59
+ "@types/node-cron": "^3.0.11",
59
60
  "@types/pg": "^8.10.3",
60
61
  "@types/swagger-jsdoc": "^6.0.4",
61
62
  "@types/uuid": "^9.0.7",