@intlayer/chokidar 8.4.0 → 8.4.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.
Files changed (290) hide show
  1. package/dist/cjs/_utils_asset-SJVy1xMD.cjs +2 -0
  2. package/dist/cjs/build.cjs +1 -1
  3. package/dist/cjs/buildIntlayerDictionary/buildIntlayerDictionary.cjs +1 -1
  4. package/dist/cjs/buildIntlayerDictionary/buildIntlayerDictionary.cjs.map +1 -1
  5. package/dist/cjs/buildIntlayerDictionary/processContentDeclaration.cjs +1 -1
  6. package/dist/cjs/buildIntlayerDictionary/processContentDeclaration.cjs.map +1 -1
  7. package/dist/cjs/buildIntlayerDictionary/writeDynamicDictionary.cjs +1 -1
  8. package/dist/cjs/buildIntlayerDictionary/writeDynamicDictionary.cjs.map +1 -1
  9. package/dist/cjs/buildIntlayerDictionary/writeFetchDictionary.cjs +1 -1
  10. package/dist/cjs/buildIntlayerDictionary/writeFetchDictionary.cjs.map +1 -1
  11. package/dist/cjs/buildIntlayerDictionary/writeMergedDictionary.cjs +1 -1
  12. package/dist/cjs/buildIntlayerDictionary/writeMergedDictionary.cjs.map +1 -1
  13. package/dist/cjs/buildIntlayerDictionary/writeRemoteDictionary.cjs +1 -1
  14. package/dist/cjs/buildIntlayerDictionary/writeRemoteDictionary.cjs.map +1 -1
  15. package/dist/cjs/buildIntlayerDictionary/writeUnmergedDictionary.cjs +1 -1
  16. package/dist/cjs/buildIntlayerDictionary/writeUnmergedDictionary.cjs.map +1 -1
  17. package/dist/cjs/{_virtual/_rolldown/runtime.cjs → chunk-Bmb41Sf3.cjs} +1 -1
  18. package/dist/cjs/cleanOutputDir.cjs +1 -1
  19. package/dist/cjs/cleanOutputDir.cjs.map +1 -1
  20. package/dist/cjs/cleanRemovedContentDeclaration.cjs +1 -1
  21. package/dist/cjs/cleanRemovedContentDeclaration.cjs.map +1 -1
  22. package/dist/cjs/cli.cjs +1 -1
  23. package/dist/cjs/createDictionaryEntryPoint/createDictionaryEntryPoint.cjs +1 -1
  24. package/dist/cjs/createDictionaryEntryPoint/createDictionaryEntryPoint.cjs.map +1 -1
  25. package/dist/cjs/createDictionaryEntryPoint/generateDictionaryListContent.cjs +1 -1
  26. package/dist/cjs/createDictionaryEntryPoint/generateDictionaryListContent.cjs.map +1 -1
  27. package/dist/cjs/createDictionaryEntryPoint/getBuiltDictionariesPath.cjs +1 -1
  28. package/dist/cjs/createDictionaryEntryPoint/getBuiltDictionariesPath.cjs.map +1 -1
  29. package/dist/cjs/createDictionaryEntryPoint/getBuiltDynamicDictionariesPath.cjs +1 -1
  30. package/dist/cjs/createDictionaryEntryPoint/getBuiltDynamicDictionariesPath.cjs.map +1 -1
  31. package/dist/cjs/createDictionaryEntryPoint/getBuiltFetchDictionariesPath.cjs +1 -1
  32. package/dist/cjs/createDictionaryEntryPoint/getBuiltFetchDictionariesPath.cjs.map +1 -1
  33. package/dist/cjs/createDictionaryEntryPoint/getBuiltRemoteDictionariesPath.cjs +1 -1
  34. package/dist/cjs/createDictionaryEntryPoint/getBuiltRemoteDictionariesPath.cjs.map +1 -1
  35. package/dist/cjs/createDictionaryEntryPoint/getBuiltUnmergedDictionariesPath.cjs +1 -1
  36. package/dist/cjs/createDictionaryEntryPoint/getBuiltUnmergedDictionariesPath.cjs.map +1 -1
  37. package/dist/cjs/createType/createModuleAugmentation.cjs +1 -1
  38. package/dist/cjs/createType/createModuleAugmentation.cjs.map +1 -1
  39. package/dist/cjs/createType/createType.cjs +1 -1
  40. package/dist/cjs/createType/createType.cjs.map +1 -1
  41. package/dist/cjs/detectFormatCommand.cjs +1 -1
  42. package/dist/cjs/detectFormatCommand.cjs.map +1 -1
  43. package/dist/cjs/fetchDistantDictionaries.cjs +1 -1
  44. package/dist/cjs/fetchDistantDictionaries.cjs.map +1 -1
  45. package/dist/cjs/filterInvalidDictionaries.cjs +1 -1
  46. package/dist/cjs/filterInvalidDictionaries.cjs.map +1 -1
  47. package/dist/cjs/formatDictionary.cjs +1 -1
  48. package/dist/cjs/formatDictionary.cjs.map +1 -1
  49. package/dist/cjs/getContentDeclarationFileTemplate/getContentDeclarationFileTemplate.cjs +1 -1
  50. package/dist/cjs/getContentDeclarationFileTemplate/getContentDeclarationFileTemplate.cjs.map +1 -1
  51. package/dist/cjs/handleAdditionalContentDeclarationFile.cjs +1 -1
  52. package/dist/cjs/handleAdditionalContentDeclarationFile.cjs.map +1 -1
  53. package/dist/cjs/handleContentDeclarationFileChange.cjs +1 -1
  54. package/dist/cjs/handleContentDeclarationFileChange.cjs.map +1 -1
  55. package/dist/cjs/handleContentDeclarationFileMoved.cjs +1 -1
  56. package/dist/cjs/handleContentDeclarationFileMoved.cjs.map +1 -1
  57. package/dist/cjs/handleUnlinkedContentDeclarationFile.cjs +1 -1
  58. package/dist/cjs/handleUnlinkedContentDeclarationFile.cjs.map +1 -1
  59. package/dist/cjs/init/index.cjs +1 -1
  60. package/dist/cjs/init/index.cjs.map +1 -1
  61. package/dist/cjs/init/utils/configManipulation.cjs +1 -1
  62. package/dist/cjs/init/utils/configManipulation.cjs.map +1 -1
  63. package/dist/cjs/init/utils/fileSystem.cjs +1 -1
  64. package/dist/cjs/init/utils/fileSystem.cjs.map +1 -1
  65. package/dist/cjs/init/utils/tsConfig.cjs +1 -1
  66. package/dist/cjs/init/utils/tsConfig.cjs.map +1 -1
  67. package/dist/cjs/initConfig/index.cjs +1 -1
  68. package/dist/cjs/initConfig/index.cjs.map +1 -1
  69. package/dist/cjs/installMCP/installMCP.cjs +1 -1
  70. package/dist/cjs/installMCP/installMCP.cjs.map +1 -1
  71. package/dist/cjs/installSkills/index.cjs +1 -1
  72. package/dist/cjs/installSkills/index.cjs.map +1 -1
  73. package/dist/cjs/listDictionariesPath.cjs +1 -1
  74. package/dist/cjs/listDictionariesPath.cjs.map +1 -1
  75. package/dist/cjs/listGitFiles.cjs +1 -1
  76. package/dist/cjs/listGitFiles.cjs.map +1 -1
  77. package/dist/cjs/listProjects.cjs +1 -1
  78. package/dist/cjs/listProjects.cjs.map +1 -1
  79. package/dist/cjs/loadDictionaries/getIntlayerBundle.cjs +1 -1
  80. package/dist/cjs/loadDictionaries/getIntlayerBundle.cjs.map +1 -1
  81. package/dist/cjs/loadDictionaries/loadContentDeclaration.cjs +1 -1
  82. package/dist/cjs/loadDictionaries/loadContentDeclaration.cjs.map +1 -1
  83. package/dist/cjs/loadDictionaries/loadDictionaries.cjs +1 -1
  84. package/dist/cjs/loadDictionaries/loadDictionaries.cjs.map +1 -1
  85. package/dist/cjs/loadDictionaries/loadLocalDictionaries.cjs +1 -1
  86. package/dist/cjs/loadDictionaries/loadLocalDictionaries.cjs.map +1 -1
  87. package/dist/cjs/loadDictionaries/loadRemoteDictionaries.cjs +1 -1
  88. package/dist/cjs/loadDictionaries/loadRemoteDictionaries.cjs.map +1 -1
  89. package/dist/cjs/loadDictionaries/log.cjs +1 -1
  90. package/dist/cjs/loadDictionaries/log.cjs.map +1 -1
  91. package/dist/cjs/loadDictionaries/logTypeScriptErrors.cjs +1 -1
  92. package/dist/cjs/loadDictionaries/logTypeScriptErrors.cjs.map +1 -1
  93. package/dist/cjs/logConfigDetails.cjs +1 -1
  94. package/dist/cjs/logConfigDetails.cjs.map +1 -1
  95. package/dist/cjs/prepareIntlayer.cjs +1 -1
  96. package/dist/cjs/prepareIntlayer.cjs.map +1 -1
  97. package/dist/cjs/reduceDictionaryContent/reduceDictionaryContent.cjs +1 -1
  98. package/dist/cjs/reduceDictionaryContent/reduceDictionaryContent.cjs.map +1 -1
  99. package/dist/cjs/utils/autoDecorateContent.cjs +1 -1
  100. package/dist/cjs/utils/autoDecorateContent.cjs.map +1 -1
  101. package/dist/cjs/utils/buildComponentFilesList.cjs +1 -1
  102. package/dist/cjs/utils/buildComponentFilesList.cjs.map +1 -1
  103. package/dist/cjs/utils/buildFilesList.cjs +1 -1
  104. package/dist/cjs/utils/buildFilesList.cjs.map +1 -1
  105. package/dist/cjs/utils/formatter.cjs +1 -1
  106. package/dist/cjs/utils/formatter.cjs.map +1 -1
  107. package/dist/cjs/utils/getPathHash.cjs +1 -1
  108. package/dist/cjs/utils/getPathHash.cjs.map +1 -1
  109. package/dist/cjs/utils/resolveRelativePath.cjs +1 -1
  110. package/dist/cjs/utils/resolveRelativePath.cjs.map +1 -1
  111. package/dist/cjs/utils/runOnce.cjs +1 -1
  112. package/dist/cjs/utils/runOnce.cjs.map +1 -1
  113. package/dist/cjs/utils/runParallel/bin.cjs +1 -1
  114. package/dist/cjs/utils/runParallel/bin.cjs.map +1 -1
  115. package/dist/cjs/utils/runParallel/index.cjs +1 -1
  116. package/dist/cjs/utils/runParallel/index.cjs.map +1 -1
  117. package/dist/cjs/utils/runParallel/pidTree.cjs +1 -1
  118. package/dist/cjs/utils/runParallel/pidTree.cjs.map +1 -1
  119. package/dist/cjs/utils/runParallel/ps.cjs +1 -1
  120. package/dist/cjs/utils/runParallel/ps.cjs.map +1 -1
  121. package/dist/cjs/utils/runParallel/runTask.cjs +1 -1
  122. package/dist/cjs/utils/runParallel/runTask.cjs.map +1 -1
  123. package/dist/cjs/utils/runParallel/spawnPosix.cjs +1 -1
  124. package/dist/cjs/utils/runParallel/spawnPosix.cjs.map +1 -1
  125. package/dist/cjs/utils/runParallel/spawnWin32.cjs +1 -1
  126. package/dist/cjs/utils/runParallel/spawnWin32.cjs.map +1 -1
  127. package/dist/cjs/utils/runParallel/wmic.cjs +1 -1
  128. package/dist/cjs/utils/runParallel/wmic.cjs.map +1 -1
  129. package/dist/cjs/watcher.cjs +1 -1
  130. package/dist/cjs/watcher.cjs.map +1 -1
  131. package/dist/cjs/writeConfiguration/index.cjs +1 -1
  132. package/dist/cjs/writeConfiguration/index.cjs.map +1 -1
  133. package/dist/cjs/writeContentDeclaration/processContentDeclarationContent.cjs +1 -1
  134. package/dist/cjs/writeContentDeclaration/processContentDeclarationContent.cjs.map +1 -1
  135. package/dist/cjs/writeContentDeclaration/transformJSFile.cjs +1 -1
  136. package/dist/cjs/writeContentDeclaration/transformJSFile.cjs.map +1 -1
  137. package/dist/cjs/writeContentDeclaration/transformJSONFile.cjs +1 -1
  138. package/dist/cjs/writeContentDeclaration/transformJSONFile.cjs.map +1 -1
  139. package/dist/cjs/writeContentDeclaration/writeContentDeclaration.cjs +1 -1
  140. package/dist/cjs/writeContentDeclaration/writeContentDeclaration.cjs.map +1 -1
  141. package/dist/cjs/writeContentDeclaration/writeJSFile.cjs +1 -1
  142. package/dist/cjs/writeContentDeclaration/writeJSFile.cjs.map +1 -1
  143. package/dist/cjs/writeFileIfChanged.cjs +1 -1
  144. package/dist/cjs/writeFileIfChanged.cjs.map +1 -1
  145. package/dist/esm/{_virtual/_utils_asset.mjs → _utils_asset-4w8dPH9r.mjs} +1 -1
  146. package/dist/esm/build.mjs +1 -1
  147. package/dist/esm/{_virtual/_rolldown/runtime.mjs → chunk-DDgYwkfe.mjs} +1 -1
  148. package/dist/esm/cli.mjs +1 -1
  149. package/dist/esm/init/index.mjs +1 -1
  150. package/dist/esm/init/index.mjs.map +1 -1
  151. package/dist/esm/init/utils/configManipulation.mjs +1 -1
  152. package/dist/esm/init/utils/configManipulation.mjs.map +1 -1
  153. package/dist/esm/initConfig/index.mjs +1 -1
  154. package/dist/esm/initConfig/index.mjs.map +1 -1
  155. package/dist/esm/installMCP/installMCP.mjs +1 -1
  156. package/dist/esm/installMCP/installMCP.mjs.map +1 -1
  157. package/dist/esm/installSkills/index.mjs +1 -1
  158. package/dist/esm/installSkills/index.mjs.map +1 -1
  159. package/dist/esm/listDictionariesPath.mjs +1 -1
  160. package/dist/esm/listDictionariesPath.mjs.map +1 -1
  161. package/dist/esm/loadDictionaries/getIntlayerBundle.mjs +1 -1
  162. package/dist/esm/loadDictionaries/getIntlayerBundle.mjs.map +1 -1
  163. package/dist/esm/utils/buildComponentFilesList.mjs +1 -1
  164. package/dist/esm/utils/buildComponentFilesList.mjs.map +1 -1
  165. package/dist/esm/utils/formatter.mjs +1 -1
  166. package/dist/esm/utils/formatter.mjs.map +1 -1
  167. package/dist/esm/watcher.mjs +1 -1
  168. package/dist/esm/watcher.mjs.map +1 -1
  169. package/dist/esm/writeConfiguration/index.mjs +1 -1
  170. package/dist/esm/writeConfiguration/index.mjs.map +1 -1
  171. package/dist/esm/writeContentDeclaration/processContentDeclarationContent.mjs.map +1 -1
  172. package/dist/types/build.d.ts +20 -20
  173. package/dist/types/buildIntlayerDictionary/buildIntlayerDictionary.d.ts +2 -24
  174. package/dist/types/buildIntlayerDictionary/index.d.ts +2 -2
  175. package/dist/types/buildIntlayerDictionary/processContentDeclaration.d.ts +2 -11
  176. package/dist/types/buildIntlayerDictionary/writeDynamicDictionary.d.ts +2 -36
  177. package/dist/types/buildIntlayerDictionary/writeFetchDictionary.d.ts +1 -1
  178. package/dist/types/buildIntlayerDictionary/writeFetchDictionary.d.ts.map +1 -1
  179. package/dist/types/buildIntlayerDictionary/writeMergedDictionary.d.ts +2 -30
  180. package/dist/types/buildIntlayerDictionary/writeUnmergedDictionary.d.ts +2 -34
  181. package/dist/types/buildIntlayerDictionary-BGj5jDFy.d.ts +24 -0
  182. package/dist/types/buildIntlayerDictionary-BGj5jDFy.d.ts.map +1 -0
  183. package/dist/types/cli.d.ts +6 -6
  184. package/dist/types/createDictionaryEntryPoint/createDictionaryEntryPoint.d.ts +2 -14
  185. package/dist/types/createDictionaryEntryPoint/generateDictionaryListContent.d.ts +2 -10
  186. package/dist/types/createDictionaryEntryPoint/getBuiltDictionariesPath.d.ts +2 -10
  187. package/dist/types/createDictionaryEntryPoint/getBuiltDynamicDictionariesPath.d.ts +2 -10
  188. package/dist/types/createDictionaryEntryPoint/getBuiltFetchDictionariesPath.d.ts +2 -10
  189. package/dist/types/createDictionaryEntryPoint/getBuiltRemoteDictionariesPath.d.ts +2 -10
  190. package/dist/types/createDictionaryEntryPoint/getBuiltUnmergedDictionariesPath.d.ts +2 -10
  191. package/dist/types/createDictionaryEntryPoint/index.d.ts +7 -7
  192. package/dist/types/createDictionaryEntryPoint-Bc5lHSiY.d.ts +14 -0
  193. package/dist/types/createDictionaryEntryPoint-Bc5lHSiY.d.ts.map +1 -0
  194. package/dist/types/createModuleAugmentation-D1eIVnjg.d.ts +9 -0
  195. package/dist/types/createModuleAugmentation-D1eIVnjg.d.ts.map +1 -0
  196. package/dist/types/createType/createModuleAugmentation.d.ts +2 -9
  197. package/dist/types/createType/createType.d.ts +2 -12
  198. package/dist/types/createType/index.d.ts +2 -2
  199. package/dist/types/createType--rDwdg2t.d.ts +12 -0
  200. package/dist/types/createType--rDwdg2t.d.ts.map +1 -0
  201. package/dist/types/detectExportedComponentName-DVXsp_FG.d.ts +12 -0
  202. package/dist/types/detectExportedComponentName-DVXsp_FG.d.ts.map +1 -0
  203. package/dist/types/dictionaryStatus-DPVO37qe.d.ts +5 -0
  204. package/dist/types/dictionaryStatus-DPVO37qe.d.ts.map +1 -0
  205. package/dist/types/fetchDistantDictionaries.d.ts +1 -1
  206. package/dist/types/fetchDistantDictionaries.d.ts.map +1 -1
  207. package/dist/types/generateDictionaryListContent-DAtHG6SR.d.ts +10 -0
  208. package/dist/types/generateDictionaryListContent-DAtHG6SR.d.ts.map +1 -0
  209. package/dist/types/getBuiltDictionariesPath-C4it65a1.d.ts +10 -0
  210. package/dist/types/getBuiltDictionariesPath-C4it65a1.d.ts.map +1 -0
  211. package/dist/types/getBuiltDynamicDictionariesPath-Cj9EWnjT.d.ts +10 -0
  212. package/dist/types/getBuiltDynamicDictionariesPath-Cj9EWnjT.d.ts.map +1 -0
  213. package/dist/types/getBuiltFetchDictionariesPath-1JleRhT3.d.ts +10 -0
  214. package/dist/types/getBuiltFetchDictionariesPath-1JleRhT3.d.ts.map +1 -0
  215. package/dist/types/getBuiltRemoteDictionariesPath-DHOmqNCr.d.ts +10 -0
  216. package/dist/types/getBuiltRemoteDictionariesPath-DHOmqNCr.d.ts.map +1 -0
  217. package/dist/types/getBuiltUnmergedDictionariesPath-GUmmLxTB.d.ts +10 -0
  218. package/dist/types/getBuiltUnmergedDictionariesPath-GUmmLxTB.d.ts.map +1 -0
  219. package/dist/types/getContentDeclarationFileTemplate/getContentDeclarationFileTemplate.d.ts +2 -7
  220. package/dist/types/getContentDeclarationFileTemplate/index.d.ts +1 -1
  221. package/dist/types/getContentDeclarationFileTemplate-Dz3rnFy9.d.ts +7 -0
  222. package/dist/types/getContentDeclarationFileTemplate-Dz3rnFy9.d.ts.map +1 -0
  223. package/dist/types/getFormatFromExtension-SdXYWfPx.d.ts +8 -0
  224. package/dist/types/getFormatFromExtension-SdXYWfPx.d.ts.map +1 -0
  225. package/dist/types/listDictionariesPath.d.ts.map +1 -1
  226. package/dist/types/loadContentDeclaration-CBMS4vkA.d.ts +12 -0
  227. package/dist/types/loadContentDeclaration-CBMS4vkA.d.ts.map +1 -0
  228. package/dist/types/loadDictionaries/index.d.ts +4 -4
  229. package/dist/types/loadDictionaries/loadContentDeclaration.d.ts +2 -12
  230. package/dist/types/loadDictionaries/loadDictionaries.d.ts +2 -23
  231. package/dist/types/loadDictionaries/loadLocalDictionaries.d.ts +2 -8
  232. package/dist/types/loadDictionaries/loadRemoteDictionaries.d.ts +2 -15
  233. package/dist/types/loadDictionaries/log.d.ts +1 -1
  234. package/dist/types/loadDictionaries-BIqHwtYE.d.ts +23 -0
  235. package/dist/types/loadDictionaries-BIqHwtYE.d.ts.map +1 -0
  236. package/dist/types/loadLocalDictionaries-CNmVaw0c.d.ts +8 -0
  237. package/dist/types/loadLocalDictionaries-CNmVaw0c.d.ts.map +1 -0
  238. package/dist/types/loadRemoteDictionaries-MoITTb7W.d.ts +15 -0
  239. package/dist/types/loadRemoteDictionaries-MoITTb7W.d.ts.map +1 -0
  240. package/dist/types/processContentDeclaration-CAvrHaIT.d.ts +11 -0
  241. package/dist/types/processContentDeclaration-CAvrHaIT.d.ts.map +1 -0
  242. package/dist/types/transformJSFile-Cg0LkeLb.d.ts +11 -0
  243. package/dist/types/transformJSFile-Cg0LkeLb.d.ts.map +1 -0
  244. package/dist/types/utils/getFormatFromExtension.d.ts +2 -8
  245. package/dist/types/utils/index.d.ts +1 -1
  246. package/dist/types/watcher.d.ts.map +1 -1
  247. package/dist/types/writeConfiguration/index.d.ts.map +1 -1
  248. package/dist/types/writeContentDeclaration/detectExportedComponentName.d.ts +2 -12
  249. package/dist/types/writeContentDeclaration/dictionaryStatus.d.ts +2 -5
  250. package/dist/types/writeContentDeclaration/index.d.ts +5 -5
  251. package/dist/types/writeContentDeclaration/transformJSFile.d.ts +2 -11
  252. package/dist/types/writeContentDeclaration/writeContentDeclaration.d.ts +2 -19
  253. package/dist/types/writeContentDeclaration/writeJSFile.d.ts +2 -14
  254. package/dist/types/writeContentDeclaration-XdGxj0KP.d.ts +19 -0
  255. package/dist/types/writeContentDeclaration-XdGxj0KP.d.ts.map +1 -0
  256. package/dist/types/writeDynamicDictionary-DE3SJg-g.d.ts +36 -0
  257. package/dist/types/writeDynamicDictionary-DE3SJg-g.d.ts.map +1 -0
  258. package/dist/types/writeJSFile-kK95jzg_.d.ts +14 -0
  259. package/dist/types/writeJSFile-kK95jzg_.d.ts.map +1 -0
  260. package/dist/types/writeMergedDictionary-C4EvgXbL.d.ts +30 -0
  261. package/dist/types/writeMergedDictionary-C4EvgXbL.d.ts.map +1 -0
  262. package/dist/types/writeUnmergedDictionary-Cxx51isz.d.ts +34 -0
  263. package/dist/types/writeUnmergedDictionary-Cxx51isz.d.ts.map +1 -0
  264. package/package.json +16 -8
  265. package/dist/cjs/_virtual/_utils_asset.cjs +0 -2
  266. package/dist/types/buildIntlayerDictionary/buildIntlayerDictionary.d.ts.map +0 -1
  267. package/dist/types/buildIntlayerDictionary/processContentDeclaration.d.ts.map +0 -1
  268. package/dist/types/buildIntlayerDictionary/writeDynamicDictionary.d.ts.map +0 -1
  269. package/dist/types/buildIntlayerDictionary/writeMergedDictionary.d.ts.map +0 -1
  270. package/dist/types/buildIntlayerDictionary/writeUnmergedDictionary.d.ts.map +0 -1
  271. package/dist/types/createDictionaryEntryPoint/createDictionaryEntryPoint.d.ts.map +0 -1
  272. package/dist/types/createDictionaryEntryPoint/generateDictionaryListContent.d.ts.map +0 -1
  273. package/dist/types/createDictionaryEntryPoint/getBuiltDictionariesPath.d.ts.map +0 -1
  274. package/dist/types/createDictionaryEntryPoint/getBuiltDynamicDictionariesPath.d.ts.map +0 -1
  275. package/dist/types/createDictionaryEntryPoint/getBuiltFetchDictionariesPath.d.ts.map +0 -1
  276. package/dist/types/createDictionaryEntryPoint/getBuiltRemoteDictionariesPath.d.ts.map +0 -1
  277. package/dist/types/createDictionaryEntryPoint/getBuiltUnmergedDictionariesPath.d.ts.map +0 -1
  278. package/dist/types/createType/createModuleAugmentation.d.ts.map +0 -1
  279. package/dist/types/createType/createType.d.ts.map +0 -1
  280. package/dist/types/getContentDeclarationFileTemplate/getContentDeclarationFileTemplate.d.ts.map +0 -1
  281. package/dist/types/loadDictionaries/loadContentDeclaration.d.ts.map +0 -1
  282. package/dist/types/loadDictionaries/loadDictionaries.d.ts.map +0 -1
  283. package/dist/types/loadDictionaries/loadLocalDictionaries.d.ts.map +0 -1
  284. package/dist/types/loadDictionaries/loadRemoteDictionaries.d.ts.map +0 -1
  285. package/dist/types/utils/getFormatFromExtension.d.ts.map +0 -1
  286. package/dist/types/writeContentDeclaration/detectExportedComponentName.d.ts.map +0 -1
  287. package/dist/types/writeContentDeclaration/dictionaryStatus.d.ts.map +0 -1
  288. package/dist/types/writeContentDeclaration/transformJSFile.d.ts.map +0 -1
  289. package/dist/types/writeContentDeclaration/writeContentDeclaration.d.ts.map +0 -1
  290. package/dist/types/writeContentDeclaration/writeJSFile.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"processContentDeclarationContent.mjs","names":[],"sources":["../../../src/writeContentDeclaration/processContentDeclarationContent.ts"],"sourcesContent":["import { existsSync, mkdirSync, writeFileSync } from 'node:fs';\nimport { dirname, join } from 'node:path';\nimport { colorizePath, x } from '@intlayer/config/logger';\nimport { deepTransformNode, type Plugins } from '@intlayer/core/interpreter';\nimport type {\n FileContent,\n FileContentConstructor,\n HTMLContent,\n HTMLContentConstructor,\n InsertionContent,\n InsertionContentConstructor,\n MarkdownContent,\n MarkdownContentConstructor,\n} from '@intlayer/core/transpiler';\nimport type { Dictionary } from '@intlayer/types/dictionary';;\nimport { NodeType } from '@intlayer/types/nodeType';\n\n/**\n * Write file plugin\n */\n\nconst writeFilePlugin: Plugins = {\n id: 'write-file-plugin',\n canHandle: (node) =>\n typeof node === 'object' && node?.nodeType === NodeType.File,\n transform: (node: FileContent) => {\n const fileContent = node.content;\n const filePath = node.fixedPath;\n\n if (typeof fileContent !== 'string') {\n throw new Error('File content must be a string');\n }\n\n if (typeof filePath !== 'string') {\n throw new Error('File path must be a string');\n }\n\n // Write the file to the file system\n try {\n const absoluteFilePath = join(process.cwd(), filePath);\n\n // Create the file directory if it doesn't exist\n const fileDirectory = dirname(absoluteFilePath);\n\n if (!existsSync(fileDirectory)) {\n mkdirSync(fileDirectory, { recursive: true });\n }\n\n // Write the file\n writeFileSync(absoluteFilePath, fileContent);\n } catch (error) {\n throw new Error(\n `${x} Error writing file to ${colorizePath(filePath)}: ${error}`\n );\n }\n\n const transformedFileContent: FileContentConstructor = {\n nodeType: NodeType.File,\n [NodeType.File]: node.file,\n };\n\n return transformedFileContent;\n },\n};\n\n/**\n * Markdown file plugin\n */\n\nconst markdownFilePlugin: Plugins = {\n id: 'markdown-file-plugin',\n canHandle: (node) =>\n typeof node === 'object' && node?.nodeType === NodeType.Markdown,\n transform: (node: MarkdownContent, props, deepTransformNode) => {\n const simplifiedMarkdownNode: MarkdownContentConstructor = {\n nodeType: NodeType.Markdown,\n [NodeType.Markdown]: deepTransformNode(node.markdown, props),\n };\n\n return simplifiedMarkdownNode;\n },\n};\n\n/**\n * Insertion file plugin\n */\n\nconst insertionFilePlugin: Plugins = {\n id: 'insertion-file-plugin',\n canHandle: (node) =>\n typeof node === 'object' && node?.nodeType === NodeType.Insertion,\n transform: (node: InsertionContent, props, deepTransformNode) => {\n const simplifiedInsertionNode: InsertionContentConstructor = {\n nodeType: NodeType.Insertion,\n [NodeType.Insertion]: deepTransformNode(node.insertion, props),\n };\n\n return simplifiedInsertionNode;\n },\n};\n\n/**\n * HTML file plugin\n */\n\nconst htmlFilePlugin: Plugins = {\n id: 'html-file-plugin',\n canHandle: (node) =>\n typeof node === 'object' && node?.nodeType === NodeType.HTML,\n transform: (node: HTMLContent, props, deepTransformNode) => {\n const simplifiedHTMLNode: HTMLContentConstructor = {\n nodeType: NodeType.HTML,\n [NodeType.HTML]: deepTransformNode(node.html, props),\n };\n\n return simplifiedHTMLNode;\n },\n};\n\n/**\n * Process content declaration content\n *\n * It filter node that are autogenerated by intlayer to do not rewrite them in the content declaration file.\n *\n * And write external sources as file content if necessary.\n */\nexport const processContentDeclarationContent = async (\n dictionary: Dictionary\n) =>\n deepTransformNode(dictionary, {\n dictionaryKey: dictionary.key,\n keyPath: [],\n plugins: [\n writeFilePlugin,\n markdownFilePlugin,\n insertionFilePlugin,\n htmlFilePlugin,\n ],\n });\n"],"mappings":"sSAqBA,MAAM,EAA2B,CAC/B,GAAI,oBACJ,UAAY,GACV,OAAO,GAAS,UAAY,GAAM,WAAa,EAAS,KAC1D,UAAY,GAAsB,CAChC,IAAM,EAAc,EAAK,QACnB,EAAW,EAAK,UAEtB,GAAI,OAAO,GAAgB,SACzB,MAAU,MAAM,gCAAgC,CAGlD,GAAI,OAAO,GAAa,SACtB,MAAU,MAAM,6BAA6B,CAI/C,GAAI,CACF,IAAM,EAAmB,EAAK,QAAQ,KAAK,CAAE,EAAS,CAGhD,EAAgB,EAAQ,EAAiB,CAE1C,EAAW,EAAc,EAC5B,EAAU,EAAe,CAAE,UAAW,GAAM,CAAC,CAI/C,EAAc,EAAkB,EAAY,OACrC,EAAO,CACd,MAAU,MACR,GAAG,EAAE,yBAAyB,EAAa,EAAS,CAAC,IAAI,IAC1D,CAQH,MALuD,CACrD,SAAU,EAAS,MAClB,EAAS,MAAO,EAAK,KACvB,EAIJ,CAMK,EAA8B,CAClC,GAAI,uBACJ,UAAY,GACV,OAAO,GAAS,UAAY,GAAM,WAAa,EAAS,SAC1D,WAAY,EAAuB,EAAO,KACmB,CACzD,SAAU,EAAS,UAClB,EAAS,UAAW,EAAkB,EAAK,SAAU,EAAM,CAC7D,EAIJ,CAMK,EAA+B,CACnC,GAAI,wBACJ,UAAY,GACV,OAAO,GAAS,UAAY,GAAM,WAAa,EAAS,UAC1D,WAAY,EAAwB,EAAO,KACoB,CAC3D,SAAU,EAAS,WAClB,EAAS,WAAY,EAAkB,EAAK,UAAW,EAAM,CAC/D,EAIJ,CAMK,EAA0B,CAC9B,GAAI,mBACJ,UAAY,GACV,OAAO,GAAS,UAAY,GAAM,WAAa,EAAS,KAC1D,WAAY,EAAmB,EAAO,KACe,CACjD,SAAU,EAAS,MAClB,EAAS,MAAO,EAAkB,EAAK,KAAM,EAAM,CACrD,EAIJ,CASY,EAAmC,KAC9C,IAEA,EAAkB,EAAY,CAC5B,cAAe,EAAW,IAC1B,QAAS,EAAE,CACX,QAAS,CACP,EACA,EACA,EACA,EACD,CACF,CAAC"}
