@intlayer/chokidar 7.1.4 → 7.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/watcher.cjs +1 -1
- package/dist/cjs/watcher.cjs.map +1 -1
- package/dist/esm/watcher.mjs +1 -1
- package/dist/esm/watcher.mjs.map +1 -1
- package/dist/types/buildIntlayerDictionary/buildIntlayerDictionary.d.ts +2 -2
- package/dist/types/buildIntlayerDictionary/writeDynamicDictionary.d.ts +3 -3
- package/dist/types/buildIntlayerDictionary/writeFetchDictionary.d.ts +3 -3
- package/dist/types/buildIntlayerDictionary/writeMergedDictionary.d.ts +2 -2
- package/dist/types/buildIntlayerDictionary/writeRemoteDictionary.d.ts +2 -2
- package/dist/types/createDictionaryEntryPoint/createDictionaryEntryPoint.d.ts +2 -2
- package/dist/types/createDictionaryEntryPoint/generateDictionaryListContent.d.ts +2 -2
- package/dist/types/loadDictionaries/loadRemoteDictionaries.d.ts +2 -2
- package/dist/types/utils/chunkJSON.d.ts.map +1 -1
- package/package.json +8 -8
- package/dist/cjs/api/dist/esm/_virtual/rolldown_runtime.cjs +0 -10
- package/dist/cjs/api/dist/esm/_virtual/rolldown_runtime.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/config/dist/esm/_virtual/rolldown_runtime.cjs +0 -11
- package/dist/cjs/api/dist/esm/config/dist/esm/_virtual/rolldown_runtime.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/config/dist/esm/built.cjs +0 -8
- package/dist/cjs/api/dist/esm/config/dist/esm/built.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/config/dist/esm/configFile/buildConfigurationFields.cjs +0 -119
- package/dist/cjs/api/dist/esm/config/dist/esm/configFile/buildConfigurationFields.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/config/dist/esm/configFile/getConfiguration.cjs +0 -69
- package/dist/cjs/api/dist/esm/config/dist/esm/configFile/getConfiguration.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/config/dist/esm/configFile/loadConfigurationFile.cjs +0 -26
- package/dist/cjs/api/dist/esm/config/dist/esm/configFile/loadConfigurationFile.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/config/dist/esm/configFile/searchConfigurationFile.cjs +0 -51
- package/dist/cjs/api/dist/esm/config/dist/esm/configFile/searchConfigurationFile.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/config/dist/esm/defaultValues/build.cjs +0 -15
- package/dist/cjs/api/dist/esm/config/dist/esm/defaultValues/build.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/config/dist/esm/defaultValues/content.cjs +0 -54
- package/dist/cjs/api/dist/esm/config/dist/esm/defaultValues/content.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/config/dist/esm/defaultValues/dictionary.cjs +0 -7
- package/dist/cjs/api/dist/esm/config/dist/esm/defaultValues/dictionary.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/config/dist/esm/defaultValues/editor.cjs +0 -23
- package/dist/cjs/api/dist/esm/config/dist/esm/defaultValues/editor.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/config/dist/esm/defaultValues/internationalization.cjs +0 -14
- package/dist/cjs/api/dist/esm/config/dist/esm/defaultValues/internationalization.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/config/dist/esm/defaultValues/log.cjs +0 -10
- package/dist/cjs/api/dist/esm/config/dist/esm/defaultValues/log.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/config/dist/esm/defaultValues/routing.cjs +0 -11
- package/dist/cjs/api/dist/esm/config/dist/esm/defaultValues/routing.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/config/dist/esm/loadEnvFile.cjs +0 -26
- package/dist/cjs/api/dist/esm/config/dist/esm/loadEnvFile.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/config/dist/esm/loadExternalFile/bundleFile.cjs +0 -23
- package/dist/cjs/api/dist/esm/config/dist/esm/loadExternalFile/bundleFile.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/config/dist/esm/loadExternalFile/loadExternalFile.cjs +0 -48
- package/dist/cjs/api/dist/esm/config/dist/esm/loadExternalFile/loadExternalFile.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/config/dist/esm/loadExternalFile/parseFileContent.cjs +0 -65
- package/dist/cjs/api/dist/esm/config/dist/esm/loadExternalFile/parseFileContent.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/config/dist/esm/loadExternalFile/transpileTSToMJS.cjs +0 -45
- package/dist/cjs/api/dist/esm/config/dist/esm/loadExternalFile/transpileTSToMJS.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/config/dist/esm/logger.cjs +0 -47
- package/dist/cjs/api/dist/esm/config/dist/esm/logger.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.cjs +0 -15
- package/dist/cjs/api/dist/esm/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/config/dist/esm/types/dist/esm/locales.cjs +0 -1128
- package/dist/cjs/api/dist/esm/config/dist/esm/types/dist/esm/locales.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/config/dist/esm/utils/ESMxCJSHelpers.cjs +0 -27
- package/dist/cjs/api/dist/esm/config/dist/esm/utils/ESMxCJSHelpers.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/config/dist/esm/utils/cache.cjs +0 -264
- package/dist/cjs/api/dist/esm/config/dist/esm/utils/cache.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/config/dist/esm/utils/getPackageJsonPath.cjs +0 -34
- package/dist/cjs/api/dist/esm/config/dist/esm/utils/getPackageJsonPath.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/config/dist/esm/utils/normalizePath.cjs +0 -17
- package/dist/cjs/api/dist/esm/config/dist/esm/utils/normalizePath.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/fetcher.cjs +0 -121
- package/dist/cjs/api/dist/esm/fetcher.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/getIntlayerAPI/ai.cjs +0 -164
- package/dist/cjs/api/dist/esm/getIntlayerAPI/ai.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/getIntlayerAPI/audit.cjs +0 -39
- package/dist/cjs/api/dist/esm/getIntlayerAPI/audit.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/getIntlayerAPI/dictionary.cjs +0 -70
- package/dist/cjs/api/dist/esm/getIntlayerAPI/dictionary.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/getIntlayerAPI/editor.cjs +0 -38
- package/dist/cjs/api/dist/esm/getIntlayerAPI/editor.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/getIntlayerAPI/index.cjs +0 -32
- package/dist/cjs/api/dist/esm/getIntlayerAPI/index.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/getIntlayerAPI/newsletter.cjs +0 -41
- package/dist/cjs/api/dist/esm/getIntlayerAPI/newsletter.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/getIntlayerAPI/oAuth.cjs +0 -27
- package/dist/cjs/api/dist/esm/getIntlayerAPI/oAuth.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/getIntlayerAPI/organization.cjs +0 -94
- package/dist/cjs/api/dist/esm/getIntlayerAPI/organization.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/getIntlayerAPI/project.cjs +0 -110
- package/dist/cjs/api/dist/esm/getIntlayerAPI/project.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/getIntlayerAPI/search.cjs +0 -23
- package/dist/cjs/api/dist/esm/getIntlayerAPI/search.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/getIntlayerAPI/stripe.cjs +0 -39
- package/dist/cjs/api/dist/esm/getIntlayerAPI/stripe.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/getIntlayerAPI/tag.cjs +0 -48
- package/dist/cjs/api/dist/esm/getIntlayerAPI/tag.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/getIntlayerAPI/user.cjs +0 -80
- package/dist/cjs/api/dist/esm/getIntlayerAPI/user.cjs.map +0 -1
- package/dist/cjs/api/dist/esm/proxy.cjs +0 -100
- package/dist/cjs/api/dist/esm/proxy.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/_virtual/rolldown_runtime.cjs +0 -10
- package/dist/cjs/config/dist/esm/_virtual/rolldown_runtime.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/built.cjs +0 -8
- package/dist/cjs/config/dist/esm/built.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/config/package.cjs +0 -7
- package/dist/cjs/config/dist/esm/config/package.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/configFile/buildConfigurationFields.cjs +0 -119
- package/dist/cjs/config/dist/esm/configFile/buildConfigurationFields.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/configFile/getConfiguration.cjs +0 -69
- package/dist/cjs/config/dist/esm/configFile/getConfiguration.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/configFile/loadConfigurationFile.cjs +0 -26
- package/dist/cjs/config/dist/esm/configFile/loadConfigurationFile.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/configFile/searchConfigurationFile.cjs +0 -51
- package/dist/cjs/config/dist/esm/configFile/searchConfigurationFile.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/defaultValues/build.cjs +0 -15
- package/dist/cjs/config/dist/esm/defaultValues/build.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/defaultValues/content.cjs +0 -54
- package/dist/cjs/config/dist/esm/defaultValues/content.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/defaultValues/dictionary.cjs +0 -7
- package/dist/cjs/config/dist/esm/defaultValues/dictionary.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/defaultValues/editor.cjs +0 -23
- package/dist/cjs/config/dist/esm/defaultValues/editor.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/defaultValues/internationalization.cjs +0 -14
- package/dist/cjs/config/dist/esm/defaultValues/internationalization.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/defaultValues/log.cjs +0 -10
- package/dist/cjs/config/dist/esm/defaultValues/log.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/defaultValues/routing.cjs +0 -11
- package/dist/cjs/config/dist/esm/defaultValues/routing.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/loadEnvFile.cjs +0 -26
- package/dist/cjs/config/dist/esm/loadEnvFile.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/loadExternalFile/bundleFile.cjs +0 -58
- package/dist/cjs/config/dist/esm/loadExternalFile/bundleFile.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/loadExternalFile/loadExternalFile.cjs +0 -83
- package/dist/cjs/config/dist/esm/loadExternalFile/loadExternalFile.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/loadExternalFile/parseFileContent.cjs +0 -65
- package/dist/cjs/config/dist/esm/loadExternalFile/parseFileContent.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/loadExternalFile/transpileTSToMJS.cjs +0 -58
- package/dist/cjs/config/dist/esm/loadExternalFile/transpileTSToMJS.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/logger.cjs +0 -114
- package/dist/cjs/config/dist/esm/logger.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.cjs +0 -15
- package/dist/cjs/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/types/dist/esm/locales.cjs +0 -1128
- package/dist/cjs/config/dist/esm/types/dist/esm/locales.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/utils/ESMxCJSHelpers.cjs +0 -28
- package/dist/cjs/config/dist/esm/utils/ESMxCJSHelpers.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/utils/cache.cjs +0 -416
- package/dist/cjs/config/dist/esm/utils/cache.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/utils/clearModuleCache.cjs +0 -26
- package/dist/cjs/config/dist/esm/utils/clearModuleCache.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/utils/extractErrorMessage.cjs +0 -95
- package/dist/cjs/config/dist/esm/utils/extractErrorMessage.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/utils/getPackageJsonPath.cjs +0 -34
- package/dist/cjs/config/dist/esm/utils/getPackageJsonPath.cjs.map +0 -1
- package/dist/cjs/config/dist/esm/utils/normalizePath.cjs +0 -17
- package/dist/cjs/config/dist/esm/utils/normalizePath.cjs.map +0 -1
- package/dist/cjs/config/package.cjs +0 -12
- package/dist/cjs/config/package.cjs.map +0 -1
- package/dist/cjs/config/src/utils/kebabCaseToCamelCase.cjs +0 -14
- package/dist/cjs/config/src/utils/kebabCaseToCamelCase.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/_virtual/rolldown_runtime.cjs +0 -10
- package/dist/cjs/core/dist/esm/_virtual/rolldown_runtime.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/config/dist/esm/_virtual/rolldown_runtime.cjs +0 -11
- package/dist/cjs/core/dist/esm/config/dist/esm/_virtual/rolldown_runtime.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/config/dist/esm/built.cjs +0 -8
- package/dist/cjs/core/dist/esm/config/dist/esm/built.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/config/dist/esm/configFile/buildConfigurationFields.cjs +0 -119
- package/dist/cjs/core/dist/esm/config/dist/esm/configFile/buildConfigurationFields.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/config/dist/esm/configFile/getConfiguration.cjs +0 -69
- package/dist/cjs/core/dist/esm/config/dist/esm/configFile/getConfiguration.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/config/dist/esm/configFile/loadConfigurationFile.cjs +0 -26
- package/dist/cjs/core/dist/esm/config/dist/esm/configFile/loadConfigurationFile.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/config/dist/esm/configFile/searchConfigurationFile.cjs +0 -51
- package/dist/cjs/core/dist/esm/config/dist/esm/configFile/searchConfigurationFile.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/config/dist/esm/defaultValues/build.cjs +0 -15
- package/dist/cjs/core/dist/esm/config/dist/esm/defaultValues/build.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/config/dist/esm/defaultValues/content.cjs +0 -54
- package/dist/cjs/core/dist/esm/config/dist/esm/defaultValues/content.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/config/dist/esm/defaultValues/dictionary.cjs +0 -7
- package/dist/cjs/core/dist/esm/config/dist/esm/defaultValues/dictionary.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/config/dist/esm/defaultValues/editor.cjs +0 -23
- package/dist/cjs/core/dist/esm/config/dist/esm/defaultValues/editor.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/config/dist/esm/defaultValues/internationalization.cjs +0 -14
- package/dist/cjs/core/dist/esm/config/dist/esm/defaultValues/internationalization.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/config/dist/esm/defaultValues/log.cjs +0 -10
- package/dist/cjs/core/dist/esm/config/dist/esm/defaultValues/log.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/config/dist/esm/defaultValues/routing.cjs +0 -11
- package/dist/cjs/core/dist/esm/config/dist/esm/defaultValues/routing.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/config/dist/esm/loadEnvFile.cjs +0 -26
- package/dist/cjs/core/dist/esm/config/dist/esm/loadEnvFile.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/config/dist/esm/loadExternalFile/bundleFile.cjs +0 -23
- package/dist/cjs/core/dist/esm/config/dist/esm/loadExternalFile/bundleFile.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/config/dist/esm/loadExternalFile/loadExternalFile.cjs +0 -48
- package/dist/cjs/core/dist/esm/config/dist/esm/loadExternalFile/loadExternalFile.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/config/dist/esm/loadExternalFile/parseFileContent.cjs +0 -65
- package/dist/cjs/core/dist/esm/config/dist/esm/loadExternalFile/parseFileContent.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/config/dist/esm/loadExternalFile/transpileTSToMJS.cjs +0 -45
- package/dist/cjs/core/dist/esm/config/dist/esm/loadExternalFile/transpileTSToMJS.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/config/dist/esm/logger.cjs +0 -63
- package/dist/cjs/core/dist/esm/config/dist/esm/logger.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.cjs +0 -15
- package/dist/cjs/core/dist/esm/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/config/dist/esm/types/dist/esm/locales.cjs +0 -1128
- package/dist/cjs/core/dist/esm/config/dist/esm/types/dist/esm/locales.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/config/dist/esm/utils/ESMxCJSHelpers.cjs +0 -27
- package/dist/cjs/core/dist/esm/config/dist/esm/utils/ESMxCJSHelpers.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/config/dist/esm/utils/cache.cjs +0 -264
- package/dist/cjs/core/dist/esm/config/dist/esm/utils/cache.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/config/dist/esm/utils/getPackageJsonPath.cjs +0 -34
- package/dist/cjs/core/dist/esm/config/dist/esm/utils/getPackageJsonPath.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/config/dist/esm/utils/normalizePath.cjs +0 -17
- package/dist/cjs/core/dist/esm/config/dist/esm/utils/normalizePath.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/deepTransformPlugins/getFilteredLocalesContent.cjs +0 -43
- package/dist/cjs/core/dist/esm/deepTransformPlugins/getFilteredLocalesContent.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/deepTransformPlugins/getLocalizedContent.cjs +0 -32
- package/dist/cjs/core/dist/esm/deepTransformPlugins/getLocalizedContent.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/deepTransformPlugins/getMaskContent.cjs +0 -26
- package/dist/cjs/core/dist/esm/deepTransformPlugins/getMaskContent.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/deepTransformPlugins/getMultilingualDictionary.cjs +0 -87
- package/dist/cjs/core/dist/esm/deepTransformPlugins/getMultilingualDictionary.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/dictionaryManipulator/getNodeType.cjs +0 -35
- package/dist/cjs/core/dist/esm/dictionaryManipulator/getNodeType.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/dictionaryManipulator/mergeDictionaries.cjs +0 -67
- package/dist/cjs/core/dist/esm/dictionaryManipulator/mergeDictionaries.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/dictionaryManipulator/normalizeDictionary.cjs +0 -29
- package/dist/cjs/core/dist/esm/dictionaryManipulator/normalizeDictionary.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/dictionaryManipulator/orderDictionaries.cjs +0 -46
- package/dist/cjs/core/dist/esm/dictionaryManipulator/orderDictionaries.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/interpreter/getContent/deepTransform.cjs +0 -39
- package/dist/cjs/core/dist/esm/interpreter/getContent/deepTransform.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/interpreter/getContent/plugins.cjs +0 -28
- package/dist/cjs/core/dist/esm/interpreter/getContent/plugins.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/interpreter/getTranslation.cjs +0 -32
- package/dist/cjs/core/dist/esm/interpreter/getTranslation.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/localization/getLocaleName.cjs +0 -10
- package/dist/cjs/core/dist/esm/localization/getLocaleName.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/transpiler/translation/translation.cjs +0 -28
- package/dist/cjs/core/dist/esm/transpiler/translation/translation.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/types/dist/esm/_virtual/rolldown_runtime.cjs +0 -15
- package/dist/cjs/core/dist/esm/types/dist/esm/_virtual/rolldown_runtime.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/types/dist/esm/locales.cjs +0 -1128
- package/dist/cjs/core/dist/esm/types/dist/esm/locales.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/types/dist/esm/nodeType.cjs +0 -31
- package/dist/cjs/core/dist/esm/types/dist/esm/nodeType.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/utils/intl.cjs +0 -49
- package/dist/cjs/core/dist/esm/utils/intl.cjs.map +0 -1
- package/dist/cjs/core/dist/esm/utils/isValidReactElement.cjs +0 -14
- package/dist/cjs/core/dist/esm/utils/isValidReactElement.cjs.map +0 -1
- package/dist/cjs/core/package.cjs +0 -12
- package/dist/cjs/core/package.cjs.map +0 -1
- package/dist/cjs/core/src/deepTransformPlugins/processContentDeclarationContent.cjs +0 -77
- package/dist/cjs/core/src/deepTransformPlugins/processContentDeclarationContent.cjs.map +0 -1
- package/dist/cjs/remote-dictionaries-entry/dist/esm/_virtual/rolldown_runtime.cjs +0 -10
- package/dist/cjs/remote-dictionaries-entry/dist/esm/_virtual/rolldown_runtime.cjs.map +0 -1
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/_virtual/rolldown_runtime.cjs +0 -11
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/_virtual/rolldown_runtime.cjs.map +0 -1
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/built.cjs +0 -8
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/built.cjs.map +0 -1
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/configFile/buildConfigurationFields.cjs +0 -119
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/configFile/buildConfigurationFields.cjs.map +0 -1
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/configFile/getConfiguration.cjs +0 -69
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/configFile/getConfiguration.cjs.map +0 -1
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/configFile/loadConfigurationFile.cjs +0 -26
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/configFile/loadConfigurationFile.cjs.map +0 -1
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/configFile/searchConfigurationFile.cjs +0 -51
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/configFile/searchConfigurationFile.cjs.map +0 -1
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/build.cjs +0 -15
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/build.cjs.map +0 -1
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/content.cjs +0 -54
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/content.cjs.map +0 -1
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/dictionary.cjs +0 -7
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/dictionary.cjs.map +0 -1
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/editor.cjs +0 -23
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/editor.cjs.map +0 -1
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/internationalization.cjs +0 -14
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/internationalization.cjs.map +0 -1
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/log.cjs +0 -10
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/log.cjs.map +0 -1
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/routing.cjs +0 -11
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/routing.cjs.map +0 -1
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/loadEnvFile.cjs +0 -26
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/loadEnvFile.cjs.map +0 -1
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/bundleFile.cjs +0 -23
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/bundleFile.cjs.map +0 -1
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/loadExternalFile.cjs +0 -48
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/loadExternalFile.cjs.map +0 -1
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/parseFileContent.cjs +0 -65
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/parseFileContent.cjs.map +0 -1
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/transpileTSToMJS.cjs +0 -45
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/transpileTSToMJS.cjs.map +0 -1
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/logger.cjs +0 -47
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/logger.cjs.map +0 -1
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.cjs +0 -15
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.cjs.map +0 -1
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/types/dist/esm/locales.cjs +0 -1128
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/types/dist/esm/locales.cjs.map +0 -1
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/utils/ESMxCJSHelpers.cjs +0 -27
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/utils/ESMxCJSHelpers.cjs.map +0 -1
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/utils/cache.cjs +0 -264
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/utils/cache.cjs.map +0 -1
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/utils/getPackageJsonPath.cjs +0 -34
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/utils/getPackageJsonPath.cjs.map +0 -1
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/utils/normalizePath.cjs +0 -17
- package/dist/cjs/remote-dictionaries-entry/dist/esm/config/dist/esm/utils/normalizePath.cjs.map +0 -1
- package/dist/cjs/remote-dictionaries-entry/dist/esm/index.cjs +0 -27
- package/dist/cjs/remote-dictionaries-entry/dist/esm/index.cjs.map +0 -1
- package/dist/cjs/types/dist/esm/_virtual/rolldown_runtime.cjs +0 -15
- package/dist/cjs/types/dist/esm/_virtual/rolldown_runtime.cjs.map +0 -1
- package/dist/cjs/types/dist/esm/locales.cjs +0 -1128
- package/dist/cjs/types/dist/esm/locales.cjs.map +0 -1
- package/dist/cjs/types/dist/esm/nodeType.cjs +0 -25
- package/dist/cjs/types/dist/esm/nodeType.cjs.map +0 -1
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/_virtual/rolldown_runtime.cjs +0 -10
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/_virtual/rolldown_runtime.cjs.map +0 -1
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/_virtual/rolldown_runtime.cjs +0 -11
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/_virtual/rolldown_runtime.cjs.map +0 -1
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/built.cjs +0 -8
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/built.cjs.map +0 -1
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/configFile/buildConfigurationFields.cjs +0 -119
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/configFile/buildConfigurationFields.cjs.map +0 -1
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/configFile/getConfiguration.cjs +0 -69
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/configFile/getConfiguration.cjs.map +0 -1
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/configFile/loadConfigurationFile.cjs +0 -26
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/configFile/loadConfigurationFile.cjs.map +0 -1
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/configFile/searchConfigurationFile.cjs +0 -51
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/configFile/searchConfigurationFile.cjs.map +0 -1
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/build.cjs +0 -15
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/build.cjs.map +0 -1
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/content.cjs +0 -54
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/content.cjs.map +0 -1
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/dictionary.cjs +0 -7
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/dictionary.cjs.map +0 -1
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/editor.cjs +0 -23
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/editor.cjs.map +0 -1
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/internationalization.cjs +0 -14
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/internationalization.cjs.map +0 -1
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/log.cjs +0 -10
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/log.cjs.map +0 -1
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/routing.cjs +0 -11
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/routing.cjs.map +0 -1
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadEnvFile.cjs +0 -26
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadEnvFile.cjs.map +0 -1
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/bundleFile.cjs +0 -23
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/bundleFile.cjs.map +0 -1
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/loadExternalFile.cjs +0 -48
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/loadExternalFile.cjs.map +0 -1
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/parseFileContent.cjs +0 -65
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/parseFileContent.cjs.map +0 -1
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/transpileTSToMJS.cjs +0 -45
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/transpileTSToMJS.cjs.map +0 -1
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/logger.cjs +0 -47
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/logger.cjs.map +0 -1
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.cjs +0 -15
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.cjs.map +0 -1
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/types/dist/esm/locales.cjs +0 -1128
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/types/dist/esm/locales.cjs.map +0 -1
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/utils/ESMxCJSHelpers.cjs +0 -27
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/utils/ESMxCJSHelpers.cjs.map +0 -1
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/utils/cache.cjs +0 -264
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/utils/cache.cjs.map +0 -1
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/utils/getPackageJsonPath.cjs +0 -34
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/utils/getPackageJsonPath.cjs.map +0 -1
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/utils/normalizePath.cjs +0 -17
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/config/dist/esm/utils/normalizePath.cjs.map +0 -1
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/index.cjs +0 -27
- package/dist/cjs/unmerged-dictionaries-entry/dist/esm/index.cjs.map +0 -1
- package/dist/cjs/utils/camelCaseToSentence.cjs +0 -11
- package/dist/cjs/utils/camelCaseToSentence.cjs.map +0 -1
- package/dist/cjs/utils/cammelCaseToSentense.cjs +0 -11
- package/dist/cjs/utils/cammelCaseToSentense.cjs.map +0 -1
- package/dist/cjs/utils/kebabCaseToCamelCase.cjs +0 -14
- package/dist/cjs/utils/kebabCaseToCamelCase.cjs.map +0 -1
- package/dist/cjs/utils/runParallel.cjs +0 -166
- package/dist/cjs/utils/runParallel.cjs.map +0 -1
- package/dist/esm/api/dist/esm/_virtual/rolldown_runtime.mjs +0 -11
- package/dist/esm/api/dist/esm/_virtual/rolldown_runtime.mjs.map +0 -1
- package/dist/esm/api/dist/esm/config/dist/esm/_virtual/rolldown_runtime.mjs +0 -11
- package/dist/esm/api/dist/esm/config/dist/esm/_virtual/rolldown_runtime.mjs.map +0 -1
- package/dist/esm/api/dist/esm/config/dist/esm/built.mjs +0 -8
- package/dist/esm/api/dist/esm/config/dist/esm/built.mjs.map +0 -1
- package/dist/esm/api/dist/esm/config/dist/esm/configFile/buildConfigurationFields.mjs +0 -118
- package/dist/esm/api/dist/esm/config/dist/esm/configFile/buildConfigurationFields.mjs.map +0 -1
- package/dist/esm/api/dist/esm/config/dist/esm/configFile/getConfiguration.mjs +0 -67
- package/dist/esm/api/dist/esm/config/dist/esm/configFile/getConfiguration.mjs.map +0 -1
- package/dist/esm/api/dist/esm/config/dist/esm/configFile/loadConfigurationFile.mjs +0 -26
- package/dist/esm/api/dist/esm/config/dist/esm/configFile/loadConfigurationFile.mjs.map +0 -1
- package/dist/esm/api/dist/esm/config/dist/esm/configFile/searchConfigurationFile.mjs +0 -50
- package/dist/esm/api/dist/esm/config/dist/esm/configFile/searchConfigurationFile.mjs.map +0 -1
- package/dist/esm/api/dist/esm/config/dist/esm/defaultValues/build.mjs +0 -10
- package/dist/esm/api/dist/esm/config/dist/esm/defaultValues/build.mjs.map +0 -1
- package/dist/esm/api/dist/esm/config/dist/esm/defaultValues/content.mjs +0 -40
- package/dist/esm/api/dist/esm/config/dist/esm/defaultValues/content.mjs.map +0 -1
- package/dist/esm/api/dist/esm/config/dist/esm/defaultValues/dictionary.mjs +0 -6
- package/dist/esm/api/dist/esm/config/dist/esm/defaultValues/dictionary.mjs.map +0 -1
- package/dist/esm/api/dist/esm/config/dist/esm/defaultValues/editor.mjs +0 -14
- package/dist/esm/api/dist/esm/config/dist/esm/defaultValues/editor.mjs.map +0 -1
- package/dist/esm/api/dist/esm/config/dist/esm/defaultValues/internationalization.mjs +0 -11
- package/dist/esm/api/dist/esm/config/dist/esm/defaultValues/internationalization.mjs.map +0 -1
- package/dist/esm/api/dist/esm/config/dist/esm/defaultValues/log.mjs +0 -9
- package/dist/esm/api/dist/esm/config/dist/esm/defaultValues/log.mjs.map +0 -1
- package/dist/esm/api/dist/esm/config/dist/esm/defaultValues/routing.mjs +0 -8
- package/dist/esm/api/dist/esm/config/dist/esm/defaultValues/routing.mjs.map +0 -1
- package/dist/esm/api/dist/esm/config/dist/esm/loadEnvFile.mjs +0 -24
- package/dist/esm/api/dist/esm/config/dist/esm/loadEnvFile.mjs.map +0 -1
- package/dist/esm/api/dist/esm/config/dist/esm/loadExternalFile/bundleFile.mjs +0 -23
- package/dist/esm/api/dist/esm/config/dist/esm/loadExternalFile/bundleFile.mjs.map +0 -1
- package/dist/esm/api/dist/esm/config/dist/esm/loadExternalFile/loadExternalFile.mjs +0 -47
- package/dist/esm/api/dist/esm/config/dist/esm/loadExternalFile/loadExternalFile.mjs.map +0 -1
- package/dist/esm/api/dist/esm/config/dist/esm/loadExternalFile/parseFileContent.mjs +0 -63
- package/dist/esm/api/dist/esm/config/dist/esm/loadExternalFile/parseFileContent.mjs.map +0 -1
- package/dist/esm/api/dist/esm/config/dist/esm/loadExternalFile/transpileTSToMJS.mjs +0 -44
- package/dist/esm/api/dist/esm/config/dist/esm/loadExternalFile/transpileTSToMJS.mjs.map +0 -1
- package/dist/esm/api/dist/esm/config/dist/esm/logger.mjs +0 -45
- package/dist/esm/api/dist/esm/config/dist/esm/logger.mjs.map +0 -1
- package/dist/esm/api/dist/esm/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.mjs +0 -14
- package/dist/esm/api/dist/esm/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.mjs.map +0 -1
- package/dist/esm/api/dist/esm/config/dist/esm/types/dist/esm/locales.mjs +0 -1128
- package/dist/esm/api/dist/esm/config/dist/esm/types/dist/esm/locales.mjs.map +0 -1
- package/dist/esm/api/dist/esm/config/dist/esm/utils/ESMxCJSHelpers.mjs +0 -25
- package/dist/esm/api/dist/esm/config/dist/esm/utils/ESMxCJSHelpers.mjs.map +0 -1
- package/dist/esm/api/dist/esm/config/dist/esm/utils/cache.mjs +0 -263
- package/dist/esm/api/dist/esm/config/dist/esm/utils/cache.mjs.map +0 -1
- package/dist/esm/api/dist/esm/config/dist/esm/utils/getPackageJsonPath.mjs +0 -33
- package/dist/esm/api/dist/esm/config/dist/esm/utils/getPackageJsonPath.mjs.map +0 -1
- package/dist/esm/api/dist/esm/config/dist/esm/utils/normalizePath.mjs +0 -16
- package/dist/esm/api/dist/esm/config/dist/esm/utils/normalizePath.mjs.map +0 -1
- package/dist/esm/api/dist/esm/fetcher.mjs +0 -120
- package/dist/esm/api/dist/esm/fetcher.mjs.map +0 -1
- package/dist/esm/api/dist/esm/getIntlayerAPI/ai.mjs +0 -164
- package/dist/esm/api/dist/esm/getIntlayerAPI/ai.mjs.map +0 -1
- package/dist/esm/api/dist/esm/getIntlayerAPI/audit.mjs +0 -39
- package/dist/esm/api/dist/esm/getIntlayerAPI/audit.mjs.map +0 -1
- package/dist/esm/api/dist/esm/getIntlayerAPI/dictionary.mjs +0 -70
- package/dist/esm/api/dist/esm/getIntlayerAPI/dictionary.mjs.map +0 -1
- package/dist/esm/api/dist/esm/getIntlayerAPI/editor.mjs +0 -38
- package/dist/esm/api/dist/esm/getIntlayerAPI/editor.mjs.map +0 -1
- package/dist/esm/api/dist/esm/getIntlayerAPI/index.mjs +0 -32
- package/dist/esm/api/dist/esm/getIntlayerAPI/index.mjs.map +0 -1
- package/dist/esm/api/dist/esm/getIntlayerAPI/newsletter.mjs +0 -41
- package/dist/esm/api/dist/esm/getIntlayerAPI/newsletter.mjs.map +0 -1
- package/dist/esm/api/dist/esm/getIntlayerAPI/oAuth.mjs +0 -27
- package/dist/esm/api/dist/esm/getIntlayerAPI/oAuth.mjs.map +0 -1
- package/dist/esm/api/dist/esm/getIntlayerAPI/organization.mjs +0 -94
- package/dist/esm/api/dist/esm/getIntlayerAPI/organization.mjs.map +0 -1
- package/dist/esm/api/dist/esm/getIntlayerAPI/project.mjs +0 -110
- package/dist/esm/api/dist/esm/getIntlayerAPI/project.mjs.map +0 -1
- package/dist/esm/api/dist/esm/getIntlayerAPI/search.mjs +0 -23
- package/dist/esm/api/dist/esm/getIntlayerAPI/search.mjs.map +0 -1
- package/dist/esm/api/dist/esm/getIntlayerAPI/stripe.mjs +0 -39
- package/dist/esm/api/dist/esm/getIntlayerAPI/stripe.mjs.map +0 -1
- package/dist/esm/api/dist/esm/getIntlayerAPI/tag.mjs +0 -48
- package/dist/esm/api/dist/esm/getIntlayerAPI/tag.mjs.map +0 -1
- package/dist/esm/api/dist/esm/getIntlayerAPI/user.mjs +0 -80
- package/dist/esm/api/dist/esm/getIntlayerAPI/user.mjs.map +0 -1
- package/dist/esm/api/dist/esm/proxy.mjs +0 -100
- package/dist/esm/api/dist/esm/proxy.mjs.map +0 -1
- package/dist/esm/config/dist/esm/_virtual/rolldown_runtime.mjs +0 -11
- package/dist/esm/config/dist/esm/_virtual/rolldown_runtime.mjs.map +0 -1
- package/dist/esm/config/dist/esm/built.mjs +0 -8
- package/dist/esm/config/dist/esm/built.mjs.map +0 -1
- package/dist/esm/config/dist/esm/configFile/buildConfigurationFields.mjs +0 -118
- package/dist/esm/config/dist/esm/configFile/buildConfigurationFields.mjs.map +0 -1
- package/dist/esm/config/dist/esm/configFile/getConfiguration.mjs +0 -67
- package/dist/esm/config/dist/esm/configFile/getConfiguration.mjs.map +0 -1
- package/dist/esm/config/dist/esm/configFile/loadConfigurationFile.mjs +0 -26
- package/dist/esm/config/dist/esm/configFile/loadConfigurationFile.mjs.map +0 -1
- package/dist/esm/config/dist/esm/configFile/searchConfigurationFile.mjs +0 -50
- package/dist/esm/config/dist/esm/configFile/searchConfigurationFile.mjs.map +0 -1
- package/dist/esm/config/dist/esm/defaultValues/build.mjs +0 -10
- package/dist/esm/config/dist/esm/defaultValues/build.mjs.map +0 -1
- package/dist/esm/config/dist/esm/defaultValues/content.mjs +0 -40
- package/dist/esm/config/dist/esm/defaultValues/content.mjs.map +0 -1
- package/dist/esm/config/dist/esm/defaultValues/dictionary.mjs +0 -6
- package/dist/esm/config/dist/esm/defaultValues/dictionary.mjs.map +0 -1
- package/dist/esm/config/dist/esm/defaultValues/editor.mjs +0 -14
- package/dist/esm/config/dist/esm/defaultValues/editor.mjs.map +0 -1
- package/dist/esm/config/dist/esm/defaultValues/internationalization.mjs +0 -11
- package/dist/esm/config/dist/esm/defaultValues/internationalization.mjs.map +0 -1
- package/dist/esm/config/dist/esm/defaultValues/log.mjs +0 -9
- package/dist/esm/config/dist/esm/defaultValues/log.mjs.map +0 -1
- package/dist/esm/config/dist/esm/defaultValues/routing.mjs +0 -8
- package/dist/esm/config/dist/esm/defaultValues/routing.mjs.map +0 -1
- package/dist/esm/config/dist/esm/loadEnvFile.mjs +0 -24
- package/dist/esm/config/dist/esm/loadEnvFile.mjs.map +0 -1
- package/dist/esm/config/dist/esm/loadExternalFile/bundleFile.mjs +0 -23
- package/dist/esm/config/dist/esm/loadExternalFile/bundleFile.mjs.map +0 -1
- package/dist/esm/config/dist/esm/loadExternalFile/loadExternalFile.mjs +0 -47
- package/dist/esm/config/dist/esm/loadExternalFile/loadExternalFile.mjs.map +0 -1
- package/dist/esm/config/dist/esm/loadExternalFile/parseFileContent.mjs +0 -63
- package/dist/esm/config/dist/esm/loadExternalFile/parseFileContent.mjs.map +0 -1
- package/dist/esm/config/dist/esm/loadExternalFile/transpileTSToMJS.mjs +0 -44
- package/dist/esm/config/dist/esm/loadExternalFile/transpileTSToMJS.mjs.map +0 -1
- package/dist/esm/config/dist/esm/logger.mjs +0 -104
- package/dist/esm/config/dist/esm/logger.mjs.map +0 -1
- package/dist/esm/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.mjs +0 -14
- package/dist/esm/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.mjs.map +0 -1
- package/dist/esm/config/dist/esm/types/dist/esm/locales.mjs +0 -1128
- package/dist/esm/config/dist/esm/types/dist/esm/locales.mjs.map +0 -1
- package/dist/esm/config/dist/esm/utils/ESMxCJSHelpers.mjs +0 -25
- package/dist/esm/config/dist/esm/utils/ESMxCJSHelpers.mjs.map +0 -1
- package/dist/esm/config/dist/esm/utils/cache.mjs +0 -263
- package/dist/esm/config/dist/esm/utils/cache.mjs.map +0 -1
- package/dist/esm/config/dist/esm/utils/extractErrorMessage.mjs +0 -94
- package/dist/esm/config/dist/esm/utils/extractErrorMessage.mjs.map +0 -1
- package/dist/esm/config/dist/esm/utils/getPackageJsonPath.mjs +0 -33
- package/dist/esm/config/dist/esm/utils/getPackageJsonPath.mjs.map +0 -1
- package/dist/esm/config/dist/esm/utils/normalizePath.mjs +0 -16
- package/dist/esm/config/dist/esm/utils/normalizePath.mjs.map +0 -1
- package/dist/esm/config/package.mjs +0 -6
- package/dist/esm/config/package.mjs.map +0 -1
- package/dist/esm/config/src/utils/kebabCaseToCamelCase.mjs +0 -13
- package/dist/esm/config/src/utils/kebabCaseToCamelCase.mjs.map +0 -1
- package/dist/esm/core/dist/esm/_virtual/rolldown_runtime.mjs +0 -11
- package/dist/esm/core/dist/esm/_virtual/rolldown_runtime.mjs.map +0 -1
- package/dist/esm/core/dist/esm/config/dist/esm/_virtual/rolldown_runtime.mjs +0 -11
- package/dist/esm/core/dist/esm/config/dist/esm/_virtual/rolldown_runtime.mjs.map +0 -1
- package/dist/esm/core/dist/esm/config/dist/esm/built.mjs +0 -8
- package/dist/esm/core/dist/esm/config/dist/esm/built.mjs.map +0 -1
- package/dist/esm/core/dist/esm/config/dist/esm/configFile/buildConfigurationFields.mjs +0 -118
- package/dist/esm/core/dist/esm/config/dist/esm/configFile/buildConfigurationFields.mjs.map +0 -1
- package/dist/esm/core/dist/esm/config/dist/esm/configFile/getConfiguration.mjs +0 -67
- package/dist/esm/core/dist/esm/config/dist/esm/configFile/getConfiguration.mjs.map +0 -1
- package/dist/esm/core/dist/esm/config/dist/esm/configFile/loadConfigurationFile.mjs +0 -26
- package/dist/esm/core/dist/esm/config/dist/esm/configFile/loadConfigurationFile.mjs.map +0 -1
- package/dist/esm/core/dist/esm/config/dist/esm/configFile/searchConfigurationFile.mjs +0 -50
- package/dist/esm/core/dist/esm/config/dist/esm/configFile/searchConfigurationFile.mjs.map +0 -1
- package/dist/esm/core/dist/esm/config/dist/esm/defaultValues/build.mjs +0 -10
- package/dist/esm/core/dist/esm/config/dist/esm/defaultValues/build.mjs.map +0 -1
- package/dist/esm/core/dist/esm/config/dist/esm/defaultValues/content.mjs +0 -40
- package/dist/esm/core/dist/esm/config/dist/esm/defaultValues/content.mjs.map +0 -1
- package/dist/esm/core/dist/esm/config/dist/esm/defaultValues/dictionary.mjs +0 -6
- package/dist/esm/core/dist/esm/config/dist/esm/defaultValues/dictionary.mjs.map +0 -1
- package/dist/esm/core/dist/esm/config/dist/esm/defaultValues/editor.mjs +0 -14
- package/dist/esm/core/dist/esm/config/dist/esm/defaultValues/editor.mjs.map +0 -1
- package/dist/esm/core/dist/esm/config/dist/esm/defaultValues/internationalization.mjs +0 -11
- package/dist/esm/core/dist/esm/config/dist/esm/defaultValues/internationalization.mjs.map +0 -1
- package/dist/esm/core/dist/esm/config/dist/esm/defaultValues/log.mjs +0 -9
- package/dist/esm/core/dist/esm/config/dist/esm/defaultValues/log.mjs.map +0 -1
- package/dist/esm/core/dist/esm/config/dist/esm/defaultValues/routing.mjs +0 -8
- package/dist/esm/core/dist/esm/config/dist/esm/defaultValues/routing.mjs.map +0 -1
- package/dist/esm/core/dist/esm/config/dist/esm/loadEnvFile.mjs +0 -24
- package/dist/esm/core/dist/esm/config/dist/esm/loadEnvFile.mjs.map +0 -1
- package/dist/esm/core/dist/esm/config/dist/esm/loadExternalFile/bundleFile.mjs +0 -23
- package/dist/esm/core/dist/esm/config/dist/esm/loadExternalFile/bundleFile.mjs.map +0 -1
- package/dist/esm/core/dist/esm/config/dist/esm/loadExternalFile/loadExternalFile.mjs +0 -47
- package/dist/esm/core/dist/esm/config/dist/esm/loadExternalFile/loadExternalFile.mjs.map +0 -1
- package/dist/esm/core/dist/esm/config/dist/esm/loadExternalFile/parseFileContent.mjs +0 -63
- package/dist/esm/core/dist/esm/config/dist/esm/loadExternalFile/parseFileContent.mjs.map +0 -1
- package/dist/esm/core/dist/esm/config/dist/esm/loadExternalFile/transpileTSToMJS.mjs +0 -44
- package/dist/esm/core/dist/esm/config/dist/esm/loadExternalFile/transpileTSToMJS.mjs.map +0 -1
- package/dist/esm/core/dist/esm/config/dist/esm/logger.mjs +0 -59
- package/dist/esm/core/dist/esm/config/dist/esm/logger.mjs.map +0 -1
- package/dist/esm/core/dist/esm/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.mjs +0 -14
- package/dist/esm/core/dist/esm/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.mjs.map +0 -1
- package/dist/esm/core/dist/esm/config/dist/esm/types/dist/esm/locales.mjs +0 -1128
- package/dist/esm/core/dist/esm/config/dist/esm/types/dist/esm/locales.mjs.map +0 -1
- package/dist/esm/core/dist/esm/config/dist/esm/utils/ESMxCJSHelpers.mjs +0 -25
- package/dist/esm/core/dist/esm/config/dist/esm/utils/ESMxCJSHelpers.mjs.map +0 -1
- package/dist/esm/core/dist/esm/config/dist/esm/utils/cache.mjs +0 -263
- package/dist/esm/core/dist/esm/config/dist/esm/utils/cache.mjs.map +0 -1
- package/dist/esm/core/dist/esm/config/dist/esm/utils/getPackageJsonPath.mjs +0 -33
- package/dist/esm/core/dist/esm/config/dist/esm/utils/getPackageJsonPath.mjs.map +0 -1
- package/dist/esm/core/dist/esm/config/dist/esm/utils/normalizePath.mjs +0 -16
- package/dist/esm/core/dist/esm/config/dist/esm/utils/normalizePath.mjs.map +0 -1
- package/dist/esm/core/dist/esm/deepTransformPlugins/getFilteredLocalesContent.mjs +0 -43
- package/dist/esm/core/dist/esm/deepTransformPlugins/getFilteredLocalesContent.mjs.map +0 -1
- package/dist/esm/core/dist/esm/deepTransformPlugins/getLocalizedContent.mjs +0 -32
- package/dist/esm/core/dist/esm/deepTransformPlugins/getLocalizedContent.mjs.map +0 -1
- package/dist/esm/core/dist/esm/deepTransformPlugins/getMaskContent.mjs +0 -26
- package/dist/esm/core/dist/esm/deepTransformPlugins/getMaskContent.mjs.map +0 -1
- package/dist/esm/core/dist/esm/deepTransformPlugins/getMultilingualDictionary.mjs +0 -87
- package/dist/esm/core/dist/esm/deepTransformPlugins/getMultilingualDictionary.mjs.map +0 -1
- package/dist/esm/core/dist/esm/dictionaryManipulator/getNodeType.mjs +0 -35
- package/dist/esm/core/dist/esm/dictionaryManipulator/getNodeType.mjs.map +0 -1
- package/dist/esm/core/dist/esm/dictionaryManipulator/mergeDictionaries.mjs +0 -67
- package/dist/esm/core/dist/esm/dictionaryManipulator/mergeDictionaries.mjs.map +0 -1
- package/dist/esm/core/dist/esm/dictionaryManipulator/normalizeDictionary.mjs +0 -29
- package/dist/esm/core/dist/esm/dictionaryManipulator/normalizeDictionary.mjs.map +0 -1
- package/dist/esm/core/dist/esm/dictionaryManipulator/orderDictionaries.mjs +0 -46
- package/dist/esm/core/dist/esm/dictionaryManipulator/orderDictionaries.mjs.map +0 -1
- package/dist/esm/core/dist/esm/interpreter/getContent/deepTransform.mjs +0 -39
- package/dist/esm/core/dist/esm/interpreter/getContent/deepTransform.mjs.map +0 -1
- package/dist/esm/core/dist/esm/interpreter/getContent/plugins.mjs +0 -28
- package/dist/esm/core/dist/esm/interpreter/getContent/plugins.mjs.map +0 -1
- package/dist/esm/core/dist/esm/interpreter/getTranslation.mjs +0 -31
- package/dist/esm/core/dist/esm/interpreter/getTranslation.mjs.map +0 -1
- package/dist/esm/core/dist/esm/localization/getLocaleName.mjs +0 -10
- package/dist/esm/core/dist/esm/localization/getLocaleName.mjs.map +0 -1
- package/dist/esm/core/dist/esm/transpiler/translation/translation.mjs +0 -28
- package/dist/esm/core/dist/esm/transpiler/translation/translation.mjs.map +0 -1
- package/dist/esm/core/dist/esm/types/dist/esm/_virtual/rolldown_runtime.mjs +0 -14
- package/dist/esm/core/dist/esm/types/dist/esm/_virtual/rolldown_runtime.mjs.map +0 -1
- package/dist/esm/core/dist/esm/types/dist/esm/locales.mjs +0 -1128
- package/dist/esm/core/dist/esm/types/dist/esm/locales.mjs.map +0 -1
- package/dist/esm/core/dist/esm/types/dist/esm/nodeType.mjs +0 -29
- package/dist/esm/core/dist/esm/types/dist/esm/nodeType.mjs.map +0 -1
- package/dist/esm/core/dist/esm/utils/intl.mjs +0 -49
- package/dist/esm/core/dist/esm/utils/intl.mjs.map +0 -1
- package/dist/esm/core/dist/esm/utils/isValidReactElement.mjs +0 -13
- package/dist/esm/core/dist/esm/utils/isValidReactElement.mjs.map +0 -1
- package/dist/esm/core/package.mjs +0 -6
- package/dist/esm/core/package.mjs.map +0 -1
- package/dist/esm/core/src/deepTransformPlugins/processContentDeclarationContent.mjs +0 -76
- package/dist/esm/core/src/deepTransformPlugins/processContentDeclarationContent.mjs.map +0 -1
- package/dist/esm/remote-dictionaries-entry/dist/esm/_virtual/rolldown_runtime.mjs +0 -11
- package/dist/esm/remote-dictionaries-entry/dist/esm/_virtual/rolldown_runtime.mjs.map +0 -1
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/_virtual/rolldown_runtime.mjs +0 -11
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/_virtual/rolldown_runtime.mjs.map +0 -1
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/built.mjs +0 -8
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/built.mjs.map +0 -1
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/configFile/buildConfigurationFields.mjs +0 -118
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/configFile/buildConfigurationFields.mjs.map +0 -1
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/configFile/getConfiguration.mjs +0 -67
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/configFile/getConfiguration.mjs.map +0 -1
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/configFile/loadConfigurationFile.mjs +0 -26
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/configFile/loadConfigurationFile.mjs.map +0 -1
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/configFile/searchConfigurationFile.mjs +0 -50
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/configFile/searchConfigurationFile.mjs.map +0 -1
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/build.mjs +0 -10
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/build.mjs.map +0 -1
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/content.mjs +0 -40
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/content.mjs.map +0 -1
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/dictionary.mjs +0 -6
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/dictionary.mjs.map +0 -1
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/editor.mjs +0 -14
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/editor.mjs.map +0 -1
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/internationalization.mjs +0 -11
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/internationalization.mjs.map +0 -1
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/log.mjs +0 -9
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/log.mjs.map +0 -1
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/routing.mjs +0 -8
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/routing.mjs.map +0 -1
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/loadEnvFile.mjs +0 -24
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/loadEnvFile.mjs.map +0 -1
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/bundleFile.mjs +0 -23
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/bundleFile.mjs.map +0 -1
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/loadExternalFile.mjs +0 -47
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/loadExternalFile.mjs.map +0 -1
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/parseFileContent.mjs +0 -63
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/parseFileContent.mjs.map +0 -1
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/transpileTSToMJS.mjs +0 -44
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/transpileTSToMJS.mjs.map +0 -1
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/logger.mjs +0 -45
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/logger.mjs.map +0 -1
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.mjs +0 -14
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.mjs.map +0 -1
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/types/dist/esm/locales.mjs +0 -1128
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/types/dist/esm/locales.mjs.map +0 -1
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/utils/ESMxCJSHelpers.mjs +0 -25
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/utils/ESMxCJSHelpers.mjs.map +0 -1
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/utils/cache.mjs +0 -263
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/utils/cache.mjs.map +0 -1
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/utils/getPackageJsonPath.mjs +0 -33
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/utils/getPackageJsonPath.mjs.map +0 -1
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/utils/normalizePath.mjs +0 -16
- package/dist/esm/remote-dictionaries-entry/dist/esm/config/dist/esm/utils/normalizePath.mjs.map +0 -1
- package/dist/esm/remote-dictionaries-entry/dist/esm/index.mjs +0 -25
- package/dist/esm/remote-dictionaries-entry/dist/esm/index.mjs.map +0 -1
- package/dist/esm/types/dist/esm/_virtual/rolldown_runtime.mjs +0 -14
- package/dist/esm/types/dist/esm/_virtual/rolldown_runtime.mjs.map +0 -1
- package/dist/esm/types/dist/esm/locales.mjs +0 -1128
- package/dist/esm/types/dist/esm/locales.mjs.map +0 -1
- package/dist/esm/types/dist/esm/nodeType.mjs +0 -24
- package/dist/esm/types/dist/esm/nodeType.mjs.map +0 -1
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/_virtual/rolldown_runtime.mjs +0 -11
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/_virtual/rolldown_runtime.mjs.map +0 -1
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/_virtual/rolldown_runtime.mjs +0 -11
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/_virtual/rolldown_runtime.mjs.map +0 -1
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/built.mjs +0 -8
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/built.mjs.map +0 -1
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/configFile/buildConfigurationFields.mjs +0 -118
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/configFile/buildConfigurationFields.mjs.map +0 -1
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/configFile/getConfiguration.mjs +0 -67
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/configFile/getConfiguration.mjs.map +0 -1
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/configFile/loadConfigurationFile.mjs +0 -26
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/configFile/loadConfigurationFile.mjs.map +0 -1
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/configFile/searchConfigurationFile.mjs +0 -50
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/configFile/searchConfigurationFile.mjs.map +0 -1
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/build.mjs +0 -10
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/build.mjs.map +0 -1
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/content.mjs +0 -40
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/content.mjs.map +0 -1
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/dictionary.mjs +0 -6
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/dictionary.mjs.map +0 -1
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/editor.mjs +0 -14
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/editor.mjs.map +0 -1
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/internationalization.mjs +0 -11
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/internationalization.mjs.map +0 -1
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/log.mjs +0 -9
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/log.mjs.map +0 -1
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/routing.mjs +0 -8
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/defaultValues/routing.mjs.map +0 -1
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadEnvFile.mjs +0 -24
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadEnvFile.mjs.map +0 -1
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/bundleFile.mjs +0 -23
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/bundleFile.mjs.map +0 -1
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/loadExternalFile.mjs +0 -47
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/loadExternalFile.mjs.map +0 -1
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/parseFileContent.mjs +0 -63
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/parseFileContent.mjs.map +0 -1
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/transpileTSToMJS.mjs +0 -44
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/loadExternalFile/transpileTSToMJS.mjs.map +0 -1
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/logger.mjs +0 -45
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/logger.mjs.map +0 -1
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.mjs +0 -14
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/types/dist/esm/_virtual/rolldown_runtime.mjs.map +0 -1
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/types/dist/esm/locales.mjs +0 -1128
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/types/dist/esm/locales.mjs.map +0 -1
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/utils/ESMxCJSHelpers.mjs +0 -25
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/utils/ESMxCJSHelpers.mjs.map +0 -1
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/utils/cache.mjs +0 -263
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/utils/cache.mjs.map +0 -1
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/utils/getPackageJsonPath.mjs +0 -33
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/utils/getPackageJsonPath.mjs.map +0 -1
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/utils/normalizePath.mjs +0 -16
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/config/dist/esm/utils/normalizePath.mjs.map +0 -1
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/index.mjs +0 -25
- package/dist/esm/unmerged-dictionaries-entry/dist/esm/index.mjs.map +0 -1
- package/dist/esm/utils/camelCaseToSentence.mjs +0 -10
- package/dist/esm/utils/camelCaseToSentence.mjs.map +0 -1
- package/dist/esm/utils/cammelCaseToSentense.mjs +0 -10
- package/dist/esm/utils/cammelCaseToSentense.mjs.map +0 -1
- package/dist/esm/utils/kebabCaseToCamelCase.mjs +0 -13
- package/dist/esm/utils/kebabCaseToCamelCase.mjs.map +0 -1
- package/dist/esm/utils/runParallel.mjs +0 -163
- package/dist/esm/utils/runParallel.mjs.map +0 -1
- package/dist/types/buildIntlayerDictionary/index.d.ts.map +0 -1
- package/dist/types/createDictionaryEntryPoint/index.d.ts.map +0 -1
- package/dist/types/createType/index.d.ts.map +0 -1
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/loadDictionaries/index.d.ts.map +0 -1
- package/dist/types/processContentDeclarationContent.d.ts +0 -13
- package/dist/types/processContentDeclarationContent.d.ts.map +0 -1
- package/dist/types/utils/camelCaseToSentence.d.ts +0 -5
- package/dist/types/utils/camelCaseToSentence.d.ts.map +0 -1
- package/dist/types/utils/cammelCaseToSentense.d.ts +0 -5
- package/dist/types/utils/cammelCaseToSentense.d.ts.map +0 -1
- package/dist/types/utils/extractErrorMessage.d.ts +0 -2
- package/dist/types/utils/extractErrorMessage.d.ts.map +0 -1
- package/dist/types/utils/getExtension.d.ts +0 -3
- package/dist/types/utils/getExtension.d.ts.map +0 -1
- package/dist/types/utils/kebabCaseToCamelCase.d.ts +0 -5
- package/dist/types/utils/kebabCaseToCamelCase.d.ts.map +0 -1
- package/dist/types/utils/runParallel.d.ts +0 -14
- package/dist/types/utils/runParallel.d.ts.map +0 -1
- package/dist/types/writeContentDeclaration/_test.content.d.ts +0 -4
- package/dist/types/writeContentDeclaration/_test.content.d.ts.map +0 -1
- package/dist/types/writeContentDeclaration/formatCode.d.ts +0 -2
- package/dist/types/writeContentDeclaration/formatCode.d.ts.map +0 -1
- package/dist/types/writeContentDeclaration/index.d.ts.map +0 -1
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import { fetcher } from "../fetcher.mjs";
|
|
2
|
-
import { built_default } from "../config/dist/esm/built.mjs";
|
|
3
|
-
|
|
4
|
-
//#region ../api/dist/esm/getIntlayerAPI/project.mjs
|
|
5
|
-
const getProjectAPI = (authAPIOptions = {}, intlayerConfig) => {
|
|
6
|
-
const backendURL = intlayerConfig?.editor?.backendURL ?? built_default?.editor?.backendURL;
|
|
7
|
-
if (!backendURL) throw new Error("Backend URL is not defined in the Intlayer configuration.");
|
|
8
|
-
const PROJECT_API_ROUTE = `${backendURL}/api/project`;
|
|
9
|
-
/**
|
|
10
|
-
* Retrieves a list of projects based on filters and pagination.
|
|
11
|
-
* @param filters - Filters and pagination options.
|
|
12
|
-
*/
|
|
13
|
-
const getProjects = async (filters, otherOptions = {}) => await fetcher(PROJECT_API_ROUTE, authAPIOptions, otherOptions, {
|
|
14
|
-
cache: "no-store",
|
|
15
|
-
params: filters
|
|
16
|
-
});
|
|
17
|
-
/**
|
|
18
|
-
* Adds a new project to the database.
|
|
19
|
-
* @param project - Project data.
|
|
20
|
-
*/
|
|
21
|
-
const addProject = async (project, otherOptions = {}) => await fetcher(`${PROJECT_API_ROUTE}`, authAPIOptions, otherOptions, {
|
|
22
|
-
method: "POST",
|
|
23
|
-
body: project
|
|
24
|
-
});
|
|
25
|
-
/**
|
|
26
|
-
* Updates an existing project in the database.
|
|
27
|
-
* @param project - Updated project data.
|
|
28
|
-
*/
|
|
29
|
-
const updateProject = async (project, otherOptions = {}) => await fetcher(`${PROJECT_API_ROUTE}`, authAPIOptions, otherOptions, {
|
|
30
|
-
method: "PUT",
|
|
31
|
-
body: project
|
|
32
|
-
});
|
|
33
|
-
/**
|
|
34
|
-
* Updates project members in the database.
|
|
35
|
-
* @param project - Updated project data.
|
|
36
|
-
*/
|
|
37
|
-
const updateProjectMembers = async (body, otherOptions = {}) => await fetcher(`${PROJECT_API_ROUTE}/members`, authAPIOptions, otherOptions, {
|
|
38
|
-
method: "PUT",
|
|
39
|
-
body
|
|
40
|
-
});
|
|
41
|
-
/** Pushes a project configuration to the database.
|
|
42
|
-
* @param projectConfiguration - Project configuration data.
|
|
43
|
-
*/
|
|
44
|
-
const pushProjectConfiguration = async (projectConfiguration, otherOptions = {}) => await fetcher(`${PROJECT_API_ROUTE}/configuration`, authAPIOptions, otherOptions, {
|
|
45
|
-
method: "PUT",
|
|
46
|
-
body: projectConfiguration
|
|
47
|
-
});
|
|
48
|
-
/**
|
|
49
|
-
* Deletes a project from the database by its ID.
|
|
50
|
-
* @param id - Project ID.
|
|
51
|
-
*/
|
|
52
|
-
const deleteProject = async (otherOptions = {}) => await fetcher(`${PROJECT_API_ROUTE}`, authAPIOptions, otherOptions, { method: "DELETE" });
|
|
53
|
-
/**
|
|
54
|
-
* Select a project from the database by its ID.
|
|
55
|
-
* @param projectId - Organization ID.
|
|
56
|
-
*/
|
|
57
|
-
const selectProject = async (projectId, otherOptions = {}) => await fetcher(`${PROJECT_API_ROUTE}/${String(projectId)}`, authAPIOptions, otherOptions, { method: "PUT" });
|
|
58
|
-
/**
|
|
59
|
-
* Unselect a project from the database by its ID.
|
|
60
|
-
* @param projectId - Project ID.
|
|
61
|
-
*/
|
|
62
|
-
const unselectProject = async (otherOptions = {}) => await fetcher(`${PROJECT_API_ROUTE}/logout`, authAPIOptions, otherOptions, { method: "POST" });
|
|
63
|
-
/**
|
|
64
|
-
* Add a new access key to a project.
|
|
65
|
-
* @param accessKey - Access key data.
|
|
66
|
-
* @param otherOptions - Fetcher options.
|
|
67
|
-
* @returns The new access key.
|
|
68
|
-
*/
|
|
69
|
-
const addNewAccessKey = async (accessKey, otherOptions = {}) => await fetcher(`${PROJECT_API_ROUTE}/access_key`, authAPIOptions, otherOptions, {
|
|
70
|
-
method: "POST",
|
|
71
|
-
body: accessKey
|
|
72
|
-
});
|
|
73
|
-
/**
|
|
74
|
-
* Delete a project access key.
|
|
75
|
-
* @param clientId - Access key client ID.
|
|
76
|
-
* @param otherOptions - Fetcher options.
|
|
77
|
-
* @returns The deleted project.
|
|
78
|
-
*/
|
|
79
|
-
const deleteAccessKey = async (clientId, otherOptions = {}) => await fetcher(`${PROJECT_API_ROUTE}/access_key`, authAPIOptions, otherOptions, {
|
|
80
|
-
method: "DELETE",
|
|
81
|
-
body: { clientId }
|
|
82
|
-
});
|
|
83
|
-
/**
|
|
84
|
-
* Refreshes an access key from a project.
|
|
85
|
-
* @param clientId - The ID of the client to refresh.
|
|
86
|
-
* @param projectId - The ID of the project to refresh the access key from.
|
|
87
|
-
* @returns The new access key.
|
|
88
|
-
*/
|
|
89
|
-
const refreshAccessKey = async (clientId, otherOptions = {}) => await fetcher(`${PROJECT_API_ROUTE}/access_key`, authAPIOptions, otherOptions, {
|
|
90
|
-
method: "PATCH",
|
|
91
|
-
body: { clientId }
|
|
92
|
-
});
|
|
93
|
-
return {
|
|
94
|
-
getProjects,
|
|
95
|
-
addProject,
|
|
96
|
-
updateProject,
|
|
97
|
-
updateProjectMembers,
|
|
98
|
-
pushProjectConfiguration,
|
|
99
|
-
deleteProject,
|
|
100
|
-
selectProject,
|
|
101
|
-
unselectProject,
|
|
102
|
-
addNewAccessKey,
|
|
103
|
-
deleteAccessKey,
|
|
104
|
-
refreshAccessKey
|
|
105
|
-
};
|
|
106
|
-
};
|
|
107
|
-
|
|
108
|
-
//#endregion
|
|
109
|
-
export { getProjectAPI };
|
|
110
|
-
//# sourceMappingURL=project.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"project.mjs","names":[],"sources":["../../../../../../../api/dist/esm/getIntlayerAPI/project.mjs"],"sourcesContent":["import { fetcher } from \"../fetcher.mjs\";\nimport { built_default } from \"../config/dist/esm/built.mjs\";\n\n//#region src/getIntlayerAPI/project.ts\nconst getProjectAPI = (authAPIOptions = {}, intlayerConfig) => {\n\tconst backendURL = intlayerConfig?.editor?.backendURL ?? built_default?.editor?.backendURL;\n\tif (!backendURL) throw new Error(\"Backend URL is not defined in the Intlayer configuration.\");\n\tconst PROJECT_API_ROUTE = `${backendURL}/api/project`;\n\t/**\n\t* Retrieves a list of projects based on filters and pagination.\n\t* @param filters - Filters and pagination options.\n\t*/\n\tconst getProjects = async (filters, otherOptions = {}) => await fetcher(PROJECT_API_ROUTE, authAPIOptions, otherOptions, {\n\t\tcache: \"no-store\",\n\t\tparams: filters\n\t});\n\t/**\n\t* Adds a new project to the database.\n\t* @param project - Project data.\n\t*/\n\tconst addProject = async (project, otherOptions = {}) => await fetcher(`${PROJECT_API_ROUTE}`, authAPIOptions, otherOptions, {\n\t\tmethod: \"POST\",\n\t\tbody: project\n\t});\n\t/**\n\t* Updates an existing project in the database.\n\t* @param project - Updated project data.\n\t*/\n\tconst updateProject = async (project, otherOptions = {}) => await fetcher(`${PROJECT_API_ROUTE}`, authAPIOptions, otherOptions, {\n\t\tmethod: \"PUT\",\n\t\tbody: project\n\t});\n\t/**\n\t* Updates project members in the database.\n\t* @param project - Updated project data.\n\t*/\n\tconst updateProjectMembers = async (body, otherOptions = {}) => await fetcher(`${PROJECT_API_ROUTE}/members`, authAPIOptions, otherOptions, {\n\t\tmethod: \"PUT\",\n\t\tbody\n\t});\n\t/** Pushes a project configuration to the database.\n\t* @param projectConfiguration - Project configuration data.\n\t*/\n\tconst pushProjectConfiguration = async (projectConfiguration, otherOptions = {}) => await fetcher(`${PROJECT_API_ROUTE}/configuration`, authAPIOptions, otherOptions, {\n\t\tmethod: \"PUT\",\n\t\tbody: projectConfiguration\n\t});\n\t/**\n\t* Deletes a project from the database by its ID.\n\t* @param id - Project ID.\n\t*/\n\tconst deleteProject = async (otherOptions = {}) => await fetcher(`${PROJECT_API_ROUTE}`, authAPIOptions, otherOptions, { method: \"DELETE\" });\n\t/**\n\t* Select a project from the database by its ID.\n\t* @param projectId - Organization ID.\n\t*/\n\tconst selectProject = async (projectId, otherOptions = {}) => await fetcher(`${PROJECT_API_ROUTE}/${String(projectId)}`, authAPIOptions, otherOptions, { method: \"PUT\" });\n\t/**\n\t* Unselect a project from the database by its ID.\n\t* @param projectId - Project ID.\n\t*/\n\tconst unselectProject = async (otherOptions = {}) => await fetcher(`${PROJECT_API_ROUTE}/logout`, authAPIOptions, otherOptions, { method: \"POST\" });\n\t/**\n\t* Add a new access key to a project.\n\t* @param accessKey - Access key data.\n\t* @param otherOptions - Fetcher options.\n\t* @returns The new access key.\n\t*/\n\tconst addNewAccessKey = async (accessKey, otherOptions = {}) => await fetcher(`${PROJECT_API_ROUTE}/access_key`, authAPIOptions, otherOptions, {\n\t\tmethod: \"POST\",\n\t\tbody: accessKey\n\t});\n\t/**\n\t* Delete a project access key.\n\t* @param clientId - Access key client ID.\n\t* @param otherOptions - Fetcher options.\n\t* @returns The deleted project.\n\t*/\n\tconst deleteAccessKey = async (clientId, otherOptions = {}) => await fetcher(`${PROJECT_API_ROUTE}/access_key`, authAPIOptions, otherOptions, {\n\t\tmethod: \"DELETE\",\n\t\tbody: { clientId }\n\t});\n\t/**\n\t* Refreshes an access key from a project.\n\t* @param clientId - The ID of the client to refresh.\n\t* @param projectId - The ID of the project to refresh the access key from.\n\t* @returns The new access key.\n\t*/\n\tconst refreshAccessKey = async (clientId, otherOptions = {}) => await fetcher(`${PROJECT_API_ROUTE}/access_key`, authAPIOptions, otherOptions, {\n\t\tmethod: \"PATCH\",\n\t\tbody: { clientId }\n\t});\n\treturn {\n\t\tgetProjects,\n\t\taddProject,\n\t\tupdateProject,\n\t\tupdateProjectMembers,\n\t\tpushProjectConfiguration,\n\t\tdeleteProject,\n\t\tselectProject,\n\t\tunselectProject,\n\t\taddNewAccessKey,\n\t\tdeleteAccessKey,\n\t\trefreshAccessKey\n\t};\n};\n\n//#endregion\nexport { getProjectAPI };\n//# sourceMappingURL=project.mjs.map"],"mappings":";;;;AAIA,MAAM,iBAAiB,iBAAiB,EAAE,EAAE,mBAAmB;CAC9D,MAAM,aAAa,gBAAgB,QAAQ,cAAc,eAAe,QAAQ;AAChF,KAAI,CAAC,WAAY,OAAM,IAAI,MAAM,4DAA4D;CAC7F,MAAM,oBAAoB,GAAG,WAAW;;;;;CAKxC,MAAM,cAAc,OAAO,SAAS,eAAe,EAAE,KAAK,MAAM,QAAQ,mBAAmB,gBAAgB,cAAc;EACxH,OAAO;EACP,QAAQ;EACR,CAAC;;;;;CAKF,MAAM,aAAa,OAAO,SAAS,eAAe,EAAE,KAAK,MAAM,QAAQ,GAAG,qBAAqB,gBAAgB,cAAc;EAC5H,QAAQ;EACR,MAAM;EACN,CAAC;;;;;CAKF,MAAM,gBAAgB,OAAO,SAAS,eAAe,EAAE,KAAK,MAAM,QAAQ,GAAG,qBAAqB,gBAAgB,cAAc;EAC/H,QAAQ;EACR,MAAM;EACN,CAAC;;;;;CAKF,MAAM,uBAAuB,OAAO,MAAM,eAAe,EAAE,KAAK,MAAM,QAAQ,GAAG,kBAAkB,WAAW,gBAAgB,cAAc;EAC3I,QAAQ;EACR;EACA,CAAC;;;;CAIF,MAAM,2BAA2B,OAAO,sBAAsB,eAAe,EAAE,KAAK,MAAM,QAAQ,GAAG,kBAAkB,iBAAiB,gBAAgB,cAAc;EACrK,QAAQ;EACR,MAAM;EACN,CAAC;;;;;CAKF,MAAM,gBAAgB,OAAO,eAAe,EAAE,KAAK,MAAM,QAAQ,GAAG,qBAAqB,gBAAgB,cAAc,EAAE,QAAQ,UAAU,CAAC;;;;;CAK5I,MAAM,gBAAgB,OAAO,WAAW,eAAe,EAAE,KAAK,MAAM,QAAQ,GAAG,kBAAkB,GAAG,OAAO,UAAU,IAAI,gBAAgB,cAAc,EAAE,QAAQ,OAAO,CAAC;;;;;CAKzK,MAAM,kBAAkB,OAAO,eAAe,EAAE,KAAK,MAAM,QAAQ,GAAG,kBAAkB,UAAU,gBAAgB,cAAc,EAAE,QAAQ,QAAQ,CAAC;;;;;;;CAOnJ,MAAM,kBAAkB,OAAO,WAAW,eAAe,EAAE,KAAK,MAAM,QAAQ,GAAG,kBAAkB,cAAc,gBAAgB,cAAc;EAC9I,QAAQ;EACR,MAAM;EACN,CAAC;;;;;;;CAOF,MAAM,kBAAkB,OAAO,UAAU,eAAe,EAAE,KAAK,MAAM,QAAQ,GAAG,kBAAkB,cAAc,gBAAgB,cAAc;EAC7I,QAAQ;EACR,MAAM,EAAE,UAAU;EAClB,CAAC;;;;;;;CAOF,MAAM,mBAAmB,OAAO,UAAU,eAAe,EAAE,KAAK,MAAM,QAAQ,GAAG,kBAAkB,cAAc,gBAAgB,cAAc;EAC9I,QAAQ;EACR,MAAM,EAAE,UAAU;EAClB,CAAC;AACF,QAAO;EACN;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { fetcher } from "../fetcher.mjs";
|
|
2
|
-
import { built_default } from "../config/dist/esm/built.mjs";
|
|
3
|
-
|
|
4
|
-
//#region ../api/dist/esm/getIntlayerAPI/search.mjs
|
|
5
|
-
const getSearchAPI = (authAPIOptions = {}, intlayerConfig) => {
|
|
6
|
-
const backendURL = intlayerConfig?.editor?.backendURL ?? built_default?.editor?.backendURL;
|
|
7
|
-
if (!backendURL) throw new Error("Backend URL is not defined in the Intlayer configuration.");
|
|
8
|
-
const AI_API_ROUTE = `${backendURL}/api/search`;
|
|
9
|
-
/**
|
|
10
|
-
* Search documentation
|
|
11
|
-
* @param params - Search parameters containing the input query.
|
|
12
|
-
* @returns Search results with GitHub URLs.
|
|
13
|
-
*/
|
|
14
|
-
const searchDoc = async (params, otherOptions = {}) => await fetcher(`${AI_API_ROUTE}/doc`, authAPIOptions, otherOptions, {
|
|
15
|
-
method: "GET",
|
|
16
|
-
params
|
|
17
|
-
});
|
|
18
|
-
return { searchDoc };
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
//#endregion
|
|
22
|
-
export { getSearchAPI };
|
|
23
|
-
//# sourceMappingURL=search.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"search.mjs","names":[],"sources":["../../../../../../../api/dist/esm/getIntlayerAPI/search.mjs"],"sourcesContent":["import { fetcher } from \"../fetcher.mjs\";\nimport { built_default } from \"../config/dist/esm/built.mjs\";\n\n//#region src/getIntlayerAPI/search.ts\nconst getSearchAPI = (authAPIOptions = {}, intlayerConfig) => {\n\tconst backendURL = intlayerConfig?.editor?.backendURL ?? built_default?.editor?.backendURL;\n\tif (!backendURL) throw new Error(\"Backend URL is not defined in the Intlayer configuration.\");\n\tconst AI_API_ROUTE = `${backendURL}/api/search`;\n\t/**\n\t* Search documentation\n\t* @param params - Search parameters containing the input query.\n\t* @returns Search results with GitHub URLs.\n\t*/\n\tconst searchDoc = async (params, otherOptions = {}) => await fetcher(`${AI_API_ROUTE}/doc`, authAPIOptions, otherOptions, {\n\t\tmethod: \"GET\",\n\t\tparams\n\t});\n\treturn { searchDoc };\n};\n\n//#endregion\nexport { getSearchAPI };\n//# sourceMappingURL=search.mjs.map"],"mappings":";;;;AAIA,MAAM,gBAAgB,iBAAiB,EAAE,EAAE,mBAAmB;CAC7D,MAAM,aAAa,gBAAgB,QAAQ,cAAc,eAAe,QAAQ;AAChF,KAAI,CAAC,WAAY,OAAM,IAAI,MAAM,4DAA4D;CAC7F,MAAM,eAAe,GAAG,WAAW;;;;;;CAMnC,MAAM,YAAY,OAAO,QAAQ,eAAe,EAAE,KAAK,MAAM,QAAQ,GAAG,aAAa,OAAO,gBAAgB,cAAc;EACzH,QAAQ;EACR;EACA,CAAC;AACF,QAAO,EAAE,WAAW"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { fetcher } from "../fetcher.mjs";
|
|
2
|
-
import { built_default } from "../config/dist/esm/built.mjs";
|
|
3
|
-
|
|
4
|
-
//#region ../api/dist/esm/getIntlayerAPI/stripe.mjs
|
|
5
|
-
const getStripeAPI = (authAPIOptions = {}, intlayerConfig) => {
|
|
6
|
-
const backendURL = intlayerConfig?.editor?.backendURL ?? built_default?.editor?.backendURL;
|
|
7
|
-
if (!backendURL) throw new Error("Backend URL is not defined in the Intlayer configuration.");
|
|
8
|
-
const STRIPE_API_ROUTE = `${backendURL}/api/stripe`;
|
|
9
|
-
/**
|
|
10
|
-
* Get a pricing plan calculated for a given promotion code.
|
|
11
|
-
* @param body - Pricing plan body.
|
|
12
|
-
*/
|
|
13
|
-
const getPricing = async (body, otherOptions = {}) => await fetcher(`${STRIPE_API_ROUTE}/pricing`, authAPIOptions, otherOptions, {
|
|
14
|
-
method: "POST",
|
|
15
|
-
body
|
|
16
|
-
});
|
|
17
|
-
/**
|
|
18
|
-
* Retrieves a checkout session.
|
|
19
|
-
* @param body - Checkout session body.
|
|
20
|
-
*/
|
|
21
|
-
const getSubscription = async (body, otherOptions = {}) => await fetcher(`${STRIPE_API_ROUTE}/create-subscription`, authAPIOptions, otherOptions, {
|
|
22
|
-
method: "POST",
|
|
23
|
-
body
|
|
24
|
-
});
|
|
25
|
-
/**
|
|
26
|
-
* Cancels a subscription.
|
|
27
|
-
* @param body - Checkout session body.
|
|
28
|
-
*/
|
|
29
|
-
const cancelSubscription = async (otherOptions = {}) => await fetcher(`${STRIPE_API_ROUTE}/cancel-subscription`, authAPIOptions, otherOptions, { method: "POST" });
|
|
30
|
-
return {
|
|
31
|
-
getPricing,
|
|
32
|
-
getSubscription,
|
|
33
|
-
cancelSubscription
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
//#endregion
|
|
38
|
-
export { getStripeAPI };
|
|
39
|
-
//# sourceMappingURL=stripe.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"stripe.mjs","names":[],"sources":["../../../../../../../api/dist/esm/getIntlayerAPI/stripe.mjs"],"sourcesContent":["import { fetcher } from \"../fetcher.mjs\";\nimport { built_default } from \"../config/dist/esm/built.mjs\";\n\n//#region src/getIntlayerAPI/stripe.ts\nconst getStripeAPI = (authAPIOptions = {}, intlayerConfig) => {\n\tconst backendURL = intlayerConfig?.editor?.backendURL ?? built_default?.editor?.backendURL;\n\tif (!backendURL) throw new Error(\"Backend URL is not defined in the Intlayer configuration.\");\n\tconst STRIPE_API_ROUTE = `${backendURL}/api/stripe`;\n\t/**\n\t* Get a pricing plan calculated for a given promotion code.\n\t* @param body - Pricing plan body.\n\t*/\n\tconst getPricing = async (body, otherOptions = {}) => await fetcher(`${STRIPE_API_ROUTE}/pricing`, authAPIOptions, otherOptions, {\n\t\tmethod: \"POST\",\n\t\tbody\n\t});\n\t/**\n\t* Retrieves a checkout session.\n\t* @param body - Checkout session body.\n\t*/\n\tconst getSubscription = async (body, otherOptions = {}) => await fetcher(`${STRIPE_API_ROUTE}/create-subscription`, authAPIOptions, otherOptions, {\n\t\tmethod: \"POST\",\n\t\tbody\n\t});\n\t/**\n\t* Cancels a subscription.\n\t* @param body - Checkout session body.\n\t*/\n\tconst cancelSubscription = async (otherOptions = {}) => await fetcher(`${STRIPE_API_ROUTE}/cancel-subscription`, authAPIOptions, otherOptions, { method: \"POST\" });\n\treturn {\n\t\tgetPricing,\n\t\tgetSubscription,\n\t\tcancelSubscription\n\t};\n};\n\n//#endregion\nexport { getStripeAPI };\n//# sourceMappingURL=stripe.mjs.map"],"mappings":";;;;AAIA,MAAM,gBAAgB,iBAAiB,EAAE,EAAE,mBAAmB;CAC7D,MAAM,aAAa,gBAAgB,QAAQ,cAAc,eAAe,QAAQ;AAChF,KAAI,CAAC,WAAY,OAAM,IAAI,MAAM,4DAA4D;CAC7F,MAAM,mBAAmB,GAAG,WAAW;;;;;CAKvC,MAAM,aAAa,OAAO,MAAM,eAAe,EAAE,KAAK,MAAM,QAAQ,GAAG,iBAAiB,WAAW,gBAAgB,cAAc;EAChI,QAAQ;EACR;EACA,CAAC;;;;;CAKF,MAAM,kBAAkB,OAAO,MAAM,eAAe,EAAE,KAAK,MAAM,QAAQ,GAAG,iBAAiB,uBAAuB,gBAAgB,cAAc;EACjJ,QAAQ;EACR;EACA,CAAC;;;;;CAKF,MAAM,qBAAqB,OAAO,eAAe,EAAE,KAAK,MAAM,QAAQ,GAAG,iBAAiB,uBAAuB,gBAAgB,cAAc,EAAE,QAAQ,QAAQ,CAAC;AAClK,QAAO;EACN;EACA;EACA;EACA"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { fetcher } from "../fetcher.mjs";
|
|
2
|
-
import { built_default } from "../config/dist/esm/built.mjs";
|
|
3
|
-
|
|
4
|
-
//#region ../api/dist/esm/getIntlayerAPI/tag.mjs
|
|
5
|
-
const getTagAPI = (authAPIOptions = {}, intlayerConfig) => {
|
|
6
|
-
const backendURL = intlayerConfig?.editor?.backendURL ?? built_default?.editor?.backendURL;
|
|
7
|
-
if (!backendURL) throw new Error("Backend URL is not defined in the Intlayer configuration.");
|
|
8
|
-
const PROJECT_API_ROUTE = `${backendURL}/api/tag`;
|
|
9
|
-
/**
|
|
10
|
-
* Retrieves a list of tags based on filters and pagination.
|
|
11
|
-
* @param filters - Filters and pagination options.
|
|
12
|
-
*/
|
|
13
|
-
const getTags = async (filters, otherOptions = {}) => await fetcher(PROJECT_API_ROUTE, authAPIOptions, otherOptions, {
|
|
14
|
-
cache: "no-store",
|
|
15
|
-
params: filters
|
|
16
|
-
});
|
|
17
|
-
/**
|
|
18
|
-
* Adds a new tag to the database.
|
|
19
|
-
* @param tag - Tag data.
|
|
20
|
-
*/
|
|
21
|
-
const addTag = async (tag, otherOptions = {}) => await fetcher(`${PROJECT_API_ROUTE}`, authAPIOptions, otherOptions, {
|
|
22
|
-
method: "POST",
|
|
23
|
-
body: tag
|
|
24
|
-
});
|
|
25
|
-
/**
|
|
26
|
-
* Updates an existing tag in the database.
|
|
27
|
-
* @param tag - Updated tag data.
|
|
28
|
-
*/
|
|
29
|
-
const updateTag = async (tagId, tag, otherOptions = {}) => await fetcher(`${PROJECT_API_ROUTE}/${tagId}`, authAPIOptions, otherOptions, {
|
|
30
|
-
method: "PUT",
|
|
31
|
-
body: tag
|
|
32
|
-
});
|
|
33
|
-
/**
|
|
34
|
-
* Deletes a tag from the database by its ID.
|
|
35
|
-
* @param tagId - Tag ID.
|
|
36
|
-
*/
|
|
37
|
-
const deleteTag = async (tagId, otherOptions = {}) => await fetcher(`${PROJECT_API_ROUTE}/${tagId}`, authAPIOptions, otherOptions, { method: "DELETE" });
|
|
38
|
-
return {
|
|
39
|
-
getTags,
|
|
40
|
-
addTag,
|
|
41
|
-
updateTag,
|
|
42
|
-
deleteTag
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
//#endregion
|
|
47
|
-
export { getTagAPI };
|
|
48
|
-
//# sourceMappingURL=tag.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tag.mjs","names":[],"sources":["../../../../../../../api/dist/esm/getIntlayerAPI/tag.mjs"],"sourcesContent":["import { fetcher } from \"../fetcher.mjs\";\nimport { built_default } from \"../config/dist/esm/built.mjs\";\n\n//#region src/getIntlayerAPI/tag.ts\nconst getTagAPI = (authAPIOptions = {}, intlayerConfig) => {\n\tconst backendURL = intlayerConfig?.editor?.backendURL ?? built_default?.editor?.backendURL;\n\tif (!backendURL) throw new Error(\"Backend URL is not defined in the Intlayer configuration.\");\n\tconst PROJECT_API_ROUTE = `${backendURL}/api/tag`;\n\t/**\n\t* Retrieves a list of tags based on filters and pagination.\n\t* @param filters - Filters and pagination options.\n\t*/\n\tconst getTags = async (filters, otherOptions = {}) => await fetcher(PROJECT_API_ROUTE, authAPIOptions, otherOptions, {\n\t\tcache: \"no-store\",\n\t\tparams: filters\n\t});\n\t/**\n\t* Adds a new tag to the database.\n\t* @param tag - Tag data.\n\t*/\n\tconst addTag = async (tag, otherOptions = {}) => await fetcher(`${PROJECT_API_ROUTE}`, authAPIOptions, otherOptions, {\n\t\tmethod: \"POST\",\n\t\tbody: tag\n\t});\n\t/**\n\t* Updates an existing tag in the database.\n\t* @param tag - Updated tag data.\n\t*/\n\tconst updateTag = async (tagId, tag, otherOptions = {}) => await fetcher(`${PROJECT_API_ROUTE}/${tagId}`, authAPIOptions, otherOptions, {\n\t\tmethod: \"PUT\",\n\t\tbody: tag\n\t});\n\t/**\n\t* Deletes a tag from the database by its ID.\n\t* @param tagId - Tag ID.\n\t*/\n\tconst deleteTag = async (tagId, otherOptions = {}) => await fetcher(`${PROJECT_API_ROUTE}/${tagId}`, authAPIOptions, otherOptions, { method: \"DELETE\" });\n\treturn {\n\t\tgetTags,\n\t\taddTag,\n\t\tupdateTag,\n\t\tdeleteTag\n\t};\n};\n\n//#endregion\nexport { getTagAPI };\n//# sourceMappingURL=tag.mjs.map"],"mappings":";;;;AAIA,MAAM,aAAa,iBAAiB,EAAE,EAAE,mBAAmB;CAC1D,MAAM,aAAa,gBAAgB,QAAQ,cAAc,eAAe,QAAQ;AAChF,KAAI,CAAC,WAAY,OAAM,IAAI,MAAM,4DAA4D;CAC7F,MAAM,oBAAoB,GAAG,WAAW;;;;;CAKxC,MAAM,UAAU,OAAO,SAAS,eAAe,EAAE,KAAK,MAAM,QAAQ,mBAAmB,gBAAgB,cAAc;EACpH,OAAO;EACP,QAAQ;EACR,CAAC;;;;;CAKF,MAAM,SAAS,OAAO,KAAK,eAAe,EAAE,KAAK,MAAM,QAAQ,GAAG,qBAAqB,gBAAgB,cAAc;EACpH,QAAQ;EACR,MAAM;EACN,CAAC;;;;;CAKF,MAAM,YAAY,OAAO,OAAO,KAAK,eAAe,EAAE,KAAK,MAAM,QAAQ,GAAG,kBAAkB,GAAG,SAAS,gBAAgB,cAAc;EACvI,QAAQ;EACR,MAAM;EACN,CAAC;;;;;CAKF,MAAM,YAAY,OAAO,OAAO,eAAe,EAAE,KAAK,MAAM,QAAQ,GAAG,kBAAkB,GAAG,SAAS,gBAAgB,cAAc,EAAE,QAAQ,UAAU,CAAC;AACxJ,QAAO;EACN;EACA;EACA;EACA;EACA"}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { fetcher } from "../fetcher.mjs";
|
|
2
|
-
import { built_default } from "../config/dist/esm/built.mjs";
|
|
3
|
-
|
|
4
|
-
//#region ../api/dist/esm/getIntlayerAPI/user.mjs
|
|
5
|
-
const getUserAPI = (authAPIOptions = {}, intlayerConfig) => {
|
|
6
|
-
const backendURL = intlayerConfig?.editor?.backendURL ?? built_default?.editor?.backendURL;
|
|
7
|
-
if (!backendURL) throw new Error("Backend URL is not defined in the Intlayer configuration.");
|
|
8
|
-
const USER_API_ROUTE = `${backendURL}/api/user`;
|
|
9
|
-
/**
|
|
10
|
-
* Retrieves a list of users based on filters and pagination.
|
|
11
|
-
* @param filters - Filters and pagination options.
|
|
12
|
-
* @returns List of users.
|
|
13
|
-
*/
|
|
14
|
-
const getUsers = async (filters, otherOptions = {}) => await fetcher(USER_API_ROUTE, authAPIOptions, otherOptions, {
|
|
15
|
-
cache: "no-store",
|
|
16
|
-
params: filters
|
|
17
|
-
});
|
|
18
|
-
/**
|
|
19
|
-
* Retrieves a user by ID.
|
|
20
|
-
* @param userId - User ID.
|
|
21
|
-
* @returns User object.
|
|
22
|
-
*/
|
|
23
|
-
const getUserById = async (userId, otherOptions = {}) => await fetcher(`${USER_API_ROUTE}/${userId}`, authAPIOptions, otherOptions, { cache: "no-store" });
|
|
24
|
-
/**
|
|
25
|
-
* Retrieves a user by email.
|
|
26
|
-
* @param email - User email.
|
|
27
|
-
* @returns User object.
|
|
28
|
-
*/
|
|
29
|
-
const getUserByEmail = async (email, otherOptions = {}) => await fetcher(`${USER_API_ROUTE}/email/${email}`, authAPIOptions, otherOptions, { cache: "no-store" });
|
|
30
|
-
/**
|
|
31
|
-
* Retrieves a user by account.
|
|
32
|
-
* @param providerAccountId - The provider account ID.
|
|
33
|
-
* @param provider - The provider of the account.
|
|
34
|
-
*/
|
|
35
|
-
const getUserByAccount = async (providerAccountId, provider, otherOptions = {}) => await fetcher(`${USER_API_ROUTE}/account/${provider}/${providerAccountId}`, authAPIOptions, otherOptions, { cache: "no-store" });
|
|
36
|
-
/**
|
|
37
|
-
* Creates a new user.
|
|
38
|
-
* @param user - User credentials.
|
|
39
|
-
* @returns User object.
|
|
40
|
-
*/
|
|
41
|
-
const createUser = async (user, otherOptions = {}) => await fetcher(`${USER_API_ROUTE}/`, authAPIOptions, otherOptions, {
|
|
42
|
-
method: "POST",
|
|
43
|
-
body: user
|
|
44
|
-
});
|
|
45
|
-
/**
|
|
46
|
-
* Updates the user with the provided data.
|
|
47
|
-
* @param user - Updated user data.
|
|
48
|
-
* @returns User object.
|
|
49
|
-
*/
|
|
50
|
-
const updateUser = async (user, otherOptions = {}) => await fetcher(`${USER_API_ROUTE}`, authAPIOptions, otherOptions, {
|
|
51
|
-
method: "PUT",
|
|
52
|
-
body: user
|
|
53
|
-
});
|
|
54
|
-
/**
|
|
55
|
-
* Deletes a user with the provided ID.
|
|
56
|
-
* @param userId - User ID.
|
|
57
|
-
* @returns User object.
|
|
58
|
-
*/
|
|
59
|
-
const deleteUser = async (userId, otherOptions = {}) => await fetcher(`${USER_API_ROUTE}/${userId}`, authAPIOptions, otherOptions, { method: "DELETE" });
|
|
60
|
-
/**
|
|
61
|
-
* Gets the verify email status URL to use in the SSE.
|
|
62
|
-
* @param userId - User ID.
|
|
63
|
-
* @returns The verify email status URL.
|
|
64
|
-
*/
|
|
65
|
-
const getVerifyEmailStatusURL = (userId) => `${USER_API_ROUTE}/verify-email-status/${String(userId)}`;
|
|
66
|
-
return {
|
|
67
|
-
createUser,
|
|
68
|
-
getUsers,
|
|
69
|
-
getUserById,
|
|
70
|
-
getUserByAccount,
|
|
71
|
-
getUserByEmail,
|
|
72
|
-
updateUser,
|
|
73
|
-
deleteUser,
|
|
74
|
-
getVerifyEmailStatusURL
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
|
|
78
|
-
//#endregion
|
|
79
|
-
export { getUserAPI };
|
|
80
|
-
//# sourceMappingURL=user.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user.mjs","names":[],"sources":["../../../../../../../api/dist/esm/getIntlayerAPI/user.mjs"],"sourcesContent":["import { fetcher } from \"../fetcher.mjs\";\nimport { built_default } from \"../config/dist/esm/built.mjs\";\n\n//#region src/getIntlayerAPI/user.ts\nconst getUserAPI = (authAPIOptions = {}, intlayerConfig) => {\n\tconst backendURL = intlayerConfig?.editor?.backendURL ?? built_default?.editor?.backendURL;\n\tif (!backendURL) throw new Error(\"Backend URL is not defined in the Intlayer configuration.\");\n\tconst USER_API_ROUTE = `${backendURL}/api/user`;\n\t/**\n\t* Retrieves a list of users based on filters and pagination.\n\t* @param filters - Filters and pagination options.\n\t* @returns List of users.\n\t*/\n\tconst getUsers = async (filters, otherOptions = {}) => await fetcher(USER_API_ROUTE, authAPIOptions, otherOptions, {\n\t\tcache: \"no-store\",\n\t\tparams: filters\n\t});\n\t/**\n\t* Retrieves a user by ID.\n\t* @param userId - User ID.\n\t* @returns User object.\n\t*/\n\tconst getUserById = async (userId, otherOptions = {}) => await fetcher(`${USER_API_ROUTE}/${userId}`, authAPIOptions, otherOptions, { cache: \"no-store\" });\n\t/**\n\t* Retrieves a user by email.\n\t* @param email - User email.\n\t* @returns User object.\n\t*/\n\tconst getUserByEmail = async (email, otherOptions = {}) => await fetcher(`${USER_API_ROUTE}/email/${email}`, authAPIOptions, otherOptions, { cache: \"no-store\" });\n\t/**\n\t* Retrieves a user by account.\n\t* @param providerAccountId - The provider account ID.\n\t* @param provider - The provider of the account.\n\t*/\n\tconst getUserByAccount = async (providerAccountId, provider, otherOptions = {}) => await fetcher(`${USER_API_ROUTE}/account/${provider}/${providerAccountId}`, authAPIOptions, otherOptions, { cache: \"no-store\" });\n\t/**\n\t* Creates a new user.\n\t* @param user - User credentials.\n\t* @returns User object.\n\t*/\n\tconst createUser = async (user, otherOptions = {}) => await fetcher(`${USER_API_ROUTE}/`, authAPIOptions, otherOptions, {\n\t\tmethod: \"POST\",\n\t\tbody: user\n\t});\n\t/**\n\t* Updates the user with the provided data.\n\t* @param user - Updated user data.\n\t* @returns User object.\n\t*/\n\tconst updateUser = async (user, otherOptions = {}) => await fetcher(`${USER_API_ROUTE}`, authAPIOptions, otherOptions, {\n\t\tmethod: \"PUT\",\n\t\tbody: user\n\t});\n\t/**\n\t* Deletes a user with the provided ID.\n\t* @param userId - User ID.\n\t* @returns User object.\n\t*/\n\tconst deleteUser = async (userId, otherOptions = {}) => await fetcher(`${USER_API_ROUTE}/${userId}`, authAPIOptions, otherOptions, { method: \"DELETE\" });\n\t/**\n\t* Gets the verify email status URL to use in the SSE.\n\t* @param userId - User ID.\n\t* @returns The verify email status URL.\n\t*/\n\tconst getVerifyEmailStatusURL = (userId) => `${USER_API_ROUTE}/verify-email-status/${String(userId)}`;\n\treturn {\n\t\tcreateUser,\n\t\tgetUsers,\n\t\tgetUserById,\n\t\tgetUserByAccount,\n\t\tgetUserByEmail,\n\t\tupdateUser,\n\t\tdeleteUser,\n\t\tgetVerifyEmailStatusURL\n\t};\n};\n\n//#endregion\nexport { getUserAPI };\n//# sourceMappingURL=user.mjs.map"],"mappings":";;;;AAIA,MAAM,cAAc,iBAAiB,EAAE,EAAE,mBAAmB;CAC3D,MAAM,aAAa,gBAAgB,QAAQ,cAAc,eAAe,QAAQ;AAChF,KAAI,CAAC,WAAY,OAAM,IAAI,MAAM,4DAA4D;CAC7F,MAAM,iBAAiB,GAAG,WAAW;;;;;;CAMrC,MAAM,WAAW,OAAO,SAAS,eAAe,EAAE,KAAK,MAAM,QAAQ,gBAAgB,gBAAgB,cAAc;EAClH,OAAO;EACP,QAAQ;EACR,CAAC;;;;;;CAMF,MAAM,cAAc,OAAO,QAAQ,eAAe,EAAE,KAAK,MAAM,QAAQ,GAAG,eAAe,GAAG,UAAU,gBAAgB,cAAc,EAAE,OAAO,YAAY,CAAC;;;;;;CAM1J,MAAM,iBAAiB,OAAO,OAAO,eAAe,EAAE,KAAK,MAAM,QAAQ,GAAG,eAAe,SAAS,SAAS,gBAAgB,cAAc,EAAE,OAAO,YAAY,CAAC;;;;;;CAMjK,MAAM,mBAAmB,OAAO,mBAAmB,UAAU,eAAe,EAAE,KAAK,MAAM,QAAQ,GAAG,eAAe,WAAW,SAAS,GAAG,qBAAqB,gBAAgB,cAAc,EAAE,OAAO,YAAY,CAAC;;;;;;CAMnN,MAAM,aAAa,OAAO,MAAM,eAAe,EAAE,KAAK,MAAM,QAAQ,GAAG,eAAe,IAAI,gBAAgB,cAAc;EACvH,QAAQ;EACR,MAAM;EACN,CAAC;;;;;;CAMF,MAAM,aAAa,OAAO,MAAM,eAAe,EAAE,KAAK,MAAM,QAAQ,GAAG,kBAAkB,gBAAgB,cAAc;EACtH,QAAQ;EACR,MAAM;EACN,CAAC;;;;;;CAMF,MAAM,aAAa,OAAO,QAAQ,eAAe,EAAE,KAAK,MAAM,QAAQ,GAAG,eAAe,GAAG,UAAU,gBAAgB,cAAc,EAAE,QAAQ,UAAU,CAAC;;;;;;CAMxJ,MAAM,2BAA2B,WAAW,GAAG,eAAe,uBAAuB,OAAO,OAAO;AACnG,QAAO;EACN;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA"}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { getOAuthAPI } from "./getIntlayerAPI/oAuth.mjs";
|
|
2
|
-
import { getIntlayerAPI } from "./getIntlayerAPI/index.mjs";
|
|
3
|
-
|
|
4
|
-
//#region ../api/dist/esm/proxy.mjs
|
|
5
|
-
const ONE_MINUTE_MS = 6e4;
|
|
6
|
-
/**
|
|
7
|
-
* Returns the expiration timestamp in ms from an OAuth token-like object.
|
|
8
|
-
*/
|
|
9
|
-
const getExpiryTimestamp = (token) => {
|
|
10
|
-
if (!token) return void 0;
|
|
11
|
-
const dateLike = token.accessTokenExpiresAt ?? token.expiresAt;
|
|
12
|
-
if (dateLike) {
|
|
13
|
-
const ts = typeof dateLike === "string" ? Date.parse(dateLike) : dateLike.getTime?.();
|
|
14
|
-
if (typeof ts === "number" && Number.isFinite(ts)) return ts;
|
|
15
|
-
}
|
|
16
|
-
const seconds = token.expires_in ?? token.expiresIn;
|
|
17
|
-
if (typeof seconds === "number" && Number.isFinite(seconds)) return Date.now() + seconds * 1e3;
|
|
18
|
-
};
|
|
19
|
-
let currentAccessToken;
|
|
20
|
-
let currentExpiryTs;
|
|
21
|
-
let pendingRefresh;
|
|
22
|
-
/**
|
|
23
|
-
* Build an auto-auth proxy around getIntlayerAPI that:
|
|
24
|
-
* - Fetches an OAuth2 token when needed
|
|
25
|
-
* - Injects Authorization header for each request
|
|
26
|
-
* - Refreshes token proactively when near expiry
|
|
27
|
-
*
|
|
28
|
-
* The returned API matches the shape of getIntlayerAPI.
|
|
29
|
-
*/
|
|
30
|
-
const getIntlayerAPIProxy = (_baseAuthOptions = {}, intlayerConfig) => {
|
|
31
|
-
const authOptionsRef = { ..._baseAuthOptions };
|
|
32
|
-
const hasCMSAuth = intlayerConfig?.editor?.clientId && intlayerConfig?.editor?.clientSecret;
|
|
33
|
-
const baseApi = getIntlayerAPI(authOptionsRef, intlayerConfig);
|
|
34
|
-
const needsRefresh = () => {
|
|
35
|
-
if (!currentAccessToken) return true;
|
|
36
|
-
if (!currentExpiryTs) return false;
|
|
37
|
-
return Date.now() + ONE_MINUTE_MS >= currentExpiryTs;
|
|
38
|
-
};
|
|
39
|
-
const refreshToken = async () => {
|
|
40
|
-
const doRefresh = async () => {
|
|
41
|
-
const tokenData = (await getOAuthAPI(intlayerConfig).getOAuth2AccessToken())?.data;
|
|
42
|
-
currentAccessToken = tokenData?.accessToken;
|
|
43
|
-
currentExpiryTs = getExpiryTimestamp(tokenData);
|
|
44
|
-
};
|
|
45
|
-
if (!pendingRefresh) pendingRefresh = doRefresh().finally(() => {
|
|
46
|
-
pendingRefresh = void 0;
|
|
47
|
-
});
|
|
48
|
-
await pendingRefresh;
|
|
49
|
-
};
|
|
50
|
-
const ensureValidToken = async () => {
|
|
51
|
-
if (needsRefresh()) await refreshToken();
|
|
52
|
-
};
|
|
53
|
-
const applyAuthHeaderToRef = () => {
|
|
54
|
-
if (!currentAccessToken) return;
|
|
55
|
-
authOptionsRef.headers = {
|
|
56
|
-
...authOptionsRef.headers ?? {},
|
|
57
|
-
Authorization: `Bearer ${currentAccessToken}`
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
const wrapSection = (section, skipAuth = !hasCMSAuth) => {
|
|
61
|
-
return new Proxy(section, { get(target, prop, receiver) {
|
|
62
|
-
const value = Reflect.get(target, prop, receiver);
|
|
63
|
-
if (typeof value === "function") return async (...args) => {
|
|
64
|
-
if (!skipAuth) {
|
|
65
|
-
await ensureValidToken();
|
|
66
|
-
applyAuthHeaderToRef();
|
|
67
|
-
}
|
|
68
|
-
try {
|
|
69
|
-
return await value.apply(target, args);
|
|
70
|
-
} catch (err) {
|
|
71
|
-
if (!skipAuth) {
|
|
72
|
-
await refreshToken();
|
|
73
|
-
applyAuthHeaderToRef();
|
|
74
|
-
return await value.apply(target, args);
|
|
75
|
-
}
|
|
76
|
-
throw err;
|
|
77
|
-
}
|
|
78
|
-
};
|
|
79
|
-
return value;
|
|
80
|
-
} });
|
|
81
|
-
};
|
|
82
|
-
return {
|
|
83
|
-
organization: wrapSection(baseApi.organization),
|
|
84
|
-
project: wrapSection(baseApi.project),
|
|
85
|
-
user: wrapSection(baseApi.user),
|
|
86
|
-
oAuth: wrapSection(baseApi.oAuth, true),
|
|
87
|
-
dictionary: wrapSection(baseApi.dictionary),
|
|
88
|
-
stripe: wrapSection(baseApi.stripe),
|
|
89
|
-
ai: wrapSection(baseApi.ai),
|
|
90
|
-
tag: wrapSection(baseApi.tag),
|
|
91
|
-
search: wrapSection(baseApi.search),
|
|
92
|
-
editor: wrapSection(baseApi.editor),
|
|
93
|
-
newsletter: wrapSection(baseApi.newsletter),
|
|
94
|
-
audit: wrapSection(baseApi.audit)
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
|
-
|
|
98
|
-
//#endregion
|
|
99
|
-
export { getIntlayerAPIProxy };
|
|
100
|
-
//# sourceMappingURL=proxy.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"proxy.mjs","names":[],"sources":["../../../../../../api/dist/esm/proxy.mjs"],"sourcesContent":["import { getOAuthAPI } from \"./getIntlayerAPI/oAuth.mjs\";\nimport { getIntlayerAPI } from \"./getIntlayerAPI/index.mjs\";\n\n//#region src/proxy.ts\nconst ONE_MINUTE_MS = 6e4;\n/**\n* Returns the expiration timestamp in ms from an OAuth token-like object.\n*/\nconst getExpiryTimestamp = (token) => {\n\tif (!token) return void 0;\n\tconst dateLike = token.accessTokenExpiresAt ?? token.expiresAt;\n\tif (dateLike) {\n\t\tconst ts = typeof dateLike === \"string\" ? Date.parse(dateLike) : dateLike.getTime?.();\n\t\tif (typeof ts === \"number\" && Number.isFinite(ts)) return ts;\n\t}\n\tconst seconds = token.expires_in ?? token.expiresIn;\n\tif (typeof seconds === \"number\" && Number.isFinite(seconds)) return Date.now() + seconds * 1e3;\n};\nlet currentAccessToken;\nlet currentExpiryTs;\nlet pendingRefresh;\n/**\n* Build an auto-auth proxy around getIntlayerAPI that:\n* - Fetches an OAuth2 token when needed\n* - Injects Authorization header for each request\n* - Refreshes token proactively when near expiry\n*\n* The returned API matches the shape of getIntlayerAPI.\n*/\nconst getIntlayerAPIProxy = (_baseAuthOptions = {}, intlayerConfig) => {\n\tconst authOptionsRef = { ..._baseAuthOptions };\n\tconst hasCMSAuth = intlayerConfig?.editor?.clientId && intlayerConfig?.editor?.clientSecret;\n\tconst baseApi = getIntlayerAPI(authOptionsRef, intlayerConfig);\n\tconst needsRefresh = () => {\n\t\tif (!currentAccessToken) return true;\n\t\tif (!currentExpiryTs) return false;\n\t\treturn Date.now() + ONE_MINUTE_MS >= currentExpiryTs;\n\t};\n\tconst refreshToken = async () => {\n\t\tconst doRefresh = async () => {\n\t\t\tconst tokenData = (await getOAuthAPI(intlayerConfig).getOAuth2AccessToken())?.data;\n\t\t\tcurrentAccessToken = tokenData?.accessToken;\n\t\t\tcurrentExpiryTs = getExpiryTimestamp(tokenData);\n\t\t};\n\t\tif (!pendingRefresh) pendingRefresh = doRefresh().finally(() => {\n\t\t\tpendingRefresh = void 0;\n\t\t});\n\t\tawait pendingRefresh;\n\t};\n\tconst ensureValidToken = async () => {\n\t\tif (needsRefresh()) await refreshToken();\n\t};\n\tconst applyAuthHeaderToRef = () => {\n\t\tif (!currentAccessToken) return;\n\t\tauthOptionsRef.headers = {\n\t\t\t...authOptionsRef.headers ?? {},\n\t\t\tAuthorization: `Bearer ${currentAccessToken}`\n\t\t};\n\t};\n\tconst wrapSection = (section, skipAuth = !hasCMSAuth) => {\n\t\treturn new Proxy(section, { get(target, prop, receiver) {\n\t\t\tconst value = Reflect.get(target, prop, receiver);\n\t\t\tif (typeof value === \"function\") return async (...args) => {\n\t\t\t\tif (!skipAuth) {\n\t\t\t\t\tawait ensureValidToken();\n\t\t\t\t\tapplyAuthHeaderToRef();\n\t\t\t\t}\n\t\t\t\ttry {\n\t\t\t\t\treturn await value.apply(target, args);\n\t\t\t\t} catch (err) {\n\t\t\t\t\tif (!skipAuth) {\n\t\t\t\t\t\tawait refreshToken();\n\t\t\t\t\t\tapplyAuthHeaderToRef();\n\t\t\t\t\t\treturn await value.apply(target, args);\n\t\t\t\t\t}\n\t\t\t\t\tthrow err;\n\t\t\t\t}\n\t\t\t};\n\t\t\treturn value;\n\t\t} });\n\t};\n\treturn {\n\t\torganization: wrapSection(baseApi.organization),\n\t\tproject: wrapSection(baseApi.project),\n\t\tuser: wrapSection(baseApi.user),\n\t\toAuth: wrapSection(baseApi.oAuth, true),\n\t\tdictionary: wrapSection(baseApi.dictionary),\n\t\tstripe: wrapSection(baseApi.stripe),\n\t\tai: wrapSection(baseApi.ai),\n\t\ttag: wrapSection(baseApi.tag),\n\t\tsearch: wrapSection(baseApi.search),\n\t\teditor: wrapSection(baseApi.editor),\n\t\tnewsletter: wrapSection(baseApi.newsletter),\n\t\taudit: wrapSection(baseApi.audit)\n\t};\n};\n\n//#endregion\nexport { getIntlayerAPIProxy };\n//# sourceMappingURL=proxy.mjs.map"],"mappings":";;;;AAIA,MAAM,gBAAgB;;;;AAItB,MAAM,sBAAsB,UAAU;AACrC,KAAI,CAAC,MAAO,QAAO,KAAK;CACxB,MAAM,WAAW,MAAM,wBAAwB,MAAM;AACrD,KAAI,UAAU;EACb,MAAM,KAAK,OAAO,aAAa,WAAW,KAAK,MAAM,SAAS,GAAG,SAAS,WAAW;AACrF,MAAI,OAAO,OAAO,YAAY,OAAO,SAAS,GAAG,CAAE,QAAO;;CAE3D,MAAM,UAAU,MAAM,cAAc,MAAM;AAC1C,KAAI,OAAO,YAAY,YAAY,OAAO,SAAS,QAAQ,CAAE,QAAO,KAAK,KAAK,GAAG,UAAU;;AAE5F,IAAI;AACJ,IAAI;AACJ,IAAI;;;;;;;;;AASJ,MAAM,uBAAuB,mBAAmB,EAAE,EAAE,mBAAmB;CACtE,MAAM,iBAAiB,EAAE,GAAG,kBAAkB;CAC9C,MAAM,aAAa,gBAAgB,QAAQ,YAAY,gBAAgB,QAAQ;CAC/E,MAAM,UAAU,eAAe,gBAAgB,eAAe;CAC9D,MAAM,qBAAqB;AAC1B,MAAI,CAAC,mBAAoB,QAAO;AAChC,MAAI,CAAC,gBAAiB,QAAO;AAC7B,SAAO,KAAK,KAAK,GAAG,iBAAiB;;CAEtC,MAAM,eAAe,YAAY;EAChC,MAAM,YAAY,YAAY;GAC7B,MAAM,aAAa,MAAM,YAAY,eAAe,CAAC,sBAAsB,GAAG;AAC9E,wBAAqB,WAAW;AAChC,qBAAkB,mBAAmB,UAAU;;AAEhD,MAAI,CAAC,eAAgB,kBAAiB,WAAW,CAAC,cAAc;AAC/D,oBAAiB,KAAK;IACrB;AACF,QAAM;;CAEP,MAAM,mBAAmB,YAAY;AACpC,MAAI,cAAc,CAAE,OAAM,cAAc;;CAEzC,MAAM,6BAA6B;AAClC,MAAI,CAAC,mBAAoB;AACzB,iBAAe,UAAU;GACxB,GAAG,eAAe,WAAW,EAAE;GAC/B,eAAe,UAAU;GACzB;;CAEF,MAAM,eAAe,SAAS,WAAW,CAAC,eAAe;AACxD,SAAO,IAAI,MAAM,SAAS,EAAE,IAAI,QAAQ,MAAM,UAAU;GACvD,MAAM,QAAQ,QAAQ,IAAI,QAAQ,MAAM,SAAS;AACjD,OAAI,OAAO,UAAU,WAAY,QAAO,OAAO,GAAG,SAAS;AAC1D,QAAI,CAAC,UAAU;AACd,WAAM,kBAAkB;AACxB,2BAAsB;;AAEvB,QAAI;AACH,YAAO,MAAM,MAAM,MAAM,QAAQ,KAAK;aAC9B,KAAK;AACb,SAAI,CAAC,UAAU;AACd,YAAM,cAAc;AACpB,4BAAsB;AACtB,aAAO,MAAM,MAAM,MAAM,QAAQ,KAAK;;AAEvC,WAAM;;;AAGR,UAAO;KACL,CAAC;;AAEL,QAAO;EACN,cAAc,YAAY,QAAQ,aAAa;EAC/C,SAAS,YAAY,QAAQ,QAAQ;EACrC,MAAM,YAAY,QAAQ,KAAK;EAC/B,OAAO,YAAY,QAAQ,OAAO,KAAK;EACvC,YAAY,YAAY,QAAQ,WAAW;EAC3C,QAAQ,YAAY,QAAQ,OAAO;EACnC,IAAI,YAAY,QAAQ,GAAG;EAC3B,KAAK,YAAY,QAAQ,IAAI;EAC7B,QAAQ,YAAY,QAAQ,OAAO;EACnC,QAAQ,YAAY,QAAQ,OAAO;EACnC,YAAY,YAAY,QAAQ,WAAW;EAC3C,OAAO,YAAY,QAAQ,MAAM;EACjC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { __require as __require$1 } from "../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
-
|
|
3
|
-
//#region ../config/dist/esm/_virtual/rolldown_runtime.mjs
|
|
4
|
-
var __require = /* @__PURE__ */ ((x) => typeof __require$1 !== "undefined" ? __require$1 : typeof Proxy !== "undefined" ? new Proxy(x, { get: (a, b) => (typeof __require$1 !== "undefined" ? __require$1 : a)[b] }) : x)(function(x) {
|
|
5
|
-
if (typeof __require$1 !== "undefined") return __require$1.apply(this, arguments);
|
|
6
|
-
throw Error("Calling `require` for \"" + x + "\" in an environment that doesn't expose the `require` function.");
|
|
7
|
-
});
|
|
8
|
-
|
|
9
|
-
//#endregion
|
|
10
|
-
export { __require };
|
|
11
|
-
//# sourceMappingURL=rolldown_runtime.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rolldown_runtime.mjs","names":[],"sources":["../../../../../../../config/dist/esm/_virtual/rolldown_runtime.mjs"],"sourcesContent":["//#region rolldown:runtime\nvar __defProp = Object.defineProperty;\nvar __export = (all) => {\n\tlet target = {};\n\tfor (var name in all) __defProp(target, name, {\n\t\tget: all[name],\n\t\tenumerable: true\n\t});\n\treturn target;\n};\nvar __require = /* @__PURE__ */ ((x) => typeof require !== \"undefined\" ? require : typeof Proxy !== \"undefined\" ? new Proxy(x, { get: (a, b) => (typeof require !== \"undefined\" ? require : a)[b] }) : x)(function(x) {\n\tif (typeof require !== \"undefined\") return require.apply(this, arguments);\n\tthrow Error(\"Calling `require` for \\\"\" + x + \"\\\" in an environment that doesn't expose the `require` function.\");\n});\n\n//#endregion\nexport { __export, __require };"],"mappings":";;;AAUA,IAAI,YAA4B,kBAAE,MAAM,uBAAmB,4BAAwB,OAAO,UAAU,cAAc,IAAI,MAAM,GAAG,EAAE,MAAM,GAAG,OAAO,uBAAmB,4BAAwB,GAAG,IAAI,CAAC,GAAG,GAAG,SAAS,GAAG;AACrN,KAAI,uBAAmB,YAAa,oBAAe,MAAM,MAAM,UAAU;AACzE,OAAM,MAAM,6BAA6B,IAAI,mEAAmE;EAC/G"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"built.mjs","names":[],"sources":["../../../../../../config/dist/esm/built.mjs"],"sourcesContent":["import { getConfiguration } from \"./configFile/getConfiguration.mjs\";\n\n//#region src/built.ts\nconst configuration = getConfiguration();\nvar built_default = configuration;\n\n//#endregion\nexport { built_default as default };\n//# sourceMappingURL=built.mjs.map"],"mappings":";;;AAIA,IAAI,gBADkB,kBAAkB"}
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
import { CACHE, IMPORT_MODE, OPTIMIZE, OUTPUT_FORMAT, TRAVERSE_PATTERN } from "../defaultValues/build.mjs";
|
|
2
|
-
import { CACHE_DIR, CONFIG_DIR, CONTENT_DIR, DICTIONARIES_DIR, DYNAMIC_DICTIONARIES_DIR, EXCLUDED_PATHS, FETCH_DICTIONARIES_DIR, FILE_EXTENSIONS, MAIN_DIR, MODULE_AUGMENTATION_DIR, REMOTE_DICTIONARIES_DIR, TYPES_DIR, UNMERGED_DICTIONARIES_DIR, WATCH } from "../defaultValues/content.mjs";
|
|
3
|
-
import { APPLICATION_URL, BACKEND_URL, CMS_URL, DICTIONARY_PRIORITY_STRATEGY, EDITOR_URL, IS_ENABLED, LIVE_SYNC, LIVE_SYNC_PORT, PORT } from "../defaultValues/editor.mjs";
|
|
4
|
-
import { DEFAULT_LOCALE, LOCALES, REQUIRED_LOCALES, STRICT_MODE } from "../defaultValues/internationalization.mjs";
|
|
5
|
-
import { MODE, PREFIX } from "../defaultValues/log.mjs";
|
|
6
|
-
import { BASE_PATH, ROUTING_MODE, STORAGE } from "../defaultValues/routing.mjs";
|
|
7
|
-
import { normalizePath } from "../utils/normalizePath.mjs";
|
|
8
|
-
import { FILL } from "../defaultValues/dictionary.mjs";
|
|
9
|
-
import { isAbsolute, join } from "node:path";
|
|
10
|
-
|
|
11
|
-
//#region ../config/dist/esm/configFile/buildConfigurationFields.mjs
|
|
12
|
-
let storedConfiguration;
|
|
13
|
-
const buildInternationalizationFields = (customConfiguration) => ({
|
|
14
|
-
locales: customConfiguration?.locales ?? LOCALES,
|
|
15
|
-
requiredLocales: customConfiguration?.requiredLocales ?? customConfiguration?.locales ?? REQUIRED_LOCALES,
|
|
16
|
-
strictMode: customConfiguration?.strictMode ?? STRICT_MODE,
|
|
17
|
-
defaultLocale: customConfiguration?.defaultLocale ?? DEFAULT_LOCALE
|
|
18
|
-
});
|
|
19
|
-
const buildRoutingFields = (customConfiguration) => ({
|
|
20
|
-
mode: customConfiguration?.mode ?? ROUTING_MODE,
|
|
21
|
-
storage: customConfiguration?.storage ?? STORAGE,
|
|
22
|
-
basePath: customConfiguration?.basePath ?? BASE_PATH
|
|
23
|
-
});
|
|
24
|
-
const buildContentFields = (customConfiguration, baseDir) => {
|
|
25
|
-
const notDerivedContentConfig = {
|
|
26
|
-
fileExtensions: customConfiguration?.fileExtensions ?? FILE_EXTENSIONS,
|
|
27
|
-
baseDir: customConfiguration?.baseDir ?? baseDir ?? process.cwd(),
|
|
28
|
-
excludedPath: customConfiguration?.excludedPath ?? EXCLUDED_PATHS,
|
|
29
|
-
watch: customConfiguration?.watch ?? WATCH,
|
|
30
|
-
formatCommand: customConfiguration?.formatCommand
|
|
31
|
-
};
|
|
32
|
-
const optionalJoinBaseDir = (path) => {
|
|
33
|
-
if (isAbsolute(path)) return path;
|
|
34
|
-
return join(notDerivedContentConfig.baseDir, path);
|
|
35
|
-
};
|
|
36
|
-
const baseDirDerivedConfiguration = {
|
|
37
|
-
contentDir: (customConfiguration?.contentDir ?? CONTENT_DIR).map(optionalJoinBaseDir),
|
|
38
|
-
moduleAugmentationDir: optionalJoinBaseDir(customConfiguration?.moduleAugmentationDir ?? MODULE_AUGMENTATION_DIR),
|
|
39
|
-
unmergedDictionariesDir: optionalJoinBaseDir(customConfiguration?.unmergedDictionariesDir ?? UNMERGED_DICTIONARIES_DIR),
|
|
40
|
-
remoteDictionariesDir: optionalJoinBaseDir(customConfiguration?.remoteDictionariesDir ?? REMOTE_DICTIONARIES_DIR),
|
|
41
|
-
dictionariesDir: optionalJoinBaseDir(customConfiguration?.dictionariesDir ?? DICTIONARIES_DIR),
|
|
42
|
-
dynamicDictionariesDir: optionalJoinBaseDir(customConfiguration?.dynamicDictionariesDir ?? DYNAMIC_DICTIONARIES_DIR),
|
|
43
|
-
fetchDictionariesDir: optionalJoinBaseDir(customConfiguration?.fetchDictionariesDir ?? FETCH_DICTIONARIES_DIR),
|
|
44
|
-
typesDir: optionalJoinBaseDir(customConfiguration?.typesDir ?? TYPES_DIR),
|
|
45
|
-
mainDir: optionalJoinBaseDir(customConfiguration?.mainDir ?? MAIN_DIR),
|
|
46
|
-
configDir: optionalJoinBaseDir(customConfiguration?.configDir ?? CONFIG_DIR),
|
|
47
|
-
cacheDir: optionalJoinBaseDir(customConfiguration?.cacheDir ?? CACHE_DIR)
|
|
48
|
-
};
|
|
49
|
-
const patternsConfiguration = {
|
|
50
|
-
watchedFilesPattern: notDerivedContentConfig.fileExtensions.map((ext) => `/**/*${ext}`),
|
|
51
|
-
watchedFilesPatternWithPath: notDerivedContentConfig.fileExtensions.flatMap((ext) => baseDirDerivedConfiguration.contentDir.map((contentDir) => `${normalizePath(contentDir)}/**/*${ext}`)),
|
|
52
|
-
outputFilesPatternWithPath: `${normalizePath(baseDirDerivedConfiguration.dictionariesDir)}/**/*.json`
|
|
53
|
-
};
|
|
54
|
-
return {
|
|
55
|
-
...notDerivedContentConfig,
|
|
56
|
-
...baseDirDerivedConfiguration,
|
|
57
|
-
...patternsConfiguration
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
const buildEditorFields = (customConfiguration) => ({
|
|
61
|
-
applicationURL: customConfiguration?.applicationURL ?? APPLICATION_URL,
|
|
62
|
-
editorURL: customConfiguration?.editorURL ?? EDITOR_URL,
|
|
63
|
-
cmsURL: customConfiguration?.cmsURL ?? CMS_URL,
|
|
64
|
-
backendURL: customConfiguration?.backendURL ?? BACKEND_URL,
|
|
65
|
-
port: customConfiguration?.port ?? PORT,
|
|
66
|
-
enabled: customConfiguration?.enabled ?? IS_ENABLED,
|
|
67
|
-
clientId: customConfiguration?.clientId ?? void 0,
|
|
68
|
-
clientSecret: customConfiguration?.clientSecret ?? void 0,
|
|
69
|
-
dictionaryPriorityStrategy: customConfiguration?.dictionaryPriorityStrategy ?? DICTIONARY_PRIORITY_STRATEGY,
|
|
70
|
-
liveSync: customConfiguration?.liveSync ?? LIVE_SYNC,
|
|
71
|
-
liveSyncPort: customConfiguration?.liveSyncPort ?? LIVE_SYNC_PORT,
|
|
72
|
-
liveSyncURL: customConfiguration?.liveSyncURL ?? `http://localhost:${customConfiguration?.liveSyncPort ?? LIVE_SYNC_PORT}`
|
|
73
|
-
});
|
|
74
|
-
const buildLogFields = (customConfiguration, logFunctions) => ({
|
|
75
|
-
mode: customConfiguration?.mode ?? MODE,
|
|
76
|
-
prefix: customConfiguration?.prefix ?? PREFIX,
|
|
77
|
-
error: logFunctions?.error,
|
|
78
|
-
log: logFunctions?.log,
|
|
79
|
-
info: logFunctions?.info,
|
|
80
|
-
warn: logFunctions?.warn
|
|
81
|
-
});
|
|
82
|
-
const buildAiFields = (customConfiguration) => ({
|
|
83
|
-
provider: customConfiguration?.provider,
|
|
84
|
-
apiKey: customConfiguration?.apiKey,
|
|
85
|
-
model: customConfiguration?.model,
|
|
86
|
-
temperature: customConfiguration?.temperature,
|
|
87
|
-
applicationContext: customConfiguration?.applicationContext
|
|
88
|
-
});
|
|
89
|
-
const buildBuildFields = (customConfiguration) => ({
|
|
90
|
-
optimize: customConfiguration?.optimize ?? OPTIMIZE,
|
|
91
|
-
importMode: customConfiguration?.importMode ?? IMPORT_MODE,
|
|
92
|
-
traversePattern: customConfiguration?.traversePattern ?? TRAVERSE_PATTERN,
|
|
93
|
-
outputFormat: customConfiguration?.outputFormat ?? OUTPUT_FORMAT,
|
|
94
|
-
cache: customConfiguration?.cache ?? CACHE,
|
|
95
|
-
require: customConfiguration?.require
|
|
96
|
-
});
|
|
97
|
-
const buildDictionaryFields = (customConfiguration) => ({ fill: customConfiguration?.fill ?? FILL });
|
|
98
|
-
/**
|
|
99
|
-
* Build the configuration fields by merging the default values with the custom configuration
|
|
100
|
-
*/
|
|
101
|
-
const buildConfigurationFields = (customConfiguration, baseDir, logFunctions) => {
|
|
102
|
-
storedConfiguration = {
|
|
103
|
-
internationalization: buildInternationalizationFields(customConfiguration?.internationalization),
|
|
104
|
-
routing: buildRoutingFields(customConfiguration?.routing),
|
|
105
|
-
content: buildContentFields(customConfiguration?.content, baseDir),
|
|
106
|
-
editor: buildEditorFields(customConfiguration?.editor),
|
|
107
|
-
log: buildLogFields(customConfiguration?.log, logFunctions),
|
|
108
|
-
ai: buildAiFields(customConfiguration?.ai),
|
|
109
|
-
build: buildBuildFields(customConfiguration?.build),
|
|
110
|
-
dictionary: buildDictionaryFields(customConfiguration?.dictionary),
|
|
111
|
-
plugins: customConfiguration?.plugins
|
|
112
|
-
};
|
|
113
|
-
return storedConfiguration;
|
|
114
|
-
};
|
|
115
|
-
|
|
116
|
-
//#endregion
|
|
117
|
-
export { buildConfigurationFields };
|
|
118
|
-
//# sourceMappingURL=buildConfigurationFields.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"buildConfigurationFields.mjs","names":[],"sources":["../../../../../../../config/dist/esm/configFile/buildConfigurationFields.mjs"],"sourcesContent":["import { normalizePath } from \"../utils/normalizePath.mjs\";\nimport { CACHE, IMPORT_MODE, OPTIMIZE, OUTPUT_FORMAT, TRAVERSE_PATTERN } from \"../defaultValues/build.mjs\";\nimport { CACHE_DIR, CONFIG_DIR, CONTENT_DIR, DICTIONARIES_DIR, DYNAMIC_DICTIONARIES_DIR, EXCLUDED_PATHS, FETCH_DICTIONARIES_DIR, FILE_EXTENSIONS, MAIN_DIR, MODULE_AUGMENTATION_DIR, REMOTE_DICTIONARIES_DIR, TYPES_DIR, UNMERGED_DICTIONARIES_DIR, WATCH } from \"../defaultValues/content.mjs\";\nimport { FILL } from \"../defaultValues/dictionary.mjs\";\nimport { APPLICATION_URL, BACKEND_URL, CMS_URL, DICTIONARY_PRIORITY_STRATEGY, EDITOR_URL, IS_ENABLED, LIVE_SYNC, LIVE_SYNC_PORT, PORT } from \"../defaultValues/editor.mjs\";\nimport { DEFAULT_LOCALE, LOCALES, REQUIRED_LOCALES, STRICT_MODE } from \"../defaultValues/internationalization.mjs\";\nimport { MODE, PREFIX } from \"../defaultValues/log.mjs\";\nimport { BASE_PATH, ROUTING_MODE, STORAGE } from \"../defaultValues/routing.mjs\";\nimport { isAbsolute, join } from \"node:path\";\n\n//#region src/configFile/buildConfigurationFields.ts\nlet storedConfiguration;\nconst buildInternationalizationFields = (customConfiguration) => ({\n\tlocales: customConfiguration?.locales ?? LOCALES,\n\trequiredLocales: customConfiguration?.requiredLocales ?? customConfiguration?.locales ?? REQUIRED_LOCALES,\n\tstrictMode: customConfiguration?.strictMode ?? STRICT_MODE,\n\tdefaultLocale: customConfiguration?.defaultLocale ?? DEFAULT_LOCALE\n});\nconst buildRoutingFields = (customConfiguration) => ({\n\tmode: customConfiguration?.mode ?? ROUTING_MODE,\n\tstorage: customConfiguration?.storage ?? STORAGE,\n\tbasePath: customConfiguration?.basePath ?? BASE_PATH\n});\nconst buildContentFields = (customConfiguration, baseDir) => {\n\tconst notDerivedContentConfig = {\n\t\tfileExtensions: customConfiguration?.fileExtensions ?? FILE_EXTENSIONS,\n\t\tbaseDir: customConfiguration?.baseDir ?? baseDir ?? process.cwd(),\n\t\texcludedPath: customConfiguration?.excludedPath ?? EXCLUDED_PATHS,\n\t\twatch: customConfiguration?.watch ?? WATCH,\n\t\tformatCommand: customConfiguration?.formatCommand\n\t};\n\tconst optionalJoinBaseDir = (path) => {\n\t\tif (isAbsolute(path)) return path;\n\t\treturn join(notDerivedContentConfig.baseDir, path);\n\t};\n\tconst baseDirDerivedConfiguration = {\n\t\tcontentDir: (customConfiguration?.contentDir ?? CONTENT_DIR).map(optionalJoinBaseDir),\n\t\tmoduleAugmentationDir: optionalJoinBaseDir(customConfiguration?.moduleAugmentationDir ?? MODULE_AUGMENTATION_DIR),\n\t\tunmergedDictionariesDir: optionalJoinBaseDir(customConfiguration?.unmergedDictionariesDir ?? UNMERGED_DICTIONARIES_DIR),\n\t\tremoteDictionariesDir: optionalJoinBaseDir(customConfiguration?.remoteDictionariesDir ?? REMOTE_DICTIONARIES_DIR),\n\t\tdictionariesDir: optionalJoinBaseDir(customConfiguration?.dictionariesDir ?? DICTIONARIES_DIR),\n\t\tdynamicDictionariesDir: optionalJoinBaseDir(customConfiguration?.dynamicDictionariesDir ?? DYNAMIC_DICTIONARIES_DIR),\n\t\tfetchDictionariesDir: optionalJoinBaseDir(customConfiguration?.fetchDictionariesDir ?? FETCH_DICTIONARIES_DIR),\n\t\ttypesDir: optionalJoinBaseDir(customConfiguration?.typesDir ?? TYPES_DIR),\n\t\tmainDir: optionalJoinBaseDir(customConfiguration?.mainDir ?? MAIN_DIR),\n\t\tconfigDir: optionalJoinBaseDir(customConfiguration?.configDir ?? CONFIG_DIR),\n\t\tcacheDir: optionalJoinBaseDir(customConfiguration?.cacheDir ?? CACHE_DIR)\n\t};\n\tconst patternsConfiguration = {\n\t\twatchedFilesPattern: notDerivedContentConfig.fileExtensions.map((ext) => `/**/*${ext}`),\n\t\twatchedFilesPatternWithPath: notDerivedContentConfig.fileExtensions.flatMap((ext) => baseDirDerivedConfiguration.contentDir.map((contentDir) => `${normalizePath(contentDir)}/**/*${ext}`)),\n\t\toutputFilesPatternWithPath: `${normalizePath(baseDirDerivedConfiguration.dictionariesDir)}/**/*.json`\n\t};\n\treturn {\n\t\t...notDerivedContentConfig,\n\t\t...baseDirDerivedConfiguration,\n\t\t...patternsConfiguration\n\t};\n};\nconst buildEditorFields = (customConfiguration) => ({\n\tapplicationURL: customConfiguration?.applicationURL ?? APPLICATION_URL,\n\teditorURL: customConfiguration?.editorURL ?? EDITOR_URL,\n\tcmsURL: customConfiguration?.cmsURL ?? CMS_URL,\n\tbackendURL: customConfiguration?.backendURL ?? BACKEND_URL,\n\tport: customConfiguration?.port ?? PORT,\n\tenabled: customConfiguration?.enabled ?? IS_ENABLED,\n\tclientId: customConfiguration?.clientId ?? void 0,\n\tclientSecret: customConfiguration?.clientSecret ?? void 0,\n\tdictionaryPriorityStrategy: customConfiguration?.dictionaryPriorityStrategy ?? DICTIONARY_PRIORITY_STRATEGY,\n\tliveSync: customConfiguration?.liveSync ?? LIVE_SYNC,\n\tliveSyncPort: customConfiguration?.liveSyncPort ?? LIVE_SYNC_PORT,\n\tliveSyncURL: customConfiguration?.liveSyncURL ?? `http://localhost:${customConfiguration?.liveSyncPort ?? LIVE_SYNC_PORT}`\n});\nconst buildLogFields = (customConfiguration, logFunctions) => ({\n\tmode: customConfiguration?.mode ?? MODE,\n\tprefix: customConfiguration?.prefix ?? PREFIX,\n\terror: logFunctions?.error,\n\tlog: logFunctions?.log,\n\tinfo: logFunctions?.info,\n\twarn: logFunctions?.warn\n});\nconst buildAiFields = (customConfiguration) => ({\n\tprovider: customConfiguration?.provider,\n\tapiKey: customConfiguration?.apiKey,\n\tmodel: customConfiguration?.model,\n\ttemperature: customConfiguration?.temperature,\n\tapplicationContext: customConfiguration?.applicationContext\n});\nconst buildBuildFields = (customConfiguration) => ({\n\toptimize: customConfiguration?.optimize ?? OPTIMIZE,\n\timportMode: customConfiguration?.importMode ?? IMPORT_MODE,\n\ttraversePattern: customConfiguration?.traversePattern ?? TRAVERSE_PATTERN,\n\toutputFormat: customConfiguration?.outputFormat ?? OUTPUT_FORMAT,\n\tcache: customConfiguration?.cache ?? CACHE,\n\trequire: customConfiguration?.require\n});\nconst buildDictionaryFields = (customConfiguration) => ({ fill: customConfiguration?.fill ?? FILL });\n/**\n* Build the configuration fields by merging the default values with the custom configuration\n*/\nconst buildConfigurationFields = (customConfiguration, baseDir, logFunctions) => {\n\tstoredConfiguration = {\n\t\tinternationalization: buildInternationalizationFields(customConfiguration?.internationalization),\n\t\trouting: buildRoutingFields(customConfiguration?.routing),\n\t\tcontent: buildContentFields(customConfiguration?.content, baseDir),\n\t\teditor: buildEditorFields(customConfiguration?.editor),\n\t\tlog: buildLogFields(customConfiguration?.log, logFunctions),\n\t\tai: buildAiFields(customConfiguration?.ai),\n\t\tbuild: buildBuildFields(customConfiguration?.build),\n\t\tdictionary: buildDictionaryFields(customConfiguration?.dictionary),\n\t\tplugins: customConfiguration?.plugins\n\t};\n\treturn storedConfiguration;\n};\n\n//#endregion\nexport { buildConfigurationFields };\n//# sourceMappingURL=buildConfigurationFields.mjs.map"],"mappings":";;;;;;;;;;;AAWA,IAAI;AACJ,MAAM,mCAAmC,yBAAyB;CACjE,SAAS,qBAAqB,WAAW;CACzC,iBAAiB,qBAAqB,mBAAmB,qBAAqB,WAAW;CACzF,YAAY,qBAAqB,cAAc;CAC/C,eAAe,qBAAqB,iBAAiB;CACrD;AACD,MAAM,sBAAsB,yBAAyB;CACpD,MAAM,qBAAqB,QAAQ;CACnC,SAAS,qBAAqB,WAAW;CACzC,UAAU,qBAAqB,YAAY;CAC3C;AACD,MAAM,sBAAsB,qBAAqB,YAAY;CAC5D,MAAM,0BAA0B;EAC/B,gBAAgB,qBAAqB,kBAAkB;EACvD,SAAS,qBAAqB,WAAW,WAAW,QAAQ,KAAK;EACjE,cAAc,qBAAqB,gBAAgB;EACnD,OAAO,qBAAqB,SAAS;EACrC,eAAe,qBAAqB;EACpC;CACD,MAAM,uBAAuB,SAAS;AACrC,MAAI,WAAW,KAAK,CAAE,QAAO;AAC7B,SAAO,KAAK,wBAAwB,SAAS,KAAK;;CAEnD,MAAM,8BAA8B;EACnC,aAAa,qBAAqB,cAAc,aAAa,IAAI,oBAAoB;EACrF,uBAAuB,oBAAoB,qBAAqB,yBAAyB,wBAAwB;EACjH,yBAAyB,oBAAoB,qBAAqB,2BAA2B,0BAA0B;EACvH,uBAAuB,oBAAoB,qBAAqB,yBAAyB,wBAAwB;EACjH,iBAAiB,oBAAoB,qBAAqB,mBAAmB,iBAAiB;EAC9F,wBAAwB,oBAAoB,qBAAqB,0BAA0B,yBAAyB;EACpH,sBAAsB,oBAAoB,qBAAqB,wBAAwB,uBAAuB;EAC9G,UAAU,oBAAoB,qBAAqB,YAAY,UAAU;EACzE,SAAS,oBAAoB,qBAAqB,WAAW,SAAS;EACtE,WAAW,oBAAoB,qBAAqB,aAAa,WAAW;EAC5E,UAAU,oBAAoB,qBAAqB,YAAY,UAAU;EACzE;CACD,MAAM,wBAAwB;EAC7B,qBAAqB,wBAAwB,eAAe,KAAK,QAAQ,QAAQ,MAAM;EACvF,6BAA6B,wBAAwB,eAAe,SAAS,QAAQ,4BAA4B,WAAW,KAAK,eAAe,GAAG,cAAc,WAAW,CAAC,OAAO,MAAM,CAAC;EAC3L,4BAA4B,GAAG,cAAc,4BAA4B,gBAAgB,CAAC;EAC1F;AACD,QAAO;EACN,GAAG;EACH,GAAG;EACH,GAAG;EACH;;AAEF,MAAM,qBAAqB,yBAAyB;CACnD,gBAAgB,qBAAqB,kBAAkB;CACvD,WAAW,qBAAqB,aAAa;CAC7C,QAAQ,qBAAqB,UAAU;CACvC,YAAY,qBAAqB,cAAc;CAC/C,MAAM,qBAAqB,QAAQ;CACnC,SAAS,qBAAqB,WAAW;CACzC,UAAU,qBAAqB,YAAY,KAAK;CAChD,cAAc,qBAAqB,gBAAgB,KAAK;CACxD,4BAA4B,qBAAqB,8BAA8B;CAC/E,UAAU,qBAAqB,YAAY;CAC3C,cAAc,qBAAqB,gBAAgB;CACnD,aAAa,qBAAqB,eAAe,oBAAoB,qBAAqB,gBAAgB;CAC1G;AACD,MAAM,kBAAkB,qBAAqB,kBAAkB;CAC9D,MAAM,qBAAqB,QAAQ;CACnC,QAAQ,qBAAqB,UAAU;CACvC,OAAO,cAAc;CACrB,KAAK,cAAc;CACnB,MAAM,cAAc;CACpB,MAAM,cAAc;CACpB;AACD,MAAM,iBAAiB,yBAAyB;CAC/C,UAAU,qBAAqB;CAC/B,QAAQ,qBAAqB;CAC7B,OAAO,qBAAqB;CAC5B,aAAa,qBAAqB;CAClC,oBAAoB,qBAAqB;CACzC;AACD,MAAM,oBAAoB,yBAAyB;CAClD,UAAU,qBAAqB,YAAY;CAC3C,YAAY,qBAAqB,cAAc;CAC/C,iBAAiB,qBAAqB,mBAAmB;CACzD,cAAc,qBAAqB,gBAAgB;CACnD,OAAO,qBAAqB,SAAS;CACrC,SAAS,qBAAqB;CAC9B;AACD,MAAM,yBAAyB,yBAAyB,EAAE,MAAM,qBAAqB,QAAQ,MAAM;;;;AAInG,MAAM,4BAA4B,qBAAqB,SAAS,iBAAiB;AAChF,uBAAsB;EACrB,sBAAsB,gCAAgC,qBAAqB,qBAAqB;EAChG,SAAS,mBAAmB,qBAAqB,QAAQ;EACzD,SAAS,mBAAmB,qBAAqB,SAAS,QAAQ;EAClE,QAAQ,kBAAkB,qBAAqB,OAAO;EACtD,KAAK,eAAe,qBAAqB,KAAK,aAAa;EAC3D,IAAI,cAAc,qBAAqB,GAAG;EAC1C,OAAO,iBAAiB,qBAAqB,MAAM;EACnD,YAAY,sBAAsB,qBAAqB,WAAW;EAClE,SAAS,qBAAqB;EAC9B;AACD,QAAO"}
|