@intlayer/types 8.6.8 → 8.6.10

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.
@@ -8,7 +8,7 @@ import { Plugin } from "./plugin.js";
8
8
  * Structural type for schema validation, compatible with Zod and other
9
9
  * schema libraries that implement safeParse. Avoids a hard dependency on Zod.
10
10
  */
11
- type Schema = {
11
+ type ConfigSchema = {
12
12
  safeParse(data: unknown): {
13
13
  success: boolean;
14
14
  data?: unknown;
@@ -768,7 +768,7 @@ type CustomIntlayerConfig = {
768
768
  * }
769
769
  * ```
770
770
  */
771
- schemas?: Record<string, Schema>;
771
+ schemas?: Record<string, ConfigSchema>;
772
772
  /**
773
773
  * Custom plugins configuration
774
774
  */
@@ -995,7 +995,7 @@ type IntlayerConfig = {
995
995
  /**
996
996
  * Custom schemas to validate the dictionaries content.
997
997
  */
998
- schemas?: Record<string, Schema>;
998
+ schemas?: Record<string, ConfigSchema>;
999
999
  /**
1000
1000
  * Plugins configuration
1001
1001
  */
@@ -1207,5 +1207,5 @@ type LogConfig = {
1207
1207
  debug?: typeof console.debug;
1208
1208
  };
1209
1209
  //#endregion
1210
- export { AiConfig, AiProviderConfigMap, AiProviders, BuildConfig, CommonAiConfig, CompilerConfig, ContentConfig, CookiesAttributes, CustomIntlayerConfig, CustomRoutingConfig, DictionaryConfig, EditorConfig, InternationalizationConfig, IntlayerConfig, LogConfig, LogFunctions, ProcessedStorageAttributes, RewriteObject, RewriteRule, RewriteRules, RoutingConfig, RoutingStorageInput, Schema, StorageAttributes, StrictMode, SystemConfig, URLType };
1210
+ export { AiConfig, AiProviderConfigMap, AiProviders, BuildConfig, CommonAiConfig, CompilerConfig, ConfigSchema, ContentConfig, CookiesAttributes, CustomIntlayerConfig, CustomRoutingConfig, DictionaryConfig, EditorConfig, InternationalizationConfig, IntlayerConfig, LogConfig, LogFunctions, ProcessedStorageAttributes, RewriteObject, RewriteRule, RewriteRules, RoutingConfig, RoutingStorageInput, StorageAttributes, StrictMode, SystemConfig, URLType };
1211
1211
  //# sourceMappingURL=config.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","names":[],"sources":["../../src/config.ts"],"mappings":";;;;;;;;AAaA;;KAAY,MAAA;EACV,SAAA,CAAU,IAAA;IACR,OAAA;IACA,IAAA;IACA,KAAA;EAAA;AAAA;AAAA,KAIQ,UAAA;AAAA,KAEP,QAAA;AAAA,KAEA,OAAA;AAAA,KAEA,eAAA;AAAA,KAGA,YAAA,MAAkB,QAAA,yBAAiC,eAAA;AAAA,KAGnD,KAAA,MACE,QAAA,yBAAiC,eAAA,QACjC,QAAA,mCAA2C,eAAA;AAAA,KAI7C,SAAA,MAAe,QAAA,yBAAiC,eAAA;AAAA,KAEzC,OAAA,GAAU,YAAA,GAAe,KAAA,GAAQ,SAAA;;;;KAKjC,0BAAA;EAvBP;;;;;AAEA;;EA6BH,OAAA,EAAS,MAAA;EA3BN;;AAAA;;;;;AAGmD;;EAmCtD,eAAA,EAAiB,MAAA;;;;;;;;;EAUjB,UAAA,EAAY,UAAA;;;;AAxCoC;;;;EAiDhD,aAAA,EAAe,MAAA;AAAA;AAAA,KAGL,iBAAA;;;;;;EAMV,IAAA;;;;;;AA/CF;;EAuDE,IAAA;;;;;;;;;EASA,MAAA;;;;;;;;EAQA,IAAA;EA/BU;;;;;;;;EAwCV,MAAA;;;;;;AAgCF;;EAxBE,QAAA;EAwBU;;AAuBZ;;;;;;;EArCE,QAAA;;;;;;;;;;EAWA,OAAA,GAAU,IAAA;AAAA;AAAA,KAGA,iBAAA;EAyCC;;;;;;EAlCX,IAAA;EAkCW;AAGb;;;;;AAIA;EAhCE,IAAA;AAAA;;;;;KAOU,0BAAA;EACV,OAAA;IACE,IAAA;IACA,UAAA,EAAY,IAAA,CAAK,iBAAA;EAAA;EAEnB,YAAA;IACE,IAAA;EAAA;EAEF,cAAA;IACE,IAAA;EAAA;EAEF,OAAA;IACE,IAAA;EAAA;AAAA;AAAA,K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,CAAQ,GAAA;EACrB,IAAA,UAAc,OAAA,CAAQ,IAAA;EACtB,IAAA,UAAc,OAAA,CAAQ,IAAA;EACtB,KAAA,UAAe,OAAA,CAAQ,KAAA;AAAA"}
@@ -1,10 +1,10 @@
1
1
  import { locales_d_exports } from "./locales.js";
2
2
  import { ALL_LOCALES, Locale } from "./allLocales.js";
3
- import { DeclaredLocales, DictionaryKeys, DictionaryRegistry, DictionaryRegistryContent, DictionaryRegistryElement, LocalesValues, RequiredLocales, ResolvedEditor, SchemaKeys, StrictModeLocaleMap } from "./module_augmentation.js";
3
+ import { DeclaredLocales, DictionaryKeys, DictionaryRegistry, DictionaryRegistryContent, DictionaryRegistryElement, LocalesValues, RequiredLocales, ResolvedEditor, Schema, SchemaKeys, StrictModeLocaleMap } from "./module_augmentation.js";
4
4
  import { FilePathPattern, FilePathPatternContext, FilePathPatternFunction } from "./filePathPattern.js";
5
5
  import { ARRAY, BOOLEAN, CONDITION, ENUMERATION, FILE, GENDER, HTML, INSERTION, MARKDOWN, NESTED, NULL, NUMBER, NodeType, OBJECT, PLUGIN_NODE_TYPES, REACT_NODE, TEXT, TRANSLATION, TypedNodeModel, UNKNOWN, formatNodeType } from "./nodeType.js";
6
6
  import { ContentAutoTransformation, ContentNode, Dictionary, DictionaryFormat, DictionaryId, DictionaryKey, DictionaryLocation, Fill, GetSubPath, ImportMode, LocalDictionaryId, TypedNode } from "./dictionary.js";
7
7
  import { MergedDictionaryOutput, MergedDictionaryResult, Plugin, UnmergedDictionaryOutput, UnmergedDictionaryResult } from "./plugin.js";
8
- import { AiConfig, AiProviderConfigMap, AiProviders, BuildConfig, CommonAiConfig, CompilerConfig, ContentConfig, CookiesAttributes, CustomIntlayerConfig, CustomRoutingConfig, DictionaryConfig, EditorConfig, InternationalizationConfig, IntlayerConfig, LogConfig, LogFunctions, ProcessedStorageAttributes, RewriteObject, RewriteRule, RewriteRules, RoutingConfig, RoutingStorageInput, Schema, StorageAttributes, StrictMode, SystemConfig, URLType } from "./config.js";
8
+ import { AiConfig, AiProviderConfigMap, AiProviders, BuildConfig, CommonAiConfig, CompilerConfig, ConfigSchema, ContentConfig, CookiesAttributes, CustomIntlayerConfig, CustomRoutingConfig, DictionaryConfig, EditorConfig, InternationalizationConfig, IntlayerConfig, LogConfig, LogFunctions, ProcessedStorageAttributes, RewriteObject, RewriteRule, RewriteRules, RoutingConfig, RoutingStorageInput, StorageAttributes, StrictMode, SystemConfig, URLType } from "./config.js";
9
9
  import { ArrayNode, ConditionNode, EnumerationNode, FileNode, GenderNode, HTMLNode, InsertionNode, KeyPath, MarkdownNode, NestedNode, ObjectNode, ReactNode, TranslationNode } from "./keyPath.js";
10
- export { ALL_LOCALES, ARRAY, AiConfig, AiProviderConfigMap, AiProviders, ArrayNode, BOOLEAN, BuildConfig, CONDITION, CommonAiConfig, CompilerConfig, ConditionNode, ContentAutoTransformation, ContentConfig, ContentNode, CookiesAttributes, CustomIntlayerConfig, CustomRoutingConfig, DeclaredLocales, Dictionary, DictionaryConfig, DictionaryFormat, DictionaryId, DictionaryKey, DictionaryKeys, DictionaryLocation, DictionaryRegistry, DictionaryRegistryContent, DictionaryRegistryElement, ENUMERATION, EditorConfig, EnumerationNode, FILE, FileNode, FilePathPattern, FilePathPatternContext, FilePathPatternFunction, Fill, GENDER, GenderNode, GetSubPath, HTML, HTMLNode, INSERTION, ImportMode, InsertionNode, InternationalizationConfig, IntlayerConfig, KeyPath, LocalDictionaryId, Locale, locales_d_exports as Locales, LocalesValues, LogConfig, LogFunctions, MARKDOWN, MarkdownNode, MergedDictionaryOutput, MergedDictionaryResult, NESTED, NULL, NUMBER, NestedNode, NodeType, OBJECT, ObjectNode, PLUGIN_NODE_TYPES, Plugin, ProcessedStorageAttributes, REACT_NODE, ReactNode, RequiredLocales, ResolvedEditor, RewriteObject, RewriteRule, RewriteRules, RoutingConfig, RoutingStorageInput, SchemaKeys, StorageAttributes, StrictMode, StrictModeLocaleMap, SystemConfig, TEXT, TRANSLATION, TranslationNode, TypedNode, TypedNodeModel, UNKNOWN, URLType, UnmergedDictionaryOutput, UnmergedDictionaryResult, formatNodeType };
10
+ export { ALL_LOCALES, ARRAY, AiConfig, AiProviderConfigMap, AiProviders, ArrayNode, BOOLEAN, BuildConfig, CONDITION, CommonAiConfig, CompilerConfig, ConditionNode, ConfigSchema, ContentAutoTransformation, ContentConfig, ContentNode, CookiesAttributes, CustomIntlayerConfig, CustomRoutingConfig, DeclaredLocales, Dictionary, DictionaryConfig, DictionaryFormat, DictionaryId, DictionaryKey, DictionaryKeys, DictionaryLocation, DictionaryRegistry, DictionaryRegistryContent, DictionaryRegistryElement, ENUMERATION, EditorConfig, EnumerationNode, FILE, FileNode, FilePathPattern, FilePathPatternContext, FilePathPatternFunction, Fill, GENDER, GenderNode, GetSubPath, HTML, HTMLNode, INSERTION, ImportMode, InsertionNode, InternationalizationConfig, IntlayerConfig, KeyPath, LocalDictionaryId, Locale, locales_d_exports as Locales, LocalesValues, LogConfig, LogFunctions, MARKDOWN, MarkdownNode, MergedDictionaryOutput, MergedDictionaryResult, NESTED, NULL, NUMBER, NestedNode, NodeType, OBJECT, ObjectNode, PLUGIN_NODE_TYPES, Plugin, ProcessedStorageAttributes, REACT_NODE, ReactNode, RequiredLocales, ResolvedEditor, RewriteObject, RewriteRule, RewriteRules, RoutingConfig, RoutingStorageInput, Schema, SchemaKeys, StorageAttributes, StrictMode, StrictModeLocaleMap, SystemConfig, TEXT, TRANSLATION, TranslationNode, TypedNode, TypedNodeModel, UNKNOWN, URLType, UnmergedDictionaryOutput, UnmergedDictionaryResult, formatNodeType };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/types",
3
- "version": "8.6.8",
3
+ "version": "8.6.10",
4
4
  "private": false,
5
5
  "description": "Retrieve Intlayer configurations and manage environment variables for both server-side and client-side environments.",
6
6
  "keywords": [
@@ -35,53 +35,51 @@
35
35
  "require": "./dist/cjs/index.cjs",
36
36
  "import": "./dist/esm/index.mjs"
37
37
  },
38
- "./config": {
39
- "types": "./dist/types/config.d.ts",
40
- "require": "./dist/cjs/config.cjs",
41
- "import": "./dist/esm/config.mjs"
42
- },
43
- "./filePathPattern": {
44
- "types": "./dist/types/filePathPattern.d.ts",
45
- "require": "./dist/cjs/filePathPattern.cjs",
46
- "import": "./dist/esm/filePathPattern.mjs"
38
+ "./locales": {
39
+ "types": "./dist/types/locales.d.ts",
40
+ "require": "./dist/cjs/locales.cjs",
41
+ "import": "./dist/esm/locales.mjs"
47
42
  },
48
- "./dictionary": {
49
- "types": "./dist/types/dictionary.d.ts",
50
- "require": "./dist/cjs/dictionary.cjs",
51
- "import": "./dist/esm/dictionary.mjs"
43
+ "./allLocales": {
44
+ "types": "./dist/types/allLocales.d.ts",
45
+ "require": "./dist/cjs/allLocales.cjs",
46
+ "import": "./dist/esm/allLocales.mjs"
52
47
  },
53
48
  "./keyPath": {
54
49
  "types": "./dist/types/keyPath.d.ts",
55
50
  "require": "./dist/cjs/keyPath.cjs",
56
51
  "import": "./dist/esm/keyPath.mjs"
57
52
  },
53
+ "./dictionary": {
54
+ "types": "./dist/types/dictionary.d.ts",
55
+ "require": "./dist/cjs/dictionary.cjs",
56
+ "import": "./dist/esm/dictionary.mjs"
57
+ },
58
58
  "./module_augmentation": {
59
59
  "types": "./dist/types/module_augmentation.d.ts",
60
60
  "require": "./dist/cjs/module_augmentation.cjs",
61
61
  "import": "./dist/esm/module_augmentation.mjs"
62
62
  },
63
- "./nodeType": {
64
- "types": "./dist/types/nodeType.d.ts",
65
- "require": "./dist/cjs/nodeType.cjs",
66
- "import": "./dist/esm/nodeType.mjs"
63
+ "./config": {
64
+ "types": "./dist/types/config.d.ts",
65
+ "require": "./dist/cjs/config.cjs",
66
+ "import": "./dist/esm/config.mjs"
67
67
  },
68
68
  "./plugin": {
69
69
  "types": "./dist/types/plugin.d.ts",
70
70
  "require": "./dist/cjs/plugin.cjs",
71
71
  "import": "./dist/esm/plugin.mjs"
72
72
  },
73
- "./locales": {
74
- "types": "./dist/types/locales.d.ts",
75
- "require": "./dist/cjs/locales.cjs",
76
- "import": "./dist/esm/locales.mjs"
77
- },
78
- "./allLocales": {
79
- "types": "./dist/types/allLocales.d.ts",
80
- "require": "./dist/cjs/allLocales.cjs",
81
- "import": "./dist/esm/allLocales.mjs"
73
+ "./nodeType": {
74
+ "types": "./dist/types/nodeType.d.ts",
75
+ "require": "./dist/cjs/nodeType.cjs",
76
+ "import": "./dist/esm/nodeType.mjs"
82
77
  },
83
78
  "./package.json": "./package.json"
84
79
  },
80
+ "main": "./dist/cjs/index.cjs",
81
+ "module": "./dist/esm/index.mjs",
82
+ "types": "./dist/types/index.d.ts",
85
83
  "typesVersions": {
86
84
  "*": {
87
85
  "config": [