1
+ {"version":3,"file":"processContentDeclarationContent.mjs","names":[],"sources":["../../../src/writeContentDeclaration/processContentDeclarationContent.ts"],"sourcesContent":["import { existsSync, mkdirSync, writeFileSync } from 'node:fs';\nimport { dirname, join } from 'node:path';\nimport { colorizePath, x } from '@intlayer/config/logger';\nimport { deepTransformNode, type Plugins } from '@intlayer/core/interpreter';\nimport type {\n FileContent,\n FileContentConstructor,\n HTMLContent,\n HTMLContentConstructor,\n InsertionContent,\n InsertionContentConstructor,\n MarkdownContent,\n MarkdownContentConstructor,\n} from '@intlayer/core/transpiler';\nimport type { Dictionary } from '@intlayer/types/dictionary';\nimport { NodeType } from '@intlayer/types/nodeType';\n\n/**\n * Write file plugin\n */\n\nconst writeFilePlugin: Plugins = {\n id: 'write-file-plugin',\n canHandle: (node) =>\n typeof node === 'object' && node?.nodeType === NodeType.File,\n transform: (node: FileContent) => {\n const fileContent = node.content;\n const filePath = node.fixedPath;\n\n if (typeof fileContent !== 'string') {\n throw new Error('File content must be a string');\n }\n\n if (typeof filePath !== 'string') {\n throw new Error('File path must be a string');\n }\n\n // Write the file to the file system\n try {\n const absoluteFilePath = join(process.cwd(), filePath);\n\n // Create the file directory if it doesn't exist\n const fileDirectory = dirname(absoluteFilePath);\n\n if (!existsSync(fileDirectory)) {\n mkdirSync(fileDirectory, { recursive: true });\n }\n\n // Write the file\n writeFileSync(absoluteFilePath, fileContent);\n } catch (error) {\n throw new Error(\n `${x} Error writing file to ${colorizePath(filePath)}: ${error}`\n );\n }\n\n const transformedFileContent: FileContentConstructor = {\n nodeType: NodeType.File,\n [NodeType.File]: node.file,\n };\n\n return transformedFileContent;\n },\n};\n\n/**\n * Markdown file plugin\n */\n\nconst markdownFilePlugin: Plugins = {\n id: 'markdown-file-plugin',\n canHandle: (node) =>\n typeof node === 'object' && node?.nodeType === NodeType.Markdown,\n transform: (node: MarkdownContent, props, deepTransformNode) => {\n const simplifiedMarkdownNode: MarkdownContentConstructor = {\n nodeType: NodeType.Markdown,\n [NodeType.Markdown]: deepTransformNode(node.markdown, props),\n };\n\n return simplifiedMarkdownNode;\n },\n};\n\n/**\n * Insertion file plugin\n */\n\nconst insertionFilePlugin: Plugins = {\n id: 'insertion-file-plugin',\n canHandle: (node) =>\n typeof node === 'object' && node?.nodeType === NodeType.Insertion,\n transform: (node: InsertionContent, props, deepTransformNode) => {\n const simplifiedInsertionNode: InsertionContentConstructor = {\n nodeType: NodeType.Insertion,\n [NodeType.Insertion]: deepTransformNode(node.insertion, props),\n };\n\n return simplifiedInsertionNode;\n },\n};\n\n/**\n * HTML file plugin\n */\n\nconst htmlFilePlugin: Plugins = {\n id: 'html-file-plugin',\n canHandle: (node) =>\n typeof node === 'object' && node?.nodeType === NodeType.HTML,\n transform: (node: HTMLContent, props, deepTransformNode) => {\n const simplifiedHTMLNode: HTMLContentConstructor = {\n nodeType: NodeType.HTML,\n [NodeType.HTML]: deepTransformNode(node.html, props),\n };\n\n return simplifiedHTMLNode;\n },\n};\n\n/**\n * Process content declaration content\n *\n * It filter node that are autogenerated by intlayer to do not rewrite them in the content declaration file.\n *\n * And write external sources as file content if necessary.\n */\nexport const processContentDeclarationContent = async (\n dictionary: Dictionary\n) =>\n deepTransformNode(dictionary, {\n dictionaryKey: dictionary.key,\n keyPath: [],\n plugins: [\n writeFilePlugin,\n markdownFilePlugin,\n insertionFilePlugin,\n htmlFilePlugin,\n ],\n });\n"],"mappings":"sSAqBA,MAAM,EAA2B,CAC/B,GAAI,oBACJ,UAAY,GACV,OAAO,GAAS,UAAY,GAAM,WAAa,EAAS,KAC1D,UAAY,GAAsB,CAChC,IAAM,EAAc,EAAK,QACnB,EAAW,EAAK,UAEtB,GAAI,OAAO,GAAgB,SACzB,MAAU,MAAM,gCAAgC,CAGlD,GAAI,OAAO,GAAa,SACtB,MAAU,MAAM,6BAA6B,CAI/C,GAAI,CACF,IAAM,EAAmB,EAAK,QAAQ,KAAK,CAAE,EAAS,CAGhD,EAAgB,EAAQ,EAAiB,CAE1C,EAAW,EAAc,EAC5B,EAAU,EAAe,CAAE,UAAW,GAAM,CAAC,CAI/C,EAAc,EAAkB,EAAY,OACrC,EAAO,CACd,MAAU,MACR,GAAG,EAAE,yBAAyB,EAAa,EAAS,CAAC,IAAI,IAC1D,CAQH,MALuD,CACrD,SAAU,EAAS,MAClB,EAAS,MAAO,EAAK,KACvB,EAIJ,CAMK,EAA8B,CAClC,GAAI,uBACJ,UAAY,GACV,OAAO,GAAS,UAAY,GAAM,WAAa,EAAS,SAC1D,WAAY,EAAuB,EAAO,KACmB,CACzD,SAAU,EAAS,UAClB,EAAS,UAAW,EAAkB,EAAK,SAAU,EAAM,CAC7D,EAIJ,CAMK,EAA+B,CACnC,GAAI,wBACJ,UAAY,GACV,OAAO,GAAS,UAAY,GAAM,WAAa,EAAS,UAC1D,WAAY,EAAwB,EAAO,KACoB,CAC3D,SAAU,EAAS,WAClB,EAAS,WAAY,EAAkB,EAAK,UAAW,EAAM,CAC/D,EAIJ,CAMK,EAA0B,CAC9B,GAAI,mBACJ,UAAY,GACV,OAAO,GAAS,UAAY,GAAM,WAAa,EAAS,KAC1D,WAAY,EAAmB,EAAO,KACe,CACjD,SAAU,EAAS,MAClB,EAAS,MAAO,EAAkB,EAAK,KAAM,EAAM,CACrD,EAIJ,CASY,EAAmC,KAC9C,IAEA,EAAkB,EAAY,CAC5B,cAAe,EAAW,IAC1B,QAAS,EAAE,CACX,QAAS,CACP,EACA,EACA,EACA,EACD,CACF,CAAC"}
@@ -1,25 +1,25 @@
1
- import { BuildDictionariesOptions, buildDictionary } from "./buildIntlayerDictionary/buildIntlayerDictionary.js";
2
- import { processContentDeclaration } from "./buildIntlayerDictionary/processContentDeclaration.js";
1
+ import { n as buildDictionary, t as BuildDictionariesOptions } from "./buildIntlayerDictionary-BGj5jDFy.js";
2
+ import { t as processContentDeclaration } from "./processContentDeclaration-CAvrHaIT.js";
3
3
  import { cleanOutputDir } from "./cleanOutputDir.js";
