@intlayer/config 9.4.3 → 9.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (138) hide show
  1. package/dist/cjs/bundle/index.cjs +1 -1
  2. package/dist/types/built.d.ts +13 -14
  3. package/dist/types/built.d.ts.map +1 -1
  4. package/dist/types/bundle/index.d.ts +3 -4
  5. package/dist/types/bundle/index.d.ts.map +1 -1
  6. package/dist/types/bundle/logBundle.d.ts +1 -2
  7. package/dist/types/bundle/logBundle.d.ts.map +1 -1
  8. package/dist/types/callers/base.d.ts +1 -2
  9. package/dist/types/callers/base.d.ts.map +1 -1
  10. package/dist/types/callers/compat/i18next.d.ts +1 -2
  11. package/dist/types/callers/compat/i18next.d.ts.map +1 -1
  12. package/dist/types/callers/compat/lingui.d.ts +1 -2
  13. package/dist/types/callers/compat/lingui.d.ts.map +1 -1
  14. package/dist/types/callers/compat/nextIntl.d.ts +1 -2
  15. package/dist/types/callers/compat/nextIntl.d.ts.map +1 -1
  16. package/dist/types/callers/compat/reactI18next.d.ts +1 -2
  17. package/dist/types/callers/compat/reactI18next.d.ts.map +1 -1
  18. package/dist/types/callers/compat/reactIntl.d.ts +1 -2
  19. package/dist/types/callers/compat/reactIntl.d.ts.map +1 -1
  20. package/dist/types/callers/compat/useIntl.d.ts +1 -2
  21. package/dist/types/callers/compat/useIntl.d.ts.map +1 -1
  22. package/dist/types/callers/compat/vueI18n.d.ts +1 -2
  23. package/dist/types/callers/compat/vueI18n.d.ts.map +1 -1
  24. package/dist/types/callers/index.d.ts +6 -6
  25. package/dist/types/callers/index.d.ts.map +1 -1
  26. package/dist/types/callers/transform.d.ts +3 -4
  27. package/dist/types/callers/transform.d.ts.map +1 -1
  28. package/dist/types/callers/types.d.ts +3 -4
  29. package/dist/types/callers/types.d.ts.map +1 -1
  30. package/dist/types/colors.d.ts +15 -15
  31. package/dist/types/colors.d.ts.map +1 -1
  32. package/dist/types/configFile/buildBrowserConfiguration.d.ts +8 -9
  33. package/dist/types/configFile/buildBrowserConfiguration.d.ts.map +1 -1
  34. package/dist/types/configFile/buildConfigurationFields.d.ts +2 -2
  35. package/dist/types/configFile/buildConfigurationFields.d.ts.map +1 -1
  36. package/dist/types/configFile/configurationSchema.d.ts +18 -19
  37. package/dist/types/configFile/configurationSchema.d.ts.map +1 -1
  38. package/dist/types/configFile/getConfiguration.d.ts +4 -5
  39. package/dist/types/configFile/getConfiguration.d.ts.map +1 -1
  40. package/dist/types/configFile/loadConfigurationFile.d.ts +1 -2
  41. package/dist/types/configFile/loadConfigurationFile.d.ts.map +1 -1
  42. package/dist/types/configFile/searchConfigurationFile.d.ts +2 -3
  43. package/dist/types/configFile/searchConfigurationFile.d.ts.map +1 -1
  44. package/dist/types/defaultValues/analytics.d.ts +3 -4
  45. package/dist/types/defaultValues/analytics.d.ts.map +1 -1
  46. package/dist/types/defaultValues/build.d.ts +10 -11
  47. package/dist/types/defaultValues/build.d.ts.map +1 -1
  48. package/dist/types/defaultValues/compiler.d.ts +4 -5
  49. package/dist/types/defaultValues/compiler.d.ts.map +1 -1
  50. package/dist/types/defaultValues/content.d.ts +7 -8
  51. package/dist/types/defaultValues/content.d.ts.map +1 -1
  52. package/dist/types/defaultValues/dictionary.d.ts +8 -9
  53. package/dist/types/defaultValues/dictionary.d.ts.map +1 -1
  54. package/dist/types/defaultValues/editor.d.ts +9 -10
  55. package/dist/types/defaultValues/editor.d.ts.map +1 -1
  56. package/dist/types/defaultValues/internationalization.d.ts +4 -5
  57. package/dist/types/defaultValues/internationalization.d.ts.map +1 -1
  58. package/dist/types/defaultValues/log.d.ts +2 -3
  59. package/dist/types/defaultValues/log.d.ts.map +1 -1
  60. package/dist/types/defaultValues/routing.d.ts +8 -9
  61. package/dist/types/defaultValues/routing.d.ts.map +1 -1
  62. package/dist/types/defaultValues/system.d.ts +12 -13
  63. package/dist/types/defaultValues/system.d.ts.map +1 -1
  64. package/dist/types/dictionaryPreload.d.ts +7 -8
  65. package/dist/types/dictionaryPreload.d.ts.map +1 -1
  66. package/dist/types/envVars/envVars.d.ts +4 -5
  67. package/dist/types/envVars/envVars.d.ts.map +1 -1
  68. package/dist/types/extract/constants.d.ts +1 -2
  69. package/dist/types/extract/constants.d.ts.map +1 -1
  70. package/dist/types/extract/shouldExtract.d.ts +1 -2
  71. package/dist/types/extract/shouldExtract.d.ts.map +1 -1
  72. package/dist/types/loadEnvFile.d.ts +3 -4
  73. package/dist/types/loadEnvFile.d.ts.map +1 -1
  74. package/dist/types/loadExternalFile/bundleFile.d.ts +4 -5
  75. package/dist/types/loadExternalFile/bundleFile.d.ts.map +1 -1
  76. package/dist/types/loadExternalFile/bundleJSFile.d.ts +1 -2
  77. package/dist/types/loadExternalFile/bundleJSFile.d.ts.map +1 -1
  78. package/dist/types/loadExternalFile/loadExternalFile.d.ts +3 -4
  79. package/dist/types/loadExternalFile/loadExternalFile.d.ts.map +1 -1
  80. package/dist/types/loadExternalFile/parseFileContent.d.ts +3 -4
  81. package/dist/types/loadExternalFile/parseFileContent.d.ts.map +1 -1
  82. package/dist/types/loadExternalFile/transpileTSToCJS.d.ts +4 -5
  83. package/dist/types/loadExternalFile/transpileTSToCJS.d.ts.map +1 -1
  84. package/dist/types/logger.d.ts +19 -20
  85. package/dist/types/logger.d.ts.map +1 -1
  86. package/dist/types/secrets.browser.d.ts +1 -2
  87. package/dist/types/secrets.browser.d.ts.map +1 -1
  88. package/dist/types/secrets.d.ts +1 -2
  89. package/dist/types/secrets.d.ts.map +1 -1
  90. package/dist/types/utils/ESMxCJSHelpers.d.ts +3 -4
  91. package/dist/types/utils/ESMxCJSHelpers.d.ts.map +1 -1
  92. package/dist/types/utils/alias.d.ts +2 -3
  93. package/dist/types/utils/alias.d.ts.map +1 -1
  94. package/dist/types/utils/builtConfigKeys.d.ts +2 -3
  95. package/dist/types/utils/builtConfigKeys.d.ts.map +1 -1
  96. package/dist/types/utils/cacheDisk.d.ts +2 -3
  97. package/dist/types/utils/cacheDisk.d.ts.map +1 -1
  98. package/dist/types/utils/cacheMemory.d.ts +8 -9
  99. package/dist/types/utils/cacheMemory.d.ts.map +1 -1
  100. package/dist/types/utils/clearModuleCache.d.ts +1 -2
  101. package/dist/types/utils/clearModuleCache.d.ts.map +1 -1
  102. package/dist/types/utils/compareVersions.d.ts +1 -2
  103. package/dist/types/utils/compareVersions.d.ts.map +1 -1
  104. package/dist/types/utils/extractErrorMessage.d.ts +1 -2
  105. package/dist/types/utils/extractErrorMessage.d.ts.map +1 -1
  106. package/dist/types/utils/getDictionarySelectorUsage.d.ts +1 -2
  107. package/dist/types/utils/getDictionarySelectorUsage.d.ts.map +1 -1
  108. package/dist/types/utils/getExtension.d.ts +1 -2
  109. package/dist/types/utils/getExtension.d.ts.map +1 -1
  110. package/dist/types/utils/getPackageJsonPath.d.ts +1 -2
  111. package/dist/types/utils/getPackageJsonPath.d.ts.map +1 -1
  112. package/dist/types/utils/getStorageAttributes.d.ts +1 -2
  113. package/dist/types/utils/getStorageAttributes.d.ts.map +1 -1
  114. package/dist/types/utils/getUsedNodeTypes.d.ts +5 -6
  115. package/dist/types/utils/getUsedNodeTypes.d.ts.map +1 -1
  116. package/dist/types/utils/isPackageInstalled.d.ts +1 -2
  117. package/dist/types/utils/isPackageInstalled.d.ts.map +1 -1
  118. package/dist/types/utils/logStack.d.ts +1 -2
  119. package/dist/types/utils/logStack.d.ts.map +1 -1
  120. package/dist/types/utils/normalizePath.d.ts +1 -2
  121. package/dist/types/utils/normalizePath.d.ts.map +1 -1
  122. package/dist/types/utils/parseFilePathPattern.d.ts +2 -3
  123. package/dist/types/utils/parseFilePathPattern.d.ts.map +1 -1
  124. package/dist/types/utils/pathSecurity.d.ts +1 -2
  125. package/dist/types/utils/pathSecurity.d.ts.map +1 -1
  126. package/dist/types/utils/retryManager.d.ts +2 -3
  127. package/dist/types/utils/retryManager.d.ts.map +1 -1
  128. package/dist/types/utils/setIntlayerIdentifier.d.ts +2 -3
  129. package/dist/types/utils/setIntlayerIdentifier.d.ts.map +1 -1
  130. package/dist/types/utils/stringFormatter/camelCaseToKebabCase.d.ts +1 -2
  131. package/dist/types/utils/stringFormatter/camelCaseToKebabCase.d.ts.map +1 -1
  132. package/dist/types/utils/stringFormatter/camelCaseToSentence.d.ts +1 -2
  133. package/dist/types/utils/stringFormatter/camelCaseToSentence.d.ts.map +1 -1
  134. package/dist/types/utils/stringFormatter/kebabCaseToCamelCase.d.ts +1 -2
  135. package/dist/types/utils/stringFormatter/kebabCaseToCamelCase.d.ts.map +1 -1
  136. package/dist/types/utils/stringFormatter/toLowerCamelCase.d.ts +1 -2
  137. package/dist/types/utils/stringFormatter/toLowerCamelCase.d.ts.map +1 -1
  138. package/package.json +4 -4
