@crowdin/app-project-module 0.54.2 → 0.56.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/index.js +5 -0
- package/out/modules/ai-prompt-provider/handlers/compile.d.ts +5 -0
- package/out/modules/ai-prompt-provider/handlers/compile.js +28 -0
- package/out/modules/ai-prompt-provider/index.d.ts +6 -0
- package/out/modules/ai-prompt-provider/index.js +23 -0
- package/out/modules/ai-prompt-provider/types.d.ts +8 -0
- package/out/modules/ai-prompt-provider/types.js +2 -0
- package/out/modules/ai-tools/handlers/tool-calls.d.ts +5 -0
- package/out/modules/ai-tools/handlers/tool-calls.js +48 -0
- package/out/modules/ai-tools/index.d.ts +10 -0
- package/out/modules/ai-tools/index.js +32 -0
- package/out/modules/ai-tools/types.d.ts +63 -0
- package/out/modules/ai-tools/types.js +2 -0
- package/out/modules/manifest.js +29 -0
- package/out/static/css/styles.css +13 -0
- package/out/static/js/form.js +1 -1
- package/out/types.d.ts +14 -0
- package/package.json +2 -2
package/out/types.d.ts
CHANGED
|
@@ -13,6 +13,8 @@ import { PostgreStorageConfig } from './storage/postgre';
|
|
|
13
13
|
import { ApiModule } from './modules/api/types';
|
|
14
14
|
import { LogErrorFunction, LogFunction } from './util/logger';
|
|
15
15
|
import { AiProviderModule } from './modules/ai-provider/types';
|
|
16
|
+
import { AiPromptProviderModule } from './modules/ai-prompt-provider/types';
|
|
17
|
+
import { AiToolCall, AiToolCallWidget } from './modules/ai-tools/types';
|
|
16
18
|
export interface ClientConfig extends ImagePath {
|
|
17
19
|
/**
|
|
18
20
|
* Authentication Crowdin App type: "authorization_code", "crowdin_app". Default: "crowdin_app"
|
|
@@ -180,6 +182,18 @@ export interface ClientConfig extends ImagePath {
|
|
|
180
182
|
* ai provider module
|
|
181
183
|
*/
|
|
182
184
|
aiProvider?: AiProviderModule & ImagePath;
|
|
185
|
+
/**
|
|
186
|
+
* ai prompt provider module
|
|
187
|
+
*/
|
|
188
|
+
aiPromptProvider?: AiPromptProviderModule & ImagePath;
|
|
189
|
+
/**
|
|
190
|
+
* AI tool_calls modules
|
|
191
|
+
*/
|
|
192
|
+
aiToolCalls?: AiToolCall | AiToolCall[];
|
|
193
|
+
/**
|
|
194
|
+
* AI tool_calls modules with UI widgets
|
|
195
|
+
*/
|
|
196
|
+
aiToolCallWidgets?: AiToolCallWidget | AiToolCallWidget[];
|
|
183
197
|
}
|
|
184
198
|
export interface Environments {
|
|
185
199
|
environments?: Environment | Environment[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crowdin/app-project-module",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.56.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",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@aws-sdk/client-s3": "^3.598.0",
|
|
22
22
|
"@aws-sdk/s3-request-presigner": "^3.598.0",
|
|
23
23
|
"@crowdin/crowdin-apps-functions": "0.7.0",
|
|
24
|
-
"@crowdin/logs-formatter": "^2.1.
|
|
24
|
+
"@crowdin/logs-formatter": "^2.1.4",
|
|
25
25
|
"@godaddy/terminus": "^4.12.1",
|
|
26
26
|
"amqplib": "^0.10.3",
|
|
27
27
|
"crypto-js": "^4.2.0",
|