4
- import { CreateDictionaryEntryPointOptions, createDictionaryEntryPoint } from "./createDictionaryEntryPoint/createDictionaryEntryPoint.js";
5
- import { generateDictionaryListContent } from "./createDictionaryEntryPoint/generateDictionaryListContent.js";
6
- import { getBuiltDictionariesPath } from "./createDictionaryEntryPoint/getBuiltDictionariesPath.js";
7
- import { getBuiltDynamicDictionariesPath } from "./createDictionaryEntryPoint/getBuiltDynamicDictionariesPath.js";
8
- import { getBuiltFetchDictionariesPath } from "./createDictionaryEntryPoint/getBuiltFetchDictionariesPath.js";
9
- import { getBuiltRemoteDictionariesPath } from "./createDictionaryEntryPoint/getBuiltRemoteDictionariesPath.js";
10
- import { getBuiltUnmergedDictionariesPath } from "./createDictionaryEntryPoint/getBuiltUnmergedDictionariesPath.js";
11
- import { createModuleAugmentation, getTypeName } from "./createType/createModuleAugmentation.js";
12
- import { createTypes, generateTypeScriptType } from "./createType/createType.js";
4
+ import { n as createDictionaryEntryPoint, t as CreateDictionaryEntryPointOptions } from "./createDictionaryEntryPoint-Bc5lHSiY.js";
5
+ import { t as generateDictionaryListContent } from "./generateDictionaryListContent-DAtHG6SR.js";
6
+ import { t as getBuiltDictionariesPath } from "./getBuiltDictionariesPath-C4it65a1.js";
7
+ import { t as getBuiltDynamicDictionariesPath } from "./getBuiltDynamicDictionariesPath-Cj9EWnjT.js";
8
+ import { t as getBuiltFetchDictionariesPath } from "./getBuiltFetchDictionariesPath-1JleRhT3.js";
9
+ import { t as getBuiltRemoteDictionariesPath } from "./getBuiltRemoteDictionariesPath-DHOmqNCr.js";
10
+ import { t as getBuiltUnmergedDictionariesPath } from "./getBuiltUnmergedDictionariesPath-GUmmLxTB.js";
11
+ import { n as getTypeName, t as createModuleAugmentation } from "./createModuleAugmentation-D1eIVnjg.js";
12
+ import { n as generateTypeScriptType, t as createTypes } from "./createType--rDwdg2t.js";
13
13
  import { formatDictionaries, formatDictionariesOutput, formatDictionary, formatDictionaryOutput } from "./formatDictionary.js";
