@intlayer/engine 9.4.3 → 9.5.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/README.md +0 -2
- package/dist/cjs/createDictionaryEntryPoint/generateDictionaryListContent.cjs +1 -2
- package/dist/cjs/createDictionaryEntryPoint/generateDictionaryListContent.cjs.map +1 -1
- package/dist/cjs/init/index.cjs +14 -11
- package/dist/cjs/init/index.cjs.map +1 -1
- package/dist/cjs/init/utils/devScript.cjs +57 -0
- package/dist/cjs/init/utils/devScript.cjs.map +1 -0
- package/dist/cjs/init/utils/index.cjs +3 -0
- package/dist/cjs/loadDictionaries/loadContentDeclaration.cjs +1 -1
- package/dist/cjs/loadDictionaries/loadContentDeclaration.cjs.map +1 -1
- package/dist/cjs/loadDictionaries/loadMarkdownContentDeclaration.cjs +6 -5
- package/dist/cjs/loadDictionaries/loadMarkdownContentDeclaration.cjs.map +1 -1
- package/dist/cjs/syncPluginKit/createSyncPlugin.cjs +51 -3
- package/dist/cjs/syncPluginKit/createSyncPlugin.cjs.map +1 -1
- package/dist/cjs/utils/contentWatcherLock.cjs +173 -0
- package/dist/cjs/utils/contentWatcherLock.cjs.map +1 -0
- package/dist/cjs/utils/index.cjs +13 -1
- package/dist/cjs/utils/parseContentDeclarationFileName.cjs +35 -0
- package/dist/cjs/utils/parseContentDeclarationFileName.cjs.map +1 -0
- package/dist/cjs/utils/withFileLock.cjs +133 -0
- package/dist/cjs/utils/withFileLock.cjs.map +1 -0
- package/dist/cjs/watcher.cjs +7 -3
- package/dist/cjs/watcher.cjs.map +1 -1
- package/dist/esm/createDictionaryEntryPoint/generateDictionaryListContent.mjs +1 -2
- package/dist/esm/createDictionaryEntryPoint/generateDictionaryListContent.mjs.map +1 -1
- package/dist/esm/init/index.mjs +14 -11
- package/dist/esm/init/index.mjs.map +1 -1
- package/dist/esm/init/utils/devScript.mjs +55 -0
- package/dist/esm/init/utils/devScript.mjs.map +1 -0
- package/dist/esm/init/utils/index.mjs +2 -1
- package/dist/esm/loadDictionaries/loadContentDeclaration.mjs +1 -1
- package/dist/esm/loadDictionaries/loadContentDeclaration.mjs.map +1 -1
- package/dist/esm/loadDictionaries/loadMarkdownContentDeclaration.mjs +6 -5
- package/dist/esm/loadDictionaries/loadMarkdownContentDeclaration.mjs.map +1 -1
- package/dist/esm/syncPluginKit/createSyncPlugin.mjs +51 -3
- package/dist/esm/syncPluginKit/createSyncPlugin.mjs.map +1 -1
- package/dist/esm/utils/contentWatcherLock.mjs +164 -0
- package/dist/esm/utils/contentWatcherLock.mjs.map +1 -0
- package/dist/esm/utils/index.mjs +4 -1
- package/dist/esm/utils/parseContentDeclarationFileName.mjs +34 -0
- package/dist/esm/utils/parseContentDeclarationFileName.mjs.map +1 -0
- package/dist/esm/utils/withFileLock.mjs +132 -0
- package/dist/esm/utils/withFileLock.mjs.map +1 -0
- package/dist/esm/watcher.mjs +8 -4
- package/dist/esm/watcher.mjs.map +1 -1
- package/dist/types/buildIntlayerDictionary/buildIntlayerDictionary.d.ts +2 -3
- package/dist/types/buildIntlayerDictionary/buildIntlayerDictionary.d.ts.map +1 -1
- package/dist/types/buildIntlayerDictionary/processContentDeclaration.d.ts +1 -2
- package/dist/types/buildIntlayerDictionary/processContentDeclaration.d.ts.map +1 -1
- package/dist/types/buildIntlayerDictionary/writeDynamicDictionary.d.ts +10 -11
- package/dist/types/buildIntlayerDictionary/writeDynamicDictionary.d.ts.map +1 -1
- package/dist/types/buildIntlayerDictionary/writeFetchDictionary.d.ts +2 -3
- package/dist/types/buildIntlayerDictionary/writeFetchDictionary.d.ts.map +1 -1
- package/dist/types/buildIntlayerDictionary/writeMergedDictionary.d.ts +5 -6
- package/dist/types/buildIntlayerDictionary/writeMergedDictionary.d.ts.map +1 -1
- package/dist/types/buildIntlayerDictionary/writeNestedDictionary.d.ts +4 -5
- package/dist/types/buildIntlayerDictionary/writeNestedDictionary.d.ts.map +1 -1
- package/dist/types/buildIntlayerDictionary/writeRemoteDictionary.d.ts +3 -4
- package/dist/types/buildIntlayerDictionary/writeRemoteDictionary.d.ts.map +1 -1
- package/dist/types/buildIntlayerDictionary/writeUnmergedDictionary.d.ts +4 -5
- package/dist/types/buildIntlayerDictionary/writeUnmergedDictionary.d.ts.map +1 -1
- package/dist/types/cleanOutputDir.d.ts +1 -2
- package/dist/types/cleanOutputDir.d.ts.map +1 -1
- package/dist/types/cleanRemovedContentDeclaration.d.ts +1 -2
- package/dist/types/cleanRemovedContentDeclaration.d.ts.map +1 -1
- package/dist/types/createDictionaryEntryPoint/createDictionaryEntryPoint.d.ts +2 -3
- package/dist/types/createDictionaryEntryPoint/createDictionaryEntryPoint.d.ts.map +1 -1
- package/dist/types/createDictionaryEntryPoint/generateDictionaryListContent.d.ts +1 -2
- package/dist/types/createDictionaryEntryPoint/generateDictionaryListContent.d.ts.map +1 -1
- package/dist/types/createDictionaryEntryPoint/getBuiltDictionariesPath.d.ts +1 -2
- package/dist/types/createDictionaryEntryPoint/getBuiltDictionariesPath.d.ts.map +1 -1
- package/dist/types/createDictionaryEntryPoint/getBuiltDynamicDictionariesPath.d.ts +1 -2
- package/dist/types/createDictionaryEntryPoint/getBuiltDynamicDictionariesPath.d.ts.map +1 -1
- package/dist/types/createDictionaryEntryPoint/getBuiltFetchDictionariesPath.d.ts +1 -2
- package/dist/types/createDictionaryEntryPoint/getBuiltFetchDictionariesPath.d.ts.map +1 -1
- package/dist/types/createDictionaryEntryPoint/getBuiltRemoteDictionariesPath.d.ts +1 -2
- package/dist/types/createDictionaryEntryPoint/getBuiltRemoteDictionariesPath.d.ts.map +1 -1
- package/dist/types/createDictionaryEntryPoint/getBuiltUnmergedDictionariesPath.d.ts +1 -2
- package/dist/types/createDictionaryEntryPoint/getBuiltUnmergedDictionariesPath.d.ts.map +1 -1
- package/dist/types/createType/createModuleAugmentation.d.ts +4 -5
- package/dist/types/createType/createModuleAugmentation.d.ts.map +1 -1
- package/dist/types/createType/createType.d.ts +2 -3
- package/dist/types/createType/createType.d.ts.map +1 -1
- package/dist/types/detectFormatCommand.d.ts +1 -2
- package/dist/types/detectFormatCommand.d.ts.map +1 -1
- package/dist/types/docReview/alignBlocks.d.ts +1 -2
- package/dist/types/docReview/alignBlocks.d.ts.map +1 -1
- package/dist/types/docReview/computeSimilarity.d.ts +2 -3
- package/dist/types/docReview/computeSimilarity.d.ts.map +1 -1
- package/dist/types/docReview/fingerprintBlock.d.ts +1 -2
- package/dist/types/docReview/fingerprintBlock.d.ts.map +1 -1
- package/dist/types/docReview/mapChangedLinesToBlocks.d.ts +1 -2
- package/dist/types/docReview/mapChangedLinesToBlocks.d.ts.map +1 -1
- package/dist/types/docReview/normalizeBlock.d.ts +1 -2
- package/dist/types/docReview/normalizeBlock.d.ts.map +1 -1
- package/dist/types/docReview/pipeline.d.ts +4 -4
- package/dist/types/docReview/pipeline.d.ts.map +1 -1
- package/dist/types/docReview/planActions.d.ts +1 -2
- package/dist/types/docReview/planActions.d.ts.map +1 -1
- package/dist/types/docReview/rebuildDocument.d.ts +5 -6
- package/dist/types/docReview/rebuildDocument.d.ts.map +1 -1
- package/dist/types/docReview/reviewReport.d.ts +8 -9
- package/dist/types/docReview/reviewReport.d.ts.map +1 -1
- package/dist/types/docReview/segmentDocument.d.ts +2 -3
- package/dist/types/docReview/segmentDocument.d.ts.map +1 -1
- package/dist/types/docReview/types.d.ts +9 -10
- package/dist/types/docReview/types.d.ts.map +1 -1
- package/dist/types/fetchDistantDictionaries.d.ts +1 -2
- package/dist/types/fetchDistantDictionaries.d.ts.map +1 -1
- package/dist/types/filterInvalidDictionaries.d.ts +2 -3
- package/dist/types/filterInvalidDictionaries.d.ts.map +1 -1
- package/dist/types/formatDictionary.d.ts +6 -8
- package/dist/types/formatDictionary.d.ts.map +1 -1
- package/dist/types/getContentDeclarationFileTemplate/getContentDeclarationFileTemplate.d.ts +1 -2
- package/dist/types/getContentDeclarationFileTemplate/getContentDeclarationFileTemplate.d.ts.map +1 -1
- package/dist/types/handleAdditionalContentDeclarationFile.d.ts +1 -2
- package/dist/types/handleAdditionalContentDeclarationFile.d.ts.map +1 -1
- package/dist/types/handleContentDeclarationFileChange.d.ts +1 -2
- package/dist/types/handleContentDeclarationFileChange.d.ts.map +1 -1
- package/dist/types/handleContentDeclarationFileMoved.d.ts +1 -2
- package/dist/types/handleContentDeclarationFileMoved.d.ts.map +1 -1
- package/dist/types/handleUnlinkedContentDeclarationFile.d.ts +1 -2
- package/dist/types/handleUnlinkedContentDeclarationFile.d.ts.map +1 -1
- package/dist/types/init/cms.d.ts +8 -9
- package/dist/types/init/cms.d.ts.map +1 -1
- package/dist/types/init/frameworkSetup/index.d.ts +2 -2
- package/dist/types/init/frameworkSetup/index.d.ts.map +1 -1
- package/dist/types/init/frameworkSetup/nextAppRouter/detect.d.ts +4 -4
- package/dist/types/init/frameworkSetup/nextAppRouter/detect.d.ts.map +1 -1
- package/dist/types/init/frameworkSetup/nextAppRouter/index.d.ts +1 -2
- package/dist/types/init/frameworkSetup/nextAppRouter/index.d.ts.map +1 -1
- package/dist/types/init/frameworkSetup/nextAppRouter/restructure.d.ts +5 -6
- package/dist/types/init/frameworkSetup/nextAppRouter/restructure.d.ts.map +1 -1
- package/dist/types/init/frameworkSetup/nextAppRouter/templates.d.ts +8 -9
- package/dist/types/init/frameworkSetup/nextAppRouter/templates.d.ts.map +1 -1
- package/dist/types/init/frameworkSetup/nextAppRouter/transforms.d.ts +2 -3
- package/dist/types/init/frameworkSetup/nextAppRouter/transforms.d.ts.map +1 -1
- package/dist/types/init/frameworkSetup/tanstackStart/detect.d.ts +3 -4
- package/dist/types/init/frameworkSetup/tanstackStart/detect.d.ts.map +1 -1
- package/dist/types/init/frameworkSetup/tanstackStart/index.d.ts +1 -2
- package/dist/types/init/frameworkSetup/tanstackStart/index.d.ts.map +1 -1
- package/dist/types/init/frameworkSetup/tanstackStart/restructure.d.ts +7 -8
- package/dist/types/init/frameworkSetup/tanstackStart/restructure.d.ts.map +1 -1
- package/dist/types/init/frameworkSetup/tanstackStart/templates.d.ts +3 -4
- package/dist/types/init/frameworkSetup/tanstackStart/templates.d.ts.map +1 -1
- package/dist/types/init/frameworkSetup/tanstackStart/transforms.d.ts +2 -3
- package/dist/types/init/frameworkSetup/tanstackStart/transforms.d.ts.map +1 -1
- package/dist/types/init/frameworkSetup/types.d.ts +2 -3
- package/dist/types/init/frameworkSetup/types.d.ts.map +1 -1
- package/dist/types/init/index.d.ts +4 -5
- package/dist/types/init/index.d.ts.map +1 -1
- package/dist/types/init/utils/astImports.d.ts +3 -4
- package/dist/types/init/utils/astImports.d.ts.map +1 -1
- package/dist/types/init/utils/configManipulation.d.ts +19 -20
- package/dist/types/init/utils/configManipulation.d.ts.map +1 -1
- package/dist/types/init/utils/devScript.d.ts +49 -0
- package/dist/types/init/utils/devScript.d.ts.map +1 -0
- package/dist/types/init/utils/fileSystem.d.ts +11 -12
- package/dist/types/init/utils/fileSystem.d.ts.map +1 -1
- package/dist/types/init/utils/githubActions.d.ts +7 -8
- package/dist/types/init/utils/githubActions.d.ts.map +1 -1
- package/dist/types/init/utils/index.d.ts +2 -1
- package/dist/types/init/utils/jsonParser.d.ts +1 -2
- package/dist/types/init/utils/jsonParser.d.ts.map +1 -1
- package/dist/types/init/utils/nextCompilerBabel.d.ts +2 -3
- package/dist/types/init/utils/nextCompilerBabel.d.ts.map +1 -1
- package/dist/types/init/utils/packageManager.d.ts +17 -18
- package/dist/types/init/utils/packageManager.d.ts.map +1 -1
- package/dist/types/init/utils/tsConfig.d.ts +1 -2
- package/dist/types/init/utils/tsConfig.d.ts.map +1 -1
- package/dist/types/init/utils/version.d.ts +1 -2
- package/dist/types/init/utils/version.d.ts.map +1 -1
- package/dist/types/initConfig/index.d.ts +2 -3
- package/dist/types/initConfig/index.d.ts.map +1 -1
- package/dist/types/installLSP.d.ts +1 -2
- package/dist/types/installLSP.d.ts.map +1 -1
- package/dist/types/installMCP/installMCP.d.ts +2 -3
- package/dist/types/installMCP/installMCP.d.ts.map +1 -1
- package/dist/types/installSkills/index.d.ts +9 -10
- package/dist/types/installSkills/index.d.ts.map +1 -1
- package/dist/types/listDictionariesPath.d.ts +2 -3
- package/dist/types/listDictionariesPath.d.ts.map +1 -1
- package/dist/types/listGitFiles.d.ts +5 -6
- package/dist/types/listGitFiles.d.ts.map +1 -1
- package/dist/types/listProjects.d.ts +3 -4
- package/dist/types/listProjects.d.ts.map +1 -1
- package/dist/types/loadDictionaries/getIntlayerBundle.d.ts +1 -2
- package/dist/types/loadDictionaries/getIntlayerBundle.d.ts.map +1 -1
- package/dist/types/loadDictionaries/loadContentDeclaration.d.ts +4 -5
- package/dist/types/loadDictionaries/loadContentDeclaration.d.ts.map +1 -1
- package/dist/types/loadDictionaries/loadDictionaries.d.ts +2 -3
- package/dist/types/loadDictionaries/loadDictionaries.d.ts.map +1 -1
- package/dist/types/loadDictionaries/loadLocalDictionaries.d.ts +1 -2
- package/dist/types/loadDictionaries/loadLocalDictionaries.d.ts.map +1 -1
- package/dist/types/loadDictionaries/loadMarkdownContentDeclaration.d.ts +2 -2
- package/dist/types/loadDictionaries/loadMarkdownContentDeclaration.d.ts.map +1 -1
- package/dist/types/loadDictionaries/loadRemoteDictionaries.d.ts +2 -3
- package/dist/types/loadDictionaries/loadRemoteDictionaries.d.ts.map +1 -1
- package/dist/types/loadDictionaries/loadYamlContentDeclaration.d.ts +1 -2
- package/dist/types/loadDictionaries/loadYamlContentDeclaration.d.ts.map +1 -1
- package/dist/types/loadDictionaries/log.d.ts +1 -2
- package/dist/types/loadDictionaries/log.d.ts.map +1 -1
- package/dist/types/loadDictionaries/logTypeScriptErrors.d.ts +1 -2
- package/dist/types/loadDictionaries/logTypeScriptErrors.d.ts.map +1 -1
- package/dist/types/logConfigDetails.d.ts +1 -2
- package/dist/types/logConfigDetails.d.ts.map +1 -1
- package/dist/types/prepareIntlayer.d.ts +1 -2
- package/dist/types/prepareIntlayer.d.ts.map +1 -1
- package/dist/types/reduceDictionaryContent/applyMask.d.ts +1 -2
- package/dist/types/reduceDictionaryContent/applyMask.d.ts.map +1 -1
- package/dist/types/reduceDictionaryContent/reduceDictionaryContent.d.ts +1 -2
- package/dist/types/reduceDictionaryContent/reduceDictionaryContent.d.ts.map +1 -1
- package/dist/types/scan/analyzeBundleContent.d.ts +1 -2
- package/dist/types/scan/analyzeBundleContent.d.ts.map +1 -1
- package/dist/types/scan/calculateScore.d.ts +6 -7
- package/dist/types/scan/calculateScore.d.ts.map +1 -1
- package/dist/types/scan/checks.d.ts +8 -9
- package/dist/types/scan/checks.d.ts.map +1 -1
- package/dist/types/scan/parseHtml.d.ts +13 -14
- package/dist/types/scan/parseHtml.d.ts.map +1 -1
- package/dist/types/scan/scanWebsite.d.ts +1 -2
- package/dist/types/scan/scanWebsite.d.ts.map +1 -1
- package/dist/types/scan/types.d.ts +9 -10
- package/dist/types/scan/types.d.ts.map +1 -1
- package/dist/types/syncPluginKit/createFileAdapter.d.ts +4 -5
- package/dist/types/syncPluginKit/createFileAdapter.d.ts.map +1 -1
- package/dist/types/syncPluginKit/createSyncPlugin.d.ts +1 -2
- package/dist/types/syncPluginKit/createSyncPlugin.d.ts.map +1 -1
- package/dist/types/syncPluginKit/extractKeyAndLocaleFromPath.d.ts +1 -2
- package/dist/types/syncPluginKit/extractKeyAndLocaleFromPath.d.ts.map +1 -1
- package/dist/types/syncPluginKit/filePathPatternHelpers.d.ts +1 -2
- package/dist/types/syncPluginKit/filePathPatternHelpers.d.ts.map +1 -1
- package/dist/types/syncPluginKit/index.d.ts +2 -2
- package/dist/types/syncPluginKit/types.d.ts +28 -15
- package/dist/types/syncPluginKit/types.d.ts.map +1 -1
- package/dist/types/utils/autoDecorateContent.d.ts +1 -2
- package/dist/types/utils/autoDecorateContent.d.ts.map +1 -1
- package/dist/types/utils/babelParser.d.ts +3 -3
- package/dist/types/utils/babelParser.d.ts.map +1 -1
- package/dist/types/utils/buildComponentFilesList.d.ts +1 -2
- package/dist/types/utils/buildComponentFilesList.d.ts.map +1 -1
- package/dist/types/utils/buildFilesList.d.ts +3 -4
- package/dist/types/utils/buildFilesList.d.ts.map +1 -1
- package/dist/types/utils/chunkArray.d.ts +1 -2
- package/dist/types/utils/chunkArray.d.ts.map +1 -1
- package/dist/types/utils/chunkJSON.d.ts +5 -6
- package/dist/types/utils/chunkJSON.d.ts.map +1 -1
- package/dist/types/utils/contentWatcherLock.d.ts +113 -0
- package/dist/types/utils/contentWatcherLock.d.ts.map +1 -0
- package/dist/types/utils/formatter.d.ts +2 -3
- package/dist/types/utils/formatter.d.ts.map +1 -1
- package/dist/types/utils/getChunk.d.ts +1 -2
- package/dist/types/utils/getChunk.d.ts.map +1 -1
- package/dist/types/utils/getContentExtension.d.ts +1 -2
- package/dist/types/utils/getContentExtension.d.ts.map +1 -1
- package/dist/types/utils/getFormatFromExtension.d.ts +4 -5
- package/dist/types/utils/getFormatFromExtension.d.ts.map +1 -1
- package/dist/types/utils/getPathHash.d.ts +1 -2
- package/dist/types/utils/getPathHash.d.ts.map +1 -1
- package/dist/types/utils/index.d.ts +4 -1
- package/dist/types/utils/mergeChunks.d.ts +1 -2
- package/dist/types/utils/mergeChunks.d.ts.map +1 -1
- package/dist/types/utils/pLimit.d.ts +2 -3
- package/dist/types/utils/pLimit.d.ts.map +1 -1
- package/dist/types/utils/parallelize.d.ts +1 -2
- package/dist/types/utils/parallelize.d.ts.map +1 -1
- package/dist/types/utils/parallelizeGlobal.d.ts +3 -4
- package/dist/types/utils/parallelizeGlobal.d.ts.map +1 -1
- package/dist/types/utils/parseContentDeclarationFileName.d.ts +23 -0
- package/dist/types/utils/parseContentDeclarationFileName.d.ts.map +1 -0
- package/dist/types/utils/readDictionariesFromDisk.d.ts +1 -2
- package/dist/types/utils/readDictionariesFromDisk.d.ts.map +1 -1
- package/dist/types/utils/reduceObjectFormat.d.ts +4 -5
- package/dist/types/utils/reduceObjectFormat.d.ts.map +1 -1
- package/dist/types/utils/resolveObjectPromises.d.ts +1 -2
- package/dist/types/utils/resolveObjectPromises.d.ts.map +1 -1
- package/dist/types/utils/resolveRelativePath.d.ts +1 -2
- package/dist/types/utils/resolveRelativePath.d.ts.map +1 -1
- package/dist/types/utils/runOnce.d.ts +2 -3
- package/dist/types/utils/runOnce.d.ts.map +1 -1
- package/dist/types/utils/runParallel/bin.d.ts +1 -2
- package/dist/types/utils/runParallel/bin.d.ts.map +1 -1
- package/dist/types/utils/runParallel/bootstrap.d.ts +1 -2
- package/dist/types/utils/runParallel/bootstrap.d.ts.map +1 -1
- package/dist/types/utils/runParallel/index.d.ts +2 -3
- package/dist/types/utils/runParallel/index.d.ts.map +1 -1
- package/dist/types/utils/runParallel/pidTree.d.ts +1 -2
- package/dist/types/utils/runParallel/pidTree.d.ts.map +1 -1
- package/dist/types/utils/runParallel/ps.d.ts +1 -2
- package/dist/types/utils/runParallel/ps.d.ts.map +1 -1
- package/dist/types/utils/runParallel/runTask.d.ts +1 -2
- package/dist/types/utils/runParallel/runTask.d.ts.map +1 -1
- package/dist/types/utils/runParallel/spawnPosix.d.ts +1 -2
- package/dist/types/utils/runParallel/spawnPosix.d.ts.map +1 -1
- package/dist/types/utils/runParallel/spawnWin32.d.ts +1 -2
- package/dist/types/utils/runParallel/spawnWin32.d.ts.map +1 -1
- package/dist/types/utils/runParallel/wmic.d.ts +1 -2
- package/dist/types/utils/runParallel/wmic.d.ts.map +1 -1
- package/dist/types/utils/sortAlphabetically.d.ts +1 -2
- package/dist/types/utils/sortAlphabetically.d.ts.map +1 -1
- package/dist/types/utils/splitTextByLine.d.ts +1 -2
- package/dist/types/utils/splitTextByLine.d.ts.map +1 -1
- package/dist/types/utils/verifyIdenticObjectFormat.d.ts +1 -2
- package/dist/types/utils/verifyIdenticObjectFormat.d.ts.map +1 -1
- package/dist/types/utils/withFileLock.d.ts +44 -0
- package/dist/types/utils/withFileLock.d.ts.map +1 -0
- package/dist/types/watcher.d.ts +2 -3
- package/dist/types/watcher.d.ts.map +1 -1
- package/dist/types/writeConfiguration/generateConfigurationContent.d.ts +1 -2
- package/dist/types/writeConfiguration/generateConfigurationContent.d.ts.map +1 -1
- package/dist/types/writeConfiguration/index.d.ts +2 -3
- package/dist/types/writeConfiguration/index.d.ts.map +1 -1
- package/dist/types/writeContentDeclaration/detectExportedComponentName.d.ts +1 -2
- package/dist/types/writeContentDeclaration/detectExportedComponentName.d.ts.map +1 -1
- package/dist/types/writeContentDeclaration/dictionaryStatus.d.ts +1 -2
- package/dist/types/writeContentDeclaration/dictionaryStatus.d.ts.map +1 -1
- package/dist/types/writeContentDeclaration/processContentDeclarationContent.d.ts +1 -2
- package/dist/types/writeContentDeclaration/processContentDeclarationContent.d.ts.map +1 -1
- package/dist/types/writeContentDeclaration/transformJSFile.d.ts +1 -2
- package/dist/types/writeContentDeclaration/transformJSFile.d.ts.map +1 -1
- package/dist/types/writeContentDeclaration/transformJSONFile.d.ts +1 -2
- package/dist/types/writeContentDeclaration/transformJSONFile.d.ts.map +1 -1
- package/dist/types/writeContentDeclaration/writeContentDeclaration.d.ts +1 -2
- package/dist/types/writeContentDeclaration/writeContentDeclaration.d.ts.map +1 -1
- package/dist/types/writeContentDeclaration/writeJSFile.d.ts +1 -2
- package/dist/types/writeContentDeclaration/writeJSFile.d.ts.map +1 -1
- package/dist/types/writeContentDeclaration/writeMarkdownFile.d.ts +1 -2
- package/dist/types/writeContentDeclaration/writeMarkdownFile.d.ts.map +1 -1
- package/dist/types/writeContentDeclaration/writeYamlFile.d.ts +1 -2
- package/dist/types/writeContentDeclaration/writeYamlFile.d.ts.map +1 -1
- package/dist/types/writeFileIfChanged.d.ts +2 -3
- package/dist/types/writeFileIfChanged.d.ts.map +1 -1
- package/dist/types/writeJsonIfChanged.d.ts +1 -2
- package/dist/types/writeJsonIfChanged.d.ts.map +1 -1
- package/package.json +12 -12
- package/dist/types/intlayer/dist/types/index.d.ts +0 -14
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createDictionaryEntryPoint.d.ts","names":[],"sources":["../../../src/createDictionaryEntryPoint/createDictionaryEntryPoint.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"createDictionaryEntryPoint.d.ts","names":[],"sources":["../../../src/createDictionaryEntryPoint/createDictionaryEntryPoint.ts"],"mappings":";YAuCY;EACV;EACA;;;;;qBAMW,6BAA0B,0CAAA,gBAAA,UAE5B,sCAAiC"}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* This function generates the content of the dictionary list file
|
|
4
4
|
*/
|
|
5
|
-
declare const generateDictionaryListContent: (dictionaries: string[], functionName: string, importType: 'json' | 'javascript', format?: 'cjs' | 'esm', configuration?: import("@intlayer/types").IntlayerConfig) => string;
|
|
5
|
+
export declare const generateDictionaryListContent: (dictionaries: string[], functionName: string, importType: 'json' | 'javascript', format?: 'cjs' | 'esm', configuration?: import("@intlayer/types").IntlayerConfig) => string;
|
|
6
6
|
//#endregion
|
|
7
|
-
export { generateDictionaryListContent };
|
|
8
7
|
//# sourceMappingURL=generateDictionaryListContent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generateDictionaryListContent.d.ts","names":[],"sources":["../../../src/createDictionaryEntryPoint/generateDictionaryListContent.ts"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"generateDictionaryListContent.d.ts","names":[],"sources":["../../../src/createDictionaryEntryPoint/generateDictionaryListContent.ts"],"mappings":";;;;qBAQa,gCAA6B,wBAClB,sBACF,mCACa,wBACZ,0CAAA"}
|
|
@@ -3,7 +3,6 @@ import { IntlayerConfig } from "@intlayer/types/config";
|
|
|
3
3
|
/**
|
|
4
4
|
* This function generates a list of dictionaries in the main directory
|
|
5
5
|
*/
|
|
6
|
-
declare const getBuiltDictionariesPath: (configuration: IntlayerConfig, excludeKeys?: string[]) => Promise<string[]>;
|
|
6
|
+
export declare const getBuiltDictionariesPath: (configuration: IntlayerConfig, excludeKeys?: string[]) => Promise<string[]>;
|
|
7
7
|
//#endregion
|
|
8
|
-
export { getBuiltDictionariesPath };
|
|
9
8
|
//# sourceMappingURL=getBuiltDictionariesPath.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBuiltDictionariesPath.d.ts","names":[],"sources":["../../../src/createDictionaryEntryPoint/getBuiltDictionariesPath.ts"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"getBuiltDictionariesPath.d.ts","names":[],"sources":["../../../src/createDictionaryEntryPoint/getBuiltDictionariesPath.ts"],"mappings":";;;;;qBAUa,2BAAwB,eACpB,gBAAc,2BACR"}
|
|
@@ -3,7 +3,6 @@ import { IntlayerConfig } from "@intlayer/types/config";
|
|
|
3
3
|
/**
|
|
4
4
|
* This function generates a list of dictionaries in the main directory
|
|
5
5
|
*/
|
|
6
|
-
declare const getBuiltDynamicDictionariesPath: (configuration: IntlayerConfig, format?: 'cjs' | 'esm', excludeKeys?: string[]) => Promise<string[]>;
|
|
6
|
+
export declare const getBuiltDynamicDictionariesPath: (configuration: IntlayerConfig, format?: 'cjs' | 'esm', excludeKeys?: string[]) => Promise<string[]>;
|
|
7
7
|
//#endregion
|
|
8
|
-
export { getBuiltDynamicDictionariesPath };
|
|
9
8
|
//# sourceMappingURL=getBuiltDynamicDictionariesPath.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBuiltDynamicDictionariesPath.d.ts","names":[],"sources":["../../../src/createDictionaryEntryPoint/getBuiltDynamicDictionariesPath.ts"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"getBuiltDynamicDictionariesPath.d.ts","names":[],"sources":["../../../src/createDictionaryEntryPoint/getBuiltDynamicDictionariesPath.ts"],"mappings":";;;;;qBAUa,kCAA+B,eAC3B,gBAAc,wBACR,2BACA"}
|
|
@@ -3,7 +3,6 @@ import { IntlayerConfig } from "@intlayer/types/config";
|
|
|
3
3
|
/**
|
|
4
4
|
* This function generates a list of dictionaries in the main directory
|
|
5
5
|
*/
|
|
6
|
-
declare const getBuiltFetchDictionariesPath: (configuration: IntlayerConfig, format?: 'cjs' | 'esm', excludeKeys?: string[]) => Promise<string[]>;
|
|
6
|
+
export declare const getBuiltFetchDictionariesPath: (configuration: IntlayerConfig, format?: 'cjs' | 'esm', excludeKeys?: string[]) => Promise<string[]>;
|
|
7
7
|
//#endregion
|
|
8
|
-
export { getBuiltFetchDictionariesPath };
|
|
9
8
|
//# sourceMappingURL=getBuiltFetchDictionariesPath.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBuiltFetchDictionariesPath.d.ts","names":[],"sources":["../../../src/createDictionaryEntryPoint/getBuiltFetchDictionariesPath.ts"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"getBuiltFetchDictionariesPath.d.ts","names":[],"sources":["../../../src/createDictionaryEntryPoint/getBuiltFetchDictionariesPath.ts"],"mappings":";;;;;qBAUa,gCAA6B,eACzB,gBAAc,wBACR,2BACA"}
|
|
@@ -3,7 +3,6 @@ import { IntlayerConfig } from "@intlayer/types/config";
|
|
|
3
3
|
/**
|
|
4
4
|
* This function generates a list of dictionaries in the main directory
|
|
5
5
|
*/
|
|
6
|
-
declare const getBuiltRemoteDictionariesPath: (configuration: IntlayerConfig, excludeKeys?: string[]) => Promise<string[]>;
|
|
6
|
+
export declare const getBuiltRemoteDictionariesPath: (configuration: IntlayerConfig, excludeKeys?: string[]) => Promise<string[]>;
|
|
7
7
|
//#endregion
|
|
8
|
-
export { getBuiltRemoteDictionariesPath };
|
|
9
8
|
//# sourceMappingURL=getBuiltRemoteDictionariesPath.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBuiltRemoteDictionariesPath.d.ts","names":[],"sources":["../../../src/createDictionaryEntryPoint/getBuiltRemoteDictionariesPath.ts"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"getBuiltRemoteDictionariesPath.d.ts","names":[],"sources":["../../../src/createDictionaryEntryPoint/getBuiltRemoteDictionariesPath.ts"],"mappings":";;;;;qBAUa,iCAA8B,eAC1B,gBAAc,2BACR"}
|
|
@@ -3,7 +3,6 @@ import { IntlayerConfig } from "@intlayer/types/config";
|
|
|
3
3
|
/**
|
|
4
4
|
* This function generates a list of dictionaries in the main directory
|
|
5
5
|
*/
|
|
6
|
-
declare const getBuiltUnmergedDictionariesPath: (configuration: IntlayerConfig, excludeKeys?: string[]) => Promise<string[]>;
|
|
6
|
+
export declare const getBuiltUnmergedDictionariesPath: (configuration: IntlayerConfig, excludeKeys?: string[]) => Promise<string[]>;
|
|
7
7
|
//#endregion
|
|
8
|
-
export { getBuiltUnmergedDictionariesPath };
|
|
9
8
|
//# sourceMappingURL=getBuiltUnmergedDictionariesPath.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBuiltUnmergedDictionariesPath.d.ts","names":[],"sources":["../../../src/createDictionaryEntryPoint/getBuiltUnmergedDictionariesPath.ts"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"getBuiltUnmergedDictionariesPath.d.ts","names":[],"sources":["../../../src/createDictionaryEntryPoint/getBuiltUnmergedDictionariesPath.ts"],"mappings":";;;;;qBAUa,mCAAgC,eAC5B,gBAAc,2BACR"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IntlayerConfig, RoutingConfig } from "@intlayer/types/config";
|
|
2
2
|
//#region src/createType/createModuleAugmentation.d.ts
|
|
3
|
-
declare const getTypeName: (key: string) => string;
|
|
3
|
+
export declare const getTypeName: (key: string) => string;
|
|
4
4
|
/**
|
|
5
5
|
* Serializes the `url` rewrite rules as a type literal, so `getLocalizedPath`
|
|
6
6
|
* and `getLocalizedUrl` can resolve a canonical path to its localized literal at
|
|
@@ -10,7 +10,7 @@ declare const getTypeName: (key: string) => string;
|
|
|
10
10
|
* Rules are emitted in their normalized form (`:param`, no locale prefix), which
|
|
11
11
|
* is exactly what the runtime matches against.
|
|
12
12
|
*/
|
|
13
|
-
declare const formatRewriteRules: (rewrite: RoutingConfig['rewrite']) => string;
|
|
13
|
+
export declare const formatRewriteRules: (rewrite: RoutingConfig['rewrite']) => string;
|
|
14
14
|
/**
|
|
15
15
|
* Serializes the `routing.domains` map as a type literal, so `getLocalizedUrl`
|
|
16
16
|
* and `getLocalizedPath` can resolve the origin of a locale — and the
|
|
@@ -25,9 +25,8 @@ declare const formatRewriteRules: (rewrite: RoutingConfig['rewrite']) => string;
|
|
|
25
25
|
* ({@link isLocaleExclusiveOnDomain}), in which case the domain identifies the
|
|
26
26
|
* locale and no path prefix is emitted.
|
|
27
27
|
*/
|
|
28
|
-
declare const formatDomains: (domains: RoutingConfig['domains']) => string;
|
|
28
|
+
export declare const formatDomains: (domains: RoutingConfig['domains']) => string;
|
|
29
29
|
/** Generate the index file merging all the types */
|
|
30
|
-
declare const createModuleAugmentation: (configuration: IntlayerConfig) => Promise<void>;
|
|
30
|
+
export declare const createModuleAugmentation: (configuration: IntlayerConfig) => Promise<void>;
|
|
31
31
|
//#endregion
|
|
32
|
-
export { createModuleAugmentation, formatDomains, formatRewriteRules, getTypeName };
|
|
33
32
|
//# sourceMappingURL=createModuleAugmentation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createModuleAugmentation.d.ts","names":[],"sources":["../../../src/createType/createModuleAugmentation.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"createModuleAugmentation.d.ts","names":[],"sources":["../../../src/createType/createModuleAugmentation.ts"],"mappings":";;qBAca,cAAW;;;;;;;;;;qBAgBX,qBAAkB,SACpB;;;;;;;;;;;;;;;qBAkCE,gBAAa,SAAa;;qBAuM1B,2BAAwB,eACpB,mBAAc"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
2
2
|
import { Dictionary, QualifiedDictionaryGroup } from "@intlayer/types/dictionary";
|
|
3
3
|
//#region src/createType/createType.d.ts
|
|
4
|
-
declare const generateTypeScriptType: (dictionary: Dictionary | QualifiedDictionaryGroup) => string;
|
|
4
|
+
export declare const generateTypeScriptType: (dictionary: Dictionary | QualifiedDictionaryGroup) => string;
|
|
5
5
|
/**
|
|
6
6
|
* This function generates a TypeScript type definition from a JSON object
|
|
7
7
|
*/
|
|
8
|
-
declare const createTypes: (dictionaries: (Dictionary | QualifiedDictionaryGroup)[], configuration: IntlayerConfig) => Promise<string[]>;
|
|
8
|
+
export declare const createTypes: (dictionaries: (Dictionary | QualifiedDictionaryGroup)[], configuration: IntlayerConfig) => Promise<string[]>;
|
|
9
9
|
//#endregion
|
|
10
|
-
export { createTypes, generateTypeScriptType };
|
|
11
10
|
//# sourceMappingURL=createType.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createType.d.ts","names":[],"sources":["../../../src/createType/createType.ts"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"createType.d.ts","names":[],"sources":["../../../src/createType/createType.ts"],"mappings":";;;qBAUa,yBAAsB,YACrB,aAAa;;;;qBASd,cAAW,eACP,aAAa,6BAA2B,eACxC,mBACd"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
2
2
|
//#region src/detectFormatCommand.d.ts
|
|
3
|
-
declare const detectFormatCommand: (configuration: IntlayerConfig, projectRequireProp?: NodeJS.Require) => string;
|
|
3
|
+
export declare const detectFormatCommand: (configuration: IntlayerConfig, projectRequireProp?: NodeJS.Require) => string;
|
|
4
4
|
//#endregion
|
|
5
|
-
export { detectFormatCommand };
|
|
6
5
|
//# sourceMappingURL=detectFormatCommand.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detectFormatCommand.d.ts","names":[],"sources":["../../src/detectFormatCommand.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"detectFormatCommand.d.ts","names":[],"sources":["../../src/detectFormatCommand.ts"],"mappings":";;qBAKa,sBAAmB,eACf,gBAAc,qBACR,OAAO"}
|
|
@@ -13,7 +13,6 @@ import { AlignmentPair, FingerprintedBlock } from "./types.js";
|
|
|
13
13
|
* @param targetBlocks - Blocks of the target (translated) document.
|
|
14
14
|
* @returns The ordered list of alignment pairs, including insertions and deletions.
|
|
15
15
|
*/
|
|
16
|
-
declare const alignBaseAndTargetBlocks: (baseBlocks: FingerprintedBlock[], targetBlocks: FingerprintedBlock[]) => AlignmentPair[];
|
|
16
|
+
export declare const alignBaseAndTargetBlocks: (baseBlocks: FingerprintedBlock[], targetBlocks: FingerprintedBlock[]) => AlignmentPair[];
|
|
17
17
|
//#endregion
|
|
18
|
-
export { alignBaseAndTargetBlocks };
|
|
19
18
|
//# sourceMappingURL=alignBlocks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alignBlocks.d.ts","names":[],"sources":["../../../src/docReview/alignBlocks.ts"],"mappings":";;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"alignBlocks.d.ts","names":[],"sources":["../../../src/docReview/alignBlocks.ts"],"mappings":";;;;;;;;;;;;;;;qBAgEa,2BAAwB,YACvB,sBAAoB,cAClB,yBACb"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @param shingleLength - The length of each shingle.
|
|
8
8
|
* @returns The set of unique shingles found in the text.
|
|
9
9
|
*/
|
|
10
|
-
declare const generateCharacterShingles: (text: string, shingleLength: number) => Set<string>;
|
|
10
|
+
export declare const generateCharacterShingles: (text: string, shingleLength: number) => Set<string>;
|
|
11
11
|
/**
|
|
12
12
|
* Compute the Jaccard similarity between two strings using character shingles.
|
|
13
13
|
*
|
|
@@ -16,7 +16,6 @@ declare const generateCharacterShingles: (text: string, shingleLength: number) =
|
|
|
16
16
|
* @param shingleLength - The shingle length (defaults to 3).
|
|
17
17
|
* @returns A score between 0 (disjoint) and 1 (identical).
|
|
18
18
|
*/
|
|
19
|
-
declare const computeJaccardSimilarity: (a: string, b: string, shingleLength?: number) => number;
|
|
19
|
+
export declare const computeJaccardSimilarity: (a: string, b: string, shingleLength?: number) => number;
|
|
20
20
|
//#endregion
|
|
21
|
-
export { computeJaccardSimilarity, generateCharacterShingles };
|
|
22
21
|
//# sourceMappingURL=computeSimilarity.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"computeSimilarity.d.ts","names":[],"sources":["../../../src/docReview/computeSimilarity.ts"],"mappings":";;;;;;;;;
|
|
1
|
+
{"version":3,"file":"computeSimilarity.d.ts","names":[],"sources":["../../../src/docReview/computeSimilarity.ts"],"mappings":";;;;;;;;;qBAQa,4BAAyB,cACxB,0BAEX;;;;;;;;;qBAuBU,2BAAwB,WAC1B,WACA"}
|
|
@@ -11,7 +11,6 @@ import { FingerprintedBlock, NormalizedBlock } from "./types.js";
|
|
|
11
11
|
* @param nextBlock - The block immediately after, or `null` at the end.
|
|
12
12
|
* @returns The block enriched with its digests.
|
|
13
13
|
*/
|
|
14
|
-
declare const fingerprintBlock: (block: NormalizedBlock, previousBlock: NormalizedBlock | null, nextBlock: NormalizedBlock | null) => FingerprintedBlock;
|
|
14
|
+
export declare const fingerprintBlock: (block: NormalizedBlock, previousBlock: NormalizedBlock | null, nextBlock: NormalizedBlock | null) => FingerprintedBlock;
|
|
15
15
|
//#endregion
|
|
16
|
-
export { fingerprintBlock };
|
|
17
16
|
//# sourceMappingURL=fingerprintBlock.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fingerprintBlock.d.ts","names":[],"sources":["../../../src/docReview/fingerprintBlock.ts"],"mappings":";;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"fingerprintBlock.d.ts","names":[],"sources":["../../../src/docReview/fingerprintBlock.ts"],"mappings":";;;;;;;;;;;;;qBAiBa,mBAAgB,OACpB,iBAAe,eACP,wBAAsB,WAC1B,2BACV"}
|
|
@@ -8,7 +8,6 @@ import { Block, LineChange } from "./types.js";
|
|
|
8
8
|
* @param changedLines - 1-based line numbers that changed in the base document.
|
|
9
9
|
* @returns The set of block indexes touched by at least one changed line.
|
|
10
10
|
*/
|
|
11
|
-
declare const mapChangedLinesToBlocks: (blocks: Block[], changedLines: LineChange[]) => Set<number>;
|
|
11
|
+
export declare const mapChangedLinesToBlocks: (blocks: Block[], changedLines: LineChange[]) => Set<number>;
|
|
12
12
|
//#endregion
|
|
13
|
-
export { mapChangedLinesToBlocks };
|
|
14
13
|
//# sourceMappingURL=mapChangedLinesToBlocks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mapChangedLinesToBlocks.d.ts","names":[],"sources":["../../../src/docReview/mapChangedLinesToBlocks.ts"],"mappings":";;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"mapChangedLinesToBlocks.d.ts","names":[],"sources":["../../../src/docReview/mapChangedLinesToBlocks.ts"],"mappings":";;;;;;;;;;qBAUa,0BAAuB,QAC1B,SAAO,cACD,iBACb"}
|
|
@@ -11,7 +11,6 @@ import { Block, NormalizedBlock } from "./types.js";
|
|
|
11
11
|
* @param block - The block to normalize.
|
|
12
12
|
* @returns The block enriched with its normalized texts.
|
|
13
13
|
*/
|
|
14
|
-
declare const normalizeBlock: (block: Block) => NormalizedBlock;
|
|
14
|
+
export declare const normalizeBlock: (block: Block) => NormalizedBlock;
|
|
15
15
|
//#endregion
|
|
16
|
-
export { normalizeBlock };
|
|
17
16
|
//# sourceMappingURL=normalizeBlock.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"normalizeBlock.d.ts","names":[],"sources":["../../../src/docReview/normalizeBlock.ts"],"mappings":";;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"normalizeBlock.d.ts","names":[],"sources":["../../../src/docReview/normalizeBlock.ts"],"mappings":";;;;;;;;;;;;;qBAmCa,iBAAc,OAAW,UAAQ"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AlignmentPlan, FingerprintedBlock } from "./types.js";
|
|
2
2
|
import { SegmentToReview, mergeReviewedSegments } from "./rebuildDocument.js";
|
|
3
3
|
//#region src/docReview/pipeline.d.ts
|
|
4
|
-
type BuildAlignmentPlanInput = {
|
|
4
|
+
export type BuildAlignmentPlanInput = {
|
|
5
5
|
/** The base (source) document, used as the translation reference. */
|
|
6
6
|
baseText: string;
|
|
7
7
|
/** The existing target (translated) document, possibly empty. */
|
|
@@ -15,7 +15,7 @@ type BuildAlignmentPlanInput = {
|
|
|
15
15
|
*/
|
|
16
16
|
changedLines: number[] | undefined;
|
|
17
17
|
};
|
|
18
|
-
type BuildAlignmentPlanOutput = {
|
|
18
|
+
export type BuildAlignmentPlanOutput = {
|
|
19
19
|
baseBlocks: FingerprintedBlock[];
|
|
20
20
|
targetBlocks: FingerprintedBlock[];
|
|
21
21
|
plan: AlignmentPlan;
|
|
@@ -50,7 +50,7 @@ type BuildAlignmentPlanOutput = {
|
|
|
50
50
|
* @param input - The base/target texts and optional changed lines.
|
|
51
51
|
* @returns The (flattened) blocks, the plan, and the segments that need translation.
|
|
52
52
|
*/
|
|
53
|
-
declare const buildAlignmentPlan: ({ baseText, targetText, changedLines }: BuildAlignmentPlanInput) => BuildAlignmentPlanOutput;
|
|
53
|
+
export declare const buildAlignmentPlan: ({ baseText, targetText, changedLines }: BuildAlignmentPlanInput) => BuildAlignmentPlanOutput;
|
|
54
54
|
//#endregion
|
|
55
|
-
export {
|
|
55
|
+
export { type SegmentToReview, mergeReviewedSegments };
|
|
56
56
|
//# sourceMappingURL=pipeline.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline.d.ts","names":[],"sources":["../../../src/docReview/pipeline.ts"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"pipeline.d.ts","names":[],"sources":["../../../src/docReview/pipeline.ts"],"mappings":";;;YAiBY;;EAEV;;EAEA;;;;;;;;EAQA;;YAGU;EACV,YAAY;EACZ,cAAc;EACd,MAAM;EACN,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA4DP,uBAAkB,UAAA,YAAA,gBAI5B,4BAA0B"}
|
|
@@ -11,7 +11,6 @@ import { AlignmentPair, AlignmentPlan } from "./types.js";
|
|
|
11
11
|
* @param changedBaseBlockIndexes - Indexes of base blocks reported as changed.
|
|
12
12
|
* @returns The plan of actions to merge the documents.
|
|
13
13
|
*/
|
|
14
|
-
declare const planAlignmentActions: (alignment: AlignmentPair[], changedBaseBlockIndexes: Set<number>) => AlignmentPlan;
|
|
14
|
+
export declare const planAlignmentActions: (alignment: AlignmentPair[], changedBaseBlockIndexes: Set<number>) => AlignmentPlan;
|
|
15
15
|
//#endregion
|
|
16
|
-
export { planAlignmentActions };
|
|
17
16
|
//# sourceMappingURL=planActions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"planActions.d.ts","names":[],"sources":["../../../src/docReview/planActions.ts"],"mappings":";;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"planActions.d.ts","names":[],"sources":["../../../src/docReview/planActions.ts"],"mappings":";;;;;;;;;;;;;qBAaa,uBAAoB,WACpB,iBAAe,yBACD,gBACxB"}
|
|
@@ -4,7 +4,7 @@ import { AlignmentPlan, FingerprintedBlock } from "./types.js";
|
|
|
4
4
|
* A block that needs to be translated or re-translated by an external consumer
|
|
5
5
|
* (an AI client, a human, or an agent).
|
|
6
6
|
*/
|
|
7
|
-
type SegmentToReview = {
|
|
7
|
+
export type SegmentToReview = {
|
|
8
8
|
/** The base block to translate. */
|
|
9
9
|
baseBlock: FingerprintedBlock;
|
|
10
10
|
/** Existing target translation, or `null` when the block is new. */
|
|
@@ -12,12 +12,12 @@ type SegmentToReview = {
|
|
|
12
12
|
/** Index of the originating action within {@link AlignmentPlan.actions}. */
|
|
13
13
|
actionIndex: number;
|
|
14
14
|
};
|
|
15
|
-
type RebuildInput = {
|
|
15
|
+
export type RebuildInput = {
|
|
16
16
|
baseBlocks: FingerprintedBlock[];
|
|
17
17
|
targetBlocks: FingerprintedBlock[];
|
|
18
18
|
plan: AlignmentPlan;
|
|
19
19
|
};
|
|
20
|
-
type RebuildResult = {
|
|
20
|
+
export type RebuildResult = {
|
|
21
21
|
segmentsToReview: SegmentToReview[];
|
|
22
22
|
};
|
|
23
23
|
/**
|
|
@@ -28,7 +28,7 @@ type RebuildResult = {
|
|
|
28
28
|
* @param input - The base/target blocks and the alignment plan.
|
|
29
29
|
* @returns The list of segments that require translation.
|
|
30
30
|
*/
|
|
31
|
-
declare const identifySegmentsToReview: ({ baseBlocks, targetBlocks, plan }: RebuildInput) => RebuildResult;
|
|
31
|
+
export declare const identifySegmentsToReview: ({ baseBlocks, targetBlocks, plan }: RebuildInput) => RebuildResult;
|
|
32
32
|
/**
|
|
33
33
|
* Merge reviewed translations back into the final document following the
|
|
34
34
|
* alignment plan, reusing untouched target blocks as-is.
|
|
@@ -38,7 +38,6 @@ declare const identifySegmentsToReview: ({ baseBlocks, targetBlocks, plan }: Reb
|
|
|
38
38
|
* @param reviewedSegments - Map of action index to its reviewed translation.
|
|
39
39
|
* @returns The rebuilt target document.
|
|
40
40
|
*/
|
|
41
|
-
declare const mergeReviewedSegments: (plan: AlignmentPlan, targetBlocks: FingerprintedBlock[], reviewedSegments: Map<number, string>) => string;
|
|
41
|
+
export declare const mergeReviewedSegments: (plan: AlignmentPlan, targetBlocks: FingerprintedBlock[], reviewedSegments: Map<number, string>) => string;
|
|
42
42
|
//#endregion
|
|
43
|
-
export { RebuildInput, RebuildResult, SegmentToReview, identifySegmentsToReview, mergeReviewedSegments };
|
|
44
43
|
//# sourceMappingURL=rebuildDocument.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rebuildDocument.d.ts","names":[],"sources":["../../../src/docReview/rebuildDocument.ts"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"rebuildDocument.d.ts","names":[],"sources":["../../../src/docReview/rebuildDocument.ts"],"mappings":";;;;;;YAMY;;EAEV,WAAW;;EAEX;;EAEA;;YAGU;EACV,YAAY;EACZ,cAAc;EACd,MAAM;;YAGI;EACV,kBAAkB;;;;;;;;;;qBAWP,6BAAwB,YAAA,cAAA,QAIlC,iBAAe;;;;;;;;;;qBAmDL,wBAAqB,MAC1B,eAAa,cACL,sBAAoB,kBAChB"}
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
* - `insert_new`: the base block has no translation yet and must be added.
|
|
8
8
|
* - `delete`: the target block no longer exists in the base and should be removed.
|
|
9
9
|
*/
|
|
10
|
-
type ReviewBlockAction = 'review' | 'insert_new' | 'delete';
|
|
10
|
+
export type ReviewBlockAction = 'review' | 'insert_new' | 'delete';
|
|
11
11
|
/** A 1-based, inclusive line range within a document. */
|
|
12
|
-
type LineRange = {
|
|
12
|
+
export type LineRange = {
|
|
13
13
|
start: number;
|
|
14
14
|
end: number;
|
|
15
15
|
};
|
|
@@ -20,7 +20,7 @@ type LineRange = {
|
|
|
20
20
|
* act on: it carries the base content to translate, the existing translation to
|
|
21
21
|
* update, and where each lives so the change can be located in the file.
|
|
22
22
|
*/
|
|
23
|
-
type ReviewReportBlock = {
|
|
23
|
+
export type ReviewReportBlock = {
|
|
24
24
|
/** What should happen to this block. */
|
|
25
25
|
action: ReviewBlockAction;
|
|
26
26
|
/** Line range of the block in the base document (omitted for pure deletions). */
|
|
@@ -32,7 +32,7 @@ type ReviewReportBlock = {
|
|
|
32
32
|
/** Existing translation of the block (omitted for new insertions). */
|
|
33
33
|
targetContent?: string;
|
|
34
34
|
};
|
|
35
|
-
type ReviewReportSummary = {
|
|
35
|
+
export type ReviewReportSummary = {
|
|
36
36
|
/** Number of blocks reused as-is (unchanged translation). */
|
|
37
37
|
reuse: number;
|
|
38
38
|
/** Number of blocks whose translation must be updated. */
|
|
@@ -42,13 +42,13 @@ type ReviewReportSummary = {
|
|
|
42
42
|
/** Number of stale target blocks to delete. */
|
|
43
43
|
delete: number;
|
|
44
44
|
};
|
|
45
|
-
type ReviewReport = {
|
|
45
|
+
export type ReviewReport = {
|
|
46
46
|
/** Only the blocks that diverge (review, insert_new, delete). */
|
|
47
47
|
blocks: ReviewReportBlock[];
|
|
48
48
|
/** Counts per action over the whole document, including reused blocks. */
|
|
49
49
|
summary: ReviewReportSummary;
|
|
50
50
|
};
|
|
51
|
-
type BuildReviewReportInput = {
|
|
51
|
+
export type BuildReviewReportInput = {
|
|
52
52
|
/** The base (source) document, used as the translation reference. */
|
|
53
53
|
baseText: string;
|
|
54
54
|
/** The existing target (translated) document, possibly empty. */
|
|
@@ -74,7 +74,7 @@ type BuildReviewReportInput = {
|
|
|
74
74
|
* @param input - The base/target texts and optional changed lines.
|
|
75
75
|
* @returns The divergent blocks and a per-action summary.
|
|
76
76
|
*/
|
|
77
|
-
declare const buildReviewReport: ({ baseText, targetText, changedLines }: BuildReviewReportInput) => ReviewReport;
|
|
77
|
+
export declare const buildReviewReport: ({ baseText, targetText, changedLines }: BuildReviewReportInput) => ReviewReport;
|
|
78
78
|
/**
|
|
79
79
|
* Render a {@link ReviewReport} as a human and agent readable log.
|
|
80
80
|
*
|
|
@@ -85,10 +85,9 @@ declare const buildReviewReport: ({ baseText, targetText, changedLines }: BuildR
|
|
|
85
85
|
* @param options - Optional labels for the base and target locales.
|
|
86
86
|
* @returns A multi-line string describing every block that needs attention.
|
|
87
87
|
*/
|
|
88
|
-
declare const formatReviewReport: (report: ReviewReport, options?: {
|
|
88
|
+
export declare const formatReviewReport: (report: ReviewReport, options?: {
|
|
89
89
|
baseLabel?: string;
|
|
90
90
|
targetLabel?: string;
|
|
91
91
|
}) => string;
|
|
92
92
|
//#endregion
|
|
93
|
-
export { BuildReviewReportInput, LineRange, ReviewBlockAction, ReviewReport, ReviewReportBlock, ReviewReportSummary, buildReviewReport, formatReviewReport };
|
|
94
93
|
//# sourceMappingURL=reviewReport.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reviewReport.d.ts","names":[],"sources":["../../../src/docReview/reviewReport.ts"],"mappings":";;;;;;;;;
|
|
1
|
+
{"version":3,"file":"reviewReport.d.ts","names":[],"sources":["../../../src/docReview/reviewReport.ts"],"mappings":";;;;;;;;;YAYY;;YAGA;EACV;EACA;;;;;;;;;YAUU;;EAEV,QAAQ;;EAER,gBAAgB;;EAEhB,kBAAkB;;EAElB;;EAEA;;YAGU;;EAEV;;EAEA;;EAEA;;EAEA;;YAGU;;EAEV,QAAQ;;EAER,SAAS;;YAGC;;EAEV;;EAEA;;;;;;;;;EASA;;;;;;;;;;;;;qBAcW,sBAAiB,UAAA,YAAA,gBAI3B,2BAAyB;;;;;;;;;;;qBAgJf,qBAAkB,QACrB,cAAY;EACR;EAAoB"}
|
|
@@ -14,7 +14,7 @@ import { Block } from "./types.js";
|
|
|
14
14
|
* @param text - The full markdown document.
|
|
15
15
|
* @returns The ordered list of blocks with their 1-based line ranges.
|
|
16
16
|
*/
|
|
17
|
-
declare const segmentDocument: (text: string) => Block[];
|
|
17
|
+
export declare const segmentDocument: (text: string) => Block[];
|
|
18
18
|
/**
|
|
19
19
|
* Split a markdown document into coarse, heading-anchored sections.
|
|
20
20
|
*
|
|
@@ -33,7 +33,6 @@ declare const segmentDocument: (text: string) => Block[];
|
|
|
33
33
|
* @param text - The full markdown document.
|
|
34
34
|
* @returns The ordered list of sections with their 1-based line ranges.
|
|
35
35
|
*/
|
|
36
|
-
declare const segmentSections: (text: string) => Block[];
|
|
36
|
+
export declare const segmentSections: (text: string) => Block[];
|
|
37
37
|
//#endregion
|
|
38
|
-
export { segmentDocument, segmentSections };
|
|
39
38
|
//# sourceMappingURL=segmentDocument.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"segmentDocument.d.ts","names":[],"sources":["../../../src/docReview/segmentDocument.ts"],"mappings":";;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"segmentDocument.d.ts","names":[],"sources":["../../../src/docReview/segmentDocument.ts"],"mappings":";;;;;;;;;;;;;;;;qBAoDa,kBAAe,iBAAmB;;;;;;;;;;;;;;;;;;;qBAuIlC,kBAAe,iBAAmB"}
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
*
|
|
5
5
|
* Used to weight the alignment between a base document and its translation.
|
|
6
6
|
*/
|
|
7
|
-
type BlockType = 'heading' | 'paragraph' | 'list_item' | 'code_block' | 'blockquote' | 'table' | 'horizontal_rule' | 'html' | 'unknown';
|
|
7
|
+
export type BlockType = 'heading' | 'paragraph' | 'list_item' | 'code_block' | 'blockquote' | 'table' | 'horizontal_rule' | 'html' | 'unknown';
|
|
8
8
|
/**
|
|
9
9
|
* A raw markdown block extracted from a document, with its line range.
|
|
10
10
|
*/
|
|
11
|
-
type Block = {
|
|
11
|
+
export type Block = {
|
|
12
12
|
type: BlockType;
|
|
13
13
|
content: string;
|
|
14
14
|
/**
|
|
@@ -28,7 +28,7 @@ type Block = {
|
|
|
28
28
|
/**
|
|
29
29
|
* A {@link Block} enriched with normalized text used for similarity matching.
|
|
30
30
|
*/
|
|
31
|
-
type NormalizedBlock = Block & {
|
|
31
|
+
export type NormalizedBlock = Block & {
|
|
32
32
|
/** Lower-cased, markdown-stripped text used for semantic comparison. */
|
|
33
33
|
semanticText: string;
|
|
34
34
|
/** Non-letter characters (digits, punctuation, symbols) kept as a structural anchor. */
|
|
@@ -37,7 +37,7 @@ type NormalizedBlock = Block & {
|
|
|
37
37
|
/**
|
|
38
38
|
* A {@link NormalizedBlock} enriched with content digests used to detect reuse.
|
|
39
39
|
*/
|
|
40
|
-
type FingerprintedBlock = NormalizedBlock & {
|
|
40
|
+
export type FingerprintedBlock = NormalizedBlock & {
|
|
41
41
|
semanticDigest: string;
|
|
42
42
|
anchorDigest: string;
|
|
43
43
|
compositeKey: string;
|
|
@@ -49,7 +49,7 @@ type FingerprintedBlock = NormalizedBlock & {
|
|
|
49
49
|
* `baseIndex === -1` means the target block has no base counterpart (deletion).
|
|
50
50
|
* `targetIndex === null` means the base block has no target counterpart (insertion).
|
|
51
51
|
*/
|
|
52
|
-
type AlignmentPair = {
|
|
52
|
+
export type AlignmentPair = {
|
|
53
53
|
baseIndex: number;
|
|
54
54
|
targetIndex: number | null;
|
|
55
55
|
similarityScore: number;
|
|
@@ -57,7 +57,7 @@ type AlignmentPair = {
|
|
|
57
57
|
/**
|
|
58
58
|
* An action the merge step should take for a given aligned pair of blocks.
|
|
59
59
|
*/
|
|
60
|
-
type PlannedAction = {
|
|
60
|
+
export type PlannedAction = {
|
|
61
61
|
kind: 'reuse';
|
|
62
62
|
baseIndex: number;
|
|
63
63
|
targetIndex: number;
|
|
@@ -72,17 +72,16 @@ type PlannedAction = {
|
|
|
72
72
|
kind: 'delete';
|
|
73
73
|
targetIndex: number;
|
|
74
74
|
};
|
|
75
|
-
type AlignmentPlan = {
|
|
75
|
+
export type AlignmentPlan = {
|
|
76
76
|
actions: PlannedAction[];
|
|
77
77
|
};
|
|
78
78
|
/** A 1-based line number that changed in the base document. */
|
|
79
|
-
type LineChange = number;
|
|
80
|
-
type SimilarityOptions = {
|
|
79
|
+
export type LineChange = number;
|
|
80
|
+
export type SimilarityOptions = {
|
|
81
81
|
/** Minimum anchor similarity to consider two blocks identical (for example 0.90). */
|
|
82
82
|
minimumMatchForReuse: number;
|
|
83
83
|
/** Minimum anchor similarity to consider two blocks near-duplicates (for example 0.80). */
|
|
84
84
|
minimumMatchForNearDuplicate: number;
|
|
85
85
|
};
|
|
86
86
|
//#endregion
|
|
87
|
-
export { AlignmentPair, AlignmentPlan, Block, BlockType, FingerprintedBlock, LineChange, NormalizedBlock, PlannedAction, SimilarityOptions };
|
|
88
87
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","names":[],"sources":["../../../src/docReview/types.ts"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"types.d.ts","names":[],"sources":["../../../src/docReview/types.ts"],"mappings":";;;;;;YAKY;;;;YAcA;EACV,MAAM;EACN;;;;;;;;;EASA;;EAEA;;EAEA;;;;;YAMU,kBAAkB;;EAE5B;;EAEA;;;;;YAMU,qBAAqB;EAC/B;EACA;EACA;EACA;;;;;;;;YASU;EACV;EACA;EACA;;;;;YAMU;EACN;EAAe;EAAmB;;EAClC;EAAgB;EAAmB;;EACnC;EAAoB;;EACpB;EAAgB;;YAEV;EACV,SAAS;;;YAIC;YAEA;;EAEV;;EAEA"}
|
|
@@ -36,7 +36,6 @@ type FetchDistantDictionariesOptions = {
|
|
|
36
36
|
* as soon as its request settles, so no batch waits for the whole wave.
|
|
37
37
|
* Failing requests are retried before their keys are reported as errors.
|
|
38
38
|
*/
|
|
39
|
-
declare const fetchDistantDictionaries: (options: FetchDistantDictionariesOptions, onStatusUpdate?: (status: DictionariesStatus[]) => void) => Promise<DictionaryAPI[]>;
|
|
39
|
+
export declare const fetchDistantDictionaries: (options: FetchDistantDictionariesOptions, onStatusUpdate?: (status: DictionariesStatus[]) => void) => Promise<DictionaryAPI[]>;
|
|
40
40
|
//#endregion
|
|
41
|
-
export { fetchDistantDictionaries };
|
|
42
41
|
//# sourceMappingURL=fetchDistantDictionaries.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetchDistantDictionaries.d.ts","names":[],"sources":["../../src/fetchDistantDictionaries.ts"],"mappings":";;;;KAqDK;EACH;EACA;EACA;;;;;EAKA;;;;;EAKA;;;;;EAKA;;;;;EAKA;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"fetchDistantDictionaries.d.ts","names":[],"sources":["../../src/fetchDistantDictionaries.ts"],"mappings":";;;;KAqDK;EACH;EACA;EACA;;;;;EAKA;;;;;EAKA;;;;;EAKA;;;;;EAKA;;;;;;;;;;;qBAYW,2BAAwB,SAC1B,iCAA+B,kBACtB,QAAQ,kCACzB,QAAQ"}
|
|
@@ -4,8 +4,7 @@ import { Dictionary } from "@intlayer/types/dictionary";
|
|
|
4
4
|
type IsInvalidDictionaryOptions = {
|
|
5
5
|
checkSchema: boolean;
|
|
6
6
|
};
|
|
7
|
-
declare const isInvalidDictionary: (dictionary: Dictionary | undefined, configuration?: IntlayerConfig, options?: IsInvalidDictionaryOptions) => boolean;
|
|
8
|
-
declare const filterInvalidDictionaries: (dictionaries: (Dictionary | undefined)[] | undefined, configuration: IntlayerConfig, options?: IsInvalidDictionaryOptions) => Dictionary[];
|
|
7
|
+
export declare const isInvalidDictionary: (dictionary: Dictionary | undefined, configuration?: IntlayerConfig, options?: IsInvalidDictionaryOptions) => boolean;
|
|
8
|
+
export declare const filterInvalidDictionaries: (dictionaries: (Dictionary | undefined)[] | undefined, configuration: IntlayerConfig, options?: IsInvalidDictionaryOptions) => Dictionary[];
|
|
9
9
|
//#endregion
|
|
10
|
-
export { filterInvalidDictionaries, isInvalidDictionary };
|
|
11
10
|
//# sourceMappingURL=filterInvalidDictionaries.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filterInvalidDictionaries.d.ts","names":[],"sources":["../../src/filterInvalidDictionaries.ts"],"mappings":";;;KAaK;EAA+B;;
|
|
1
|
+
{"version":3,"file":"filterInvalidDictionaries.d.ts","names":[],"sources":["../../src/filterInvalidDictionaries.ts"],"mappings":";;;KAaK;EAA+B;;qBAEvB,sBAAmB,YAClB,wBAAsB,gBAClB,gBAAc,UACpB;qBA2GC,4BAAyB,eACrB,uCAAqC,eACrC,gBAAc,UACnB,+BACT"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { LocalesValues } from "./intlayer/dist/types/index.js";
|
|
2
1
|
import { Dictionary } from "@intlayer/types/dictionary";
|
|
3
2
|
//#region src/formatDictionary.d.ts
|
|
4
|
-
declare const formatDictionary: (dictionary: Dictionary) => Dictionary;
|
|
5
|
-
declare const formatDictionaries: (dictionaries: Dictionary[]) => Promise<Dictionary[]>;
|
|
6
|
-
declare const formatDictionaryOutput: (dictionary: Dictionary, format: Dictionary['format']) => {
|
|
3
|
+
export declare const formatDictionary: (dictionary: Dictionary) => Dictionary;
|
|
4
|
+
export declare const formatDictionaries: (dictionaries: Dictionary[]) => Promise<Dictionary[]>;
|
|
5
|
+
export declare const formatDictionaryOutput: (dictionary: Dictionary, format: Dictionary['format']) => {
|
|
7
6
|
$schema?: "https://intlayer.org/schema.json";
|
|
8
7
|
id?: import("@intlayer/types").DictionaryId;
|
|
9
8
|
projectIds?: string[];
|
|
@@ -19,7 +18,7 @@ declare const formatDictionaryOutput: (dictionary: Dictionary, format: Dictionar
|
|
|
19
18
|
tags?: string[];
|
|
20
19
|
item?: number;
|
|
21
20
|
variant?: import("@intlayer/types").DictionaryVariantValue | import("@intlayer/types").DictionaryVariantValue[];
|
|
22
|
-
locale?: LocalesValues;
|
|
21
|
+
locale?: import("@intlayer/types").LocalesValues;
|
|
23
22
|
contentAutoTransformation?: import("@intlayer/types").ContentAutoTransformation;
|
|
24
23
|
fill?: import("@intlayer/types").Fill;
|
|
25
24
|
filled?: true;
|
|
@@ -30,7 +29,7 @@ declare const formatDictionaryOutput: (dictionary: Dictionary, format: Dictionar
|
|
|
30
29
|
format: string;
|
|
31
30
|
content: import("@intlayer/core/messageFormat").JsonValue;
|
|
32
31
|
} | Dictionary;
|
|
33
|
-
declare const formatDictionariesOutput: (dictionaries: Dictionary[], format: Dictionary['format']) => ({
|
|
32
|
+
export declare const formatDictionariesOutput: (dictionaries: Dictionary[], format: Dictionary['format']) => ({
|
|
34
33
|
$schema?: "https://intlayer.org/schema.json";
|
|
35
34
|
id?: import("@intlayer/types").DictionaryId;
|
|
36
35
|
projectIds?: string[];
|
|
@@ -46,7 +45,7 @@ declare const formatDictionariesOutput: (dictionaries: Dictionary[], format: Dic
|
|
|
46
45
|
tags?: string[];
|
|
47
46
|
item?: number;
|
|
48
47
|
variant?: import("@intlayer/types").DictionaryVariantValue | import("@intlayer/types").DictionaryVariantValue[];
|
|
49
|
-
locale?: LocalesValues;
|
|
48
|
+
locale?: import("@intlayer/types").LocalesValues;
|
|
50
49
|
contentAutoTransformation?: import("@intlayer/types").ContentAutoTransformation;
|
|
51
50
|
fill?: import("@intlayer/types").Fill;
|
|
52
51
|
filled?: true;
|
|
@@ -58,5 +57,4 @@ declare const formatDictionariesOutput: (dictionaries: Dictionary[], format: Dic
|
|
|
58
57
|
content: import("@intlayer/core/messageFormat").JsonValue;
|
|
59
58
|
} | Dictionary)[];
|
|
60
59
|
//#endregion
|
|
61
|
-
export { formatDictionaries, formatDictionariesOutput, formatDictionary, formatDictionaryOutput };
|
|
62
60
|
//# sourceMappingURL=formatDictionary.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formatDictionary.d.ts","names":[],"sources":["../../src/formatDictionary.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"formatDictionary.d.ts","names":[],"sources":["../../src/formatDictionary.ts"],"mappings":";;qBAYa,mBAAgB,YAAgB,eAAa;qBAoC7C,qBAAkB,cACf,iBACb,QAAQ;qBAEE,yBAAsB,YACrB,YAAU,QACd;;;;;;;;;;;;;;;;;;;;;;;;;;IAmCT;qBAEY,2BAAwB,cACrB,cAAY,QAClB;;;;;;;;;;;;;;;;;;;;;;;;;;IAEoE"}
|