@crowdin/app-project-module 1.5.3 → 1.5.4

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.
@@ -21,8 +21,8 @@ export interface AiPromptProviderModule extends UiModule {
21
21
  */
22
22
  actions?: PromptActions[] | `custom:${string}`[];
23
23
  /**
24
- * Disable Auto-retry on QA issues in user interface.
25
- * Default: false
24
+ * Allow auto-retry on QA issues in user interface.
25
+ * Default: true
26
26
  */
27
- disallowRetryOnQaIssues?: boolean;
27
+ allowRetryOnQaIssues?: boolean;
28
28
  }
@@ -298,8 +298,8 @@ function handle(config) {
298
298
  // prevent possible overrides of the other modules
299
299
  config.aiPromptProvider = Object.assign(Object.assign({}, config.aiPromptProvider), { key: config.identifier + '-ai-prompt-provider' });
300
300
  modules['ai-prompt-provider'] = [
301
- Object.assign(Object.assign(Object.assign({ key: config.aiPromptProvider.key, name: config.aiPromptProvider.name || config.name, logo: (0, util_1.getLogoUrl)(config, config.aiPromptProvider, '/ai-prompt-provider'), compileUrl: '/prompt-provider/compile' }, ((0, util_1.isDefined)(config.aiPromptProvider.disallowRetryOnQaIssues) && {
302
- disallowRetryOnQaIssues: config.aiPromptProvider.disallowRetryOnQaIssues,
301
+ Object.assign(Object.assign(Object.assign({ key: config.aiPromptProvider.key, name: config.aiPromptProvider.name || config.name, logo: (0, util_1.getLogoUrl)(config, config.aiPromptProvider, '/ai-prompt-provider'), compileUrl: '/prompt-provider/compile' }, ((0, util_1.isDefined)(config.aiPromptProvider.allowRetryOnQaIssues) && {
302
+ allowRetryOnQaIssues: config.aiPromptProvider.allowRetryOnQaIssues,
303
303
  })), (config.aiPromptProvider.actions
304
304
  ? {
305
305
  actions: config.aiPromptProvider.actions,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crowdin/app-project-module",
3
- "version": "1.5.3",
3
+ "version": "1.5.4",
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",