14
- import { DictionariesStatus, loadDictionaries } from "./loadDictionaries/loadDictionaries.js";
15
- import { ensureIntlayerBundle, formatLocalDictionaries, loadContentDeclaration, loadContentDeclarations } from "./loadDictionaries/loadContentDeclaration.js";
16
- import { loadLocalDictionaries } from "./loadDictionaries/loadLocalDictionaries.js";
17
- import { formatDistantDictionaries, loadRemoteDictionaries } from "./loadDictionaries/loadRemoteDictionaries.js";
14
+ import { n as loadDictionaries, t as DictionariesStatus } from "./loadDictionaries-BIqHwtYE.js";
15
+ import { i as loadContentDeclarations, n as formatLocalDictionaries, r as loadContentDeclaration, t as ensureIntlayerBundle } from "./loadContentDeclaration-CBMS4vkA.js";
16
+ import { t as loadLocalDictionaries } from "./loadLocalDictionaries-CNmVaw0c.js";
17
+ import { n as loadRemoteDictionaries, t as formatDistantDictionaries } from "./loadRemoteDictionaries-MoITTb7W.js";
18
18
  import { prepareIntlayer } from "./prepareIntlayer.js";
19
19
  import { isCachedConfigurationUpToDate, writeConfiguration } from "./writeConfiguration/index.js";
