@intlayer/types 9.4.3 → 9.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -69,8 +69,6 @@ With **per-locale content files**, **TypeScript autocompletion**, **tree-shakabl
69
69
  | <img src="https://github.com/aymericzip/intlayer/blob/main/docs/assets/interoperability.png?raw=true" alt="Feature" width="700"> | **Interoperability**<br><br>Allow interoperability with react-i18next, next-i18next, next-intl, react-intl, vue-i18n. <br><br> - [Intlayer and react-intl](https://intlayer.org/blog/intlayer-with-react-intl) <br> - [Intlayer and next-intl](https://intlayer.org/blog/intlayer-with-next-intl) <br> - [Intlayer and next-i18next](https://intlayer.org/blog/intlayer-with-next-i18next) <br> - [Intlayer and vue-i18n](https://intlayer.org/blog/intlayer-with-vue-i18n) <br> - [Intlayer compat adapters](https://intlayer.org/doc/compatibility) |
70
70
  | <img src="https://github.com/aymericzip/intlayer/blob/main/docs/assets/benchmark.png?raw=true" alt="Feature" width="700"> | **Performances & Benchmark**<br><br>Uses advanced tree-shaking and dynamic loading to boost performances and keep the solution as light as possible. <br><br> - [Performances & Benchmark](https://intlayer.org/doc/benchmark) |
71
71
 
72
- ---
73
-
74
72
  ## 📦 Installation
75
73
 
76
74
  Start your journey with Intlayer today and experience a smoother, more powerful approach to internationalization.
@@ -1,9 +1,8 @@
1
1
  import { locales_d_exports } from "./locales.js";
2
2
  //#region src/allLocales.d.ts
3
3
  /** Object containing all locale string values as properties, e.g. { ENGLISH: 'en', ... } */
4
- declare const ALL_LOCALES: typeof locales_d_exports;
4
+ export declare const ALL_LOCALES: typeof locales_d_exports;
5
5
  /** Union of all locale string values, e.g. 'en' | 'en-US' | 'ar' | 'ar-AE' | ... */
6
- type Locale = (typeof locales_d_exports)[keyof typeof locales_d_exports];
6
+ export type Locale = (typeof locales_d_exports)[keyof typeof locales_d_exports];
7
7
  //#endregion
8
- export { ALL_LOCALES, Locale };
9
8
  //# sourceMappingURL=allLocales.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"allLocales.d.ts","names":[],"sources":["../../src/allLocales.ts"],"mappings":";;;cAUa,oBAAoB;;KAGrB,iBAAiB,gCAAsB"}
1
+ {"version":3,"file":"allLocales.d.ts","names":[],"sources":["../../src/allLocales.ts"],"mappings":";;;qBAUa,oBAAoB;;YAGrB,iBAAiB,gCAAsB"}
@@ -7,25 +7,25 @@ import { Plugin } from "./plugin.js";
7
7
  * Structural type for schema validation, compatible with Zod and other
8
8
  * schema libraries that implement safeParse. Avoids a hard dependency on Zod.
9
9
  */
10
- type ConfigSchema = {
10
+ export type ConfigSchema = {
11
11
  safeParse(data: unknown): {
12
12
  success: boolean;
13
13
  data?: unknown;
14
14
  error?: unknown;
15
15
  };
16
16
  };
17
- type StrictMode = "strict" | "inclusive" | "loose";
17
+ export type StrictMode = "strict" | "inclusive" | "loose";
18
18
  type Protocol = "http" | "https";
19
19
  type URLPath = `/${string}`;
20
20
  type OptionalURLPath = `/${string}` | "";
21
21
  type LocalhostURL = `${Protocol}://localhost:${number}${OptionalURLPath}`;
22
22
  type IPUrl = `${Protocol}://${number}.${string}${OptionalURLPath}` | `${Protocol}://${number}.${string}:${number}${OptionalURLPath}`;
23
23
  type DomainURL = `${Protocol}://${string}.${string}${OptionalURLPath}`;
24
- type URLType = LocalhostURL | IPUrl | DomainURL | (string & {});
24
+ export type URLType = LocalhostURL | IPUrl | DomainURL | (string & {});
25
25
  /**
26
26
  * Configuration for internationalization settings
27
27
  */
28
- type InternationalizationConfig = {
28
+ export type InternationalizationConfig = {
29
29
  /**
30
30
  * Locales available in the application
31
31
  *
@@ -62,7 +62,7 @@ type InternationalizationConfig = {
62
62
  */
63
63
  defaultLocale: Locale;
64
64
  };
65
- type CookiesAttributes = {
65
+ export type CookiesAttributes = {
66
66
  /**
67
67
  * Type of the storage
68
68
  *
@@ -146,7 +146,7 @@ type CookiesAttributes = {
146
146
  */
147
147
  maxAge?: number;
148
148
  };
149
- type StorageAttributes = {
149
+ export type StorageAttributes = {
150
150
  /**
151
151
  * Storage type where the locale is stored
152
152
  *
@@ -172,7 +172,7 @@ type StorageAttributes = {
172
172
  * - `number` → seconds from cookie creation (relative);
173
173
  * - `string` → an absolute expiry as an ISO date string.
174
174
  */
175
- type ProcessedCookieAttributes = {
175
+ export type ProcessedCookieAttributes = {
176
176
  domain?: string;
177
177
  path?: string;
178
178
  secure?: boolean;
@@ -184,7 +184,7 @@ type ProcessedCookieAttributes = {
184
184
  * Pre-computed storage attributes derived from `RoutingConfig.storage`.
185
185
  * Computed at config-build time to avoid repeated processing at runtime.
186
186
  */
187
- type ProcessedStorageAttributes = {
187
+ export type ProcessedStorageAttributes = {
188
188
  cookies?: {
189
189
  name: string;
190
190
  attributes: ProcessedCookieAttributes;
@@ -199,14 +199,14 @@ type ProcessedStorageAttributes = {
199
199
  name: string;
200
200
  }[];
201
201
  };
202
- type RewriteRule<T extends string = string> = {
202
+ export type RewriteRule<T extends string = string> = {
203
203
  canonical: T;
204
204
  localized: StrictModeLocaleMap<string>;
205
205
  };
206
- type RewriteRules = {
206
+ export type RewriteRules = {
207
207
  rules: RewriteRule[];
208
208
  };
209
- type RewriteObject = {
209
+ export type RewriteObject = {
210
210
  /**
211
211
  * Used for client-side URL generation (e.g., getLocalizedUrl).
212
212
  * Patterns are usually stripped of locale prefixes as the core logic handles prefixing.
@@ -225,7 +225,7 @@ type RewriteObject = {
225
225
  /**
226
226
  * Configuration for routing behaviors
227
227
  */
228
- type RoutingConfig = {
228
+ export type RoutingConfig = {
229
229
  /**
230
230
  * Rewrite the URLs to a localized path
231
231
  *
@@ -337,17 +337,17 @@ type RoutingConfig = {
337
337
  * - Config both localStorage and cookies for the storage of the locale if you want to support GDPR compliance.
338
338
  * - Disable the cookie storage by default on the useLocale hook by waiting for the user to consent to the cookie storage.
339
339
  */
340
- type RoutingStorageInput = false | "cookie" | "localStorage" | "sessionStorage" | "header" | CookiesAttributes | StorageAttributes | ("cookie" | "localStorage" | "sessionStorage" | "header" | CookiesAttributes | StorageAttributes)[];
340
+ export type RoutingStorageInput = false | "cookie" | "localStorage" | "sessionStorage" | "header" | CookiesAttributes | StorageAttributes | ("cookie" | "localStorage" | "sessionStorage" | "header" | CookiesAttributes | StorageAttributes)[];
341
341
  /**
342
342
  * User-facing routing configuration (accepted in `intlayer.config.ts`).
343
343
  */
344
- type CustomRoutingConfig = Omit<RoutingConfig, "storage"> & {
344
+ export type CustomRoutingConfig = Omit<RoutingConfig, "storage"> & {
345
345
  storage?: RoutingStorageInput;
346
346
  };
347
347
  /**
348
348
  * Configuration for intlayer editor
349
349
  */
350
- type EditorConfig = {
350
+ export type EditorConfig = {
351
351
  /**
352
352
  * URL of the application. Used to restrict the origin of the editor for security reasons.
353
353
  *
@@ -455,7 +455,7 @@ type EditorConfig = {
455
455
  * Nothing is collected while the package is absent, or while no project key
456
456
  * (`editor.clientId`) is configured for attribution.
457
457
  */
458
- type AnalyticsConfig = {
458
+ export type AnalyticsConfig = {
459
459
  /**
460
460
  * Enables analytics collection (page views, content exposures, A/B events).
461
461
  *
@@ -490,7 +490,7 @@ type AnalyticsConfig = {
490
490
  */
491
491
  sampleRate: number;
492
492
  };
493
- declare enum AiProviders {
493
+ export declare enum AiProviders {
494
494
  OPENAI = "openai",
495
495
  ANTHROPIC = "anthropic",
496
496
  MISTRAL = "mistral",
@@ -509,7 +509,7 @@ declare enum AiProviders {
509
509
  LMSTUDIO = "lmstudio",
510
510
  MOONSHOTAI = "moonshotai"
511
511
  }
512
- type CommonAiConfig = {
512
+ export type CommonAiConfig = {
513
513
  /**
514
514
  * API model
515
515
  *
@@ -562,14 +562,14 @@ type CommonAiConfig = {
562
562
  */
563
563
  dataSerialization?: "json" | "toon";
564
564
  };
565
- type AiProviderConfigMap = {};
565
+ export type AiProviderConfigMap = {};
566
566
  type AiConfigUnion = { [P in keyof AiProviderConfigMap]: {
567
567
  provider: P | `${P}`;
568
568
  } & AiProviderConfigMap[P]; }[keyof AiProviderConfigMap];
569
- type AiConfig = CommonAiConfig & (AiConfigUnion | {
569
+ export type AiConfig = CommonAiConfig & (AiConfigUnion | {
570
570
  provider?: AiProviders | `${AiProviders}`;
571
571
  });
572
- type BuildConfig = {
572
+ export type BuildConfig = {
573
573
  /**
574
574
  * Indicates the mode of the build
575
575
  *
@@ -749,7 +749,7 @@ type BuildConfig = {
749
749
  */
750
750
  checkTypes: boolean;
751
751
  };
752
- type CompilerConfig = {
752
+ export type CompilerConfig = {
753
753
  /**
754
754
  * Indicates if the compiler should be enabled.
755
755
  * If 'build-only', the compiler will be skipped during development mode to speed up start times.
@@ -882,7 +882,7 @@ type CompilerConfig = {
882
882
  /**
883
883
  * Custom configuration that can be provided to override default settings
884
884
  */
885
- type CustomIntlayerConfig = {
885
+ export type CustomIntlayerConfig = {
886
886
  /**
887
887
  * Custom internationalization configuration
888
888
  */
@@ -948,7 +948,7 @@ type CustomIntlayerConfig = {
948
948
  */
949
949
  plugins?: (Plugin | Promise<Plugin>)[];
950
950
  };
951
- type DictionaryConfig = {
951
+ export type DictionaryConfig = {
952
952
  /**
953
953
  * Indicate how the dictionary should be filled using AI.
954
954
  *
@@ -1139,7 +1139,7 @@ type DictionaryConfig = {
1139
1139
  /**
1140
1140
  * Combined configuration for internationalization, middleware, and content
1141
1141
  */
1142
- type IntlayerConfig = {
1142
+ export type IntlayerConfig = {
1143
1143
  /**
1144
1144
  * Internationalization configuration
1145
1145
  */
@@ -1196,7 +1196,7 @@ type IntlayerConfig = {
1196
1196
  /**
1197
1197
  * Configuration for content handling
1198
1198
  */
1199
- type ContentConfig = {
1199
+ export type ContentConfig = {
1200
1200
  /**
1201
1201
  * File extensions of content to look for
1202
1202
  *
@@ -1266,7 +1266,7 @@ type ContentConfig = {
1266
1266
  */
1267
1267
  formatCommand: string | undefined;
1268
1268
  };
1269
- type SystemConfig = {
1269
+ export type SystemConfig = {
1270
1270
  /**
1271
1271
  * Absolute path of the project's base directory
1272
1272
  *
@@ -1364,13 +1364,13 @@ type SystemConfig = {
1364
1364
  */
1365
1365
  tempDir: string;
1366
1366
  };
1367
- type LogFunctions = {
1367
+ export type LogFunctions = {
1368
1368
  error?: typeof console.error;
1369
1369
  log?: typeof console.log;
1370
1370
  info?: typeof console.info;
1371
1371
  warn?: typeof console.warn;
1372
1372
  };
1373
- type LogConfig = {
1373
+ export type LogConfig = {
1374
1374
  /**
1375
1375
  * Indicates if the logger is enabled
1376
1376
  *
@@ -1399,5 +1399,4 @@ type LogConfig = {
1399
1399
  debug?: typeof console.debug;
1400
1400
  };
1401
1401
  //#endregion
1402
- export { AiConfig, AiProviderConfigMap, AiProviders, AnalyticsConfig, BuildConfig, CommonAiConfig, CompilerConfig, ConfigSchema, ContentConfig, CookiesAttributes, CustomIntlayerConfig, CustomRoutingConfig, DictionaryConfig, EditorConfig, InternationalizationConfig, IntlayerConfig, LogConfig, LogFunctions, ProcessedCookieAttributes, ProcessedStorageAttributes, RewriteObject, RewriteRule, RewriteRules, RoutingConfig, RoutingStorageInput, StorageAttributes, StrictMode, SystemConfig, URLType };
1403
1402
  //# sourceMappingURL=config.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","names":[],"sources":["../../src/config.ts"],"mappings":";;;;;;;;;KAcY;EACV,UAAU;IACR;IACA;IACA;;;KAIQ;KAEP;KAEA;KAEA;KAGA,kBAAkB,iCAAiC;KAGnD,WACE,iCAAiC,uBACjC,2CAA2C;KAI7C,eAAe,iCAAiC;KAEzC,UAAU,eAAe,QAAQ;;;;KAKjC;;;;;;;;EAQV,SAAS;;;;;;;;;;EAWT,iBAAiB;;;;;;;;;EAUjB,YAAY;;;;;;;;EASZ,eAAe;;KAGL;;;;;;EAMV;;;;;;;;EAQA;;;;;;;;;EASA;;;;;;;;EAQA;;;;;;;;;EASA;;;;;;;;EAQA;;;;;;;;;;EAUA;;;;;;;;;;;;;;EAeA,UAAU;;;;;;;;;;EAUV;;KAGU;;;;;;;EAOV;;;;;;;;EASA;;;;;;;;;;;KAYU;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;;;;;;;;;EA2BA;;YAGU;;;;;;;;EAQV;;;;;;;;EASA;;;;;;;;EASA;;;;;;;;EASA;;;;;;;;EASA;;;;;;;;EASA;;;;;;;;EASA;;;;;;;;EASA;;;;;;;;EASA;;;;;;;;EASA;;;;;;;;EASA;;;;;;;;EASA;;YAGU;EACV,eAAe,QAAQ;EACvB,aAAa,QAAQ;EACrB,cAAc,QAAQ;EACtB,cAAc,QAAQ;;YAGZ;;;;;;;;;;EAUV;;;;;;;;EASA;;;;EAKA,eAAe,QAAQ;EACvB,aAAa,QAAQ;EACrB,cAAc,QAAQ;EACtB,cAAc,QAAQ;EACtB,eAAe,QAAQ"}
@@ -6,9 +6,9 @@ type BaseNode = number | string | boolean | null | undefined;
6
6
  type TypedNodeBase = {
7
7
  nodeType: NodeType;
8
8
  };
9
- interface TypedNode<_NodeType = undefined> extends TypedNodeBase {}
9
+ export interface TypedNode<_NodeType = undefined> extends TypedNodeBase {}
10
10
  type FetchableContentNode<NodeType> = (args?: any) => ContentNode<NodeType> | Promise<ContentNode<NodeType>>;
11
- type ContentNode<T = undefined, FetchableNode = false, NodeType = T extends undefined ? BaseNode : T> = NodeType | TypedNode<NodeType> | ((args?: any) => ContentNode<NodeType>) | (FetchableNode extends true ? FetchableContentNode<NodeType> : undefined);
11
+ export type ContentNode<T = undefined, FetchableNode = false, NodeType = T extends undefined ? BaseNode : T> = NodeType | TypedNode<NodeType> | ((args?: any) => ContentNode<NodeType>) | (FetchableNode extends true ? FetchableContentNode<NodeType> : undefined);
12
12
  type IsArray<T> = T extends any[] ? true : false;
13
13
  type ReplaceContentValueArray<T, FetchableNode> = T extends (infer U)[] ? ContentNode<T, FetchableNode> | ReplaceContentValue<U, FetchableNode>[] : never;
14
14
  type ReplaceContentValueObject<T, FetchableNode> = { [K in keyof T]: ReplaceContentValue<T[K], FetchableNode>; };
@@ -69,9 +69,9 @@ type ReplaceContentValue<NodeType, FetchableNode = true> = NodeType extends obje
69
69
  * - `componentFormat`: The format of the component dictionary.
70
70
  * - `componentDirPath`: The directory path of the component.
71
71
  */
72
- type Fill = boolean | FilePathPattern | Partial<Record<DeclaredLocales, boolean | FilePathPattern>>;
73
- type DictionaryId = string;
74
- type DictionaryKey = string;
72
+ export type Fill = boolean | FilePathPattern | Partial<Record<DeclaredLocales, boolean | FilePathPattern>>;
73
+ export type DictionaryId = string;
74
+ export type DictionaryKey = string;
75
75
  /**
76
76
  * A dimension used to discriminate sibling dictionaries sharing the same key.
77
77
  *
@@ -84,7 +84,7 @@ type DictionaryKey = string;
84
84
  * have variants). They are always ordered canonically as `variant → item`,
85
85
  * with `item` as the innermost / collection axis.
86
86
  */
87
- type DictionaryQualifierType = "variant" | "item";
87
+ export type DictionaryQualifierType = "variant" | "item";
88
88
  /**
89
89
  * A single variant value declared on a dictionary:
90
90
  *
@@ -95,7 +95,7 @@ type DictionaryQualifierType = "variant" | "item";
95
95
  * The `variant` field of a dictionary accepts one value or an **array** of
96
96
  * values — an array registers the same content under every listed variant id.
97
97
  */
98
- type DictionaryVariantValue = string | Record<string, string | number>;
98
+ export type DictionaryVariantValue = string | Record<string, string | number>;
99
99
  /**
100
100
  * A variant coordinate as pinned by a **selector** (or by a provider default):
101
101
  * one value, or an **ordered preference chain**.
@@ -109,7 +109,7 @@ type DictionaryVariantValue = string | Record<string, string | number>;
109
109
  * a {@link Dictionary}: there an array **declares** one entry per element
110
110
  * (fan-out), here it **consumes** them in priority order.
111
111
  */
112
- type DictionaryVariantChain = DictionaryVariantValue | readonly DictionaryVariantValue[];
112
+ export type DictionaryVariantChain = DictionaryVariantValue | readonly DictionaryVariantValue[];
113
113
  /**
114
114
  * Variant default carried by a framework provider (`<IntlayerProvider variant>`)
115
115
  * and applied to every dictionary read below it, the way `locale` already is.
@@ -125,8 +125,8 @@ type DictionaryVariantChain = DictionaryVariantValue | readonly DictionaryVarian
125
125
  * structured variant globally, nest it under an entry:
126
126
  * `variant={{ default: { id: 'prod_abc' } }}`.
127
127
  */
128
- type ProviderVariantMap<Key extends string = DictionaryKey> = Partial<Record<Key | "default", DictionaryVariantChain>>;
129
- type ProviderVariant<Key extends string = DictionaryKey> = string | readonly DictionaryVariantValue[] | ProviderVariantMap<Key>;
128
+ export type ProviderVariantMap<Key extends string = DictionaryKey> = Partial<Record<Key | "default", DictionaryVariantChain>>;
129
+ export type ProviderVariantBase<Key extends string = DictionaryKey> = string | readonly DictionaryVariantValue[] | ProviderVariantMap<Key>;
130
130
  /**
131
131
  * Output of the merge step for a key whose dictionaries declare one or more
132
132
  * qualifier dimensions (`variant`, `item`).
@@ -155,7 +155,7 @@ type ProviderVariant<Key extends string = DictionaryKey> = string | readonly Dic
155
155
  * }
156
156
  * ```
157
157
  */
158
- type QualifiedDictionaryGroup = {
158
+ export type QualifiedDictionaryGroup = {
159
159
  $schema?: "https://intlayer.org/schema.json";
160
160
  key: DictionaryKey;
161
161
  qualifierTypes: DictionaryQualifierType[];
@@ -180,7 +180,7 @@ type QualifiedDictionaryGroup = {
180
180
  * variant; the object must equal the variant declared on the dictionary
181
181
  * - `locale` composes with any of the above and overrides the context locale
182
182
  */
183
- type DictionarySelector = {
183
+ export type DictionarySelector = {
184
184
  /**
185
185
  * The declared locales are offered as suggestions, but any string is
186
186
  * accepted: a locale usually reaches this API as a router param or a stored
@@ -283,7 +283,7 @@ type IsItemAxisOpen<QualifierTypes extends readonly DictionaryQualifierType[], S
283
283
  * the group declares one (sparse-override fallback)
284
284
  * - plain dictionary → its `content` (selector ignored)
285
285
  */
286
- type ResolveQualifiedDictionaryContent<T, Selector = undefined> = T extends {
286
+ export type ResolveQualifiedDictionaryContent<T, Selector = undefined> = T extends {
287
287
  qualifierTypes: infer QualifierTypes extends readonly DictionaryQualifierType[];
288
288
  content: infer ContentMap extends Record<string, any>;
289
289
  } ? MatchingEntries<ReconstructedEntries<ContentMap, QualifierTypes>, QualifierTypes, Selector, EffectiveSelectorVariant<Selector, DeclaredVariantIds<ContentMap>>> extends (infer Matched) ? IsItemAxisOpen<QualifierTypes, Selector> extends true ? QualifiedEntryContent<Matched[keyof Matched]>[] : [keyof Matched] extends [never] ? null : QualifiedEntryContent<Matched[keyof Matched]> : never : T extends {
@@ -334,7 +334,7 @@ type ParseObjectVariantId<Id extends string> = Id extends `${infer Pair}&${infer
334
334
  * Excludes object variants: their serialized form is an internal storage
335
335
  * encoding, never a value the selector should accept as a string.
336
336
  */
337
- type DictionaryVariantIdsOf<T> = NamedVariantIds<VariantIdsOfGroup<T>>;
337
+ export type DictionaryVariantIdsOf<T> = NamedVariantIds<VariantIdsOfGroup<T>>;
338
338
  /**
339
339
  * The object variants a group declares, rebuilt into their declared shape.
340
340
  *
@@ -373,7 +373,7 @@ type HasDefaultVariant<T> = "default" extends VariantIdsOfGroup<T> ? true : fals
373
373
  * that is a storage encoding, not part of the API.
374
374
  */
375
375
  type SelectableVariantsOf<T, KnownVariants> = NamedVariantIds<EntryVariant<GroupEntryUnion<T>>> | (HasDefaultVariant<T> extends true ? KnownVariants : never) | DictionaryObjectVariantsOf<T>;
376
- type DictionarySelectorForGroup<T, KnownVariants = DeclaredVariants> = [GroupEntryUnion<T>] extends [never] ? DictionarySelector : {
376
+ export type DictionarySelectorForGroup<T, KnownVariants = DeclaredVariants> = [GroupEntryUnion<T>] extends [never] ? DictionarySelector : {
377
377
  locale?: LocalesValues;
378
378
  } & ([EntryVariant<GroupEntryUnion<T>>] extends [never] ? unknown : {
379
379
  /**
@@ -384,9 +384,9 @@ type DictionarySelectorForGroup<T, KnownVariants = DeclaredVariants> = [GroupEnt
384
384
  }) & ([EntryItem<GroupEntryUnion<T>>] extends [never] ? unknown : {
385
385
  item?: EntryItem<GroupEntryUnion<T>> | number | (string & {});
386
386
  });
387
- type DictionaryLocation = "remote" | "local" | "hybrid" | "plugin" | (string & {});
388
- type LocalDictionaryId = `${DictionaryKey}::${Dictionary["location"]}::${Dictionary["filePath"] | DictionaryId}`;
389
- type DictionaryFormat = "intlayer" | "icu" | "i18next" | "vue-i18n" | "po";
387
+ export type DictionaryLocation = "remote" | "local" | "hybrid" | "plugin" | (string & {});
388
+ export type LocalDictionaryId = `${DictionaryKey}::${Dictionary["location"]}::${Dictionary["filePath"] | DictionaryId}`;
389
+ export type DictionaryFormat = "intlayer" | "icu" | "i18next" | "vue-i18n" | "po";
390
390
  /**
391
391
  * Indicates the mode of import to use for the dictionary.
392
392
  *
@@ -401,8 +401,8 @@ type DictionaryFormat = "intlayer" | "icu" | "i18next" | "vue-i18n" | "po";
401
401
  *
402
402
  * Default: "static"
403
403
  */
404
- type ImportMode = "static" | "dynamic" | "fetch";
405
- type ContentAutoTransformation = boolean | {
404
+ export type ImportMode = "static" | "dynamic" | "fetch";
405
+ export type ContentAutoTransformation = boolean | {
406
406
  /**
407
407
  * Indicates if the content should be automatically transformed to a markdown node.
408
408
  * Default: true
@@ -754,8 +754,7 @@ type DictionaryWithoutSchema<ContentType, FetchableNode> = {
754
754
  /**
755
755
  * The Final Dictionary Type
756
756
  */
757
- type Dictionary<ContentType = undefined, SchemaKey extends SchemaKeys | undefined = undefined, FetchableNode = false> = DictionaryBase & (SchemaKey extends SchemaKeys ? DictionaryWithSchema<ContentType, FetchableNode, SchemaKey> : undefined extends SchemaKey ? DictionaryWithoutSchema<ContentType, FetchableNode> | DictionaryWithSchema<ContentType, FetchableNode> : never);
758
- type GetSubPath<T, P> = P extends `${infer K}.${infer Rest}` ? K extends keyof T ? GetSubPath<T[K], Rest> : never : P extends keyof T ? T[P] : T;
757
+ export type Dictionary<ContentType = undefined, SchemaKey extends SchemaKeys | undefined = undefined, FetchableNode = false> = DictionaryBase & (SchemaKey extends SchemaKeys ? DictionaryWithSchema<ContentType, FetchableNode, SchemaKey> : undefined extends SchemaKey ? DictionaryWithoutSchema<ContentType, FetchableNode> | DictionaryWithSchema<ContentType, FetchableNode> : never);
758
+ export type GetSubPath<T, P> = P extends `${infer K}.${infer Rest}` ? K extends keyof T ? GetSubPath<T[K], Rest> : never : P extends keyof T ? T[P] : T;
759
759
  //#endregion
760
- export { ContentAutoTransformation, ContentNode, Dictionary, DictionaryFormat, DictionaryId, DictionaryKey, DictionaryLocation, DictionaryQualifierType, DictionarySelector, DictionarySelectorForGroup, DictionaryVariantChain, DictionaryVariantIdsOf, DictionaryVariantValue, Fill, GetSubPath, ImportMode, LocalDictionaryId, ProviderVariant, ProviderVariantMap, QualifiedDictionaryGroup, ResolveQualifiedDictionaryContent, TypedNode };
761
760
  //# sourceMappingURL=dictionary.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dictionary.d.ts","names":[],"sources":["../../src/dictionary.ts"],"mappings":";;;;KAUK;KAEA;EACH,UAAU;;UAGK,UAAU,+BAA+B;KAErD,qBAAqB,aACxB,eACG,YAAY,YAAY,QAAQ,YAAY;KAErC,YACV,eACA,uBACA,WAAW,sBAAsB,WAAW,KAE1C,WACA,UAAU,cACR,eAAe,YAAY,cAC5B,6BAA6B,qBAAqB;KAGlD,QAAQ,KAAK;KAEb,yBAAyB,GAAG,iBAAiB,iBAAiB,OAG/D,YAAY,GAAG,iBAAiB,oBAAoB,GAAG;KAGtD,0BAA0B,GAAG,oBAC/B,WAAW,IAAI,oBAAoB,EAAE,IAAI;KAIvC,oBACH,UACA,wBACE,0BACA,QAAQ,yBACN,yBAAyB,UAAU,iBAE/B,YAAY,UAAU,iBACtB,0BAA0B,UAAU,iBAC1C,YAAY,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA0Dd,iBAER,kBACA,QAAQ,OAAO,2BAA2B;KAElC;KACA;;;;;;;;;;;;;KAcA;;;;;;;;;;;KAYA,kCAAkC;;;;;;;;;;;;;;KAelC,yBACR,kCACS;;;;;;;;;;;;;;;;KAiBD,mBAAmB,qBAAqB,iBAAiB,QACnE,OAAO,iBAAiB;KAGd,gBAAgB,qBAAqB,mCAEpC,2BACT,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA8BX;EACV;EACA,KAAK;EACL,gBAAgB;;;;;E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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0D5B,OAAO;;;;;;;EAQP;;;;;EAMA;;;;;;;;;;;;;;;EAgBA,aAAa;;;;;;;;;EAUb,WAAW;;;;;;KAOR,qBACH,aACA,eACA,UAAU,aAAa,cACrB;EAEE,QAAQ;EACR,SAAS,gCACL,oBAAoB,OAAO,IAAI,iBAAiB,OAAO,KAEnD,oBAAoB,cAAc,OAAO,IAAI,kBAC5C,cAAc,OAAO;;;;;KAO/B,wBAAwB,aAAa;EACxC;EACA,SAAS,sCAEL,oBAAoB,aAAa,iBAAiB;;;;;YAM5C,WACV,yBACA,kBAAkB,oCAClB,yBACE,kBACD,kBAAkB,aACf,qBAAqB,aAAa,eAAe,+BAC/B,YAEZ,wBAAwB,aAAa,iBACrC,qBAAqB,aAAa;YAGlC,WAAW,GAAG,KAAK,mBAAmB,WAAW,SACzD,gBAAgB,IACd,WAAW,EAAE,IAAI,gBAEnB,gBAAgB,IACd,EAAE,KACF"}
@@ -2,7 +2,7 @@ import { DeclaredLocales } from "./module_augmentation.js";
2
2
  import { DictionaryKey } from "./dictionary.js";
3
3
  //#region src/filePathPattern.d.ts
4
4
  type ContentExtension = `.${string}.${"json" | "js" | "ts" | "jsx" | "tsx" | "cjs" | "mjs"}`;
5
- type FilePathPatternContext = {
5
+ export type FilePathPatternContext = {
6
6
  locale?: DeclaredLocales;
7
7
  key: DictionaryKey;
8
8
  fileName: string;
@@ -16,13 +16,12 @@ type FilePathPatternContext = {
16
16
  /**
17
17
  * Syntax for resolving file paths.
18
18
  */
19
- type FilePathPatternFunction = (context: FilePathPatternContext) => string | Promise<string>;
19
+ export type FilePathPatternFunction = (context: FilePathPatternContext) => string | Promise<string>;
20
20
  /**
21
21
  * Global syntax for defining file paths and patterns.
22
22
  * Can be a static string, a templated string (e.g. `path/{{locale}}/{{key}}{{extension}}`),
23
23
  * or a function evaluating the path dynamically.
24
24
  */
25
- type FilePathPattern = string | FilePathPatternFunction;
25
+ export type FilePathPattern = string | FilePathPatternFunction;
26
26
  //#endregion
27
- export { FilePathPattern, FilePathPatternContext, FilePathPatternFunction };
28
27
  //# sourceMappingURL=filePathPattern.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"filePathPattern.d.ts","names":[],"sources":["../../src/filePathPattern.ts"],"mappings":";;;KAGK;KAGO;EACV,SAAS;EACT,KAAK;EACL;EACA,WAAW;EACX;EACA;EAQA;EAEA;EACA;;;;;KAMU,2BACV,SAAS,oCACG;;;;;;KAOF,2BAA2B"}
1
+ {"version":3,"file":"filePathPattern.d.ts","names":[],"sources":["../../src/filePathPattern.ts"],"mappings":";;;KAGK;YAGO;EACV,SAAS;EACT,KAAK;EACL;EACA,WAAW;EACX;EACA;EAQA;EAEA;EACA;;;;;YAMU,2BACV,SAAS,oCACG;;;;;;YAOF,2BAA2B"}
@@ -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, DeclaredVariants, DictionaryKeys, DictionaryRegistry, DictionaryRegistryContent, DictionaryRegistryElement, DictionaryRegistryResult, DictionarySelectorForKey, DomainRegistryEntry, DomainRuleMap, ExtractSelectorLocale, GetLocaleLang, IsDomainExclusive, LocaleDomainOrigin, LocalesValues, LocalizedPath, LocalizedPathname, LocalizedUrl, PathWithoutLocale, RequiredLocales, ResolvedDefaultLocale, ResolvedDomains, ResolvedEditor, ResolvedRewriteRules, ResolvedRoutingMode, RewriteRuleMap, Schema, SchemaKeys, StrictModeLocaleMap } from "./module_augmentation.js";
3
+ import { DeclaredLocales, DeclaredVariants, DictionaryKeys, DictionaryRegistry, DictionaryRegistryContent, DictionaryRegistryElement, DictionaryRegistryResult, DictionarySelectorForKey, DomainRegistryEntry, DomainRuleMap, ExtractSelectorLocale, GetLocaleLang, IsDomainExclusive, LocaleDomainOrigin, LocalesValues, LocalizedPath, LocalizedPathname, LocalizedUrl, PathWithoutLocale, ProviderVariant, RequiredLocales, ResolvedDefaultLocale, ResolvedDomains, ResolvedEditor, ResolvedRewriteRules, ResolvedRoutingMode, RewriteRuleMap, 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, PLURAL, PREACT_NODE, REACT_NODE, SELECT, SOLID_NODE, TEXT, TRANSLATION, TypedNodeModel, UNKNOWN, formatNodeType } from "./nodeType.js";
6
- import { ContentAutoTransformation, ContentNode, Dictionary, DictionaryFormat, DictionaryId, DictionaryKey, DictionaryLocation, DictionaryQualifierType, DictionarySelector, DictionarySelectorForGroup, DictionaryVariantChain, DictionaryVariantIdsOf, DictionaryVariantValue, Fill, GetSubPath, ImportMode, LocalDictionaryId, ProviderVariant, ProviderVariantMap, QualifiedDictionaryGroup, ResolveQualifiedDictionaryContent, TypedNode } from "./dictionary.js";
6
+ import { ContentAutoTransformation, ContentNode, Dictionary, DictionaryFormat, DictionaryId, DictionaryKey, DictionaryLocation, DictionaryQualifierType, DictionarySelector, DictionarySelectorForGroup, DictionaryVariantChain, DictionaryVariantIdsOf, DictionaryVariantValue, Fill, GetSubPath, ImportMode, LocalDictionaryId, ProviderVariantBase, ProviderVariantMap, QualifiedDictionaryGroup, ResolveQualifiedDictionaryContent, TypedNode } from "./dictionary.js";
7
7
  import { MergedDictionaryOutput, MergedDictionaryResult, Plugin, UnmergedDictionaryOutput, UnmergedDictionaryResult } from "./plugin.js";
8
8
  import { AiConfig, AiProviderConfigMap, AiProviders, AnalyticsConfig, BuildConfig, CommonAiConfig, CompilerConfig, ConfigSchema, ContentConfig, CookiesAttributes, CustomIntlayerConfig, CustomRoutingConfig, DictionaryConfig, EditorConfig, InternationalizationConfig, IntlayerConfig, LogConfig, LogFunctions, ProcessedCookieAttributes, 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, PluralNode, ReactNode, SelectNode, TranslationNode } from "./keyPath.js";
10
- export { ALL_LOCALES, ARRAY, AiConfig, AiProviderConfigMap, AiProviders, AnalyticsConfig, ArrayNode, BOOLEAN, BuildConfig, CONDITION, CommonAiConfig, CompilerConfig, ConditionNode, ConfigSchema, ContentAutoTransformation, ContentConfig, ContentNode, CookiesAttributes, CustomIntlayerConfig, CustomRoutingConfig, DeclaredLocales, DeclaredVariants, Dictionary, DictionaryConfig, DictionaryFormat, DictionaryId, DictionaryKey, DictionaryKeys, DictionaryLocation, DictionaryQualifierType, DictionaryRegistry, DictionaryRegistryContent, DictionaryRegistryElement, DictionaryRegistryResult, DictionarySelector, DictionarySelectorForGroup, DictionarySelectorForKey, DictionaryVariantChain, DictionaryVariantIdsOf, DictionaryVariantValue, DomainRegistryEntry, DomainRuleMap, ENUMERATION, EditorConfig, EnumerationNode, ExtractSelectorLocale, FILE, FileNode, FilePathPattern, FilePathPatternContext, FilePathPatternFunction, Fill, GENDER, GenderNode, GetLocaleLang, GetSubPath, HTML, HTMLNode, INSERTION, ImportMode, InsertionNode, InternationalizationConfig, IntlayerConfig, IsDomainExclusive, KeyPath, LocalDictionaryId, Locale, LocaleDomainOrigin, locales_d_exports as Locales, LocalesValues, LocalizedPath, LocalizedPathname, LocalizedUrl, LogConfig, LogFunctions, MARKDOWN, MarkdownNode, MergedDictionaryOutput, MergedDictionaryResult, NESTED, NULL, NUMBER, NestedNode, NodeType, OBJECT, ObjectNode, PLUGIN_NODE_TYPES, PLURAL, PREACT_NODE, PathWithoutLocale, Plugin, PluralNode, ProcessedCookieAttributes, ProcessedStorageAttributes, ProviderVariantMap, QualifiedDictionaryGroup, REACT_NODE, ReactNode, RequiredLocales, ResolveQualifiedDictionaryContent, ResolvedDefaultLocale, ResolvedDomains, ResolvedEditor, ResolvedRewriteRules, ResolvedRoutingMode, RewriteObject, RewriteRule, RewriteRuleMap, RewriteRules, RoutingConfig, RoutingStorageInput, SELECT, SOLID_NODE, Schema, SchemaKeys, SelectNode, StorageAttributes, StrictMode, StrictModeLocaleMap, SystemConfig, TEXT, TRANSLATION, TranslationNode, TypedNode, TypedNodeModel, UNKNOWN, URLType, UnmergedDictionaryOutput, UnmergedDictionaryResult, formatNodeType };
10
+ export { ALL_LOCALES, ARRAY, AiConfig, AiProviderConfigMap, AiProviders, AnalyticsConfig, ArrayNode, BOOLEAN, BuildConfig, CONDITION, CommonAiConfig, CompilerConfig, ConditionNode, ConfigSchema, ContentAutoTransformation, ContentConfig, ContentNode, CookiesAttributes, CustomIntlayerConfig, CustomRoutingConfig, DeclaredLocales, DeclaredVariants, Dictionary, DictionaryConfig, DictionaryFormat, DictionaryId, DictionaryKey, DictionaryKeys, DictionaryLocation, DictionaryQualifierType, DictionaryRegistry, DictionaryRegistryContent, DictionaryRegistryElement, DictionaryRegistryResult, DictionarySelector, DictionarySelectorForGroup, DictionarySelectorForKey, DictionaryVariantChain, DictionaryVariantIdsOf, DictionaryVariantValue, DomainRegistryEntry, DomainRuleMap, ENUMERATION, EditorConfig, EnumerationNode, ExtractSelectorLocale, FILE, FileNode, FilePathPattern, FilePathPatternContext, FilePathPatternFunction, Fill, GENDER, GenderNode, GetLocaleLang, GetSubPath, HTML, HTMLNode, INSERTION, ImportMode, InsertionNode, InternationalizationConfig, IntlayerConfig, IsDomainExclusive, KeyPath, LocalDictionaryId, Locale, LocaleDomainOrigin, locales_d_exports as Locales, LocalesValues, LocalizedPath, LocalizedPathname, LocalizedUrl, LogConfig, LogFunctions, MARKDOWN, MarkdownNode, MergedDictionaryOutput, MergedDictionaryResult, NESTED, NULL, NUMBER, NestedNode, NodeType, OBJECT, ObjectNode, PLUGIN_NODE_TYPES, PLURAL, PREACT_NODE, PathWithoutLocale, Plugin, PluralNode, ProcessedCookieAttributes, ProcessedStorageAttributes, ProviderVariant, ProviderVariantBase, ProviderVariantMap, QualifiedDictionaryGroup, REACT_NODE, ReactNode, RequiredLocales, ResolveQualifiedDictionaryContent, ResolvedDefaultLocale, ResolvedDomains, ResolvedEditor, ResolvedRewriteRules, ResolvedRoutingMode, RewriteObject, RewriteRule, RewriteRuleMap, RewriteRules, RoutingConfig, RoutingStorageInput, SELECT, SOLID_NODE, Schema, SchemaKeys, SelectNode, StorageAttributes, StrictMode, StrictModeLocaleMap, SystemConfig, TEXT, TRANSLATION, TranslationNode, TypedNode, TypedNodeModel, UNKNOWN, URLType, UnmergedDictionaryOutput, UnmergedDictionaryResult, formatNodeType };
@@ -1,62 +1,61 @@
1
- import { ARRAY, CONDITION, ENUMERATION, FILE, GENDER, HTML, INSERTION, MARKDOWN, NESTED, OBJECT, PLURAL, REACT_NODE, SELECT, TRANSLATION } from "./nodeType.js";
1
+ import { ARRAY, CONDITION, ENUMERATION, FILE, GENDER, HTML, INSERTION, MARKDOWN, NESTED, OBJECT, PLURAL, REACT_NODE, SELECT, TRANSLATION, nodeType_d_exports } from "./nodeType.js";
2
2
  //#region src/keyPath.d.ts
3
- type ObjectNode = {
3
+ export type ObjectNode = {
4
4
  type: typeof OBJECT;
5
5
  key: string;
6
6
  };
7
- type ArrayNode = {
7
+ export type ArrayNode = {
8
8
  type: typeof ARRAY;
9
9
  key: number;
10
10
  };
11
- type EnumerationNode = {
11
+ export type EnumerationNode = {
12
12
  type: typeof ENUMERATION;
13
13
  key: string;
14
14
  };
15
- type PluralNode = {
15
+ export type PluralNode = {
16
16
  type: typeof PLURAL;
17
17
  key: string;
18
18
  };
19
- type TranslationNode = {
19
+ export type TranslationNode = {
20
20
  type: typeof TRANSLATION;
21
21
  key: string;
22
22
  };
23
- type ConditionNode = {
23
+ export type ConditionNode = {
24
24
  type: typeof CONDITION;
25
25
  key: string;
26
26
  };
27
- type GenderNode = {
27
+ export type GenderNode = {
28
28
  type: typeof GENDER;
29
29
  key: string;
30
30
  };
31
- type SelectNode = {
31
+ export type SelectNode = {
32
32
  type: typeof SELECT;
33
33
  key: string;
34
34
  };
35
- type InsertionNode = {
35
+ export type InsertionNode = {
36
36
  type: typeof INSERTION;
37
37
  key?: undefined;
38
38
  };
39
- type MarkdownNode = {
39
+ export type MarkdownNode = {
40
40
  type: typeof MARKDOWN;
41
41
  key?: undefined;
42
42
  };
43
- type ReactNode = {
43
+ export type ReactNode = {
44
44
  type: typeof REACT_NODE;
45
45
  key?: undefined;
46
46
  };
47
- type NestedNode = {
47
+ export type NestedNode = {
48
48
  type: typeof NESTED;
49
49
  key?: undefined;
50
50
  };
51
- type FileNode = {
51
+ export type FileNode = {
52
52
  type: typeof FILE;
53
53
  key?: undefined;
54
54
  };
55
- type HTMLNode = {
55
+ export type HTMLNode = {
56
56
  type: typeof HTML;
57
57
  key?: undefined;
58
58
  };
59
- type KeyPath = ObjectNode | ArrayNode | TranslationNode | EnumerationNode | PluralNode | InsertionNode | GenderNode | SelectNode | MarkdownNode | ReactNode | ConditionNode | NestedNode | FileNode | HTMLNode;
59
+ export type KeyPath = ObjectNode | ArrayNode | TranslationNode | EnumerationNode | PluralNode | InsertionNode | GenderNode | SelectNode | MarkdownNode | ReactNode | ConditionNode | NestedNode | FileNode | HTMLNode;
60
60
  //#endregion
61
- export { ArrayNode, ConditionNode, EnumerationNode, FileNode, GenderNode, HTMLNode, InsertionNode, KeyPath, MarkdownNode, NestedNode, ObjectNode, PluralNode, ReactNode, SelectNode, TranslationNode };
62
61
  //# sourceMappingURL=keyPath.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"keyPath.d.ts","names":[],"sources":["../../src/keyPath.ts"],"mappings":";;KAEY;EACV,aAAa;EACb;;KAGU;EACV,aAAa;EACb;;KAGU;EACV,aAAa;EACb;;KAGU;EACV,aAAa;EACb;;KAGU;EACV,aAAa;EACb;;KAGU;EACV,aAAa;EACb;;KAGU;EACV,aAAa;EACb;;KAGU;EACV,aAAa;EACb;;KAGU;EACV,aAAa;EACb;;KAGU;EACV,aAAa;EACb;;KAGU;EACV,aAAa;EACb;;KAGU;EACV,aAAa;EACb;;KAGU;EACV,aAAa;EACb;;KAGU;EACV,aAAa;EACb;;KAGU,UACR,aACA,YACA,kBACA,kBACA,aACA,gBACA,aACA,aACA,eACA,YACA,gBACA,aACA,WACA"}
1
+ {"version":3,"file":"keyPath.d.ts","names":[],"sources":["../../src/keyPath.ts"],"mappings":";;YAEY;EACV,aAAa;EACb;;YAGU;EACV,aAAa;EACb;;YAGU;EACV,aAAa;EACb;;YAGU;EACV,aAAa;EACb;;YAGU;EACV,aAAa;EACb;;YAGU;EACV,aAAa;EACb;;YAGU;EACV,aAAa;EACb;;YAGU;EACV,aAAa;EACb;;YAGU;EACV,aAAa;EACb;;YAGU;EACV,aAAa;EACb;;YAGU;EACV,aAAa;EACb;;YAGU;EACV,aAAa;EACb;;YAGU;EACV,aAAa;EACb;;YAGU;EACV,aAAa;EACb;;YAGU,UACR,aACA,YACA,kBACA,kBACA,aACA,gBACA,aACA,aACA,eACA,YACA,gBACA,aACA,WACA"}