@@ -2,8 +2,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
3
3
  const require_utils_alias = require('../utils/alias.cjs');
4
4
  const require_configFile_getConfiguration = require('../configFile/getConfiguration.cjs');
5
- const require_envVars_envVars = require('../envVars/envVars.cjs');
6
5
  const require_bundle_logBundle = require('./logBundle.cjs');
6
+ const require_envVars_envVars = require('../envVars/envVars.cjs');
7
7
  let node_path = require("node:path");
8
8
  let node_fs_promises = require("node:fs/promises");
9
9
  let _intlayer_types_package_json = require("@intlayer/types/package.json");
@@ -3,19 +3,18 @@
3
3
  * @intlayer/config/built is a package that only returns the configuration file as a JSON object.
4
4
  * Using an external package allow to alias it in the bundle configuration (such as webpack).
5
5
  */
6
- declare const internationalization: any;
7
- declare const dictionary: any;
8
- declare const routing: any;
9
- declare const content: any;
10
- declare const system: any;
11
- declare const editor: any;
12
- declare const analytics: any;
13
- declare const log: any;
14
- declare const ai: any;
15
- declare const build: any;
16
- declare const compiler: any;
17
- declare const schemas: any;
18
- declare const plugins: any;
6
+ export declare const internationalization: any;
7
+ export declare const dictionary: any;
8
+ export declare const routing: any;
9
+ export declare const content: any;
10
+ export declare const system: any;
11
+ export declare const editor: any;
12
+ export declare const analytics: any;
13
+ export declare const log: any;
14
+ export declare const ai: any;
15
+ export declare const build: any;
16
+ export declare const compiler: any;
17
+ export declare const schemas: any;
18
+ export declare const plugins: any;
19
19
  //#endregion
20
- export { ai, analytics, build, compiler, content, dictionary, editor, internationalization, log, plugins, routing, schemas, system };
21
20
  //# sourceMappingURL=built.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"built.d.ts","names":[],"sources":["../../src/built.ts"],"mappings":";;;;;cAaa;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA"}
1
+ {"version":3,"file":"built.d.ts","names":[],"sources":["../../src/built.ts"],"mappings":";;;;;qBAaa;qBACA;qBACA;qBACA;qBACA;qBACA;qBACA;qBACA;qBACA;qBACA;qBACA;qBACA;qBACA"}
@@ -1,8 +1,8 @@
1
1
  import { GetConfigurationOptions } from "../configFile/getConfiguration.js";
2
2
  import { BuildOptions } from "esbuild";
3
3
  //#region src/bundle/index.d.ts