20
- import { detectExportedComponentName } from "./writeContentDeclaration/detectExportedComponentName.js";
21
- import { DictionaryStatus } from "./writeContentDeclaration/dictionaryStatus.js";
22
- import { transformJSFile } from "./writeContentDeclaration/transformJSFile.js";
23
- import { writeContentDeclaration } from "./writeContentDeclaration/writeContentDeclaration.js";
24
- import { writeJSFile } from "./writeContentDeclaration/writeJSFile.js";
20
+ import { t as detectExportedComponentName } from "./detectExportedComponentName-DVXsp_FG.js";
21
+ import { t as DictionaryStatus } from "./dictionaryStatus-DPVO37qe.js";
22
+ import { t as transformJSFile } from "./transformJSFile-Cg0LkeLb.js";
23
+ import { t as writeContentDeclaration } from "./writeContentDeclaration-XdGxj0KP.js";
24
+ import { t as writeJSFile } from "./writeJSFile-kK95jzg_.js";
25
25
  export { BuildDictionariesOptions, CreateDictionaryEntryPointOptions, DictionariesStatus, DictionaryStatus, buildDictionary, cleanOutputDir, createDictionaryEntryPoint, createModuleAugmentation, createTypes, detectExportedComponentName, ensureIntlayerBundle, formatDictionaries, formatDictionariesOutput, formatDictionary, formatDictionaryOutput, formatDistantDictionaries, formatLocalDictionaries, generateDictionaryListContent, generateTypeScriptType, getBuiltDictionariesPath, getBuiltDynamicDictionariesPath, getBuiltFetchDictionariesPath, getBuiltRemoteDictionariesPath, getBuiltUnmergedDictionariesPath, getTypeName, isCachedConfigurationUpToDate, loadContentDeclaration, loadContentDeclarations, loadDictionaries, loadLocalDictionaries, loadRemoteDictionaries, prepareIntlayer, processContentDeclaration, transformJSFile, writeConfiguration, writeContentDeclaration, writeJSFile };
@@ -1,24 +1,2 @@
1
- import { UnmergedDictionaryOutput } from "./writeUnmergedDictionary.js";
2
- import { MergedDictionaryOutput } from "./writeMergedDictionary.js";
3
- import { LocalizedDictionaryOutput } from "./writeDynamicDictionary.js";
4
- import * as _intlayer_types_config0 from "@intlayer/types/config";
5
- import { Dictionary } from "@intlayer/types/dictionary";
6
-
7
- //#region src/buildIntlayerDictionary/buildIntlayerDictionary.d.ts
8
- type BuildDictionariesOptions = Partial<{
9
- formats: ('cjs' | 'esm')[];
10
- importOtherDictionaries: boolean;
11
- env: 'prod' | 'dev';
12
- }>;
13
- /**
14
- * This function transpile the bundled code to to make dictionaries as JSON files
15
- */
16
- declare const buildDictionary: (localDictionariesEntries: Dictionary[], configuration?: _intlayer_types_config0.IntlayerConfig, options?: BuildDictionariesOptions) => Promise<{
17
- unmergedDictionaries: UnmergedDictionaryOutput;
18
- mergedDictionaries: MergedDictionaryOutput;
19
- dynamicDictionaries: LocalizedDictionaryOutput;
20
- fetchDictionaries: LocalizedDictionaryOutput;
21
- }>;
22
- //#endregion
23
- export { BuildDictionariesOptions, buildDictionary };
24
- //# sourceMappingURL=buildIntlayerDictionary.d.ts.map
1
+ import { n as buildDictionary, t as BuildDictionariesOptions } from "../buildIntlayerDictionary-BGj5jDFy.js";
2
+ export { BuildDictionariesOptions, buildDictionary };
@@ -1,3 +1,3 @@
1
- import { BuildDictionariesOptions, buildDictionary } from "./buildIntlayerDictionary.js";
2
- import { processContentDeclaration } from "./processContentDeclaration.js";
1
+ import { n as buildDictionary, t as BuildDictionariesOptions } from "../buildIntlayerDictionary-BGj5jDFy.js";
2
+ import { t as processContentDeclaration } from "../processContentDeclaration-CAvrHaIT.js";
3
3
  export { BuildDictionariesOptions, buildDictionary, processContentDeclaration };
@@ -1,11 +1,2 @@
1
- import { IntlayerConfig } from "@intlayer/types/config";
2
- import { Dictionary } from "@intlayer/types/dictionary";
3
-
4
- //#region src/buildIntlayerDictionary/processContentDeclaration.d.ts
5
- /**
6
- * Function to load, process the module and return the Intlayer Dictionary from the module file
7
- */
8
- declare const processContentDeclaration: (contentDeclaration: Dictionary, configuration: IntlayerConfig) => Promise<Dictionary | undefined>;
9
- //#endregion
10
- export { processContentDeclaration };
11
- //# sourceMappingURL=processContentDeclaration.d.ts.map
1
+ import { t as processContentDeclaration } from "../processContentDeclaration-CAvrHaIT.js";
2
+ export { processContentDeclaration };
@@ -1,36 +1,2 @@
1
- import { MergedDictionaryOutput } from "./writeMergedDictionary.js";
2
- import * as _intlayer_types_config0 from "@intlayer/types/config";
3
- import { Dictionary } from "@intlayer/types/dictionary";
4
- import { Locale } from "@intlayer/types/allLocales";
5
-
6
- //#region src/buildIntlayerDictionary/writeDynamicDictionary.d.ts
7
- type DictionaryResult = {
8
- dictionaryPath: string;
9
- dictionary: Dictionary;
10
- };
11
- type LocalizedDictionaryResult = Partial<Record<Locale, DictionaryResult>>;
12
- type LocalizedDictionaryOutput = Record<string, LocalizedDictionaryResult>;
13
- /**
14
- * This function generates the content of the dictionary list file
15
- */
16
- declare const generateDictionaryEntryPoint: (localizedDictionariesPathsRecord: LocalizedDictionaryResult, format?: "cjs" | "esm", configuration?: _intlayer_types_config0.IntlayerConfig) => string;
17
- /**
18
- * Write the localized dictionaries to the dictionariesDir
19
- * @param mergedDictionaries - The merged dictionaries
20
- * @param configuration - The configuration
21
- * @returns The final dictionaries
22
- *
23
- * @example
24
- * ```ts
25
- * const unmergedDictionaries = await writeUnmergedDictionaries(dictionaries);
26
- * const finalDictionaries = await writeFinalDictionaries(unmergedDictionaries);
27
- * console.log(finalDictionaries);
28
- *
29
- * // .intlayer/dynamic_dictionaries/home.json
30
- * // { key: 'home', content: { ... } },
31
- * ```
32
- */
33
- declare const writeDynamicDictionary: (mergedDictionaries: MergedDictionaryOutput, configuration?: _intlayer_types_config0.IntlayerConfig, formats?: ("cjs" | "esm")[]) => Promise<LocalizedDictionaryOutput>;
34
- //#endregion
35
- export { DictionaryResult, LocalizedDictionaryOutput, LocalizedDictionaryResult, generateDictionaryEntryPoint, writeDynamicDictionary };
36
- //# sourceMappingURL=writeDynamicDictionary.d.ts.map
1
+ import { a as writeDynamicDictionary, i as generateDictionaryEntryPoint, n as LocalizedDictionaryOutput, r as LocalizedDictionaryResult, t as DictionaryResult } from "../writeDynamicDictionary-DE3SJg-g.js";
2
+ export { DictionaryResult, LocalizedDictionaryOutput, LocalizedDictionaryResult, generateDictionaryEntryPoint, writeDynamicDictionary };
@@ -1,4 +1,4 @@
1
- import { LocalizedDictionaryOutput, LocalizedDictionaryResult } from "./writeDynamicDictionary.js";
1
+ import { n as LocalizedDictionaryOutput, r as LocalizedDictionaryResult } from "../writeDynamicDictionary-DE3SJg-g.js";
2
2
  import * as _intlayer_types_config0 from "@intlayer/types/config";
