@intlayer/cli 9.7.0 → 9.7.2
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/dist/cjs/IntlayerEventListener.cjs +1 -2
- package/dist/cjs/_virtual/_rolldown/runtime.cjs +1 -2
- package/dist/cjs/_virtual/_utils_asset.cjs +1 -2
- package/dist/cjs/auth/login.cjs +8 -9
- package/dist/cjs/auth/sessionToken.cjs +1 -2
- package/dist/cjs/auth/setupRepository.cjs +6 -7
- package/dist/cjs/build.cjs +2 -3
- package/dist/cjs/bundle.cjs +1 -2
- package/dist/cjs/bundle.cjs.map +1 -1
- package/dist/cjs/ci.cjs +2 -3
- package/dist/cjs/cli.cjs +8 -5
- package/dist/cjs/cli.cjs.map +1 -1
- package/dist/cjs/config.cjs +2 -3
- package/dist/cjs/editor.cjs +3 -4
- package/dist/cjs/extract.cjs +6 -7
- package/dist/cjs/fill/deepMergeContent.cjs +1 -2
- package/dist/cjs/fill/extractTranslatableContent.cjs +1 -2
- package/dist/cjs/fill/fill.cjs +9 -10
- package/dist/cjs/fill/formatAutoFilledFilePath.cjs +1 -2
- package/dist/cjs/fill/formatFillData.cjs +2 -3
- package/dist/cjs/fill/getAvailableLocalesInDictionary.cjs +1 -2
- package/dist/cjs/fill/getFilterMissingContentPerLocale.cjs +1 -2
- package/dist/cjs/fill/index.cjs +2 -2
- package/dist/cjs/fill/listTranslationsTasks.cjs +4 -5
- package/dist/cjs/fill/translateDictionary.cjs +7 -8
- package/dist/cjs/fill/writeFill.cjs +4 -5
- package/dist/cjs/getTargetDictionary.cjs +2 -3
- package/dist/cjs/index.cjs +28 -27
- package/dist/cjs/init.cjs +30 -13
- package/dist/cjs/init.cjs.map +1 -1
- package/dist/cjs/initChromeExtension.cjs +5 -6
- package/dist/cjs/initInfra.cjs +4 -5
- package/dist/cjs/initMCP.cjs +6 -7
- package/dist/cjs/initSkills.cjs +6 -7
- package/dist/cjs/listContentDeclaration.cjs +3 -4
- package/dist/cjs/listProjects.cjs +2 -3
- package/dist/cjs/liveSync.cjs +7 -8
- package/dist/cjs/loadPrompts.cjs +1 -2
- package/dist/cjs/pull.cjs +20 -13
- package/dist/cjs/pull.cjs.map +1 -1
- package/dist/cjs/push/pullLog.cjs +2 -3
- package/dist/cjs/push/push.cjs +12 -12
- package/dist/cjs/push/push.cjs.map +1 -1
- package/dist/cjs/pushConfig.cjs +4 -5
- package/dist/cjs/pushLog.cjs +2 -3
- package/dist/cjs/reviewDoc/reviewDoc.cjs +14 -14
- package/dist/cjs/reviewDoc/reviewDoc.cjs.map +1 -1
- package/dist/cjs/reviewDoc/reviewDocBlockAware.cjs +9 -10
- package/dist/cjs/reviewDoc/reviewDocBlockAware.cjs.map +1 -1
- package/dist/cjs/reviewDoc/reviewDocLog.cjs +2 -3
- package/dist/cjs/reviewDoc/reviewDocProgress.cjs +2 -3
- package/dist/cjs/reviewDoc/reviewDocSynthesis.cjs +2 -3
- package/dist/cjs/scan.cjs +2 -3
- package/dist/cjs/searchDoc.cjs +2 -3
- package/dist/cjs/test/index.cjs +2 -2
- package/dist/cjs/test/listMissingTranslations.cjs +2 -3
- package/dist/cjs/test/test.cjs +4 -5
- package/dist/cjs/translateDoc/index.cjs +3 -3
- package/dist/cjs/translateDoc/translateDoc.cjs +10 -11
- package/dist/cjs/translateDoc/translateDoc.cjs.map +1 -1
- package/dist/cjs/translateDoc/translateFile.cjs +10 -11
- package/dist/cjs/translateDoc/translateFile.cjs.map +1 -1
- package/dist/cjs/translateDoc/validation.cjs +1 -2
- package/dist/cjs/upgrade.cjs +3 -4
- package/dist/cjs/utils/calculateChunks.cjs +1 -2
- package/dist/cjs/utils/checkAccess.cjs +6 -7
- package/dist/cjs/utils/checkConfigConsistency.cjs +1 -2
- package/dist/cjs/utils/checkFileModifiedRange.cjs +3 -4
- package/dist/cjs/utils/checkLastUpdateTime.cjs +1 -2
- package/dist/cjs/utils/chunkInference.cjs +2 -3
- package/dist/cjs/utils/detectGitRepository.cjs +1 -2
- package/dist/cjs/utils/fixChunkStartEndChars.cjs +1 -2
- package/dist/cjs/utils/formatLineRanges.cjs +1 -2
- package/dist/cjs/utils/formatTimeDiff.cjs +1 -2
- package/dist/cjs/utils/getIsFileUpdatedRecently.cjs +1 -2
- package/dist/cjs/utils/getOutputFilePath.cjs +1 -2
- package/dist/cjs/utils/getParentPackageJSON.cjs +1 -2
- package/dist/cjs/utils/isInteractiveTerminal.cjs +1 -2
- package/dist/cjs/utils/listSpecialChars.cjs +1 -2
- package/dist/cjs/utils/mapChunksBetweenFiles.cjs +2 -3
- package/dist/cjs/utils/openBrowser.cjs +1 -2
- package/dist/cjs/utils/parseChoice.cjs +1 -2
- package/dist/cjs/utils/reorderParagraphs.cjs +2 -3
- package/dist/cjs/utils/selectCmsEnvironment.cjs +2 -3
- package/dist/cjs/utils/setupAI.cjs +3 -4
- package/dist/cjs/watch.cjs +2 -3
- package/dist/esm/IntlayerEventListener.mjs +1 -2
- package/dist/esm/_virtual/_rolldown/runtime.mjs +1 -2
- package/dist/esm/_virtual/_utils_asset.mjs +1 -2
- package/dist/esm/auth/login.mjs +4 -5
- package/dist/esm/auth/sessionToken.mjs +1 -2
- package/dist/esm/auth/setupRepository.mjs +3 -4
- package/dist/esm/build.mjs +2 -3
- package/dist/esm/bundle.mjs +1 -2
- package/dist/esm/bundle.mjs.map +1 -1
- package/dist/esm/ci.mjs +2 -3
- package/dist/esm/cli.mjs +7 -4
- package/dist/esm/cli.mjs.map +1 -1
- package/dist/esm/config.mjs +2 -3
- package/dist/esm/editor.mjs +2 -3
- package/dist/esm/extract.mjs +6 -7
- package/dist/esm/extract.mjs.map +1 -1
- package/dist/esm/fill/deepMergeContent.mjs +1 -2
- package/dist/esm/fill/extractTranslatableContent.mjs +1 -2
- package/dist/esm/fill/fill.mjs +5 -6
- package/dist/esm/fill/fill.mjs.map +1 -1
- package/dist/esm/fill/formatAutoFilledFilePath.mjs +1 -2
- package/dist/esm/fill/formatFillData.mjs +1 -2
- package/dist/esm/fill/getAvailableLocalesInDictionary.mjs +1 -2
- package/dist/esm/fill/getFilterMissingContentPerLocale.mjs +1 -2
- package/dist/esm/fill/index.mjs +1 -1
- package/dist/esm/fill/listTranslationsTasks.mjs +2 -3
- package/dist/esm/fill/translateDictionary.mjs +3 -4
- package/dist/esm/fill/writeFill.mjs +2 -3
- package/dist/esm/getTargetDictionary.mjs +2 -3
- package/dist/esm/index.mjs +14 -14
- package/dist/esm/init.mjs +24 -8
- package/dist/esm/init.mjs.map +1 -1
- package/dist/esm/initChromeExtension.mjs +2 -3
- package/dist/esm/initInfra.mjs +2 -3
- package/dist/esm/initMCP.mjs +3 -4
- package/dist/esm/initSkills.mjs +2 -3
- package/dist/esm/listContentDeclaration.mjs +3 -4
- package/dist/esm/listProjects.mjs +2 -3
- package/dist/esm/liveSync.mjs +4 -5
- package/dist/esm/loadPrompts.mjs +1 -2
- package/dist/esm/pull.mjs +16 -9
- package/dist/esm/pull.mjs.map +1 -1
- package/dist/esm/push/pullLog.mjs +1 -2
- package/dist/esm/push/push.mjs +9 -9
- package/dist/esm/push/push.mjs.map +1 -1
- package/dist/esm/pushConfig.mjs +2 -3
- package/dist/esm/pushLog.mjs +1 -2
- package/dist/esm/reviewDoc/reviewDoc.mjs +6 -6
- package/dist/esm/reviewDoc/reviewDoc.mjs.map +1 -1
- package/dist/esm/reviewDoc/reviewDocBlockAware.mjs +4 -5
- package/dist/esm/reviewDoc/reviewDocBlockAware.mjs.map +1 -1
- package/dist/esm/reviewDoc/reviewDocLog.mjs +2 -3
- package/dist/esm/reviewDoc/reviewDocProgress.mjs +1 -2
- package/dist/esm/reviewDoc/reviewDocSynthesis.mjs +1 -2
- package/dist/esm/scan.mjs +1 -2
- package/dist/esm/searchDoc.mjs +2 -3
- package/dist/esm/test/listMissingTranslations.mjs +2 -3
- package/dist/esm/test/test.mjs +2 -3
- package/dist/esm/translateDoc/index.mjs +2 -2
- package/dist/esm/translateDoc/translateDoc.mjs +5 -6
- package/dist/esm/translateDoc/translateDoc.mjs.map +1 -1
- package/dist/esm/translateDoc/translateFile.mjs +6 -7
- package/dist/esm/translateDoc/translateFile.mjs.map +1 -1
- package/dist/esm/translateDoc/validation.mjs +1 -2
- package/dist/esm/upgrade.mjs +2 -3
- package/dist/esm/utils/calculateChunks.mjs +1 -2
- package/dist/esm/utils/checkAccess.mjs +3 -4
- package/dist/esm/utils/checkConfigConsistency.mjs +1 -2
- package/dist/esm/utils/checkFileModifiedRange.mjs +1 -2
- package/dist/esm/utils/checkLastUpdateTime.mjs +1 -2
- package/dist/esm/utils/chunkInference.mjs +1 -2
- package/dist/esm/utils/detectGitRepository.mjs +1 -2
- package/dist/esm/utils/fixChunkStartEndChars.mjs +1 -2
- package/dist/esm/utils/formatLineRanges.mjs +1 -2
- package/dist/esm/utils/formatTimeDiff.mjs +1 -2
- package/dist/esm/utils/getIsFileUpdatedRecently.mjs +1 -2
- package/dist/esm/utils/getOutputFilePath.mjs +1 -2
- package/dist/esm/utils/getParentPackageJSON.mjs +1 -2
- package/dist/esm/utils/isInteractiveTerminal.mjs +1 -2
- package/dist/esm/utils/listSpecialChars.mjs +1 -2
- package/dist/esm/utils/mapChunksBetweenFiles.mjs +1 -2
- package/dist/esm/utils/openBrowser.mjs +1 -2
- package/dist/esm/utils/parseChoice.mjs +1 -2
- package/dist/esm/utils/reorderParagraphs.mjs +1 -2
- package/dist/esm/utils/selectCmsEnvironment.mjs +1 -2
- package/dist/esm/utils/setupAI.mjs +1 -2
- package/dist/esm/watch.mjs +2 -3
- package/dist/types/IntlayerEventListener.d.ts +1 -3
- package/dist/types/IntlayerEventListener.d.ts.map +1 -1
- package/dist/types/auth/login.d.ts +1 -2
- package/dist/types/auth/login.d.ts.map +1 -1
- package/dist/types/auth/sessionToken.d.ts +0 -2
- package/dist/types/auth/sessionToken.d.ts.map +1 -1
- package/dist/types/auth/setupRepository.d.ts +1 -2
- package/dist/types/auth/setupRepository.d.ts.map +1 -1
- package/dist/types/build.d.ts +1 -2
- package/dist/types/build.d.ts.map +1 -1
- package/dist/types/bundle.d.ts +0 -2
- package/dist/types/bundle.d.ts.map +1 -1
- package/dist/types/ci.d.ts +1 -2
- package/dist/types/ci.d.ts.map +1 -1
- package/dist/types/cli.d.ts +1 -2
- package/dist/types/cli.d.ts.map +1 -1
- package/dist/types/config.d.ts +1 -2
- package/dist/types/config.d.ts.map +1 -1
- package/dist/types/editor.d.ts +1 -2
- package/dist/types/editor.d.ts.map +1 -1
- package/dist/types/extract.d.ts +1 -2
- package/dist/types/extract.d.ts.map +1 -1
- package/dist/types/fill/deepMergeContent.d.ts +0 -2
- package/dist/types/fill/deepMergeContent.d.ts.map +1 -1
- package/dist/types/fill/extractTranslatableContent.d.ts +0 -2
- package/dist/types/fill/extractTranslatableContent.d.ts.map +1 -1
- package/dist/types/fill/fill.d.ts +1 -3
- package/dist/types/fill/fill.d.ts.map +1 -1
- package/dist/types/fill/formatAutoFilledFilePath.d.ts +1 -3
- package/dist/types/fill/formatAutoFilledFilePath.d.ts.map +1 -1
- package/dist/types/fill/formatFillData.d.ts +0 -2
- package/dist/types/fill/formatFillData.d.ts.map +1 -1
- package/dist/types/fill/getAvailableLocalesInDictionary.d.ts +0 -2
- package/dist/types/fill/getAvailableLocalesInDictionary.d.ts.map +1 -1
- package/dist/types/fill/getFilterMissingContentPerLocale.d.ts +0 -2
- package/dist/types/fill/getFilterMissingContentPerLocale.d.ts.map +1 -1
- package/dist/types/fill/listTranslationsTasks.d.ts +0 -2
- package/dist/types/fill/listTranslationsTasks.d.ts.map +1 -1
- package/dist/types/fill/translateDictionary.d.ts +2 -3
- package/dist/types/fill/translateDictionary.d.ts.map +1 -1
- package/dist/types/fill/writeFill.d.ts +0 -2
- package/dist/types/fill/writeFill.d.ts.map +1 -1
- package/dist/types/getTargetDictionary.d.ts +0 -2
- package/dist/types/getTargetDictionary.d.ts.map +1 -1
- package/dist/types/index.d.ts +4 -4
- package/dist/types/init.d.ts +6 -3
- package/dist/types/init.d.ts.map +1 -1
- package/dist/types/initChromeExtension.d.ts +0 -2
- package/dist/types/initChromeExtension.d.ts.map +1 -1
- package/dist/types/initInfra.d.ts +0 -2
- package/dist/types/initInfra.d.ts.map +1 -1
- package/dist/types/initMCP.d.ts +0 -2
- package/dist/types/initMCP.d.ts.map +1 -1
- package/dist/types/initSkills.d.ts +0 -2
- package/dist/types/initSkills.d.ts.map +1 -1
- package/dist/types/listContentDeclaration.d.ts +1 -2
- package/dist/types/listContentDeclaration.d.ts.map +1 -1
- package/dist/types/listProjects.d.ts +0 -2
- package/dist/types/listProjects.d.ts.map +1 -1
- package/dist/types/liveSync.d.ts +1 -2
- package/dist/types/liveSync.d.ts.map +1 -1
- package/dist/types/loadPrompts.d.ts +0 -2
- package/dist/types/loadPrompts.d.ts.map +1 -1
- package/dist/types/pull.d.ts +15 -3
- package/dist/types/pull.d.ts.map +1 -1
- package/dist/types/push/pullLog.d.ts +0 -2
- package/dist/types/push/pullLog.d.ts.map +1 -1
- package/dist/types/push/push.d.ts +1 -2
- package/dist/types/push/push.d.ts.map +1 -1
- package/dist/types/pushConfig.d.ts +1 -2
- package/dist/types/pushConfig.d.ts.map +1 -1
- package/dist/types/pushLog.d.ts +0 -2
- package/dist/types/pushLog.d.ts.map +1 -1
- package/dist/types/reviewDoc/reviewDoc.d.ts +2 -3
- package/dist/types/reviewDoc/reviewDoc.d.ts.map +1 -1
- package/dist/types/reviewDoc/reviewDocBlockAware.d.ts +0 -2
- package/dist/types/reviewDoc/reviewDocBlockAware.d.ts.map +1 -1
- package/dist/types/reviewDoc/reviewDocLog.d.ts +0 -2
- package/dist/types/reviewDoc/reviewDocLog.d.ts.map +1 -1
- package/dist/types/reviewDoc/reviewDocProgress.d.ts +0 -2
- package/dist/types/reviewDoc/reviewDocProgress.d.ts.map +1 -1
- package/dist/types/reviewDoc/reviewDocSynthesis.d.ts +0 -2
- package/dist/types/reviewDoc/reviewDocSynthesis.d.ts.map +1 -1
- package/dist/types/scan.d.ts +0 -2
- package/dist/types/scan.d.ts.map +1 -1
- package/dist/types/searchDoc.d.ts +1 -2
- package/dist/types/searchDoc.d.ts.map +1 -1
- package/dist/types/test/listMissingTranslations.d.ts +1 -3
- package/dist/types/test/listMissingTranslations.d.ts.map +1 -1
- package/dist/types/test/test.d.ts +1 -2
- package/dist/types/test/test.d.ts.map +1 -1
- package/dist/types/translateDoc/index.d.ts +1 -1
- package/dist/types/translateDoc/translateDoc.d.ts +0 -2
- package/dist/types/translateDoc/translateDoc.d.ts.map +1 -1
- package/dist/types/translateDoc/translateFile.d.ts +0 -2
- package/dist/types/translateDoc/translateFile.d.ts.map +1 -1
- package/dist/types/translateDoc/types.d.ts +2 -4
- package/dist/types/translateDoc/types.d.ts.map +1 -1
- package/dist/types/translateDoc/validation.d.ts +0 -2
- package/dist/types/translateDoc/validation.d.ts.map +1 -1
- package/dist/types/upgrade.d.ts +0 -2
- package/dist/types/upgrade.d.ts.map +1 -1
- package/dist/types/utils/calculateChunks.d.ts +0 -2
- package/dist/types/utils/calculateChunks.d.ts.map +1 -1
- package/dist/types/utils/checkAccess.d.ts +1 -3
- package/dist/types/utils/checkAccess.d.ts.map +1 -1
- package/dist/types/utils/checkConfigConsistency.d.ts +0 -2
- package/dist/types/utils/checkConfigConsistency.d.ts.map +1 -1
- package/dist/types/utils/checkFileModifiedRange.d.ts +1 -2
- package/dist/types/utils/checkFileModifiedRange.d.ts.map +1 -1
- package/dist/types/utils/checkLastUpdateTime.d.ts +0 -2
- package/dist/types/utils/checkLastUpdateTime.d.ts.map +1 -1
- package/dist/types/utils/chunkInference.d.ts +1 -2
- package/dist/types/utils/chunkInference.d.ts.map +1 -1
- package/dist/types/utils/detectGitRepository.d.ts +0 -2
- package/dist/types/utils/detectGitRepository.d.ts.map +1 -1
- package/dist/types/utils/fixChunkStartEndChars.d.ts +0 -2
- package/dist/types/utils/fixChunkStartEndChars.d.ts.map +1 -1
- package/dist/types/utils/formatLineRanges.d.ts +0 -2
- package/dist/types/utils/formatLineRanges.d.ts.map +1 -1
- package/dist/types/utils/formatTimeDiff.d.ts +0 -2
- package/dist/types/utils/formatTimeDiff.d.ts.map +1 -1
- package/dist/types/utils/getIsFileUpdatedRecently.d.ts +0 -2
- package/dist/types/utils/getIsFileUpdatedRecently.d.ts.map +1 -1
- package/dist/types/utils/getOutputFilePath.d.ts +0 -2
- package/dist/types/utils/getOutputFilePath.d.ts.map +1 -1
- package/dist/types/utils/getParentPackageJSON.d.ts +1 -2
- package/dist/types/utils/getParentPackageJSON.d.ts.map +1 -1
- package/dist/types/utils/isInteractiveTerminal.d.ts +0 -2
- package/dist/types/utils/isInteractiveTerminal.d.ts.map +1 -1
- package/dist/types/utils/listSpecialChars.d.ts +1 -2
- package/dist/types/utils/listSpecialChars.d.ts.map +1 -1
- package/dist/types/utils/mapChunksBetweenFiles.d.ts +0 -2
- package/dist/types/utils/mapChunksBetweenFiles.d.ts.map +1 -1
- package/dist/types/utils/openBrowser.d.ts +0 -2
- package/dist/types/utils/openBrowser.d.ts.map +1 -1
- package/dist/types/utils/parseChoice.d.ts +0 -2
- package/dist/types/utils/parseChoice.d.ts.map +1 -1
- package/dist/types/utils/reorderParagraphs.d.ts +0 -2
- package/dist/types/utils/reorderParagraphs.d.ts.map +1 -1
- package/dist/types/utils/selectCmsEnvironment.d.ts +1 -3
- package/dist/types/utils/selectCmsEnvironment.d.ts.map +1 -1
- package/dist/types/utils/setupAI.d.ts +1 -2
- package/dist/types/utils/setupAI.d.ts.map +1 -1
- package/dist/types/watch.d.ts +1 -2
- package/dist/types/watch.d.ts.map +1 -1
- package/package.json +32 -32
package/dist/types/extract.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { GetConfigurationOptions } from "@intlayer/config/node";
|
|
2
2
|
import { FilePathPattern } from "@intlayer/types/filePathPattern";
|
|
3
|
-
//#region src/extract.d.ts
|
|
4
3
|
type ExtractOptions = {
|
|
5
4
|
files?: string[];
|
|
6
5
|
output?: FilePathPattern;
|
|
@@ -9,5 +8,5 @@ type ExtractOptions = {
|
|
|
9
8
|
declarationOnly?: boolean;
|
|
10
9
|
};
|
|
11
10
|
export declare const extract: (options: ExtractOptions) => Promise<void>;
|
|
12
|
-
|
|
11
|
+
export {};
|
|
13
12
|
//# sourceMappingURL=extract.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extract.d.ts","names":[],"sources":["../../src/extract.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"extract.d.ts","names":[],"sources":["../../src/extract.ts"],"mappings":";;KAgBK;EACH;EACA,SAAS;EACT,gBAAgB;EAChB;EACA;;qBAGW,UAAO,SAAmB,mBAAc"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/fill/deepMergeContent.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* Deep merge two plain objects (for per-locale content).
|
|
4
3
|
* The second object's values take precedence over the first.
|
|
@@ -8,5 +7,4 @@
|
|
|
8
7
|
* @returns The merged object
|
|
9
8
|
*/
|
|
10
9
|
export declare const deepMergeContent: <T = any>(target: T, source: T) => T;
|
|
11
|
-
//#endregion
|
|
12
10
|
//# sourceMappingURL=deepMergeContent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deepMergeContent.d.ts","names":[],"sources":["../../../src/fill/deepMergeContent.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"deepMergeContent.d.ts","names":[],"sources":["../../../src/fill/deepMergeContent.ts"],"mappings":";;;;;;;;qBAQa,mBAAoB,SAAO,QAAU,GAAC,QAAU,MAAI"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/fill/extractTranslatableContent.d.ts
|
|
2
1
|
export type ExtractedContentProps = {
|
|
3
2
|
index: number;
|
|
4
3
|
path: (string | number)[];
|
|
@@ -15,5 +14,4 @@ export declare const extractTranslatableContent: (content: any, currentPath?: (s
|
|
|
15
14
|
translatableDictionary: Record<number, string>;
|
|
16
15
|
}) => ExtractedContentResult;
|
|
17
16
|
export declare const reinsertTranslatedContent: (baseContent: any, extractedContentProps: ExtractedContentProps[], translatedDictionary: Record<number, string>) => any;
|
|
18
|
-
//#endregion
|
|
19
17
|
//# sourceMappingURL=extractTranslatableContent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extractTranslatableContent.d.ts","names":[],"sources":["../../../src/fill/extractTranslatableContent.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"extractTranslatableContent.d.ts","names":[],"sources":["../../../src/fill/extractTranslatableContent.ts"],"mappings":"A,YAAY;EACV;EACA;EACA;EACA,cAAc;;YAGJ;EACV,kBAAkB;EAClB,wBAAwB;;qBAGb,6BAA0B,cACzB,mCACoB;EAE9B;EACA,kBAAwB;EACxB,wBAA8B;MAE/B;qBA6CU,4BAAyB,kBACpB,uBACO,yBAAuB,sBACxB"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { GetTargetDictionaryOptions } from "../getTargetDictionary.js";
|
|
2
|
-
import { AIOptions } from "@intlayer/ai";
|
|
3
2
|
import { ListGitFilesOptions } from "@intlayer/engine/cli";
|
|
3
|
+
import { AIOptions } from "@intlayer/ai";
|
|
4
4
|
import { Locale } from "@intlayer/types/allLocales";
|
|
5
|
-
//#region src/fill/fill.d.ts
|
|
6
5
|
export type FillOptions = {
|
|
7
6
|
sourceLocale?: Locale;
|
|
8
7
|
outputLocales?: Locale | Locale[];
|
|
@@ -40,5 +39,4 @@ export type FillResult = {
|
|
|
40
39
|
* MCP) can tell a completed run from one that translated nothing.
|
|
41
40
|
*/
|
|
42
41
|
export declare const fill: (options?: FillOptions) => Promise<FillResult>;
|
|
43
|
-
//#endregion
|
|
44
42
|
//# sourceMappingURL=fill.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fill.d.ts","names":[],"sources":["../../../src/fill/fill.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"fill.d.ts","names":[],"sources":["../../../src/fill/fill.ts"],"mappings":";;;;YA2CY;EACV,eAAe;EACf,gBAAgB,SAAS;EACzB;EACA,aAAa;EACb,YAAY;EACZ;EACA;EACA;EACA;EACA;IACE;;YAGQ;;EAGN;;EAEA;;;EAIA;;EAGA;;EAEA;;EAEA;;EAEA;;;;;;;;qBASO,OAAI,UAAoB,gBAAc,QAAQ"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { IntlayerConfig } from "@intlayer/types/config";
|
|
2
1
|
import { FilePathPattern } from "@intlayer/types/filePathPattern";
|
|
2
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
3
3
|
import { Locale } from "@intlayer/types/allLocales";
|
|
4
|
-
//#region src/fill/formatAutoFilledFilePath.d.ts
|
|
5
4
|
export declare const formatAutoFilledFilePath: (autoFillField: FilePathPattern, dictionaryKey: string, dictionaryFilePath: string, baseDir: string, configuration: IntlayerConfig, locale?: Locale) => Promise<string>;
|
|
6
|
-
//#endregion
|
|
7
5
|
//# sourceMappingURL=formatAutoFilledFilePath.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formatAutoFilledFilePath.d.ts","names":[],"sources":["../../../src/fill/formatAutoFilledFilePath.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"formatAutoFilledFilePath.d.ts","names":[],"sources":["../../../src/fill/formatAutoFilledFilePath.ts"],"mappings":";;;qBASa,2BAAwB,eACpB,iBAAe,uBACT,4BACK,iBACX,eACA,gBAAc,SACpB,WACR"}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
2
2
|
import { Locale } from "@intlayer/types/allLocales";
|
|
3
3
|
import { DictionaryKey, Fill } from "@intlayer/types/dictionary";
|
|
4
|
-
//#region src/fill/formatFillData.d.ts
|
|
5
4
|
export type FillData = {
|
|
6
5
|
localeList: Locale[];
|
|
7
6
|
filePath: string;
|
|
8
7
|
isPerLocale: boolean;
|
|
9
8
|
};
|
|
10
9
|
export declare const formatFillData: (fillField: Fill, localeList: Locale[], filePath: string, dictionaryKey: DictionaryKey, configuration: IntlayerConfig) => Promise<FillData[]>;
|
|
11
|
-
//#endregion
|
|
12
10
|
//# sourceMappingURL=formatFillData.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formatFillData.d.ts","names":[],"sources":["../../../src/fill/formatFillData.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"formatFillData.d.ts","names":[],"sources":["../../../src/fill/formatFillData.ts"],"mappings":";;;YAWY;EACV,YAAY;EACZ;EACA;;qBAmBW,iBAAc,WACd,MAAI,YACH,UAAQ,kBACJ,eACD,eAAa,eACb,mBACd,QAAQ"}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { Locale } from "@intlayer/types/allLocales";
|
|
2
2
|
import { Dictionary } from "@intlayer/types/dictionary";
|
|
3
|
-
//#region src/fill/getAvailableLocalesInDictionary.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Gets all locales that have actual translations in the dictionary content.
|
|
6
5
|
* Only returns locales that are present in at least one translation node.
|
|
7
6
|
*/
|
|
8
7
|
export declare const getAvailableLocalesInDictionary: (dictionary: Dictionary) => Locale[];
|
|
9
|
-
//#endregion
|
|
10
8
|
//# sourceMappingURL=getAvailableLocalesInDictionary.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAvailableLocalesInDictionary.d.ts","names":[],"sources":["../../../src/fill/getAvailableLocalesInDictionary.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"getAvailableLocalesInDictionary.d.ts","names":[],"sources":["../../../src/fill/getAvailableLocalesInDictionary.ts"],"mappings":";;;;;;qBAqCa,kCAA+B,YAC9B,eACX"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Dictionary } from "@intlayer/types/dictionary";
|
|
2
|
-
//#region src/fill/getFilterMissingContentPerLocale.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* Filters a dictionary to only include content that's missing in the target dictionary.
|
|
5
4
|
* Used for per-locale content declarations in 'complete' mode.
|
|
@@ -9,5 +8,4 @@ import { Dictionary } from "@intlayer/types/dictionary";
|
|
|
9
8
|
* @returns A dictionary with only the missing content
|
|
10
9
|
*/
|
|
11
10
|
export declare const getFilterMissingContentPerLocale: (sourceDictionary: Dictionary, targetDictionary: Dictionary | undefined) => Dictionary;
|
|
12
|
-
//#endregion
|
|
13
11
|
//# sourceMappingURL=getFilterMissingContentPerLocale.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFilterMissingContentPerLocale.d.ts","names":[],"sources":["../../../src/fill/getFilterMissingContentPerLocale.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"getFilterMissingContentPerLocale.d.ts","names":[],"sources":["../../../src/fill/getFilterMissingContentPerLocale.ts"],"mappings":";;;;;;;;;qBAgEa,mCAAgC,kBACzB,YAAU,kBACV,2BACjB"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
2
2
|
import { Locale } from "@intlayer/types/allLocales";
|
|
3
3
|
import { LocalDictionaryId } from "@intlayer/types/dictionary";
|
|
4
|
-
//#region src/fill/listTranslationsTasks.d.ts
|
|
5
4
|
export type TranslationTask = {
|
|
6
5
|
dictionaryKey: string;
|
|
7
6
|
dictionaryLocalId: LocalDictionaryId;
|
|
@@ -11,5 +10,4 @@ export type TranslationTask = {
|
|
|
11
10
|
dictionaryFilePath: string;
|
|
12
11
|
};
|
|
13
12
|
export declare const listTranslationsTasks: (localIds: LocalDictionaryId[], outputLocales: Locale[], mode: 'complete' | 'review', baseLocale: Locale, configuration: IntlayerConfig) => TranslationTask[];
|
|
14
|
-
//#endregion
|
|
15
13
|
//# sourceMappingURL=listTranslationsTasks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listTranslationsTasks.d.ts","names":[],"sources":["../../../src/fill/listTranslationsTasks.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"listTranslationsTasks.d.ts","names":[],"sources":["../../../src/fill/listTranslationsTasks.ts"],"mappings":";;;YAkBY;EACV;EACA,mBAAmB;EACnB,cAAc;EACd,eAAe;EACf;EACA;;qBAGW,wBAAqB,UACtB,qBAAmB,eACd,UAAQ,6BACI,YACf,QAAM,eACH,mBACd"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { TranslationTask } from "./listTranslationsTasks.js";
|
|
2
1
|
import { AIClient } from "../utils/setupAI.js";
|
|
2
|
+
import { TranslationTask } from "./listTranslationsTasks.js";
|
|
3
3
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
4
4
|
import { AIConfig, AIOptions } from "@intlayer/ai";
|
|
5
5
|
import { Dictionary } from "@intlayer/types/dictionary";
|
|
6
|
-
//#region src/fill/translateDictionary.d.ts
|
|
7
6
|
type TranslateDictionaryResult = TranslationTask & {
|
|
8
7
|
dictionaryOutput: Dictionary | null;
|
|
9
8
|
};
|
|
@@ -19,5 +18,5 @@ type TranslateDictionaryOptions = {
|
|
|
19
18
|
aiConfig?: AIConfig;
|
|
20
19
|
};
|
|
21
20
|
export declare const translateDictionary: (task: TranslationTask, configuration: IntlayerConfig, options?: TranslateDictionaryOptions) => Promise<TranslateDictionaryResult>;
|
|
22
|
-
|
|
21
|
+
export {};
|
|
23
22
|
//# sourceMappingURL=translateDictionary.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translateDictionary.d.ts","names":[],"sources":["../../../src/fill/translateDictionary.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"translateDictionary.d.ts","names":[],"sources":["../../../src/fill/translateDictionary.ts"],"mappings":";;;;;KAuCK,4BAA4B;EAC/B,kBAAkB;;KAGf;EACH;EACA,YAAY;EACZ;EACA,WAAW,mDAC+B;EAE1C;EACA,WAAW;EACX,sBAAsB;EACtB,WAAW;EACX,WAAW;;qBAyCA,sBAAmB,MACxB,iBAAe,eACN,gBAAc,UACnB,+BACT,QAAQ"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
2
2
|
import { Locale } from "@intlayer/types/allLocales";
|
|
3
3
|
import { Dictionary } from "@intlayer/types/dictionary";
|
|
4
|
-
//#region src/fill/writeFill.d.ts
|
|
5
4
|
export declare const writeFill: (contentDeclarationFile: Dictionary, outputLocales: Locale[], parentLocales: Locale[], configuration: IntlayerConfig) => Promise<void>;
|
|
6
|
-
//#endregion
|
|
7
5
|
//# sourceMappingURL=writeFill.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"writeFill.d.ts","names":[],"sources":["../../../src/fill/writeFill.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"writeFill.d.ts","names":[],"sources":["../../../src/fill/writeFill.ts"],"mappings":";;;qBAWa,YAAS,wBACI,YAAU,eACnB,UAAQ,eACR,UAAQ,eACR,mBAAc"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { GetConfigurationOptions } from "@intlayer/config/node";
|
|
2
2
|
import { ListGitFilesOptions } from "@intlayer/engine/cli";
|
|
3
3
|
import { Dictionary } from "@intlayer/types/dictionary";
|
|
4
|
-
//#region src/getTargetDictionary.d.ts
|
|
5
4
|
export declare const ensureArray: <T>(value: T | T[]) => T[];
|
|
6
5
|
export type GetTargetDictionaryOptions = {
|
|
7
6
|
file?: string | string[];
|
|
@@ -13,5 +12,4 @@ export type GetTargetDictionaryOptions = {
|
|
|
13
12
|
configOptions?: GetConfigurationOptions;
|
|
14
13
|
};
|
|
15
14
|
export declare const getTargetUnmergedDictionaries: (options?: GetTargetDictionaryOptions) => Promise<Dictionary[]>;
|
|
16
|
-
//#endregion
|
|
17
15
|
//# sourceMappingURL=getTargetDictionary.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTargetDictionary.d.ts","names":[],"sources":["../../src/getTargetDictionary.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"getTargetDictionary.d.ts","names":[],"sources":["../../src/getTargetDictionary.ts"],"mappings":";;;qBASa,cAAe,GAAC,OAAS,IAAI,QAAM;YAGpC;EACV;EACA;EACA;EACA,UAAU,OAAO;EACjB;EACA,aAAa;EACb,gBAAgB;;qBAGL,gCAA6B,UAC9B,+BACT,QAAQ"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { IntlayerEventListener, IntlayerMessageEvent } from "./IntlayerEventListener.js";
|
|
2
1
|
import { login } from "./auth/login.js";
|
|
3
2
|
import { clearCliSessionToken, readCliSessionToken } from "./auth/sessionToken.js";
|
|
4
3
|
import { build } from "./build.js";
|
|
@@ -7,14 +6,15 @@ import { ConfigurationOptions, dirname, setAPI } from "./cli.js";
|
|
|
7
6
|
import { getRemoteEditorRunners, startEditor } from "./editor.js";
|
|
8
7
|
import { extract } from "./extract.js";
|
|
9
8
|
import { FillOptions, FillResult, fill } from "./fill/fill.js";
|
|
10
|
-
import {
|
|
9
|
+
import { IntlayerEventListener, IntlayerMessageEvent } from "./IntlayerEventListener.js";
|
|
10
|
+
import { CONTENT_LAYOUT_CHOICES, DEFAULT_INIT_STEPS, ESLINT_CONFIG_FILES, INIT_STEP_COMMANDS, INIT_STEP_GROUPS, InitStep, InitStepOption, LOCALE_ROUTING_CHOICES, LocaleRoutingChoice, OPT_IN_INIT_STEPS, findProjectRoot, getContentInitOptions, getInitOptionsForSteps, getInitialInitSteps, getProjectDependencies, getRoutingInitOptions, init, initCms, initRepository, initSteps, isEslintInstalled, isPrettierInstalled, parseContentLayoutChoice, parseLocaleRoutingChoice, resolveProjectRoot } from "./init.js";
|
|
11
11
|
import { BROWSER_EXTENSION_OPTIONS, CHROME_EXTENSION_URL, EXTENSION_BROWSERS, EXTENSION_URL_BY_BROWSER, ExtensionBrowser, InitChromeExtensionOptions, MOZILLA_EXTENSION_URL, initChromeExtension, parseExtensionBrowsers } from "./initChromeExtension.js";
|
|
12
12
|
import { INFRA_MODES, INSTALL_SCRIPT_URL, INSTALL_SCRIPT_URL_WINDOWS, InfraMode, InitInfraOptions, initInfra, parseInfraMode } from "./initInfra.js";
|
|
13
13
|
import { InitSkillsOptions, PLATFORM_OPTIONS, initSkills, parsePlatform, parseSkills, promptPlatform, resolvePlatformWithoutPrompt } from "./initSkills.js";
|
|
14
14
|
import { listContentDeclaration, listContentDeclarationRows } from "./listContentDeclaration.js";
|
|
15
15
|
import { ListProjectsCommandOptions, listProjectsCommand } from "./listProjects.js";
|
|
16
16
|
import { liveSync } from "./liveSync.js";
|
|
17
|
-
import { pull } from "./pull.js";
|
|
17
|
+
import { PulledDictionary, pull } from "./pull.js";
|
|
18
18
|
import { push } from "./push/push.js";
|
|
19
19
|
import { pushConfig } from "./pushConfig.js";
|
|
20
20
|
import { ReviewDocMode, reviewDoc } from "./reviewDoc/reviewDoc.js";
|
|
@@ -30,4 +30,4 @@ export type * from "@intlayer/engine/cli";
|
|
|
30
30
|
export type * from "@intlayer/engine/build";
|
|
31
31
|
export type * from "@intlayer/engine/utils";
|
|
32
32
|
export type * from "@intlayer/engine/watcher";
|
|
33
|
-
export { BROWSER_EXTENSION_OPTIONS, CHROME_EXTENSION_URL, CONTENT_LAYOUT_CHOICES, ConfigurationOptions, DEFAULT_INIT_STEPS, ESLINT_CONFIG_FILES, EXTENSION_BROWSERS, EXTENSION_URL_BY_BROWSER, ExtensionBrowser, FillOptions, FillResult, INFRA_MODES, INIT_STEP_COMMANDS, INIT_STEP_GROUPS, INSTALL_SCRIPT_URL, INSTALL_SCRIPT_URL_WINDOWS, InfraMode, InitChromeExtensionOptions, InitInfraOptions, InitSkillsOptions, InitStep, InitStepOption, IntlayerEventListener, IntlayerMessageEvent, LOCALE_ROUTING_CHOICES, ListProjectsCommandOptions, LocaleRoutingChoice, MOZILLA_EXTENSION_URL, OPT_IN_INIT_STEPS, PLATFORM_OPTIONS, ReviewDocMode, ScanCommandOptions, build, bundle, checkCMSAuth, checkConfigConsistency, clearCliSessionToken, dirname, extract, fill, findProjectRoot, getAuthenticatedAPI, getContentInitOptions, getInitOptionsForSteps, getInitialInitSteps, getProjectDependencies, getRemoteEditorRunners, getRoutingInitOptions, init, initChromeExtension, initCms, initInfra, initRepository, initSkills, initSteps, isEslintInstalled, listContentDeclaration, listContentDeclarationRows, listMissingTranslations, listMissingTranslationsWithConfig, listProjectsCommand, liveSync, login, parseContentLayoutChoice, parseExtensionBrowsers, parseInfraMode, parseLocaleRoutingChoice, parsePlatform, parseSkills, promptPlatform, pull, push, pushConfig, readCliSessionToken, resolvePlatformWithoutPrompt, resolveProjectRoot, reviewDoc, scan, searchDoc, setAPI, startEditor, testMissingTranslations, translateDoc };
|
|
33
|
+
export { BROWSER_EXTENSION_OPTIONS, CHROME_EXTENSION_URL, CONTENT_LAYOUT_CHOICES, ConfigurationOptions, DEFAULT_INIT_STEPS, ESLINT_CONFIG_FILES, EXTENSION_BROWSERS, EXTENSION_URL_BY_BROWSER, ExtensionBrowser, FillOptions, FillResult, INFRA_MODES, INIT_STEP_COMMANDS, INIT_STEP_GROUPS, INSTALL_SCRIPT_URL, INSTALL_SCRIPT_URL_WINDOWS, InfraMode, InitChromeExtensionOptions, InitInfraOptions, InitSkillsOptions, InitStep, InitStepOption, IntlayerEventListener, IntlayerMessageEvent, LOCALE_ROUTING_CHOICES, ListProjectsCommandOptions, LocaleRoutingChoice, MOZILLA_EXTENSION_URL, OPT_IN_INIT_STEPS, PLATFORM_OPTIONS, PulledDictionary, ReviewDocMode, ScanCommandOptions, build, bundle, checkCMSAuth, checkConfigConsistency, clearCliSessionToken, dirname, extract, fill, findProjectRoot, getAuthenticatedAPI, getContentInitOptions, getInitOptionsForSteps, getInitialInitSteps, getProjectDependencies, getRemoteEditorRunners, getRoutingInitOptions, init, initChromeExtension, initCms, initInfra, initRepository, initSkills, initSteps, isEslintInstalled, isPrettierInstalled, listContentDeclaration, listContentDeclarationRows, listMissingTranslations, listMissingTranslationsWithConfig, listProjectsCommand, liveSync, login, parseContentLayoutChoice, parseExtensionBrowsers, parseInfraMode, parseLocaleRoutingChoice, parsePlatform, parseSkills, promptPlatform, pull, push, pushConfig, readCliSessionToken, resolvePlatformWithoutPrompt, resolveProjectRoot, reviewDoc, scan, searchDoc, setAPI, startEditor, testMissingTranslations, translateDoc };
|
package/dist/types/init.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { ContentLayout, InitOptions, RoutingMode } from "@intlayer/engine/cli";
|
|
2
|
-
//#region src/init.d.ts
|
|
3
2
|
export declare const findProjectRoot: (startDir: string) => string;
|
|
4
3
|
/** Resolves the project root from `--project-root`, else the working directory. */
|
|
5
4
|
export declare const resolveProjectRoot: (projectRoot?: string) => string;
|
|
6
5
|
/** Individually selectable setup steps exposed by the interactive init flow. */
|
|
7
|
-
export type InitStep = 'packages' | 'githubActions' | 'projectSetup' | 'vscodeExtension' | 'lsp' | 'eslint' | 'skills' | 'mcp' | 'infra' | 'cms' | 'repository' | 'chromeExtension';
|
|
6
|
+
export type InitStep = 'packages' | 'githubActions' | 'projectSetup' | 'vscodeExtension' | 'lsp' | 'eslint' | 'prettier' | 'skills' | 'mcp' | 'infra' | 'cms' | 'repository' | 'chromeExtension';
|
|
8
7
|
/** A checkbox entry of the interactive init flow. */
|
|
9
8
|
export type InitStepOption = {
|
|
10
9
|
value: InitStep;
|
|
@@ -83,6 +82,10 @@ export declare const ESLINT_CONFIG_FILES: string[];
|
|
|
83
82
|
* configured in the project.
|
|
84
83
|
*/
|
|
85
84
|
export declare const isEslintInstalled: (dependencies: Record<string, string>, root?: string) => boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Checks whether Prettier is installed or configured in the project.
|
|
87
|
+
*/
|
|
88
|
+
export declare const isPrettierInstalled: (dependencies: Record<string, string>, root?: string) => boolean;
|
|
86
89
|
/**
|
|
87
90
|
* Computes the initial setup steps selected by default in the interactive prompt.
|
|
88
91
|
* Steps like infrastructure and browser extension require opt-in, while
|
|
@@ -97,5 +100,5 @@ export declare const getProjectDependencies: (root: string) => Record<string, st
|
|
|
97
100
|
* terminal; without one it fails and lists the single-step commands instead.
|
|
98
101
|
*/
|
|
99
102
|
export declare const init: (projectRoot?: string, options?: InitOptions, interactive?: boolean) => Promise<void>;
|
|
100
|
-
|
|
103
|
+
export {};
|
|
101
104
|
//# sourceMappingURL=init.d.ts.map
|
package/dist/types/init.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"init.d.ts","names":[],"sources":["../../src/init.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"init.d.ts","names":[],"sources":["../../src/init.ts"],"mappings":";qBA8Ba,kBAAe;;qBAgBf,qBAAkB;;YAInB;;YAgBA;EACV,OAAO;EACP;EACA;;;;;;;qBAQW,mBAAmB;;;;;;;qBAQnB,oBAAoB;;;;;qBAMpB,oBAAoB,OAAO;;;;;;qBAsB3B,yBAAsB,OAC1B,YAAU,cACH,gBACb;;;;;;qBAyBU,YAAS,iCACW,OACxB,YAAU,UACP,gBACT;;;;;qBAWU,UAAO,yBAAiC;;;;;qBAiBxC,iBAAc,yBAAiC;;qBAyB/C,kBAAkB,eAAe;;;;;YAgFlC,sBAAsB;;qBAoCrB,wBAAsB;;qBAKtB,2BAAwB,kBAAoB;;qBAI5C,wBAAqB,QACxB,wBACP,KAAK;;qBAoDK,wBAAsB;;qBAKtB,2BAAwB,kBAAoB;;KAIpD,qBAAqB,KACxB;;;;;;qBAaW,wBAAqB,sBACZ,sBACA,gCAEnB;;qBAwCU;;;;;qBAoBA,oBAAiB,cACd,wBAAsB;;;;qBAgBzB,sBAAmB,cAChB,wBAAsB;;;;;;qBAiBzB,sBAAmB,cAChB,wBAAsB,kBAEnC;;qBAgBU,yBAAsB,iBAEhC;;;;;;qBA0MU,OAAI,sBACK,UACV,aAAW,0BACA"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/initChromeExtension.d.ts
|
|
2
1
|
export declare const CHROME_EXTENSION_URL = "https://chromewebstore.google.com/detail/intlayer_i18n_scanner/pmlehcgmjmfimmjnembihbakhnheiabc";
|
|
3
2
|
export declare const MOZILLA_EXTENSION_URL = "https://addons.mozilla.org/en-US/firefox/addon/intlayer-i18n-scanner/";
|
|
4
3
|
export declare const BROWSER_EXTENSION_OPTIONS: {
|
|
@@ -25,5 +24,4 @@ export type InitChromeExtensionOptions = {
|
|
|
25
24
|
* links are only printed, since the install needs a person anyway.
|
|
26
25
|
*/
|
|
27
26
|
export declare const initChromeExtension: (options?: InitChromeExtensionOptions) => Promise<void>;
|
|
28
|
-
//#endregion
|
|
29
27
|
//# sourceMappingURL=initChromeExtension.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initChromeExtension.d.ts","names":[],"sources":["../../src/initChromeExtension.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"initChromeExtension.d.ts","names":[],"sources":["../../src/initChromeExtension.ts"],"mappings":"A,qBAKa;qBAGA;qBAGA;;;;;;YAcD;;qBAGC,oBAAoB;;qBAGpB,0BAA0B,OAAO;;qBAMjC,yBAAsB,qBAAuB;;YAO9C;;EAEV,WAAW;;;;;;;qBAQA,sBAAmB,UACrB,+BAA0B"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/initInfra.d.ts
|
|
2
1
|
/** Setup modes understood by the hosted installer. */
|
|
3
2
|
export declare const INFRA_MODES: readonly ['desktop', 'docker', 'compose'];
|
|
4
3
|
export type InfraMode = (typeof INFRA_MODES)[number];
|
|
@@ -28,5 +27,4 @@ export declare const parseInfraMode: (value: string) => InfraMode;
|
|
|
28
27
|
* Exposed as `intlayer init infra` and as a step of `intlayer init --interactive`.
|
|
29
28
|
*/
|
|
30
29
|
export declare const initInfra: (options?: InitInfraOptions) => Promise<void>;
|
|
31
|
-
//#endregion
|
|
32
30
|
//# sourceMappingURL=initInfra.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initInfra.d.ts","names":[],"sources":["../../src/initInfra.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"initInfra.d.ts","names":[],"sources":["../../src/initInfra.ts"],"mappings":";qBAQa;YAED,oBAAoB;;;;;;qBAOnB;qBACA;YAED;;EAEV,OAAO;;EAEP;;;;;;;qBA4CW,iBAAc,kBAAoB;;;;;;;qBA8BlC,YAAS,UACX,qBACR"}
|
package/dist/types/initMCP.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { MCPTransport, Platform } from "@intlayer/engine/cli";
|
|
2
|
-
//#region src/initMCP.d.ts
|
|
3
2
|
/** Options of {@link initMCP}; anything omitted is prompted for. */
|
|
4
3
|
export type InitMCPOptions = {
|
|
5
4
|
/** AI platform to configure the MCP server for. */
|
|
@@ -15,5 +14,4 @@ export declare const parseMCPTransport: (value: string) => MCPTransport;
|
|
|
15
14
|
* one and the transport to `stdio`.
|
|
16
15
|
*/
|
|
17
16
|
export declare const initMCP: (projectRoot?: string, options?: InitMCPOptions) => Promise<void>;
|
|
18
|
-
//#endregion
|
|
19
17
|
//# sourceMappingURL=initMCP.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initMCP.d.ts","names":[],"sources":["../../src/initMCP.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"initMCP.d.ts","names":[],"sources":["../../src/initMCP.ts"],"mappings":";;YAaY;;EAEV,WAAW;;EAEX,YAAY;;;qBAID,oBAAiB,kBAAoB;;;;;;qBAQrC,UAAO,sBACE,UACX,mBAAc"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Platform, Skill } from "@intlayer/engine/cli";
|
|
2
|
-
//#region src/initSkills.d.ts
|
|
3
2
|
export declare const PLATFORM_OPTIONS: Array<{
|
|
4
3
|
value: Platform;
|
|
5
4
|
label: string;
|
|
@@ -34,5 +33,4 @@ export declare const resolvePlatformWithoutPrompt: (projectRoot: string, platfor
|
|
|
34
33
|
* without asking again.
|
|
35
34
|
*/
|
|
36
35
|
export declare const initSkills: (projectRoot?: string, options?: InitSkillsOptions) => Promise<Platform | undefined>;
|
|
37
|
-
//#endregion
|
|
38
36
|
//# sourceMappingURL=initSkills.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initSkills.d.ts","names":[],"sources":["../../src/initSkills.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"initSkills.d.ts","names":[],"sources":["../../src/initSkills.ts"],"mappings":";qBAiBa,kBAAkB;EAC7B,OAAO;EACP;EACA;;;;;;qBAWW,iBAAc,wBAExB,QAAQ;;YA0BC;;EAEV,WAAW;;EAEX,SAAS;;;qBAIE,gBAAa,kBAAoB;;qBAIjC,cAAW,qBAAuB;;;;;qBAUlC,+BAA4B,qBACpB,UACT,sBAAoB,oBAE7B,QAAQ;;;;;;;;qBAsBE,aAAU,sBACD,UACX,sBACR,QAAQ"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { GetConfigurationOptions } from "@intlayer/config/node";
|
|
2
|
-
//#region src/listContentDeclaration.d.ts
|
|
3
2
|
type ListContentDeclarationOptions = {
|
|
4
3
|
configOptions?: GetConfigurationOptions;
|
|
5
4
|
json?: boolean;
|
|
@@ -10,5 +9,5 @@ export declare const listContentDeclarationRows: (options?: ListContentDeclarati
|
|
|
10
9
|
path: string;
|
|
11
10
|
}[]>;
|
|
12
11
|
export declare const listContentDeclaration: (options?: ListContentDeclarationOptions) => Promise<void>;
|
|
13
|
-
|
|
12
|
+
export {};
|
|
14
13
|
//# sourceMappingURL=listContentDeclaration.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listContentDeclaration.d.ts","names":[],"sources":["../../src/listContentDeclaration.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"listContentDeclaration.d.ts","names":[],"sources":["../../src/listContentDeclaration.ts"],"mappings":";KAeK;EACH,gBAAgB;EAChB;EACA;;qBAGW,6BAA0B,UAC3B,kCAA6B;;;;qBAmB5B,yBAAsB,UACvB,kCAA6B"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { ListProjectsOptions } from "@intlayer/engine/cli";
|
|
2
|
-
//#region src/listProjects.d.ts
|
|
3
2
|
export type ListProjectsCommandOptions = ListProjectsOptions & {
|
|
4
3
|
json?: boolean;
|
|
5
4
|
absolute?: boolean;
|
|
6
5
|
};
|
|
7
6
|
export declare const listProjectsCommand: (options?: ListProjectsCommandOptions) => Promise<void>;
|
|
8
|
-
//#endregion
|
|
9
7
|
//# sourceMappingURL=listProjects.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listProjects.d.ts","names":[],"sources":["../../src/listProjects.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"listProjects.d.ts","names":[],"sources":["../../src/listProjects.ts"],"mappings":";YAGY,6BAA6B;EACvC;EACA;;qBAGW,sBAAmB,UACpB,+BAA0B"}
|
package/dist/types/liveSync.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { GetConfigurationOptions } from "@intlayer/config/node";
|
|
2
|
-
//#region src/liveSync.d.ts
|
|
3
2
|
type LiveSyncOptions = {
|
|
4
3
|
with?: string | string[];
|
|
5
4
|
configOptions?: GetConfigurationOptions;
|
|
6
5
|
};
|
|
7
6
|
export declare const liveSync: (options?: LiveSyncOptions) => Promise<void>;
|
|
8
|
-
|
|
7
|
+
export {};
|
|
9
8
|
//# sourceMappingURL=liveSync.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"liveSync.d.ts","names":[],"sources":["../../src/liveSync.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"liveSync.d.ts","names":[],"sources":["../../src/liveSync.ts"],"mappings":";KAiBK;EACH;EACA,gBAAgB;;qBAYL,WAAQ,UAAoB,oBAAe"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/loadPrompts.d.ts
|
|
2
1
|
/** The `@clack/prompts` module namespace, resolved on demand. */
|
|
3
2
|
export type Prompts = typeof import('@clack/prompts');
|
|
4
3
|
/**
|
|
@@ -13,5 +12,4 @@ export type Prompts = typeof import('@clack/prompts');
|
|
|
13
12
|
* @returns The `@clack/prompts` namespace.
|
|
14
13
|
*/
|
|
15
14
|
export declare const loadPrompts: () => Promise<Prompts>;
|
|
16
|
-
//#endregion
|
|
17
15
|
//# sourceMappingURL=loadPrompts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loadPrompts.d.ts","names":[],"sources":["../../src/loadPrompts.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"loadPrompts.d.ts","names":[],"sources":["../../src/loadPrompts.ts"],"mappings":";YACY;;;;;;;;;;;;qBAaC,mBAAwB,QAAQ"}
|
package/dist/types/pull.d.ts
CHANGED
|
@@ -1,14 +1,26 @@
|
|
|
1
1
|
import { GetConfigurationOptions } from "@intlayer/config/node";
|
|
2
|
-
|
|
2
|
+
import { DictionaryStatus } from "@intlayer/engine/build";
|
|
3
3
|
type PullOptions = {
|
|
4
4
|
dictionaries?: string[];
|
|
5
5
|
newDictionariesPath?: string;
|
|
6
6
|
configOptions?: GetConfigurationOptions;
|
|
7
7
|
};
|
|
8
|
+
type DictionariesStatus = {
|
|
9
|
+
dictionaryKey: string;
|
|
10
|
+
status: DictionaryStatus | 'pending' | 'fetching' | 'error';
|
|
11
|
+
error?: Error;
|
|
12
|
+
errorMessage?: string;
|
|
13
|
+
/** Content declaration file written for the dictionary */
|
|
14
|
+
filePath?: string;
|
|
15
|
+
};
|
|
16
|
+
/** Outcome of one dictionary of a pull. */
|
|
17
|
+
export type PulledDictionary = Pick<DictionariesStatus, 'dictionaryKey' | 'status' | 'filePath'>;
|
|
8
18
|
/**
|
|
9
19
|
* Fetch distant dictionaries and write them locally,
|
|
10
20
|
* with progress indicators and concurrency control.
|
|
21
|
+
*
|
|
22
|
+
* @returns The outcome of each pulled dictionary (empty when nothing ran).
|
|
11
23
|
*/
|
|
12
|
-
export declare const pull: (options?: PullOptions) => Promise<
|
|
13
|
-
|
|
24
|
+
export declare const pull: (options?: PullOptions) => Promise<PulledDictionary[]>;
|
|
25
|
+
export {};
|
|
14
26
|
//# sourceMappingURL=pull.d.ts.map
|
package/dist/types/pull.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pull.d.ts","names":[],"sources":["../../src/pull.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"pull.d.ts","names":[],"sources":["../../src/pull.ts"],"mappings":";;KAoBK;EACH;EACA;EACA,gBAAgB;;KAGb;EACH;EACA,QAAQ;EACR,QAAQ;EACR;;EAEA;;;YAIU,mBAAmB,KAC7B;;;;;;;qBAUW,OAAI,UACL,gBACT,QAAQ"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { DictionaryStatus } from "@intlayer/engine/build";
|
|
2
|
-
//#region src/push/pullLog.d.ts
|
|
3
2
|
export type PullStatus = {
|
|
4
3
|
dictionaryKey: string;
|
|
5
4
|
status: DictionaryStatus | 'pending' | 'fetching';
|
|
@@ -22,5 +21,4 @@ export declare class PullLogger {
|
|
|
22
21
|
private render;
|
|
23
22
|
private computeProgress;
|
|
24
23
|
}
|
|
25
|
-
//#endregion
|
|
26
24
|
//# sourceMappingURL=pullLog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pullLog.d.ts","names":[],"sources":["../../../src/push/pullLog.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"pullLog.d.ts","names":[],"sources":["../../../src/push/pullLog.ts"],"mappings":";YAKY;EACV;EACA,QAAQ;EACR;;qBAGW;UACH;UACA;UACA;UACA;mBACS;UACT;mBACS;UACT;EAER;EAKA,OAAO,aAAa;EAiBpB;UAMQ;UAQA;UAMA;UA+CA"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { GetConfigurationOptions } from "@intlayer/config/node";
|
|
2
2
|
import { ListGitFilesOptions } from "@intlayer/engine/cli";
|
|
3
|
-
//#region src/push/push.d.ts
|
|
4
3
|
type PushOptions = {
|
|
5
4
|
deleteLocaleDictionary?: boolean;
|
|
6
5
|
keepLocaleDictionary?: boolean;
|
|
@@ -13,5 +12,5 @@ type PushOptions = {
|
|
|
13
12
|
* Get all local dictionaries and push them simultaneously.
|
|
14
13
|
*/
|
|
15
14
|
export declare const push: (options?: PushOptions) => Promise<void>;
|
|
16
|
-
|
|
15
|
+
export {};
|
|
17
16
|
//# sourceMappingURL=push.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"push.d.ts","names":[],"sources":["../../../src/push/push.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"push.d.ts","names":[],"sources":["../../../src/push/push.ts"],"mappings":";;KA0BK;EACH;EACA;EACA;EACA,aAAa;EACb,gBAAgB;EAChB;;;;;qBAoCW,OAAI,UAAoB,gBAAc"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { GetConfigurationOptions } from "@intlayer/config/node";
|
|
2
|
-
//#region src/pushConfig.d.ts
|
|
3
2
|
type PushOptions = {
|
|
4
3
|
configOptions?: GetConfigurationOptions;
|
|
5
4
|
};
|
|
6
5
|
export declare const pushConfig: (options?: PushOptions) => Promise<void>;
|
|
7
|
-
|
|
6
|
+
export {};
|
|
8
7
|
//# sourceMappingURL=pushConfig.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pushConfig.d.ts","names":[],"sources":["../../src/pushConfig.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"pushConfig.d.ts","names":[],"sources":["../../src/pushConfig.ts"],"mappings":";KAcK;EACH,gBAAgB;;qBAGL,aAAU,UAAoB,gBAAW"}
|
package/dist/types/pushLog.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/pushLog.d.ts
|
|
2
1
|
export type PushStatus = {
|
|
3
2
|
dictionaryKey: string;
|
|
4
3
|
status: 'pending' | 'pushing' | 'pushed' | 'modified' | 'up-to-date' | 'error';
|
|
@@ -19,5 +18,4 @@ export declare class PushLogger {
|
|
|
19
18
|
private render;
|
|
20
19
|
private computeProgress;
|
|
21
20
|
}
|
|
22
|
-
//#endregion
|
|
23
21
|
//# sourceMappingURL=pushLog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pushLog.d.ts","names":[],"sources":["../../src/pushLog.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"pushLog.d.ts","names":[],"sources":["../../src/pushLog.ts"],"mappings":"A,YAOY;EACV;EACA;EAOA;;qBAGW;UACH;UACA;UACA;UACA;mBACS;UACT;UACA;EAER,OAAO,aAAa;EAiBpB;UAMQ;UAQA;UAMA;UAyDA"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { ReviewFileResult } from "./reviewDocSynthesis.js";
|
|
2
2
|
import { GetConfigurationOptions } from "@intlayer/config/node";
|
|
3
|
-
import { AIOptions } from "@intlayer/ai";
|
|
4
3
|
import { ListGitFilesOptions } from "@intlayer/engine/cli";
|
|
4
|
+
import { AIOptions } from "@intlayer/ai";
|
|
5
5
|
import { Locale } from "@intlayer/types/allLocales";
|
|
6
|
-
//#region src/reviewDoc/reviewDoc.d.ts
|
|
7
6
|
/**
|
|
8
7
|
* How the review should be run.
|
|
9
8
|
*
|
|
@@ -35,5 +34,5 @@ type ReviewDocOptions = {
|
|
|
35
34
|
* then audits them to each locale in LOCALE_LIST.
|
|
36
35
|
*/
|
|
37
36
|
export declare const reviewDoc: ({ docPattern, locales, excludedGlobPattern, baseLocale, aiOptions, nbSimultaneousFileProcessed, configOptions, customInstructions, skipIfModifiedBefore, skipIfModifiedAfter, skipIfExists, gitOptions, mode }: ReviewDocOptions) => Promise<ReviewFileResult[]>;
|
|
38
|
-
|
|
37
|
+
export {};
|
|
39
38
|
//# sourceMappingURL=reviewDoc.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reviewDoc.d.ts","names":[],"sources":["../../../src/reviewDoc/reviewDoc.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"reviewDoc.d.ts","names":[],"sources":["../../../src/reviewDoc/reviewDoc.ts"],"mappings":";;;;;;;;;;;;;;YAmDY;KAEP;EACH;EACA,SAAS;EACT;EACA,YAAY;EACZ,YAAY;EACZ;EACA,gBAAgB;EAChB;EACA,yCAAyC;EACzC,wCAAwC;EACxC;EACA,aAAa;;EAEb,OAAO;;;;;;qBAOI,cAAS,YAAA,SAAA,qBAAA,YAAA,WAAA,6BAAA,eAAA,oBAAA,sBAAA,qBAAA,cAAA,YAAA,QAcnB,qBAAgB,QAAA"}
|
|
@@ -3,7 +3,6 @@ import { GetConfigurationOptions } from "@intlayer/config/node";
|
|
|
3
3
|
import { AIConfig, AIOptions } from "@intlayer/ai";
|
|
4
4
|
import { Locale } from "@intlayer/types/allLocales";
|
|
5
5
|
import { ReviewReportSummary } from "@intlayer/engine/docReview";
|
|
6
|
-
//#region src/reviewDoc/reviewDocBlockAware.d.ts
|
|
7
6
|
/**
|
|
8
7
|
* Review a file using block-aware alignment.
|
|
9
8
|
*
|
|
@@ -19,5 +18,4 @@ import { ReviewReportSummary } from "@intlayer/engine/docReview";
|
|
|
19
18
|
* synthesize what was reused and what had to be edited.
|
|
20
19
|
*/
|
|
21
20
|
export declare const reviewFileBlockAware: (baseFilePath: string, outputFilePath: string, locale: Locale, baseLocale: Locale, aiOptions?: AIOptions, configOptions?: GetConfigurationOptions, customInstructions?: string, changedLines?: number[], aiClient?: AIClient, aiConfig?: AIConfig) => Promise<ReviewReportSummary>;
|
|
22
|
-
//#endregion
|
|
23
21
|
//# sourceMappingURL=reviewDocBlockAware.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reviewDocBlockAware.d.ts","names":[],"sources":["../../../src/reviewDoc/reviewDocBlockAware.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"reviewDocBlockAware.d.ts","names":[],"sources":["../../../src/reviewDoc/reviewDocBlockAware.ts"],"mappings":";;;;;;;;;;;;;;;;;;;qBA8Ca,uBAAoB,sBACX,wBACE,QACd,QAAM,YACF,QAAM,YACN,WAAS,gBACL,yBAAuB,6BACZ,yBACJ,WACZ,UAAQ,WACR,aACV,QAAQ"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { GetConfigurationOptions } from "@intlayer/config/node";
|
|
2
2
|
import { Locale } from "@intlayer/types/allLocales";
|
|
3
3
|
import { ReviewReport } from "@intlayer/engine/docReview";
|
|
4
|
-
//#region src/reviewDoc/reviewDocLog.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* Compare a base document with its translation without calling any AI.
|
|
7
6
|
*
|
|
@@ -23,5 +22,4 @@ export declare const buildFileReviewReport: (baseFilePath: string, outputFilePat
|
|
|
23
22
|
* @param configOptions - Optional Intlayer configuration overrides.
|
|
24
23
|
*/
|
|
25
24
|
export declare const logReviewFileBlocks: (report: ReviewReport, baseFilePath: string, locale: Locale, baseLocale: Locale, configOptions?: GetConfigurationOptions) => void;
|
|
26
|
-
//#endregion
|
|
27
25
|
//# sourceMappingURL=reviewDocLog.d.ts.map
|