4
- declare const packageList: readonly ['next-intlayer', 'react-intlayer', 'vue-intlayer', 'svelte-intlayer', 'preact-intlayer', 'solid-intlayer', 'angular-intlayer', 'lit-intlayer', 'express-intlayer', 'hono-intlayer', 'fastify-intlayer', 'adonis-intlayer', 'vanilla-intlayer', 'intlayer'];
5
- type BundleIntlayerOptions = {
4
+ export declare const packageList: readonly ['next-intlayer', 'react-intlayer', 'vue-intlayer', 'svelte-intlayer', 'preact-intlayer', 'solid-intlayer', 'angular-intlayer', 'lit-intlayer', 'express-intlayer', 'hono-intlayer', 'fastify-intlayer', 'adonis-intlayer', 'vanilla-intlayer', 'intlayer'];
5
+ export type BundleIntlayerOptions = {
6
6
  outfile?: string;
7
7
  configOptions?: GetConfigurationOptions;
8
8
  bundlePackages?: string[];
@@ -15,7 +15,6 @@ type BundleIntlayerOptions = {
15
15
  * @param options - Bundle options including entryPoint, outfile, and esbuild options.
16
16
  * @returns The build result.
17
17
  */
18
- declare const bundleIntlayer: (options: BundleIntlayerOptions) => Promise<import("esbuild").BuildResult<BuildOptions>>;
18
+ export declare const bundleIntlayer: (options: BundleIntlayerOptions) => Promise<import("esbuild").BuildResult<BuildOptions>>;
19
19
  //#endregion
20
- export { BundleIntlayerOptions, bundleIntlayer, packageList };
21
20
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/bundle/index.ts"],"mappings":";;;cAgBa;KAmBD;EACV;EACA,gBAAgB;EAChB;EACA;IACE;;;;;;;;cASS,iBAAc,SAAmB,0BAAqB,0BAAA,YAAA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/bundle/index.ts"],"mappings":";;;qBAgBa;YAmBD;EACV;EACA,gBAAgB;EAChB;EACA;IACE;;;;;;;;qBASS,iBAAc,SAAmB,0BAAqB,0BAAA,YAAA"}
@@ -1,6 +1,6 @@
1
1
  import { IntlayerConfig } from "@intlayer/types/config";
2
2
  //#region src/bundle/logBundle.d.ts
3
- declare class BundleLogger {
3
+ export declare class BundleLogger {
4
4
  private status;
5
5
  private spinnerTimer;
6
6
  private spinnerIndex;
@@ -18,5 +18,4 @@ declare class BundleLogger {
18
18
  private render;
19
19
  }
20
20
  //#endregion
21
- export { BundleLogger };
22
21
  //# sourceMappingURL=logBundle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"logBundle.d.ts","names":[],"sources":["../../../src/bundle/logBundle.ts"],"mappings":";;cAKa;UACH;UAEA;UACA;UACA;UACA;mBACS;UACT;UACA;EAER,YAAY,gBAAgB;EAI5B,UAAU;EAWV,SAAS;UAOD;UAQA;UAMA;UAMA"}
1
+ {"version":3,"file":"logBundle.d.ts","names":[],"sources":["../../../src/bundle/logBundle.ts"],"mappings":";;qBAKa;UACH;UAEA;UACA;UACA;UACA;mBACS;UACT;UACA;EAER,YAAY,gBAAgB;EAI5B,UAAU;EAWV,SAAS;UAOD;UAQA;UAMA;UAMA"}
@@ -7,7 +7,6 @@ import { CallerDescriptor } from "./types.js";
7
7
  * through member access (`content.title`) or destructuring
8
8
  * (`const { title } = useIntlayer('home')`).
9
9
  */
10
- declare const BASE_CALLERS: CallerDescriptor[];
10
+ export declare const BASE_CALLERS: CallerDescriptor[];
11
11
  //#endregion
12
- export { BASE_CALLERS };
13
12
  //# sourceMappingURL=base.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","names":[],"sources":["../../../src/callers/base.ts"],"mappings":";;;;;;;;;cASa,cAAc"}
1
+ {"version":3,"file":"base.d.ts","names":[],"sources":["../../../src/callers/base.ts"],"mappings":";;;;;;;;;qBASa,cAAc"}
@@ -5,7 +5,6 @@ import { CallerDescriptor } from "../types.js";
5
5
  *
6
6
  * Mirrors `compat/i18next/src/plugin/index.ts` (`I18NEXT_COMPAT_CALLERS`).
7
7
  */
8
- declare const I18NEXT_CALLERS: CallerDescriptor[];
8
+ export declare const I18NEXT_CALLERS: CallerDescriptor[];
9
9
  //#endregion
10
- export { I18NEXT_CALLERS };
11
10
  //# sourceMappingURL=i18next.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"i18next.d.ts","names":[],"sources":["../../../../src/callers/compat/i18next.ts"],"mappings":";;;;;;;cAOa,iBAAiB"}
1
+ {"version":3,"file":"i18next.d.ts","names":[],"sources":["../../../../src/callers/compat/i18next.ts"],"mappings":";;;;;;;qBAOa,iBAAiB"}
@@ -1,6 +1,5 @@
1
1
  import { CallerDescriptor } from "../types.js";
2
2
  //#region src/callers/compat/lingui.d.ts
3
- declare const LINGUI_CALLERS: CallerDescriptor[];
3
+ export declare const LINGUI_CALLERS: CallerDescriptor[];
4
4
  //#endregion
5
- export { LINGUI_CALLERS };
6
5
  //# sourceMappingURL=lingui.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"lingui.d.ts","names":[],"sources":["../../../../src/callers/compat/lingui.ts"],"mappings":";;cAwBa,gBAAgB"}
1
+ {"version":3,"file":"lingui.d.ts","names":[],"sources":["../../../../src/callers/compat/lingui.ts"],"mappings":";;qBAwBa,gBAAgB"}
@@ -6,7 +6,6 @@ import { CallerDescriptor } from "../types.js";
6
6
  * Mirrors `compat/next-intl/src/plugin/index.ts` (`NEXT_INTL_SWC_CALLERS`),
7
7
  * adding the `getTranslations({ locale, namespace })` object overload.
8
8
  */
9
- declare const NEXT_INTL_CALLERS: CallerDescriptor[];
9
+ export declare const NEXT_INTL_CALLERS: CallerDescriptor[];
10
10
  //#endregion
11
- export { NEXT_INTL_CALLERS };
12
11
  //# sourceMappingURL=nextIntl.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"nextIntl.d.ts","names":[],"sources":["../../../../src/callers/compat/nextIntl.ts"],"mappings":";;;;;;;;cAQa,mBAAmB"}
1
+ {"version":3,"file":"nextIntl.d.ts","names":[],"sources":["../../../../src/callers/compat/nextIntl.ts"],"mappings":";;;;;;;;qBAQa,mBAAmB"}
@@ -8,7 +8,6 @@ import { CallerDescriptor } from "../types.js";
8
8
  * Mirrors `compat/react-i18next/src/plugin/index.ts` and
9
9
  * `compat/next-i18next/src/plugin/index.ts`.
10
10
  */
11
- declare const REACT_I18NEXT_CALLERS: CallerDescriptor[];
11
+ export declare const REACT_I18NEXT_CALLERS: CallerDescriptor[];
12
12
  //#endregion
13
- export { REACT_I18NEXT_CALLERS };
14
13
  //# sourceMappingURL=reactI18next.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"reactI18next.d.ts","names":[],"sources":["../../../../src/callers/compat/reactI18next.ts"],"mappings":";;;;;;;;;;cAUa,uBAAuB"}
1
+ {"version":3,"file":"reactI18next.d.ts","names":[],"sources":["../../../../src/callers/compat/reactI18next.ts"],"mappings":";;;;;;;;;;qBAUa,uBAAuB"}
@@ -9,7 +9,6 @@ import { CallerDescriptor } from "../types.js";
9
9
  *
10
10
  * Mirrors `compat/react-intl/src/plugin/index.ts`.
11
11
  */
12
- declare const REACT_INTL_CALLERS: CallerDescriptor[];
12
+ export declare const REACT_INTL_CALLERS: CallerDescriptor[];
13
13
  //#endregion
14
- export { REACT_INTL_CALLERS };
15
14
  //# sourceMappingURL=reactIntl.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"reactIntl.d.ts","names":[],"sources":["../../../../src/callers/compat/reactIntl.ts"],"mappings":";;;;;;;;;;;cAWa,oBAAoB"}
1
+ {"version":3,"file":"reactIntl.d.ts","names":[],"sources":["../../../../src/callers/compat/reactIntl.ts"],"mappings":";;;;;;;;;;;qBAWa,oBAAoB"}
@@ -5,7 +5,6 @@ import { CallerDescriptor } from "../types.js";
5
5
  *
6
6
  * Mirrors `compat/use-intl/src/plugin/index.ts`.
7
7
  */
8
- declare const USE_INTL_CALLERS: CallerDescriptor[];
8
+ export declare const USE_INTL_CALLERS: CallerDescriptor[];
9
9
  //#endregion
10
- export { USE_INTL_CALLERS };
11
10
  //# sourceMappingURL=useIntl.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useIntl.d.ts","names":[],"sources":["../../../../src/callers/compat/useIntl.ts"],"mappings":";;;;;;;cAOa,kBAAkB"}
1
+ {"version":3,"file":"useIntl.d.ts","names":[],"sources":["../../../../src/callers/compat/useIntl.ts"],"mappings":";;;;;;;qBAOa,kBAAkB"}
@@ -5,7 +5,6 @@ import { CallerDescriptor } from "../types.js";
5
5
  *
6
6
  * Mirrors `compat/vue-i18n/src/plugin/index.ts`.
7
7
  */
8
- declare const VUE_I18N_CALLERS: CallerDescriptor[];
8
+ export declare const VUE_I18N_CALLERS: CallerDescriptor[];
9
9
  //#endregion
10
- export { VUE_I18N_CALLERS };
11
10
  //# sourceMappingURL=vueI18n.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"vueI18n.d.ts","names":[],"sources":["../../../../src/callers/compat/vueI18n.ts"],"mappings":";;;;;;;cAOa,kBAAkB"}
1
+ {"version":3,"file":"vueI18n.d.ts","names":[],"sources":["../../../../src/callers/compat/vueI18n.ts"],"mappings":";;;;;;;qBAOa,kBAAkB"}
@@ -15,15 +15,15 @@ import { SwcExtraCallerConfig, getRewritableCallers, toSwcExtraCallers } from ".
15
15
  * pipeline; this aggregate exists for consumers that need every syntax at
16
16
  * once, such as the LSP.
17
17
  */
18
- declare const COMPAT_CALLERS: CallerDescriptor[];
18
+ export declare const COMPAT_CALLERS: CallerDescriptor[];
19
19
  /** Base + compat callers — the full registry the matchers run against. */
20
- declare const ALL_CALLERS: CallerDescriptor[];
20
+ export declare const ALL_CALLERS: CallerDescriptor[];
21
21
  /**
22
22
  * Descriptors indexed by caller name. A name can map to several descriptors
23
23
  * (e.g. `Trans` exists in both react-i18next and lingui with different
24
24
  * attributes); matchers try them in registry order.
25
25
  */
26
- declare const CALLERS_BY_NAME: Map<string, CallerDescriptor[]>;
26
+ export declare const CALLERS_BY_NAME: Map<string, CallerDescriptor[]>;
27
27
  /**
28
28
  * Caller names whose dictionary key can appear as a positional string literal
29
29
  * argument (`caller('key', …)` / `caller(locale, 'key', …)`). Used to build
@@ -31,7 +31,7 @@ declare const CALLERS_BY_NAME: Map<string, CallerDescriptor[]>;
31
31
  * completion trigger pattern. Callers whose key never appears positionally
32
32
  * (fixed namespace, options object, JSX-only) are excluded on purpose.
33
33
  */
34
- declare const getPositionalKeyCallerNames: () => string[];
34
+ export declare const getPositionalKeyCallerNames: () => string[];
35
35
  /**
36
36
  * Returns `true` when the descriptor may participate in matching for a file
37
37
  * importing from `importSources`. Descriptors flagged `requiresImport` only
@@ -42,7 +42,7 @@ declare const getPositionalKeyCallerNames: () => string[];
42
42
  * @param descriptor - The caller descriptor to gate.
43
43
  * @param fileImportSources - Module specifiers imported by the analysed file.
44
44
  */
45
- declare const isCallerActive: (descriptor: CallerDescriptor, fileImportSources: ReadonlySet<string>) => boolean;
45
+ export declare const isCallerActive: (descriptor: CallerDescriptor, fileImportSources: ReadonlySet<string>) => boolean;
46
46
  //#endregion
47
- export { ALL_CALLERS, BASE_CALLERS, CALLERS_BY_NAME, COMPAT_CALLERS, type CallerDescriptor, type CallerResultShape, type CallerValueSource, I18NEXT_CALLERS, LINGUI_CALLERS, NEXT_INTL_CALLERS, REACT_I18NEXT_CALLERS, REACT_INTL_CALLERS, type SwcExtraCallerConfig, USE_INTL_CALLERS, VUE_I18N_CALLERS, getPositionalKeyCallerNames, getRewritableCallers, isCallerActive, toSwcExtraCallers };
47
+ export { BASE_CALLERS, type CallerDescriptor, type CallerResultShape, type CallerValueSource, I18NEXT_CALLERS, LINGUI_CALLERS, NEXT_INTL_CALLERS, REACT_I18NEXT_CALLERS, REACT_INTL_CALLERS, type SwcExtraCallerConfig, USE_INTL_CALLERS, VUE_I18N_CALLERS, getRewritableCallers, toSwcExtraCallers };
48
48
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/callers/index.ts"],"mappings":";;;;;;;;;;;;;;;;;cAmCa,gBAAgB;;cAWhB,aAAa;;;;;;cAUb,iBAAiB,YAAY;;;;;;;;cAuB7B;;;;;;;;;;;cAwBA,iBAAc,YACb,kBAAgB,mBACT"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/callers/index.ts"],"mappings":";;;;;;;;;;;;;;;;;qBAmCa,gBAAgB;;qBAWhB,aAAa;;;;;;qBAUb,iBAAiB,YAAY;;;;;;;;qBAuB7B;;;;;;;;;;;qBAwBA,iBAAc,YACb,kBAAgB,mBACT"}
@@ -6,7 +6,7 @@ import { CallerDescriptor } from "./types.js";
6
6
  * Field names mirror the serde attributes of `ExtraCallerConfig` in
7
7
  * `packages/@intlayer/swc/src/lib.rs` — both sides must stay in sync.
8
8
  */
9
- type SwcExtraCallerConfig = {
9
+ export type SwcExtraCallerConfig = {
10
10
  /** The function name the user calls, e.g. `"useTranslation"`. */
11
11
  callerName: string;
12
12
  /** Module specifiers exporting the function (original + `@intlayer/*`). */
@@ -42,7 +42,7 @@ type SwcExtraCallerConfig = {
42
42
  * Method-matched callers (`i18n.getFixedT`) and JSX components are excluded —
43
43
  * their call sites cannot be re-pointed through an import specifier rename.
44
44
  */
45
- declare const getRewritableCallers: (descriptors: CallerDescriptor[]) => CallerDescriptor[];
45
+ export declare const getRewritableCallers: (descriptors: CallerDescriptor[]) => CallerDescriptor[];
46
46
  /**
47
47
  * Serialises the rewritable callers of a registry slice into the
48
48
  * `@intlayer/swc` plugin wire format (`extraCallers` option).
@@ -54,7 +54,6 @@ declare const getRewritableCallers: (descriptors: CallerDescriptor[]) => CallerD
54
54
  * @param descriptors - Registry slice, e.g. `REACT_I18NEXT_CALLERS`.
55
55
  * @returns Configs ready to pass as `swcExtraCallers` / `extraCallers`.
56
56
  */
57
- declare const toSwcExtraCallers: (descriptors: CallerDescriptor[]) => SwcExtraCallerConfig[];
57
+ export declare const toSwcExtraCallers: (descriptors: CallerDescriptor[]) => SwcExtraCallerConfig[];
58
58
  //#endregion
59
- export { SwcExtraCallerConfig, getRewritableCallers, toSwcExtraCallers };
60
59
  //# sourceMappingURL=transform.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transform.d.ts","names":[],"sources":["../../../src/callers/transform.ts"],"mappings":";;;;;;;;KAQY;;EAEV;;EAEA;;;;;EAKA;;;;;EAKA;;;;;;EAMA;IAAoB;IAAuB;;;EAE3C;;EAEA;;;;;;;;;cAUW,uBAAoB,aAClB,uBACZ;;;;;;;;;;;;cA6BU,oBAAiB,aACf,uBACZ"}
1
+ {"version":3,"file":"transform.d.ts","names":[],"sources":["../../../src/callers/transform.ts"],"mappings":";;;;;;;;YAQY;;EAEV;;EAEA;;;;;EAKA;;;;;EAKA;;;;;;EAMA;IAAoB;IAAuB;;;EAE3C;;EAEA;;;;;;;;;qBAUW,uBAAoB,aAClB,uBACZ;;;;;;;;;;;;qBA6BU,oBAAiB,aACf,uBACZ"}
@@ -23,7 +23,7 @@
23
23
  * Where a value (namespace/dictionary key, or key prefix) is read from a call
24
24
  * expression.
25
25
  */
26
- type CallerValueSource =
26
+ export type CallerValueSource =
27
27
  /** Positional argument holding a string literal, e.g. `useTranslations('ns')`. */
28
28
  {
29
29
  from: 'argument';
@@ -67,11 +67,11 @@ type CallerValueSource =
67
67
  * dictionary is marked as used (Angular templates,
68
68
  * lingui hashed ids).
69
69
  */
70
- type CallerResultShape = 'content' | 'return-value' | 'destructured-t' | 'self' | 'all';
70
+ export type CallerResultShape = 'content' | 'return-value' | 'destructured-t' | 'self' | 'all';
71
71
  /**
72
72
  * Full description of a single caller.
73
73
  */
74
- type CallerDescriptor = {
74
+ export type CallerDescriptor = {
75
75
  /** Function or JSX component name, e.g. `'useTranslation'`, `'FormattedMessage'`. */
76
76
  callerName: string;
77
77
  /** Library identifier grouping related callers, e.g. `'react-i18next'`. */
@@ -156,5 +156,4 @@ type CallerDescriptor = {
156
156
  dynamicReplacement?: string;
157
157
  };
158
158
  //#endregion
159
- export { CallerDescriptor, CallerResultShape, CallerValueSource };
160
159
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","names":[],"sources":["../../../src/callers/types.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;KAyBY;;;EAEN;EAAkB;;;;EAElB;EAAgB;EAAuB;;;;;;;EAKvC;EAAe;;;;;;;;EAMf;;;;;;;;;;;;;;;;;;KAkBM;;;;KAUA;;EAEV;;EAEA;;;;;;EAMA;;;;;;EAMA;;;;;;EAMA;;EAEA;;;;;;EAMA;;;;;EAKA;;;;;EAKA,kBAAkB;;;;;;EAMlB,mBAAmB;;;;;;;EAOnB;;;;;;EAMA;;EAEA,qBAAqB;;;;;;EAMrB;;;;;;;;;;EAUA;;;;;EAKA"}
1
+ {"version":3,"file":"types.d.ts","names":[],"sources":["../../../src/callers/types.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;YAyBY;;;EAEN;EAAkB;;;;EAElB;EAAgB;EAAuB;;;;;;;EAKvC;EAAe;;;;;;;;EAMf;;;;;;;;;;;;;;;;;;YAkBM;;;;YAUA;;EAEV;;EAEA;;;;;;EAMA;;;;;;EAMA;;;;;;EAMA;;EAEA;;;;;;EAMA;;;;;EAKA;;;;;EAKA,kBAAkB;;;;;;EAMlB,mBAAmB;;;;;;;EAOnB;;;;;;EAMA;;EAEA,qBAAqB;;;;;;EAMrB;;;;;;;;;;EAUA;;;;;EAKA"}
@@ -1,20 +1,20 @@
1
1
  declare namespace colors_d_exports {
2
2
  export { BEIGE, BLUE, BOLD, CYAN, GREEN, GREY, GREY_DARK, GREY_LIGHT, MAGENTA, ORANGE, RED, RESET, WHITE, YELLOW };
3
3
  }
4
- declare const RESET: '';
5
- declare const GREY: '';
6
- declare const GREY_DARK: '';
7
- declare const GREY_LIGHT: '';
8
- declare const BLUE: '';
9
- declare const RED: '';
10
- declare const GREEN: '';
11
- declare const YELLOW: '';
12
- declare const MAGENTA: '';
13
- declare const BEIGE: '';
14
- declare const ORANGE: '';
15
- declare const CYAN: '';
16
- declare const WHITE: '';
17
- declare const BOLD: '';
4
+ export declare const RESET: '';
5
+ export declare const GREY: '';
6
+ export declare const GREY_DARK: '';
7
+ export declare const GREY_LIGHT: '';
8
+ export declare const BLUE: '';
9
+ export declare const RED: '';
10
+ export declare const GREEN: '';
11
+ export declare const YELLOW: '';
12
+ export declare const MAGENTA: '';
13
+ export declare const BEIGE: '';
14
+ export declare const ORANGE: '';
15
+ export declare const CYAN: '';
16
+ export declare const WHITE: '';
17
+ export declare const BOLD: '';
18
18
  //#endregion
19
- export { BEIGE, BLUE, BOLD, CYAN, GREEN, GREY, GREY_DARK, GREY_LIGHT, MAGENTA, ORANGE, RED, RESET, WHITE, YELLOW, colors_d_exports };
19
+ export { colors_d_exports };
20
20
  //# sourceMappingURL=colors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"colors.d.ts","names":[],"sources":["../../src/colors.ts"],"mappings":";;;cAAa;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA"}
1
+ {"version":3,"file":"colors.d.ts","names":[],"sources":["../../src/colors.ts"],"mappings":";;;qBAAa;qBACA;qBACA;qBACA;qBACA;qBACA;qBACA;qBACA;qBACA;qBACA;qBACA;qBACA;qBACA;qBACA"}
@@ -12,7 +12,7 @@ import { AnalyticsConfig, CustomIntlayerConfig, CustomRoutingConfig, EditorConfi
12
12
  * short-lived ingest token. It grants nothing on its own — every credentialed
13
13
  * backend call needs the secret, which only ever exists server-side.
14
14
  */
15
- type BrowserIntlayerConfig = {
15
+ export type BrowserIntlayerConfig = {
16
16
  internationalization: Pick<InternationalizationConfig, 'locales' | 'defaultLocale'>;
17
17
  routing: RoutingConfig;
18
18
  editor: Omit<EditorConfig, 'clientSecret'>;
@@ -31,14 +31,14 @@ declare global {
31
31
  * @param customConfiguration - Partial user-supplied internationalization config.
32
32
  * @returns A fully-defaulted {@link InternationalizationConfig}.
33
33
  */
34
- declare const buildInternationalizationFields: (customConfiguration?: Partial<InternationalizationConfig>) => InternationalizationConfig;
34
+ export declare const buildInternationalizationFields: (customConfiguration?: Partial<InternationalizationConfig>) => InternationalizationConfig;
35
35
  /**
36
36
  * Build the routing section of the Intlayer configuration.
37
37
  *
38
38
  * @param customConfiguration - Partial user-supplied routing config.
39
39
  * @returns A fully-defaulted {@link RoutingConfig}.
40
40
  */
41
- declare const buildRoutingFields: (customConfiguration?: Partial<CustomRoutingConfig>) => RoutingConfig;
41
+ export declare const buildRoutingFields: (customConfiguration?: Partial<CustomRoutingConfig>) => RoutingConfig;
42
42
  /**
43
43
  * Build the editor section of the Intlayer configuration.
44
44
  *
@@ -57,7 +57,7 @@ declare const buildRoutingFields: (customConfiguration?: Partial<CustomRoutingCo
57
57
  * @param customConfiguration - Partial user-supplied editor config.
58
58
  * @returns A fully-defaulted {@link EditorConfig}.
59
59
  */
60
- declare const buildEditorFields: (customConfiguration?: Partial<EditorConfig>) => EditorConfig;
60
+ export declare const buildEditorFields: (customConfiguration?: Partial<EditorConfig>) => EditorConfig;
61
61
  /**
62
62
  * Build the analytics section of the Intlayer configuration.
63
63
  *
@@ -75,7 +75,7 @@ declare const buildEditorFields: (customConfiguration?: Partial<EditorConfig>) =
75
75
  * the runtime dynamic `import()` fail silently when it is absent.
76
76
  * @returns A fully-defaulted {@link AnalyticsConfig}.
77
77
  */
78
- declare const buildAnalyticsFields: (customConfiguration?: Partial<AnalyticsConfig>, isPackageInstalled?: boolean) => AnalyticsConfig;
78
+ export declare const buildAnalyticsFields: (customConfiguration?: Partial<AnalyticsConfig>, isPackageInstalled?: boolean) => AnalyticsConfig;
79
79
  /**
80
80
  * Build the log section of the Intlayer configuration.
81
81
  *
@@ -83,7 +83,7 @@ declare const buildAnalyticsFields: (customConfiguration?: Partial<AnalyticsConf
83
83
  * @param logFunctions - Optional custom log function overrides (server-only).
84
84
  * @returns A fully-defaulted {@link LogConfig}.
85
85
  */
86
- declare const buildLogFields: (customConfiguration?: Partial<LogConfig>, logFunctions?: LogFunctions) => LogConfig;
86
+ export declare const buildLogFields: (customConfiguration?: Partial<LogConfig>, logFunctions?: LogFunctions) => LogConfig;
87
87
  /**
88
88
  * Build a browser-safe {@link BrowserIntlayerConfig} from a raw user config.
89
89
  *
@@ -107,7 +107,7 @@ declare const buildLogFields: (customConfiguration?: Partial<LogConfig>, logFunc
107
107
  * });
108
108
  * ```
109
109
  */
110
- declare const buildBrowserConfiguration: (customConfig?: CustomIntlayerConfig) => BrowserIntlayerConfig;
110
+ export declare const buildBrowserConfiguration: (customConfig?: CustomIntlayerConfig) => BrowserIntlayerConfig;
111
111
  /**
112
112
  * Extract a {@link BrowserIntlayerConfig} from an already-built full
113
113
  * {@link IntlayerConfig}.
@@ -119,7 +119,6 @@ declare const buildBrowserConfiguration: (customConfig?: CustomIntlayerConfig) =
119
119
  * @param config - A fully-built server-side Intlayer configuration.
120
120
  * @returns The browser-safe subset of that configuration.
121
121
  */
122
- declare const extractBrowserConfiguration: (config: IntlayerConfig) => BrowserIntlayerConfig;
122
+ export declare const extractBrowserConfiguration: (config: IntlayerConfig) => BrowserIntlayerConfig;
123
123
  //#endregion
124
- export { BrowserIntlayerConfig, buildAnalyticsFields, buildBrowserConfiguration, buildEditorFields, buildInternationalizationFields, buildLogFields, buildRoutingFields, extractBrowserConfiguration };
125
124
  //# sourceMappingURL=buildBrowserConfiguration.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"buildBrowserConfiguration.d.ts","names":[],"sources":["../../../src/configFile/buildBrowserConfiguration.ts"],"mappings":";;;;;;;;;;;;;;KA0DY;EACV,sBAAsB,KACpB;EAGF,SAAS;EACT,QAAQ,KAAK;EACb,WAAW;EACX,KAAK,KAAK;;QAGJ;YACI;;IAER,kBAAkB;;;;;;;;;cAiBT,kCAA+B,sBACpB,QAAQ,gCAC7B;;;;;;;cA+CU,qBAAkB,sBACP,QAAQ,yBAC7B;;;;;;;;;;;;;;;;;;;cA4HU,oBAAiB,sBACN,QAAQ,kBAC7B;;;;;;;;;;;;;;;;;;cA6IU,uBAAoB,sBACT,QAAQ,kBAAgB,iCAE7C;;;;;;;;cA+BU,iBAAc,sBACH,QAAQ,YAAU,eACzB,iBACd;;;;;;;;;;;;;;;;;;;;;;;;cAyDU,4BAAyB,eACrB,yBACd;;;;;;;;;;;;cA+BU,8BAA2B,QAC9B,mBACP"}
1
+ {"version":3,"file":"buildBrowserConfiguration.d.ts","names":[],"sources":["../../../src/configFile/buildBrowserConfiguration.ts"],"mappings":";;;;;;;;;;;;;;YA0DY;EACV,sBAAsB,KACpB;EAGF,SAAS;EACT,QAAQ,KAAK;EACb,WAAW;EACX,KAAK,KAAK;;QAGJ;YACI;;IAER,kBAAkB;;;;;;;;;qBAiBT,kCAA+B,sBACpB,QAAQ,gCAC7B;;;;;;;qBA+CU,qBAAkB,sBACP,QAAQ,yBAC7B;;;;;;;;;;;;;;;;;;;qBA4HU,oBAAiB,sBACN,QAAQ,kBAC7B;;;;;;;;;;;;;;;;;;qBA6IU,uBAAoB,sBACT,QAAQ,kBAAgB,iCAE7C;;;;;;;;qBA+BU,iBAAc,sBACH,QAAQ,YAAU,eACzB,iBACd;;;;;;;;;;;;;;;;;;;;;;;;qBAyDU,4BAAyB,eACrB,yBACd;;;;;;;;;;;;qBA+BU,8BAA2B,QAC9B,mBACP"}
@@ -19,7 +19,7 @@ import { CustomIntlayerConfig, IntlayerConfig, LogFunctions } from "@intlayer/ty
19
19
  * @param logFunctions - Optional custom logging functions.
20
20
  * @returns A fully-built {@link IntlayerConfig}.
21
21
  */
22
- declare const buildConfigurationFields: (customConfiguration?: CustomIntlayerConfig, baseDir?: string, logFunctions?: LogFunctions) => IntlayerConfig;
22
+ export declare const buildConfigurationFields: (customConfiguration?: CustomIntlayerConfig, baseDir?: string, logFunctions?: LogFunctions) => IntlayerConfig;
23
23
  //#endregion
24
- export { type BrowserIntlayerConfig, buildAnalyticsFields, buildBrowserConfiguration, buildConfigurationFields, buildEditorFields, buildInternationalizationFields, buildLogFields, buildRoutingFields, extractBrowserConfiguration };
24
+ export { type BrowserIntlayerConfig, buildAnalyticsFields, buildBrowserConfiguration, buildEditorFields, buildInternationalizationFields, buildLogFields, buildRoutingFields, extractBrowserConfiguration };
25
25
  //# sourceMappingURL=buildConfigurationFields.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"buildConfigurationFields.d.ts","names":[],"sources":["../../../src/configFile/buildConfigurationFields.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;cA+wBa,2BAAwB,sBACb,sBAAoB,kBAC1B,eACD,iBACd"}
1
+ {"version":3,"file":"buildConfigurationFields.d.ts","names":[],"sources":["../../../src/configFile/buildConfigurationFields.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;qBA+wBa,2BAAwB,sBACb,sBAAoB,kBAC1B,eACD,iBACd"}
@@ -1,7 +1,7 @@
1
1
  import { AiProviders } from "@intlayer/types/config";
2
2
  import z from "zod";
3
3
  //#region src/configFile/configurationSchema.d.ts
4
- declare const internationalizationSchema: z.ZodObject<{
4
+ export declare const internationalizationSchema: z.ZodObject<{
5
5
  locales: z.ZodArray<z.ZodString>;
6
6
  requiredLocales: z.ZodOptional<z.ZodArray<z.ZodString>>;
7
7
  strictMode: z.ZodOptional<z.ZodEnum<{
@@ -11,7 +11,7 @@ declare const internationalizationSchema: z.ZodObject<{
11
11
  }>>;
12
12
  defaultLocale: z.ZodOptional<z.ZodString>;
13
13
  }, z.core.$strip>;
14
- declare const cookiesAttributesSchema: z.ZodObject<{
14
+ export declare const cookiesAttributesSchema: z.ZodObject<{
15
15
  type: z.ZodLiteral<"cookie">;
16
16
  name: z.ZodOptional<z.ZodString>;
17
17
  domain: z.ZodOptional<z.ZodString>;
@@ -26,7 +26,7 @@ declare const cookiesAttributesSchema: z.ZodObject<{
26
26
  expires: z.ZodOptional<z.ZodUnion<readonly [z.ZodCustom<Date, Date>, z.ZodNumber, z.ZodString]>>;
27
27
  maxAge: z.ZodOptional<z.ZodNumber>;
28
28
  }, z.core.$strip>;
29
- declare const storageAttributesSchema: z.ZodObject<{
29
+ export declare const storageAttributesSchema: z.ZodObject<{
30
30
  type: z.ZodEnum<{
31
31
  header: "header";
32
32
  localStorage: "localStorage";
@@ -34,7 +34,7 @@ declare const storageAttributesSchema: z.ZodObject<{
34
34
  }>;
35
35
  name: z.ZodOptional<z.ZodString>;
36
36
  }, z.core.$strip>;
37
- declare const storageSchema: z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodEnum<{
37
+ export declare const storageSchema: z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodEnum<{
38
38
  cookie: "cookie";
39
39
  header: "header";
40
40
  localStorage: "localStorage";
@@ -87,17 +87,17 @@ declare const storageSchema: z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodEnum
87
87
  }>;
88
88
  name: z.ZodOptional<z.ZodString>;
89
89
  }, z.core.$strip>]>>]>;
90
- declare const rewriteRuleSchema: z.ZodObject<{
90
+ export declare const rewriteRuleSchema: z.ZodObject<{
91
91
  canonical: z.ZodString;
92
92
  localized: z.ZodRecord<z.ZodString, z.ZodString>;
93
93
  }, z.core.$strip>;
94
- declare const rewriteRulesSchema: z.ZodObject<{
94
+ export declare const rewriteRulesSchema: z.ZodObject<{
95
95
  rules: z.ZodArray<z.ZodObject<{
96
96
  canonical: z.ZodString;
97
97
  localized: z.ZodRecord<z.ZodString, z.ZodString>;
98
98
  }, z.core.$strip>>;
99
99
  }, z.core.$strip>;
100
- declare const rewriteObjectSchema: z.ZodObject<{
100
+ export declare const rewriteObjectSchema: z.ZodObject<{
101
101
  url: z.ZodObject<{
102
102
  rules: z.ZodArray<z.ZodObject<{
103
103
  canonical: z.ZodString;
@@ -117,7 +117,7 @@ declare const rewriteObjectSchema: z.ZodObject<{
117
117
  }, z.core.$strip>>;
118
118
  }, z.core.$strip>>;
119
119
  }, z.core.$strip>;
120
- declare const routingSchema: z.ZodObject<{
120
+ export declare const routingSchema: z.ZodObject<{
121
121
  rewrite: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>, z.ZodObject<{
122
122
  url: z.ZodObject<{
123
123
  rules: z.ZodArray<z.ZodObject<{
@@ -201,7 +201,7 @@ declare const routingSchema: z.ZodObject<{
201
201
  basePath: z.ZodOptional<z.ZodString>;
202
202
  domains: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
203
203
  }, z.core.$strip>;
204
- declare const systemSchema: z.ZodObject<{
204
+ export declare const systemSchema: z.ZodObject<{
205
205
  baseDir: z.ZodOptional<z.ZodString>;
206
206
  moduleAugmentationDir: z.ZodOptional<z.ZodString>;
207
207
  unmergedDictionariesDir: z.ZodOptional<z.ZodString>;
@@ -215,7 +215,7 @@ declare const systemSchema: z.ZodObject<{
215
215
  cacheDir: z.ZodOptional<z.ZodString>;
216
216
  tempDir: z.ZodOptional<z.ZodString>;
217
217
  }, z.core.$strip>;
218
- declare const contentSchema: z.ZodObject<{
218
+ export declare const contentSchema: z.ZodObject<{
219
219
  fileExtensions: z.ZodOptional<z.ZodArray<z.ZodString>>;
220
220
  contentDir: z.ZodOptional<z.ZodArray<z.ZodString>>;
221
221
  codeDir: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -223,7 +223,7 @@ declare const contentSchema: z.ZodObject<{
223
223
  watch: z.ZodOptional<z.ZodBoolean>;
224
224
  formatCommand: z.ZodOptional<z.ZodString>;
225
225
  }, z.core.$strip>;
226
- declare const editorSchema: z.ZodObject<{
226
+ export declare const editorSchema: z.ZodObject<{
227
227
  applicationURL: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodLiteral<"">]>>;
228
228
  editorURL: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodLiteral<"">]>>;
229
229
  cmsURL: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodLiteral<"">]>>;
@@ -240,12 +240,12 @@ declare const editorSchema: z.ZodObject<{
240
240
  liveSyncPort: z.ZodOptional<z.ZodNumber>;
241
241
  liveSyncURL: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodLiteral<"">]>>;
242
242
  }, z.core.$strip>;
243
- declare const analyticsSchema: z.ZodObject<{
243
+ export declare const analyticsSchema: z.ZodObject<{
244
244
  enabled: z.ZodOptional<z.ZodBoolean>;
245
245
  flushInterval: z.ZodOptional<z.ZodNumber>;
246
246
  sampleRate: z.ZodOptional<z.ZodNumber>;
247
247
  }, z.core.$strip>;
248
- declare const logSchema: z.ZodObject<{
248
+ export declare const logSchema: z.ZodObject<{
249
249
  mode: z.ZodOptional<z.ZodEnum<{
250
250
  default: "default";
251
251
  disabled: "disabled";
@@ -257,7 +257,7 @@ declare const logSchema: z.ZodObject<{
257
257
  info: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
258
258
  warn: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
259
259
  }, z.core.$strip>;
260
- declare const aiSchema: z.ZodObject<{
260
+ export declare const aiSchema: z.ZodObject<{
261
261
  provider: z.ZodOptional<z.ZodEnum<typeof AiProviders>>;
262
262
  apiKey: z.ZodOptional<z.ZodString>;
263
263
  model: z.ZodOptional<z.ZodString>;
@@ -269,7 +269,7 @@ declare const aiSchema: z.ZodObject<{
269
269
  toon: "toon";
270
270
  }>>;
271
271
  }, z.core.$strip>;
272
- declare const buildSchema: z.ZodObject<{
272
+ export declare const buildSchema: z.ZodObject<{
273
273
  mode: z.ZodOptional<z.ZodEnum<{
274
274
  auto: "auto";
275
275
  manual: "manual";
@@ -289,7 +289,7 @@ declare const buildSchema: z.ZodObject<{
289
289
  require: z.ZodOptional<z.ZodUnknown>;
290
290
  checkTypes: z.ZodOptional<z.ZodBoolean>;
291
291
  }, z.core.$strip>;
292
- declare const compilerSchema: z.ZodObject<{
292
+ export declare const compilerSchema: z.ZodObject<{
293
293
  enabled: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"build-only">]>>;
294
294
  dictionaryKeyPrefix: z.ZodOptional<z.ZodString>;
295
295
  transformPattern: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
@@ -298,7 +298,7 @@ declare const compilerSchema: z.ZodObject<{
298
298
  noMetadata: z.ZodOptional<z.ZodBoolean>;
299
299
  saveComponents: z.ZodOptional<z.ZodBoolean>;
300
300
  }, z.core.$strip>;
301
- declare const dictionarySchema: z.ZodObject<{
301
+ export declare const dictionarySchema: z.ZodObject<{
302
302
  fill: z.ZodOptional<z.ZodUnknown>;
303
303
  contentAutoTransformation: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
304
304
  markdown: z.ZodOptional<z.ZodBoolean>;
@@ -309,7 +309,7 @@ declare const dictionarySchema: z.ZodObject<{
309
309
  locale: z.ZodOptional<z.ZodString>;
310
310
  title: z.ZodOptional<z.ZodString>;
311
311
  }, z.core.$strip>;
312
- declare const intlayerConfigSchema: z.ZodObject<{
312
+ export declare const intlayerConfigSchema: z.ZodObject<{
313
313
  internationalization: z.ZodOptional<z.ZodObject<{
314
314
  locales: z.ZodArray<z.ZodString>;
315
315
  requiredLocales: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -521,5 +521,4 @@ declare const intlayerConfigSchema: z.ZodObject<{
521
521
  }, z.core.$strip>>;
522
522
  }, z.core.$strip>;
523
523
  //#endregion
524
- export { aiSchema, analyticsSchema, buildSchema, compilerSchema, contentSchema, cookiesAttributesSchema, dictionarySchema, editorSchema, internationalizationSchema, intlayerConfigSchema, logSchema, rewriteObjectSchema, rewriteRuleSchema, rewriteRulesSchema, routingSchema, storageAttributesSchema, storageSchema, systemSchema };
525
524
  //# sourceMappingURL=configurationSchema.d.ts.map