3
3
 
4
4
  //#region src/buildIntlayerDictionary/writeFetchDictionary.d.ts
@@ -1 +1 @@
1
- {"version":3,"file":"writeFetchDictionary.d.ts","names":[],"sources":["../../../src/buildIntlayerDictionary/writeFetchDictionary.ts"],"mappings":";;;;;;;cAea,4BAAA,GACX,8BAAA,EAAgC,yBAAA,EAChC,MAAA,kBACA,aAAA,GAFyD,uBAAA,CAEzD,cAAA;;;;;;;;;;;AA+CF;;;;;;cAAa,oBAAA,GACX,mBAAA,EAAqB,yBAAA,EACrB,aAAA,GAD8C,uBAAA,CAC9C,cAAA,EACA,OAAA,yBACC,OAAA,CAAQ,yBAAA"}
1
+ {"version":3,"file":"writeFetchDictionary.d.ts","names":[],"sources":["../../../src/buildIntlayerDictionary/writeFetchDictionary.ts"],"mappings":";;;;;;;cAea,4BAAA,GACX,8BAAA,EAAgC,yBAAA,EAChC,MAAA,kBACA,aAAA,GAFyD,uBAAA,CAEzD,cAAA;;AAHF;;;;;;;;;;;AAkDA;;;;cAAa,oBAAA,GACX,mBAAA,EAAqB,yBAAA,EACrB,aAAA,GAD8C,uBAAA,CAC9C,cAAA,EACA,OAAA,yBACC,OAAA,CAAQ,yBAAA"}
@@ -1,30 +1,2 @@
1
- import { UnmergedDictionaryOutput } from "./writeUnmergedDictionary.js";
2
- import * as _intlayer_types_config0 from "@intlayer/types/config";
3
- import { Dictionary } from "@intlayer/types/dictionary";
4
-
5
- //#region src/buildIntlayerDictionary/writeMergedDictionary.d.ts
6
- type MergedDictionaryResult = {
7
- dictionaryPath: string;
8
- dictionary: Dictionary;
9
- };
10
- type MergedDictionaryOutput = Record<string, MergedDictionaryResult>;
11
- /**
12
- * Write the merged dictionaries to the dictionariesDir
13
- * @param groupedDictionaries - The grouped dictionaries
14
- * @param configuration - The configuration
15
- * @returns The merged dictionaries
16
- *
17
- * @example
18
- * ```ts
19
- * const unmergedDictionaries = await writeUnmergedDictionaries(dictionaries);
20
- * const finalDictionaries = await writeFinalDictionaries(unmergedDictionaries);
21
- * console.log(finalDictionaries);
22
- *
23
- * // .intlayer/dictionary/home.json
24
- * // { key: 'home', content: { ... } },
25
- * ```
26
- */
27
- declare const writeMergedDictionaries: (groupedDictionaries: UnmergedDictionaryOutput, configuration?: _intlayer_types_config0.IntlayerConfig) => Promise<MergedDictionaryOutput>;
28
- //#endregion
29
- export { MergedDictionaryOutput, MergedDictionaryResult, writeMergedDictionaries };
30
- //# sourceMappingURL=writeMergedDictionary.d.ts.map
1
+ import { n as MergedDictionaryResult, r as writeMergedDictionaries, t as MergedDictionaryOutput } from "../writeMergedDictionary-C4EvgXbL.js";
2
+ export { MergedDictionaryOutput, MergedDictionaryResult, writeMergedDictionaries };
@@ -1,34 +1,2 @@
1
- import { IntlayerConfig } from "@intlayer/types/config";
2
- import { Dictionary, DictionaryKey } from "@intlayer/types/dictionary";
3
-
4
- //#region src/buildIntlayerDictionary/writeUnmergedDictionary.d.ts
5
- declare const groupDictionariesByKey: (dictionaries: Dictionary[]) => Record<string, Dictionary[]>;
6
- type UnmergedDictionaryResult = {
7
- dictionaryPath: string;
8
- dictionaries: Dictionary[];
9
- };
10
- type UnmergedDictionaryOutput = Record<DictionaryKey, UnmergedDictionaryResult>;
11
- /**
12
- * Write the unmerged dictionaries to the unmergedDictionariesDir
13
- * @param dictionaries - The dictionaries to write
14
- * @param configuration - The configuration
15
- * @returns The grouped dictionaries
16
- *
17
- * @example
18
- * ```ts
19
- * const unmergedDictionaries = await writeUnmergedDictionaries(dictionaries);
20
- * console.log(unmergedDictionaries);
21
- *
22
- * // .intlayer/unmerged_dictionaries/home.json
23
- * // {
24
- * // [
25
- * // { key: 'home', content: { ... } },
26
- * // { key: 'home', content: { ... } },
27
- * // ],
28
- * // }
29
- * ```
30
- */
31
- declare const writeUnmergedDictionaries: (dictionaries: Dictionary[], configuration: IntlayerConfig, env: "prod" | "dev") => Promise<UnmergedDictionaryOutput>;
32
- //#endregion
33
- export { UnmergedDictionaryOutput, UnmergedDictionaryResult, groupDictionariesByKey, writeUnmergedDictionaries };
34
- //# sourceMappingURL=writeUnmergedDictionary.d.ts.map
1
+ import { i as writeUnmergedDictionaries, n as UnmergedDictionaryResult, r as groupDictionariesByKey, t as UnmergedDictionaryOutput } from "../writeUnmergedDictionary-Cxx51isz.js";
2
+ export { UnmergedDictionaryOutput, UnmergedDictionaryResult, groupDictionariesByKey, writeUnmergedDictionaries };
@@ -0,0 +1,24 @@
1
+ import { t as UnmergedDictionaryOutput } from "./writeUnmergedDictionary-Cxx51isz.js";
2
+ import { t as MergedDictionaryOutput } from "./writeMergedDictionary-C4EvgXbL.js";
3
+ import { n as LocalizedDictionaryOutput } from "./writeDynamicDictionary-DE3SJg-g.js";
4
+ import * as _intlayer_types_config0 from "@intlayer/types/config";
5
+ import { Dictionary } from "@intlayer/types/dictionary";
6
+
7
+ //#region src/buildIntlayerDictionary/buildIntlayerDictionary.d.ts
8
+ type BuildDictionariesOptions = Partial<{
9
+ formats: ('cjs' | 'esm')[];
10
+ importOtherDictionaries: boolean;
11
+ env: 'prod' | 'dev';
12
+ }>;
13
+ /**
14
+ * This function transpile the bundled code to to make dictionaries as JSON files
15
+ */
16
+ declare const buildDictionary: (localDictionariesEntries: Dictionary[], configuration?: _intlayer_types_config0.IntlayerConfig, options?: BuildDictionariesOptions) => Promise<{
17
+ unmergedDictionaries: UnmergedDictionaryOutput;
18
+ mergedDictionaries: MergedDictionaryOutput;
19
+ dynamicDictionaries: LocalizedDictionaryOutput;
20
+ fetchDictionaries: LocalizedDictionaryOutput;
21
+ }>;
22
+ //#endregion
23
+ export { buildDictionary as n, BuildDictionariesOptions as t };
24
+ //# sourceMappingURL=buildIntlayerDictionary-BGj5jDFy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buildIntlayerDictionary-BGj5jDFy.d.ts","names":[],"sources":["../../src/buildIntlayerDictionary/buildIntlayerDictionary.ts"],"mappings":";;;;;;;KAYY,wBAAA,GAA2B,OAAA;EACrC,OAAA;EACA,uBAAA;EACA,GAAA;AAAA;AAHF;;;AAAA,cAea,eAAA,GACX,wBAAA,EAA0B,UAAA,IAC1B,aAAA,GADoC,uBAAA,CACpC,cAAA,EACA,OAAA,GAAU,wBAAA,KAAwB,OAAA;wBAAA,wBAAA"}
@@ -1,10 +1,10 @@
1
- import { detectExportedComponentName } from "./writeContentDeclaration/detectExportedComponentName.js";
2
- import { DictionaryStatus } from "./writeContentDeclaration/dictionaryStatus.js";
3
- import { transformJSFile } from "./writeContentDeclaration/transformJSFile.js";
4
- import { writeContentDeclaration } from "./writeContentDeclaration/writeContentDeclaration.js";
5
- import { writeJSFile } from "./writeContentDeclaration/writeJSFile.js";
1
+ import { t as detectExportedComponentName } from "./detectExportedComponentName-DVXsp_FG.js";
2
+ import { t as DictionaryStatus } from "./dictionaryStatus-DPVO37qe.js";
3
+ import { t as transformJSFile } from "./transformJSFile-Cg0LkeLb.js";
4
+ import { t as writeContentDeclaration } from "./writeContentDeclaration-XdGxj0KP.js";
5
+ import { t as writeJSFile } from "./writeJSFile-kK95jzg_.js";
6
6
  import { detectFormatCommand } from "./detectFormatCommand.js";
