@crowdin/app-project-module 0.56.1 → 0.56.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.
- package/out/index.js +3 -3
- package/out/modules/ai-tools/handlers/tool-calls.d.ts +2 -2
- package/out/modules/ai-tools/handlers/tool-calls.js +7 -3
- package/out/modules/ai-tools/index.d.ts +2 -2
- package/out/modules/ai-tools/index.js +26 -16
- package/out/modules/ai-tools/types.d.ts +12 -12
- package/out/modules/ai-tools/util/index.d.ts +5 -0
- package/out/modules/ai-tools/util/index.js +25 -0
- package/out/modules/manifest.js +9 -10
- package/out/static/js/form.js +1 -1
- package/out/types.d.ts +3 -3
- package/package.json +6 -6
package/out/types.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import { ApiModule } from './modules/api/types';
|
|
|
14
14
|
import { LogErrorFunction, LogFunction } from './util/logger';
|
|
15
15
|
import { AiProviderModule } from './modules/ai-provider/types';
|
|
16
16
|
import { AiPromptProviderModule } from './modules/ai-prompt-provider/types';
|
|
17
|
-
import {
|
|
17
|
+
import { AiTool, AiToolWidget } from './modules/ai-tools/types';
|
|
18
18
|
export interface ClientConfig extends ImagePath {
|
|
19
19
|
/**
|
|
20
20
|
* Authentication Crowdin App type: "authorization_code", "crowdin_app". Default: "crowdin_app"
|
|
@@ -189,11 +189,11 @@ export interface ClientConfig extends ImagePath {
|
|
|
189
189
|
/**
|
|
190
190
|
* AI tool_calls modules
|
|
191
191
|
*/
|
|
192
|
-
|
|
192
|
+
aiTools?: AiTool | AiTool[];
|
|
193
193
|
/**
|
|
194
194
|
* AI tool_calls modules with UI widgets
|
|
195
195
|
*/
|
|
196
|
-
|
|
196
|
+
aiToolsWidget?: AiToolWidget | AiToolWidget[];
|
|
197
197
|
}
|
|
198
198
|
export interface Environments {
|
|
199
199
|
environments?: Environment | Environment[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crowdin/app-project-module",
|
|
3
|
-
"version": "0.56.
|
|
3
|
+
"version": "0.56.3",
|
|
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",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"out/**/*"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@aws-sdk/client-s3": "^3.
|
|
21
|
+
"@aws-sdk/client-s3": "^3.606.0",
|
|
22
22
|
"@aws-sdk/s3-request-presigner": "^3.598.0",
|
|
23
23
|
"@crowdin/crowdin-apps-functions": "0.7.0",
|
|
24
24
|
"@crowdin/logs-formatter": "^2.1.4",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"express": "4.19.2",
|
|
29
29
|
"express-handlebars": "^5.3.5",
|
|
30
30
|
"lodash.uniqby": "^4.7.0",
|
|
31
|
-
"mysql2": "^3.
|
|
31
|
+
"mysql2": "^3.10.2",
|
|
32
32
|
"node-cron": "^3.0.3",
|
|
33
33
|
"pg": "^8.11.5",
|
|
34
34
|
"redoc-express": "^2.1.0",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"@babel/preset-react": "^7.24.1",
|
|
41
41
|
"@emotion/react": "^11.11.4",
|
|
42
42
|
"@emotion/styled": "^11.11.5",
|
|
43
|
-
"@mui/icons-material": "^5.15.
|
|
44
|
-
"@mui/material": "^5.15.
|
|
43
|
+
"@mui/icons-material": "^5.15.21",
|
|
44
|
+
"@mui/material": "^5.15.21",
|
|
45
45
|
"@rjsf/core": "^5.18.4",
|
|
46
46
|
"@rjsf/mui": "^5.18.4",
|
|
47
47
|
"@rjsf/utils": "^5.18.4",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@types/express-handlebars": "^5.3.1",
|
|
59
59
|
"@types/jest": "^29.5.12",
|
|
60
60
|
"@types/lodash.uniqby": "^4.7.9",
|
|
61
|
-
"@types/node": "^16.18.
|
|
61
|
+
"@types/node": "^16.18.101",
|
|
62
62
|
"@types/node-cron": "^3.0.11",
|
|
63
63
|
"@types/pg": "^8.11.6",
|
|
64
64
|
"@types/swagger-jsdoc": "^6.0.4",
|