@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
|
-
*
|
|
25
|
-
* Default:
|
|
24
|
+
* Allow auto-retry on QA issues in user interface.
|
|
25
|
+
* Default: true
|
|
26
26
|
*/
|
|
27
|
-
|
|
27
|
+
allowRetryOnQaIssues?: boolean;
|
|
28
28
|
}
|
package/out/modules/manifest.js
CHANGED
|
@@ -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.
|
|
302
|
-
|
|
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