7
- import { getContentDeclarationFileTemplate } from "./getContentDeclarationFileTemplate/getContentDeclarationFileTemplate.js";
7
+ import { t as getContentDeclarationFileTemplate } from "./getContentDeclarationFileTemplate-Dz3rnFy9.js";
8
8
  import { initIntlayer } from "./init/index.js";
9
9
  import { PLATFORMS, PLATFORMS_METADATA, Platform, PlatformMetadata, SKILLS, SKILLS_METADATA, Skill, getInitialSkills, installSkills } from "./installSkills/index.js";
10
10
  import { MCPTransport, installMCP } from "./installMCP/installMCP.js";
@@ -1,14 +1,2 @@
1
- import * as _intlayer_types_config0 from "@intlayer/types/config";
2
-
3
- //#region src/createDictionaryEntryPoint/createDictionaryEntryPoint.d.ts
4
- type CreateDictionaryEntryPointOptions = {
5
- formats?: ('cjs' | 'esm')[];
6
- excludeKeys?: string[];
7
- };
8
- /**
9
- * This function generates a list of dictionaries in the main directory
10
- */
11
- declare const createDictionaryEntryPoint: (configuration?: _intlayer_types_config0.IntlayerConfig, options?: CreateDictionaryEntryPointOptions) => Promise<void>;
12
- //#endregion
13
- export { CreateDictionaryEntryPointOptions, createDictionaryEntryPoint };
14
- //# sourceMappingURL=createDictionaryEntryPoint.d.ts.map
1
+ import { n as createDictionaryEntryPoint, t as CreateDictionaryEntryPointOptions } from "../createDictionaryEntryPoint-Bc5lHSiY.js";
2
+ export { CreateDictionaryEntryPointOptions, createDictionaryEntryPoint };
@@ -1,10 +1,2 @@
1
- import * as _intlayer_types_config0 from "@intlayer/types/config";
2
-
3
- //#region src/createDictionaryEntryPoint/generateDictionaryListContent.d.ts
4
- /**
5
- * This function generates the content of the dictionary list file
6
- */
7
- declare const generateDictionaryListContent: (dictionaries: string[], functionName: string, importType: "json" | "javascript", format?: "cjs" | "esm", configuration?: _intlayer_types_config0.IntlayerConfig) => string;
8
- //#endregion
9
- export { generateDictionaryListContent };
10
- //# sourceMappingURL=generateDictionaryListContent.d.ts.map
1
+ import { t as generateDictionaryListContent } from "../generateDictionaryListContent-DAtHG6SR.js";
2
+ export { generateDictionaryListContent };
@@ -1,10 +1,2 @@
1
- import { IntlayerConfig } from "@intlayer/types/config";
2
-
3
- //#region src/createDictionaryEntryPoint/getBuiltDictionariesPath.d.ts
4
- /**
5
- * This function generates a list of dictionaries in the main directory
6
- */
7
- declare const getBuiltDictionariesPath: (configuration: IntlayerConfig, excludeKeys?: string[]) => Promise<string[]>;
8
- //#endregion
9
- export { getBuiltDictionariesPath };
10
- //# sourceMappingURL=getBuiltDictionariesPath.d.ts.map
1
+ import { t as getBuiltDictionariesPath } from "../getBuiltDictionariesPath-C4it65a1.js";
2
+ export { getBuiltDictionariesPath };
@@ -1,10 +1,2 @@
1
- import { IntlayerConfig } from "@intlayer/types/config";
2
-
3
- //#region src/createDictionaryEntryPoint/getBuiltDynamicDictionariesPath.d.ts
4
- /**
5
- * This function generates a list of dictionaries in the main directory
6
- */
7
- declare const getBuiltDynamicDictionariesPath: (configuration: IntlayerConfig, format?: "cjs" | "esm", excludeKeys?: string[]) => Promise<string[]>;
8
- //#endregion
9
- export { getBuiltDynamicDictionariesPath };
10
- //# sourceMappingURL=getBuiltDynamicDictionariesPath.d.ts.map
1
+ import { t as getBuiltDynamicDictionariesPath } from "../getBuiltDynamicDictionariesPath-Cj9EWnjT.js";
2
+ export { getBuiltDynamicDictionariesPath };
@@ -1,10 +1,2 @@
1
- import { IntlayerConfig } from "@intlayer/types/config";
2
-
3
- //#region src/createDictionaryEntryPoint/getBuiltFetchDictionariesPath.d.ts
4
- /**
5
- * This function generates a list of dictionaries in the main directory
6
- */
7
- declare const getBuiltFetchDictionariesPath: (configuration: IntlayerConfig, format?: "cjs" | "esm", excludeKeys?: string[]) => Promise<string[]>;
8
- //#endregion
9
- export { getBuiltFetchDictionariesPath };
10
- //# sourceMappingURL=getBuiltFetchDictionariesPath.d.ts.map
1
+ import { t as getBuiltFetchDictionariesPath } from "../getBuiltFetchDictionariesPath-1JleRhT3.js";
2
+ export { getBuiltFetchDictionariesPath };
@@ -1,10 +1,2 @@
1
- import { IntlayerConfig } from "@intlayer/types/config";
2
-
3
- //#region src/createDictionaryEntryPoint/getBuiltRemoteDictionariesPath.d.ts
4
- /**
5
- * This function generates a list of dictionaries in the main directory
6
- */
7
- declare const getBuiltRemoteDictionariesPath: (configuration: IntlayerConfig, excludeKeys?: string[]) => Promise<string[]>;
8
- //#endregion
9
- export { getBuiltRemoteDictionariesPath };
10
- //# sourceMappingURL=getBuiltRemoteDictionariesPath.d.ts.map
1
+ import { t as getBuiltRemoteDictionariesPath } from "../getBuiltRemoteDictionariesPath-DHOmqNCr.js";
2
+ export { getBuiltRemoteDictionariesPath };
@@ -1,10 +1,2 @@
1
- import { IntlayerConfig } from "@intlayer/types/config";
2
-
3
- //#region src/createDictionaryEntryPoint/getBuiltUnmergedDictionariesPath.d.ts
4
- /**
5
- * This function generates a list of dictionaries in the main directory
6
- */
7
- declare const getBuiltUnmergedDictionariesPath: (configuration: IntlayerConfig, excludeKeys?: string[]) => Promise<string[]>;
8
- //#endregion
9
- export { getBuiltUnmergedDictionariesPath };
10
- //# sourceMappingURL=getBuiltUnmergedDictionariesPath.d.ts.map
1
+ import { t as getBuiltUnmergedDictionariesPath } from "../getBuiltUnmergedDictionariesPath-GUmmLxTB.js";
2
+ export { getBuiltUnmergedDictionariesPath };
@@ -1,8 +1,8 @@
1
- import { CreateDictionaryEntryPointOptions, createDictionaryEntryPoint } from "./createDictionaryEntryPoint.js";
2
- import { generateDictionaryListContent } from "./generateDictionaryListContent.js";
3
- import { getBuiltDictionariesPath } from "./getBuiltDictionariesPath.js";
4
- import { getBuiltDynamicDictionariesPath } from "./getBuiltDynamicDictionariesPath.js";
5
- import { getBuiltFetchDictionariesPath } from "./getBuiltFetchDictionariesPath.js";
6
- import { getBuiltRemoteDictionariesPath } from "./getBuiltRemoteDictionariesPath.js";
7
- import { getBuiltUnmergedDictionariesPath } from "./getBuiltUnmergedDictionariesPath.js";
1
+ import { n as createDictionaryEntryPoint, t as CreateDictionaryEntryPointOptions } from "../createDictionaryEntryPoint-Bc5lHSiY.js";
2
+ import { t as generateDictionaryListContent } from "../generateDictionaryListContent-DAtHG6SR.js";
3
+ import { t as getBuiltDictionariesPath } from "../getBuiltDictionariesPath-C4it65a1.js";
4
+ import { t as getBuiltDynamicDictionariesPath } from "../getBuiltDynamicDictionariesPath-Cj9EWnjT.js";
5
+ import { t as getBuiltFetchDictionariesPath } from "../getBuiltFetchDictionariesPath-1JleRhT3.js";
6
+ import { t as getBuiltRemoteDictionariesPath } from "../getBuiltRemoteDictionariesPath-DHOmqNCr.js";
7
+ import { t as getBuiltUnmergedDictionariesPath } from "../getBuiltUnmergedDictionariesPath-GUmmLxTB.js";
8
8
  export { CreateDictionaryEntryPointOptions, createDictionaryEntryPoint, generateDictionaryListContent, getBuiltDictionariesPath, getBuiltDynamicDictionariesPath, getBuiltFetchDictionariesPath, getBuiltRemoteDictionariesPath, getBuiltUnmergedDictionariesPath };
