@crowdin/app-project-module 2.0.0 → 2.2.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.d.ts +1 -0
- package/out/index.js +5 -1
- package/out/modules/advisor-inspector/handlers/recheck.d.ts +4 -0
- package/out/modules/advisor-inspector/handlers/recheck.js +44 -0
- package/out/modules/advisor-inspector/index.d.ts +6 -0
- package/out/modules/advisor-inspector/index.js +35 -0
- package/out/modules/advisor-inspector/key.d.ts +4 -0
- package/out/modules/advisor-inspector/key.js +13 -0
- package/out/modules/advisor-inspector/report-insight.d.ts +3 -0
- package/out/modules/advisor-inspector/report-insight.js +61 -0
- package/out/modules/advisor-inspector/types.d.ts +59 -0
- package/out/modules/advisor-inspector/types.js +2 -0
- package/out/modules/integration/util/webhooks.js +69 -54
- package/out/modules/manifest.js +15 -0
- package/out/static/ui/error.bundle.js +9 -9
- package/out/static/ui/error.bundle.js.map +1 -1
- package/out/static/ui/form.bundle.js +125 -125
- package/out/static/ui/form.bundle.js.map +1 -1
- package/out/static/ui/install.bundle.js +9 -9
- package/out/static/ui/install.bundle.js.map +1 -1
- package/out/static/ui/login.bundle.js +9 -9
- package/out/static/ui/login.bundle.js.map +1 -1
- package/out/static/ui/main.bundle.js +9 -9
- package/out/static/ui/main.bundle.js.map +1 -1
- package/out/static/ui/oauth.bundle.js +9 -9
- package/out/static/ui/oauth.bundle.js.map +1 -1
- package/out/types.d.ts +6 -0
- package/package.json +2 -3
package/out/types.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ import { Webhook } from './modules/webhooks/types';
|
|
|
17
17
|
import { WorkflowStepTypeModule } from './modules/workflow-step-type/types';
|
|
18
18
|
import { AiRequestProcessorModule, AiStreamProcessorModule } from './modules/ai-request-processors/types';
|
|
19
19
|
import { AutomationActionModule } from './modules/automation-action/types';
|
|
20
|
+
import { AdvisorInspectorModule } from './modules/advisor-inspector/types';
|
|
20
21
|
import { AuthGuardModule } from './modules/auth-guard/types';
|
|
21
22
|
import { Cron } from './util/cron';
|
|
22
23
|
import { PostgreStorageConfig } from './storage/drizzle/postgresql';
|
|
@@ -276,6 +277,11 @@ export interface ClientConfig extends ImagePath {
|
|
|
276
277
|
* qa check module
|
|
277
278
|
*/
|
|
278
279
|
externalQaCheck?: (ExternalQaCheckModule & ImagePath)[];
|
|
280
|
+
/**
|
|
281
|
+
* Advisor inspector module — app-provided checks surfaced in the Crowdin Advisor.
|
|
282
|
+
* Receives recheck nudges from BE and pushes results via reportAdvisorInsight().
|
|
283
|
+
*/
|
|
284
|
+
advisorInspector?: AdvisorInspectorModule[];
|
|
279
285
|
/**
|
|
280
286
|
* webhook modules
|
|
281
287
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crowdin/app-project-module",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.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",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@crowdin/logs-formatter": "^2.3.0",
|
|
60
60
|
"@godaddy/terminus": "^4.12.1",
|
|
61
61
|
"ajv": "^8.17.1",
|
|
62
|
-
"amqplib": "^0.
|
|
62
|
+
"amqplib": "^2.0.1",
|
|
63
63
|
"better-sqlite3": "^12.6.2",
|
|
64
64
|
"cors": "^2.8.6",
|
|
65
65
|
"drizzle-orm": "^0.45.2",
|
|
@@ -106,7 +106,6 @@
|
|
|
106
106
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
107
107
|
"@rollup/plugin-replace": "^6.0.3",
|
|
108
108
|
"@rollup/plugin-typescript": "12.3.0",
|
|
109
|
-
"@types/amqplib": "^0.10.7",
|
|
110
109
|
"@types/better-sqlite3": "^7.6.13",
|
|
111
110
|
"@types/cors": "^2.8.19",
|
|
112
111
|
"@types/express": "^5.0.3",
|