@crowdin/app-project-module 1.5.2 → 1.5.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.
|
@@ -20,4 +20,9 @@ export interface AiPromptProviderModule extends UiModule {
|
|
|
20
20
|
* Represents a collection of supported actions. If not provided, all actions are supported.
|
|
21
21
|
*/
|
|
22
22
|
actions?: PromptActions[] | `custom:${string}`[];
|
|
23
|
+
/**
|
|
24
|
+
* Disable Auto-retry on QA issues in user interface.
|
|
25
|
+
* Default: false
|
|
26
|
+
*/
|
|
27
|
+
disallowRetryOnQaIssues?: boolean;
|
|
23
28
|
}
|
package/out/modules/manifest.js
CHANGED
|
@@ -298,7 +298,9 @@ 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({ 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' }, (config.aiPromptProvider.
|
|
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,
|
|
303
|
+
})), (config.aiPromptProvider.actions
|
|
302
304
|
? {
|
|
303
305
|
actions: config.aiPromptProvider.actions,
|
|
304
306
|
}
|
package/package.json
CHANGED