@@ -0,0 +1,14 @@
1
+ import * as _intlayer_types_config0 from "@intlayer/types/config";
2
+
3
+ //#region src/createDictionaryEntryPoint/createDictionaryEntryPoint.d.ts
4
+ type CreateDictionaryEntryPointOptions = {
5
+ formats?: ('cjs' | 'esm')[];
6
+ excludeKeys?: string[];
7
+ };
8
+ /**
9
+ * This function generates a list of dictionaries in the main directory
10
+ */
11
+ declare const createDictionaryEntryPoint: (configuration?: _intlayer_types_config0.IntlayerConfig, options?: CreateDictionaryEntryPointOptions) => Promise<void>;
12
+ //#endregion
13
+ export { createDictionaryEntryPoint as n, CreateDictionaryEntryPointOptions as t };
14
+ //# sourceMappingURL=createDictionaryEntryPoint-Bc5lHSiY.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createDictionaryEntryPoint-Bc5lHSiY.d.ts","names":[],"sources":["../../src/createDictionaryEntryPoint/createDictionaryEntryPoint.ts"],"mappings":";;;KAqCY,iCAAA;EACV,OAAA;EACA,WAAA;AAAA;;;;cAMW,0BAAA,GACX,aAAA,GAkFD,uBAAA,CAlFC,cAAA,EACA,OAAA,GAAS,iCAAA,KAAsC,OAAA"}
@@ -0,0 +1,9 @@
1
+ import { IntlayerConfig } from "@intlayer/types/config";
2
+
3
+ //#region src/createType/createModuleAugmentation.d.ts
4
+ declare const getTypeName: (key: string) => string;
5
+ /** Generate the index file merging all the types */
6
+ declare const createModuleAugmentation: (configuration: IntlayerConfig) => Promise<void>;
7
+ //#endregion
8
+ export { getTypeName as n, createModuleAugmentation as t };
9
+ //# sourceMappingURL=createModuleAugmentation-D1eIVnjg.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createModuleAugmentation-D1eIVnjg.d.ts","names":[],"sources":["../../src/createType/createModuleAugmentation.ts"],"mappings":";;;cAUa,WAAA,GAAe,GAAA;;cA4Kf,wBAAA,GACX,aAAA,EAAe,cAAA,KAAc,OAAA"}
@@ -1,9 +1,2 @@
1
- import { IntlayerConfig } from "@intlayer/types/config";
2
-
3
- //#region src/createType/createModuleAugmentation.d.ts
4
- declare const getTypeName: (key: string) => string;
5
- /** Generate the index file merging all the types */
6
- declare const createModuleAugmentation: (configuration: IntlayerConfig) => Promise<void>;
7
- //#endregion
8
- export { createModuleAugmentation, getTypeName };
9
- //# sourceMappingURL=createModuleAugmentation.d.ts.map
1
+ import { n as getTypeName, t as createModuleAugmentation } from "../createModuleAugmentation-D1eIVnjg.js";
2
+ export { createModuleAugmentation, getTypeName };
@@ -1,12 +1,2 @@
1
- import { IntlayerConfig } from "@intlayer/types/config";
2
- import { Dictionary } from "@intlayer/types/dictionary";
3
-
4
- //#region src/createType/createType.d.ts
5
- declare const generateTypeScriptType: (dictionary: Dictionary) => string;
6
- /**
7
- * This function generates a TypeScript type definition from a JSON object
8
- */
9
- declare const createTypes: (dictionaries: Dictionary[], configuration: IntlayerConfig) => Promise<string[]>;
10
- //#endregion
11
- export { createTypes, generateTypeScriptType };
12
- //# sourceMappingURL=createType.d.ts.map
1
+ import { n as generateTypeScriptType, t as createTypes } from "../createType--rDwdg2t.js";
2
+ export { createTypes, generateTypeScriptType };
@@ -1,3 +1,3 @@
1
- import { createModuleAugmentation, getTypeName } from "./createModuleAugmentation.js";
2
- import { createTypes, generateTypeScriptType } from "./createType.js";
1
+ import { n as getTypeName, t as createModuleAugmentation } from "../createModuleAugmentation-D1eIVnjg.js";
2
+ import { n as generateTypeScriptType, t as createTypes } from "../createType--rDwdg2t.js";
3
3
  export { createModuleAugmentation, createTypes, generateTypeScriptType, getTypeName };
@@ -0,0 +1,12 @@
1
+ import { IntlayerConfig } from "@intlayer/types/config";
2
+ import { Dictionary } from "@intlayer/types/dictionary";
3
+
4
+ //#region src/createType/createType.d.ts
5
+ declare const generateTypeScriptType: (dictionary: Dictionary) => string;
6
+ /**
7
+ * This function generates a TypeScript type definition from a JSON object
8
+ */
9
+ declare const createTypes: (dictionaries: Dictionary[], configuration: IntlayerConfig) => Promise<string[]>;
10
+ //#endregion
11
+ export { generateTypeScriptType as n, createTypes as t };
12
+ //# sourceMappingURL=createType--rDwdg2t.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createType--rDwdg2t.d.ts","names":[],"sources":["../../src/createType/createType.ts"],"mappings":";;;;cAMa,sBAAA,GAA0B,UAAA,EAAY,UAAA;;AAAnD;;cAQa,WAAA,GACX,YAAA,EAAc,UAAA,IACd,aAAA,EAAe,cAAA,KACd,OAAA"}
@@ -0,0 +1,12 @@
1
+ //#region src/writeContentDeclaration/detectExportedComponentName.d.ts
2
+ /**
3
+ * Attempt to detect an exported React component name in the file text.
4
+ * Looks for patterns like:
5
+ * - export const MyComponent = ...
6
+ * - export function MyComponent(...)
7
+ * - export default function MyComponent(...)
8
+ */
9
+ declare const detectExportedComponentName: (fileText: string) => string | null;
10
+ //#endregion
11
+ export { detectExportedComponentName as t };
12
+ //# sourceMappingURL=detectExportedComponentName-DVXsp_FG.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"detectExportedComponentName-DVXsp_FG.d.ts","names":[],"sources":["../../src/writeContentDeclaration/detectExportedComponentName.ts"],"mappings":";;AAOA;;;;;;cAAa,2BAAA,GACX,QAAA"}
@@ -0,0 +1,5 @@
1
+ //#region src/writeContentDeclaration/dictionaryStatus.d.ts
2
+ type DictionaryStatus = 'pending' | 'fetching' | 'up-to-date' | 'replaced' | 'updated' | 'fetched' | 'unknown' | 'error' | 'imported' | 'reimported in JSON' | 'new content file' | 'created';
3
+ //#endregion
4
+ export { DictionaryStatus as t };
5
+ //# sourceMappingURL=dictionaryStatus-DPVO37qe.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dictionaryStatus-DPVO37qe.d.ts","names":[],"sources":["../../src/writeContentDeclaration/dictionaryStatus.ts"],"mappings":";KAAY,gBAAA"}
@@ -1,4 +1,4 @@
1
- import { DictionariesStatus } from "./loadDictionaries/loadDictionaries.js";
1
+ import { t as DictionariesStatus } from "./loadDictionaries-BIqHwtYE.js";
2
2
  import { DictionaryAPI } from "@intlayer/backend";
3
3
 
4
4
  //#region src/fetchDistantDictionaries.d.ts
@@ -1 +1 @@
1
- {"version":3,"file":"fetchDistantDictionaries.d.ts","names":[],"sources":["../../src/fetchDistantDictionaries.ts"],"mappings":";;;;KAQK,+BAAA;EACH,cAAA;EACA,mBAAA;EACA,SAAA;AAAA;;;;cAMW,wBAAA,GACX,OAAA,EAAS,+BAAA,EACT,cAAA,IAAkB,MAAA,EAAQ,kBAAA,gBACzB,OAAA,CAAQ,aAAA"}
1
+ {"version":3,"file":"fetchDistantDictionaries.d.ts","names":[],"sources":["../../src/fetchDistantDictionaries.ts"],"mappings":";;;;KAQK,+BAAA;EACH,cAAA;EACA,mBAAA;EACA,SAAA;AAAA;;AAN2D;;cAYhD,wBAAA,GACX,OAAA,EAAS,+BAAA,EACT,cAAA,IAAkB,MAAA,EAAQ,kBAAA,gBACzB,OAAA,CAAQ,aAAA"}
@@ -0,0 +1,10 @@
1
+ import * as _intlayer_types_config0 from "@intlayer/types/config";
2
+
3
+ //#region src/createDictionaryEntryPoint/generateDictionaryListContent.d.ts
4
+ /**
5
+ * This function generates the content of the dictionary list file
6
+ */
7
+ declare const generateDictionaryListContent: (dictionaries: string[], functionName: string, importType: "json" | "javascript", format?: "cjs" | "esm", configuration?: _intlayer_types_config0.IntlayerConfig) => string;
8
+ //#endregion
9
+ export { generateDictionaryListContent as t };
10
+ //# sourceMappingURL=generateDictionaryListContent-DAtHG6SR.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generateDictionaryListContent-DAtHG6SR.d.ts","names":[],"sources":["../../src/createDictionaryEntryPoint/generateDictionaryListContent.ts"],"mappings":";;;;;;cAQa,6BAAA,GACX,YAAA,YACA,YAAA,UACA,UAAA,yBACA,MAAA,kBACA,aAAA,GA2CD,uBAAA,CA3CC,cAAA"}
@@ -0,0 +1,10 @@
1
+ import { IntlayerConfig } from "@intlayer/types/config";
2
+
3
+ //#region src/createDictionaryEntryPoint/getBuiltDictionariesPath.d.ts
4
+ /**
5
+ * This function generates a list of dictionaries in the main directory
6
+ */
7
+ declare const getBuiltDictionariesPath: (configuration: IntlayerConfig, excludeKeys?: string[]) => Promise<string[]>;
8
+ //#endregion
9
+ export { getBuiltDictionariesPath as t };
10
+ //# sourceMappingURL=getBuiltDictionariesPath-C4it65a1.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getBuiltDictionariesPath-C4it65a1.d.ts","names":[],"sources":["../../src/createDictionaryEntryPoint/getBuiltDictionariesPath.ts"],"mappings":";;;;;AASA;cAAa,wBAAA,GACX,aAAA,EAAe,cAAA,EACf,WAAA,gBAA0B,OAAA"}
@@ -0,0 +1,10 @@
1
+ import { IntlayerConfig } from "@intlayer/types/config";
2
+
3
+ //#region src/createDictionaryEntryPoint/getBuiltDynamicDictionariesPath.d.ts
4
+ /**
5
+ * This function generates a list of dictionaries in the main directory
6
+ */
7
+ declare const getBuiltDynamicDictionariesPath: (configuration: IntlayerConfig, format?: "cjs" | "esm", excludeKeys?: string[]) => Promise<string[]>;
8
+ //#endregion
9
+ export { getBuiltDynamicDictionariesPath as t };
10
+ //# sourceMappingURL=getBuiltDynamicDictionariesPath-Cj9EWnjT.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getBuiltDynamicDictionariesPath-Cj9EWnjT.d.ts","names":[],"sources":["../../src/createDictionaryEntryPoint/getBuiltDynamicDictionariesPath.ts"],"mappings":";;;;;AASA;cAAa,+BAAA,GACX,aAAA,EAAe,cAAA,EACf,MAAA,kBACA,WAAA,gBAA0B,OAAA"}