@intlayer/types 8.4.4 → 8.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/dist/cjs/_virtual/_rolldown/runtime.cjs +19 -0
  2. package/dist/cjs/allLocales.cjs +16 -1
  3. package/dist/cjs/allLocales.cjs.map +1 -1
  4. package/dist/cjs/config.cjs +24 -1
  5. package/dist/cjs/config.cjs.map +1 -1
  6. package/dist/cjs/index.cjs +32 -1
  7. package/dist/cjs/locales.cjs +1223 -1
  8. package/dist/cjs/locales.cjs.map +1 -0
  9. package/dist/cjs/nodeType.cjs +45 -1
  10. package/dist/cjs/nodeType.cjs.map +1 -1
  11. package/dist/esm/_virtual/_rolldown/runtime.mjs +18 -0
  12. package/dist/esm/allLocales.mjs +15 -1
  13. package/dist/esm/allLocales.mjs.map +1 -1
  14. package/dist/esm/config.mjs +22 -1
  15. package/dist/esm/config.mjs.map +1 -1
  16. package/dist/esm/index.mjs +6 -1
  17. package/dist/esm/locales.mjs +915 -1
  18. package/dist/esm/locales.mjs.map +1 -0
  19. package/dist/esm/nodeType.mjs +26 -1
  20. package/dist/esm/nodeType.mjs.map +1 -1
  21. package/dist/types/allLocales.d.ts +10 -2
  22. package/dist/types/allLocales.d.ts.map +1 -0
  23. package/dist/types/config.d.ts +1168 -2
  24. package/dist/types/config.d.ts.map +1 -0
  25. package/dist/types/dictionary.d.ts +376 -2
  26. package/dist/types/dictionary.d.ts.map +1 -0
  27. package/dist/types/filePathPattern.d.ts +29 -2
  28. package/dist/types/filePathPattern.d.ts.map +1 -0
  29. package/dist/types/index.d.ts +9 -5
  30. package/dist/types/keyPath.d.ts +13 -13
  31. package/dist/types/keyPath.d.ts.map +1 -1
  32. package/dist/types/locales.d.ts +610 -2
  33. package/dist/types/locales.d.ts.map +1 -0
  34. package/dist/types/module_augmentation.d.ts +29 -2
  35. package/dist/types/module_augmentation.d.ts.map +1 -0
  36. package/dist/types/nodeType.d.ts +31 -2
  37. package/dist/types/nodeType.d.ts.map +1 -0
  38. package/dist/types/plugin.d.ts +70 -2
  39. package/dist/types/plugin.d.ts.map +1 -0
  40. package/package.json +1 -1
  41. package/dist/cjs/locales-C4UTuU_K.cjs +0 -2
  42. package/dist/cjs/locales-C4UTuU_K.cjs.map +0 -1
  43. package/dist/esm/locales-Df9X3IYy.mjs +0 -2
  44. package/dist/esm/locales-Df9X3IYy.mjs.map +0 -1
  45. package/dist/types/allLocales-DeCezB07.d.ts +0 -10
  46. package/dist/types/allLocales-DeCezB07.d.ts.map +0 -1
  47. package/dist/types/config-CE_7T8Jh.d.ts +0 -1637
  48. package/dist/types/config-CE_7T8Jh.d.ts.map +0 -1
  49. package/dist/types/locales-CojWxvz7.d.ts +0 -610
  50. package/dist/types/locales-CojWxvz7.d.ts.map +0 -1
  51. package/dist/types/nodeType-DIgDogqh.d.ts +0 -32
  52. package/dist/types/nodeType-DIgDogqh.d.ts.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.d.ts","names":[],"sources":["../../src/config.ts"],"mappings":";;;;;;;;AAcA;;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;;;;EAi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A,GAAU,MAAA;;;;EAKV,QAAA;IACE,IAAA;IACA,OAAA;IACA,GAAA;EAAA;AAAA;;;;KAOQ,aAAA;;;;;;;;EAQV,cAAA;;;;;;;;;;EAWA,UAAA;;;;;;;;;;EAWA,OAAA;;;;;;;;EASA,YAAA;;;;;;EAOA,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BA,aAAA;AAAA;AAAA,KAGU,YAAA;;;;;;;;EAQV,OAAA;;;;;;;;EASA,qBAAA;;;;;;;;EASA,uBAAA;;;;;;;;EASA,qBAAA;;;;;;;;EASA,eAAA;;;;;;;;EASA,sBAAA;;;;;;;;EASA,oBAAA;;;;;;;;EASA,QAAA;;;;;;;;EASA,OAAA;;;;;;;;EASA,SAAA;;;;;;;;EASA,QAAA;;;;;;;;EASA,OAAA;AAAA;AAAA,KAGU,YAAA;EACV,KAAA,UAAe,OAAA,CAAQ,KAAA;EACvB,GAAA,UAAa,OAAA,CAAQ,GAAA;EACrB,IAAA,UAAc,OAAA,CAAQ,IAAA;EACtB,IAAA,UAAc,OAAA,CAAQ,IAAA;AAAA;AAAA,KAGZ,SAAA;;;;;;;;;;EAUV,IAAA;;;;;;;;EASA,MAAA;;;;EAKA,KAAA,UAAe,OAAA,CAAQ,KAAA;EACvB,GAAA,UAAa,OAAA,CAAQ,GAAA;EACrB,IAAA,UAAc,OAAA,CAAQ,IAAA;EACtB,IAAA,UAAc,OAAA,CAAQ,IAAA;EACtB,KAAA,UAAe,OAAA,CAAQ,KAAA;AAAA"}
@@ -1,2 +1,376 @@
1
- import { A as ContentAutoTransformation, B as LocalDictionaryId, F as DictionaryKey, I as DictionaryLocation, L as Fill, M as Dictionary, N as DictionaryFormat, P as DictionaryId, R as GetSubPath, V as TypedNode, j as ContentNode, z as ImportMode } from "./config-CE_7T8Jh.js";
2
- export { ContentAutoTransformation, ContentNode, Dictionary, DictionaryFormat, DictionaryId, DictionaryKey, DictionaryLocation, Fill, GetSubPath, ImportMode, LocalDictionaryId, TypedNode };
1
+ import { DeclaredLocales, LocalesValues, Schema, SchemaKeys } from "./module_augmentation.js";
2
+ import { FilePathPattern } from "./filePathPattern.js";
3
+ import { NodeType } from "./nodeType.js";
4
+
5
+ //#region src/dictionary.d.ts
6
+ type BaseNode = number | string | boolean | null | undefined;
7
+ type TypedNodeBase = {
8
+ nodeType: NodeType;
9
+ };
10
+ interface TypedNode<_NodeType = undefined> extends TypedNodeBase {}
11
+ type FetchableContentNode<NodeType> = (args?: any) => ContentNode<NodeType> | Promise<ContentNode<NodeType>>;
12
+ 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);
13
+ type IsArray<T> = T extends any[] ? true : false;
14
+ type ReplaceContentValueArray<T, FetchableNode> = T extends (infer U)[] ? ContentNode<T, FetchableNode> | ReplaceContentValue<U, FetchableNode>[] : never;
15
+ type ReplaceContentValueObject<T, FetchableNode> = { [K in keyof T]: ReplaceContentValue<T[K], FetchableNode> };
16
+ type ReplaceContentValue<NodeType, FetchableNode = true> = NodeType extends object ? IsArray<NodeType> extends true ? ReplaceContentValueArray<NodeType, FetchableNode> : ContentNode<NodeType, FetchableNode> | ReplaceContentValueObject<NodeType, FetchableNode> : ContentNode<NodeType, FetchableNode>;
17
+ /**
18
+ * Indicate how the dictionary should be filled using AI.
19
+ *
20
+ * Default: `true`
21
+ *
22
+ * - If `true`, will consider the `compiler.output` field.
23
+ * - If `false`, will skip the fill process.
24
+ *
25
+ * - `./` paths are resolved relative to the component directory.
26
+ * - `/` paths are resolved relative to the project root (`baseDir`).
27
+ *
28
+ * - If includes `{{locale}}` variable in the path, will trigger the generation of separate dictionaries per locale.
29
+ *
30
+ * Example:
31
+ * ```ts
32
+ * {
33
+ * // Create Multilingual .content.ts files close to the component
34
+ * fill: ({ fileName, extension }) => `./${fileName}${extension}`,
35
+ *
36
+ * // fill: './{{fileName}}{{extension}}', // Equivalent using template string
37
+ * }
38
+ * ```
39
+ *
40
+ * ```ts
41
+ * {
42
+ * // Create centralize per-locale JSON at the root of the project
43
+ * fill: ({ key, locale }) => `/locales/${locale}/${key}.content.json`,
44
+ *
45
+ * // fill: '/locales/{{locale}}/{{key}}.content.json', // Equivalent using template string
46
+ * }
47
+ * ```
48
+ *
49
+ * ```ts
50
+ * {
51
+ * // Create custom output based on the locale
52
+ * fill: {
53
+ * en: ({ key }) => `/locales/en/${key}.content.json`,
54
+ * fr: '/locales/fr/{{key}}.content.json',
55
+ * es: false,
56
+ * de: true,
57
+ * },
58
+ * }
59
+ * ```
60
+ *
61
+ *
62
+ * Variable list:
63
+ * - `fileName`: The name of the file.
64
+ * - `key`: The key of the content.
65
+ * - `locale`: The locale of the content.
66
+ * - `extension`: The extension of the file.
67
+ * - `componentFileName`: The name of the component file.
68
+ * - `componentExtension`: The extension of the component file.
69
+ * - `format`: The format of the dictionary.
70
+ * - `componentFormat`: The format of the component dictionary.
71
+ * - `componentDirPath`: The directory path of the component.
72
+ */
73
+ type Fill = boolean | FilePathPattern | Partial<Record<DeclaredLocales, boolean | FilePathPattern>>;
74
+ type DictionaryId = string;
75
+ type DictionaryKey = string;
76
+ type DictionaryLocation = "remote" | "local" | "hybrid" | "plugin" | (string & {});
77
+ type LocalDictionaryId = `${DictionaryKey}::${Dictionary["location"]}::${Dictionary["filePath"] | DictionaryId}`;
78
+ type DictionaryFormat = "intlayer" | "icu" | "i18next" | "vue-i18n";
79
+ /**
80
+ * Indicates the mode of import to use for the dictionary.
81
+ *
82
+ * Available modes:
83
+ * - "static": The dictionaries are imported statically.
84
+ * In that case, Intlayer will replace all calls to `useIntlayer` with `useDictionary`.
85
+ * - "dynamic": The dictionaries are imported dynamically in a synchronous component using the suspense API.
86
+ * In that case, Intlayer will replace all calls to `useIntlayer` with `useDictionaryDynamic`.
87
+ * - "live": The dictionaries are imported dynamically using the live sync API.
88
+ * In that case, Intlayer will replace all calls to `useIntlayer` with `useDictionaryDynamic`.
89
+ * Live mode will use the live sync API to fetch the dictionaries. If the API call fails, the dictionaries will be imported dynamically as "dynamic" mode.
90
+ *
91
+ * Default: "static"
92
+ */
93
+ type ImportMode = "static" | "dynamic" | "fetch";
94
+ type ContentAutoTransformation = boolean | {
95
+ /**
96
+ * Indicates if the content should be automatically transformed to a markdown node.
97
+ * Default: true
98
+ */
99
+ markdown?: boolean;
100
+ /**
101
+ * Indicates if the content should be automatically transformed to an HTML node.
102
+ * Default: true
103
+ */
104
+ html?: boolean;
105
+ /**
106
+ * Indicates if the content should be automatically transformed to an insertion node.
107
+ * Default: true
108
+ */
109
+ insertion?: boolean;
110
+ };
111
+ /**
112
+ * Common properties shared by all Dictionary variants.
113
+ */
114
+ type DictionaryBase = {
115
+ /**
116
+ * _Auto generated by the intlayer, do not modify it_
117
+ *
118
+ * The schema of the dictionary, used for JSON validation
119
+ */
120
+ $schema?: "https://intlayer.org/schema.json";
121
+ /**
122
+ * _Auto generated by the intlayer, do not modify it_
123
+ *
124
+ * For remote dictionaries, the id is the id of the dictionary in the remote server
125
+ */
126
+ id?: DictionaryId;
127
+ /**
128
+ * _Auto generated by the intlayer, do not modify it_
129
+ *
130
+ * For remote dictionaries, the projectIds is the ids of the projects that can use this dictionary
131
+ * A remote dictionary can be shared between multiple projects
132
+ */
133
+ projectIds?: string[];
134
+ /**
135
+ * _Auto generated by the intlayer, do not modify it_
136
+ *
137
+ * Unique Identifier for the dictionaries. Auto generated by the intlayer, it helps to identify the dictionary and know if it is a local or remote dictionary, and his location.
138
+ */
139
+ localId?: LocalDictionaryId;
140
+ /**
141
+ * _Auto generated by the intlayer, do not modify it_
142
+ *
143
+ * For merged dictionaries, the localIds is the ids of the dictionaries that are merged
144
+ */
145
+ localIds?: LocalDictionaryId[];
146
+ /**
147
+ * The formatter to use for the dictionary.
148
+ *
149
+ * Default: 'intlayer'
150
+ *
151
+ * The formatter to use for the dictionary content.
152
+ */
153
+ format?: DictionaryFormat;
154
+ /**
155
+ * The key of the dictionary. If multiple dictionaries have the same key, intlayer will merge them.
156
+ *
157
+ * As convention, use '-' to separate the words in the key.
158
+ *
159
+ * Example:
160
+ * ```json
161
+ * {
162
+ * "key": "about-page-meta",
163
+ * "content": { ... }
164
+ * }
165
+ * ```
166
+ */
167
+ key: DictionaryKey;
168
+ /**
169
+ * The title of the dictionary. Helps to identify the dictionary in the editor, and the CMS.
170
+ *
171
+ * Example:
172
+ * ```json
173
+ * {
174
+ * "key": "about-page-meta",
175
+ * "title": "About Page",
176
+ * "content": { ... }
177
+ * }
178
+ * ```
179
+ */
180
+ title?: string;
181
+ /**
182
+ * The description of the dictionary. Helps to understand the purpose of the dictionary in the editor, and the CMS.
183
+ * The description is also used as context for translations generation.
184
+ *
185
+ * Example:
186
+ * ```ts
187
+ * {
188
+ * "key": "about-page-meta",
189
+ * "description":[
190
+ * "This dictionary is manage the metadata of the About Page",
191
+ * "Consider good practices for SEO:",
192
+ * "- The title should be between 50 and 60 characters",
193
+ * "- The description should be between 150 and 160 characters",
194
+ * ].join('\n'),
195
+ * "content": { ... }
196
+ * }
197
+ * ```
198
+ */
199
+ description?: string;
200
+ /**
201
+ * _Auto generated by the intlayer, do not modify it_
202
+ *
203
+ * The available versions of the remote dictionary. Helps to know the versions of the dictionary that are available.
204
+ */
205
+ versions?: string[];
206
+ /**
207
+ * _Managable on the CMS, do not modify it locally_
208
+ *
209
+ * The version of the remote dictionary. Helps to know the version of the dictionary that is currently used.
210
+ */
211
+ version?: string;
212
+ /**
213
+ * _Auto generated by the intlayer, do not modify it_
214
+ *
215
+ * The file path of the local dictionary. Helps to know from what .content file the dictionary has been generated.
216
+ */
217
+ filePath?: string;
218
+ /**
219
+ * Helps to categorize the dictionaries. The tags can provide more context and instructions for the dictionary.
220
+ *
221
+ * Example:
222
+ * ```json
223
+ * {
224
+ * "key": "about-page-meta",
225
+ * "tags": ["metadata","about-page"]
226
+ * }
227
+ * ```
228
+ */
229
+ tags?: string[];
230
+ /**
231
+ * Transform the dictionary in a per-locale dictionary.
232
+ * Each field declared in a per-locale dictionary will be transformed in a translation node.
233
+ * If missing, the dictionary will be treated as a multilingual dictionary.
234
+ * If declared, do not use translation nodes in the content.
235
+ *
236
+ * Example:
237
+ * ```json
238
+ * {
239
+ * "key": "about-page",
240
+ * "locale": "en",
241
+ * "content": {
242
+ * "multilingualContent": "English content"
243
+ * }
244
+ * }
245
+ * ```
246
+ */
247
+ locale?: LocalesValues;
248
+ /**
249
+ * Indicators if the content of the dictionary should be automatically transformed.
250
+ * If true, the content will be transformed to the corresponding node type.
251
+ * - Markdown: `### Title` -> `md('### Title')`
252
+ * - HTML: `<div>Title</div>` -> `html('<div>Title</div>')`
253
+ * - Insertion: `Hello {{name}}` -> `insert('Hello {{name}}')`
254
+ *
255
+ * If an object is provided, you can specify which transformations should be enabled.
256
+ *
257
+ * Default: false
258
+ */
259
+ contentAutoTransformation?: ContentAutoTransformation;
260
+ /**
261
+ * Indicate how the dictionary should be filled using AI.
262
+ *
263
+ * Default: `true`
264
+ *
265
+ * - If `true`, will consider the `compiler.output` field.
266
+ * - If `false`, will skip the fill process.
267
+ *
268
+ * - `./` paths are resolved relative to the component directory.
269
+ * - `/` paths are resolved relative to the project root (`baseDir`).
270
+ *
271
+ * - If includes `{{locale}}` variable in the path, will trigger the generation of separate dictionaries per locale.
272
+ *
273
+ * Example:
274
+ * ```ts
275
+ * {
276
+ * // Create Multilingual .content.ts files close to the component
277
+ * fill: ({ fileName, extension }) => `./${fileName}${extension}`,
278
+ *
279
+ * // fill: './{{fileName}}{{extension}}', // Equivalent using template string
280
+ * }
281
+ * ```
282
+ *
283
+ * ```ts
284
+ * {
285
+ * // Create centralize per-locale JSON at the root of the project
286
+ * fill: ({ key, locale }) => `/locales/${locale}/${key}.content.json`,
287
+ *
288
+ * // fill: '/locales/{{locale}}/{{key}}.content.json', // Equivalent using template string
289
+ * }
290
+ * ```
291
+ *
292
+ * ```ts
293
+ * {
294
+ * // Create custom output based on the locale
295
+ * fill: {
296
+ * en: ({ key }) => `/locales/en/${key}.content.json`,
297
+ * fr: '/locales/fr/{{key}}.content.json',
298
+ * es: false,
299
+ * de: true,
300
+ * },
301
+ * }
302
+ * ```
303
+ *
304
+ *
305
+ * Variable list:
306
+ * - `fileName`: The name of the file.
307
+ * - `key`: The key of the content.
308
+ * - `locale`: The locale of the content.
309
+ * - `extension`: The extension of the file.
310
+ * - `componentFileName`: The name of the component file.
311
+ * - `componentExtension`: The extension of the component file.
312
+ * - `format`: The format of the dictionary.
313
+ * - `componentFormat`: The format of the component dictionary.
314
+ * - `componentDirPath`: The directory path of the component.
315
+ */
316
+ fill?: Fill;
317
+ /**
318
+ * _Auto generated by the intlayer, do not modify it_
319
+ *
320
+ * Indicates if the dictionary has been auto filled.
321
+ * In the case of conflicts, base dictionaryed will override auto filled dictionary.
322
+ */
323
+ filled?: true;
324
+ /**
325
+ * Indicates the priority of the dictionary.
326
+ * In the case of conflicts, the dictionary with the highest priority will override the other dictionaries.
327
+ */
328
+ priority?: number;
329
+ /**
330
+ * Indicates the mode of import to use for the dictionary.
331
+ *
332
+ * Available modes:
333
+ * - "static": The dictionaries are imported statically.
334
+ * In that case, Intlayer will replace all calls to `useIntlayer` with `useDictionary`.
335
+ * - "dynamic": The dictionaries are imported dynamically in a synchronous component using the suspense API.
336
+ * In that case, Intlayer will replace all calls to `useIntlayer` with `useDictionaryDynamic`.
337
+ * - "live": The dictionaries are imported dynamically using the live sync API.
338
+ * In that case, Intlayer will replace all calls to `useIntlayer` with `useDictionaryDynamic`.
339
+ * Live mode will use the live sync API to fetch the dictionaries. If the API call fails, the dictionaries will be imported dynamically as "dynamic" mode.
340
+ *
341
+ * Default: "static"
342
+ */
343
+ importMode?: ImportMode;
344
+ /**
345
+ * Indicates the location of the dictionary and controls how it synchronizes with the CMS.
346
+ *
347
+ * - 'hybrid': The dictionary is managed locally and remotely. Once pushed on the CMS, it will be synchronized from the local one. The local dictionary will be pulled from the CMS.
348
+ * - 'remote': The dictionary is managed remotely only. Once pushed on the CMS, it will be detached from the local one. At content load time, the remote dictionary will be pulled from the CMS. A '.content' file with remote location will be ignored.
349
+ * - 'local': The dictionary is managed locally. It will not be pushed to the remote CMS.
350
+ * - 'plugin' (or any custom string): The dictionary is managed by a plugin, or a custom source. When you will try to push it, the system will ask an action to the user.
351
+ */
352
+ location?: DictionaryLocation;
353
+ };
354
+ /**
355
+ * Strict Schema Branch:
356
+ * If a schema is provided, it MUST be one of the SchemaKeys.
357
+ */
358
+ type DictionaryWithSchema<ContentType, FetchableNode, K extends SchemaKeys = SchemaKeys> = K extends any ? {
359
+ schema: K;
360
+ content: ContentType extends undefined ? ReplaceContentValue<Schema<K>, FetchableNode> | Schema<K> : ReplaceContentValue<ContentType & Schema<K>, FetchableNode> | (ContentType & Schema<K>);
361
+ } : never;
362
+ /**
363
+ * Strict Discrimination Branch
364
+ */
365
+ type DictionaryWithoutSchema<ContentType, FetchableNode> = {
366
+ schema?: never;
367
+ content: ContentType extends undefined ? any : ReplaceContentValue<ContentType, FetchableNode> | ContentType;
368
+ };
369
+ /**
370
+ * The Final Dictionary Type
371
+ */
372
+ 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);
373
+ 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;
374
+ //#endregion
375
+ export { ContentAutoTransformation, ContentNode, Dictionary, DictionaryFormat, DictionaryId, DictionaryKey, DictionaryLocation, Fill, GetSubPath, ImportMode, LocalDictionaryId, TypedNode };
376
+ //# sourceMappingURL=dictionary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dictionary.d.ts","names":[],"sources":["../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AAkB,UAAA,GACf,oBAAA,CAAqB,WAAA,EAAa,aAAA,EAAe,SAAA,sBAC/B,SAAA,GAEZ,uBAAA,CAAwB,WAAA,EAAa,aAAA,IACrC,oBAAA,CAAqB,WAAA,EAAa,aAAA;AAAA,KAGlC,UAAA,SAAmB,CAAA,sCAC3B,CAAA,eAAgB,CAAA,GACd,UAAA,CAAW,CAAA,CAAE,CAAA,GAAI,IAAA,YAEnB,CAAA,eAAgB,CAAA,GACd,CAAA,CAAE,CAAA,IACF,CAAA"}
@@ -1,2 +1,29 @@
1
- import { H as FilePathPattern, U as FilePathPatternContext, W as FilePathPatternFunction } from "./config-CE_7T8Jh.js";
2
- export { FilePathPattern, FilePathPatternContext, FilePathPatternFunction };
1
+ import { DeclaredLocales } from "./module_augmentation.js";
2
+ import { DictionaryKey } from "./dictionary.js";
3
+
4
+ //#region src/filePathPattern.d.ts
5
+ type ContentExtension = `.${string}.${"json" | "js" | "ts" | "jsx" | "tsx" | "cjs" | "mjs"}`;
6
+ type FilePathPatternContext = {
7
+ locale?: DeclaredLocales;
8
+ key: DictionaryKey;
9
+ fileName: string;
10
+ extension: ContentExtension | (string & {});
11
+ format: "ts" | "cjs" | "esm" | "json" | "jsonc" | "json5";
12
+ componentExtension?: ".json" | ".js" | ".ts" | ".jsx" | ".tsx" | ".cjs" | ".mjs";
13
+ componentFormat?: "ts" | "cjs" | "esm";
14
+ componentFileName?: string;
15
+ componentDirPath?: string;
16
+ };
17
+ /**
18
+ * Syntax for resolving file paths.
19
+ */
20
+ type FilePathPatternFunction = (context: FilePathPatternContext) => string | Promise<string>;
21
+ /**
22
+ * Global syntax for defining file paths and patterns.
23
+ * Can be a static string, a templated string (e.g. `path/{{locale}}/{{key}}{{extension}}`),
24
+ * or a function evaluating the path dynamically.
25
+ */
26
+ type FilePathPattern = string | FilePathPatternFunction;
27
+ //#endregion
28
+ export { FilePathPattern, FilePathPatternContext, FilePathPatternFunction };
29
+ //# sourceMappingURL=filePathPattern.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filePathPattern.d.ts","names":[],"sources":["../../src/filePathPattern.ts"],"mappings":";;;;KAGK,gBAAA;AAAA,KAGO,sBAAA;EACV,MAAA,GAAS,eAAA;EACT,GAAA,EAAK,aAAA;EACL,QAAA;EACA,SAAA,EAAW,gBAAA;EACX,MAAA;EACA,kBAAA;EAQA,eAAA;EAEA,iBAAA;EACA,gBAAA;AAAA;;;;KAMU,uBAAA,IACV,OAAA,EAAS,sBAAA,cACG,OAAA;;;;;;KAOF,eAAA,YAA2B,uBAAA"}
@@ -1,6 +1,10 @@
1
- import { Na as locales_d_exports } from "./locales-CojWxvz7.js";
2
- import { n as Locale, t as ALL_LOCALES } from "./allLocales-DeCezB07.js";
3
- import { A as ContentAutoTransformation, B as LocalDictionaryId, C as SystemConfig, D as Plugin, E as MergedDictionaryResult, F as DictionaryKey, G as DeclaredLocales, H as FilePathPattern, I as DictionaryLocation, J as DictionaryRegistryContent, K as DictionaryKeys, L as Fill, M as Dictionary, N as DictionaryFormat, O as UnmergedDictionaryOutput, P as DictionaryId, Q as ResolvedEditor, R as GetSubPath, S as StrictMode, T as MergedDictionaryOutput, U as FilePathPatternContext, V as TypedNode, W as FilePathPatternFunction, X as LocalesValues, Y as DictionaryRegistryElement, Z as RequiredLocales, _ as RewriteRule, a as CommonAiConfig, b as Schema, c as CookiesAttributes, d as EditorConfig, et as SchemaKeys, f as InternationalizationConfig, g as RewriteObject, h as LogFunctions, i as BuildConfig, j as ContentNode, k as UnmergedDictionaryResult, l as CustomIntlayerConfig, m as LogConfig, n as AiProviderConfigMap, o as CompilerConfig, p as IntlayerConfig, q as DictionaryRegistry, r as AiProviders, s as ContentConfig, t as AiConfig, tt as StrictModeLocaleMap, u as DictionaryConfig, v as RewriteRules, w as URLType, x as StorageAttributes, y as RoutingConfig, z as ImportMode } from "./config-CE_7T8Jh.js";
4
- import { n as TypedNodeModel, r as formatNodeType, t as NodeType } from "./nodeType-DIgDogqh.js";
1
+ import { locales_d_exports } from "./locales.js";
2
+ import { ALL_LOCALES, Locale } from "./allLocales.js";
3
+ import { DeclaredLocales, DictionaryKeys, DictionaryRegistry, DictionaryRegistryContent, DictionaryRegistryElement, LocalesValues, RequiredLocales, ResolvedEditor, SchemaKeys, StrictModeLocaleMap } from "./module_augmentation.js";
4
+ import { FilePathPattern, FilePathPatternContext, FilePathPatternFunction } from "./filePathPattern.js";
5
+ import { ARRAY, BOOLEAN, CONDITION, ENUMERATION, FILE, GENDER, HTML, INSERTION, MARKDOWN, NESTED, NULL, NUMBER, NodeType, OBJECT, REACT_NODE, TEXT, TRANSLATION, TypedNodeModel, UNKNOWN, formatNodeType } from "./nodeType.js";
6
+ import { ContentAutoTransformation, ContentNode, Dictionary, DictionaryFormat, DictionaryId, DictionaryKey, DictionaryLocation, Fill, GetSubPath, ImportMode, LocalDictionaryId, TypedNode } from "./dictionary.js";
7
+ import { MergedDictionaryOutput, MergedDictionaryResult, Plugin, UnmergedDictionaryOutput, UnmergedDictionaryResult } from "./plugin.js";
8
+ import { AiConfig, AiProviderConfigMap, AiProviders, BuildConfig, CommonAiConfig, CompilerConfig, ContentConfig, CookiesAttributes, CustomIntlayerConfig, DictionaryConfig, EditorConfig, InternationalizationConfig, IntlayerConfig, LogConfig, LogFunctions, RewriteObject, RewriteRule, RewriteRules, RoutingConfig, Schema, StorageAttributes, StrictMode, SystemConfig, URLType } from "./config.js";
5
9
  import { ArrayNode, ConditionNode, EnumerationNode, FileNode, GenderNode, HTMLNode, InsertionNode, KeyPath, MarkdownNode, NestedNode, ObjectNode, ReactNode, TranslationNode } from "./keyPath.js";
6
- export { ALL_LOCALES, AiConfig, AiProviderConfigMap, AiProviders, ArrayNode, BuildConfig, CommonAiConfig, CompilerConfig, ConditionNode, ContentAutoTransformation, ContentConfig, ContentNode, CookiesAttributes, CustomIntlayerConfig, DeclaredLocales, Dictionary, DictionaryConfig, DictionaryFormat, DictionaryId, DictionaryKey, DictionaryKeys, DictionaryLocation, DictionaryRegistry, DictionaryRegistryContent, DictionaryRegistryElement, EditorConfig, EnumerationNode, FileNode, FilePathPattern, FilePathPatternContext, FilePathPatternFunction, Fill, GenderNode, GetSubPath, HTMLNode, ImportMode, InsertionNode, InternationalizationConfig, IntlayerConfig, KeyPath, LocalDictionaryId, Locale, locales_d_exports as Locales, LocalesValues, LogConfig, LogFunctions, MarkdownNode, MergedDictionaryOutput, MergedDictionaryResult, NestedNode, NodeType, ObjectNode, Plugin, ReactNode, RequiredLocales, ResolvedEditor, RewriteObject, RewriteRule, RewriteRules, RoutingConfig, SchemaKeys, StorageAttributes, StrictMode, StrictModeLocaleMap, SystemConfig, TranslationNode, TypedNode, TypedNodeModel, URLType, UnmergedDictionaryOutput, UnmergedDictionaryResult, formatNodeType };
10
+ export { ALL_LOCALES, ARRAY, AiConfig, AiProviderConfigMap, AiProviders, ArrayNode, BOOLEAN, BuildConfig, CONDITION, CommonAiConfig, CompilerConfig, ConditionNode, ContentAutoTransformation, ContentConfig, ContentNode, CookiesAttributes, CustomIntlayerConfig, 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, REACT_NODE, ReactNode, RequiredLocales, ResolvedEditor, RewriteObject, RewriteRule, RewriteRules, RoutingConfig, SchemaKeys, StorageAttributes, StrictMode, StrictModeLocaleMap, SystemConfig, TEXT, TRANSLATION, TranslationNode, TypedNode, TypedNodeModel, UNKNOWN, URLType, UnmergedDictionaryOutput, UnmergedDictionaryResult, formatNodeType };
@@ -1,52 +1,52 @@
1
- import { t as NodeType } from "./nodeType-DIgDogqh.js";
1
+ import { ARRAY, CONDITION, ENUMERATION, FILE, GENDER, HTML, INSERTION, MARKDOWN, NESTED, OBJECT, REACT_NODE, TRANSLATION } from "./nodeType.js";
2
2
 
3
3
  //#region src/keyPath.d.ts
4
4
  type ObjectNode = {
5
- type: NodeType.Object;
5
+ type: typeof OBJECT;
6
6
  key: string;
7
7
  };
8
8
  type ArrayNode = {
9
- type: NodeType.Array;
9
+ type: typeof ARRAY;
10
10
  key: number;
11
11
  };
12
12
  type EnumerationNode = {
13
- type: NodeType.Enumeration;
13
+ type: typeof ENUMERATION;
14
14
  key: string;
15
15
  };
16
16
  type TranslationNode = {
17
- type: NodeType.Translation;
17
+ type: typeof TRANSLATION;
18
18
  key: string;
19
19
  };
20
20
  type ConditionNode = {
21
- type: NodeType.Condition;
21
+ type: typeof CONDITION;
22
22
  key: string;
23
23
  };
24
24
  type GenderNode = {
25
- type: NodeType.Gender;
25
+ type: typeof GENDER;
26
26
  key: string;
27
27
  };
28
28
  type InsertionNode = {
29
- type: NodeType.Insertion;
29
+ type: typeof INSERTION;
30
30
  key?: undefined;
31
31
  };
32
32
  type MarkdownNode = {
33
- type: NodeType.Markdown;
33
+ type: typeof MARKDOWN;
34
34
  key?: undefined;
35
35
  };
36
36
  type ReactNode = {
37
- type: NodeType.ReactNode;
37
+ type: typeof REACT_NODE;
38
38
  key?: undefined;
39
39
  };
40
40
  type NestedNode = {
41
- type: NodeType.Nested;
41
+ type: typeof NESTED;
42
42
  key?: undefined;
43
43
  };
44
44
  type FileNode = {
45
- type: NodeType.File;
45
+ type: typeof FILE;
46
46
  key?: undefined;
47
47
  };
48
48
  type HTMLNode = {
49
- type: NodeType.HTML;
49
+ type: typeof HTML;
50
50
  key?: undefined;
51
51
  };
52
52
  type KeyPath = ObjectNode | ArrayNode | TranslationNode | EnumerationNode | InsertionNode | GenderNode | MarkdownNode | ReactNode | ConditionNode | NestedNode | FileNode | HTMLNode;
@@ -1 +1 @@
1
- {"version":3,"file":"keyPath.d.ts","names":[],"sources":["../../src/keyPath.ts"],"mappings":";;;KAEY,UAAA;EACV,IAAA,EAAM,QAAA,CAAS,MAAA;EACf,GAAA;AAAA;AAAA,KAGU,SAAA;EACV,IAAA,EAAM,QAAA,CAAS,KAAA;EACf,GAAA;AAAA;AAAA,KAGU,eAAA;EACV,IAAA,EAAM,QAAA,CAAS,WAAA;EACf,GAAA;AAAA;AAAA,KAGU,eAAA;EACV,IAAA,EAAM,QAAA,CAAS,WAAA;EACf,GAAA;AAAA;AAAA,KAGU,aAAA;EACV,IAAA,EAAM,QAAA,CAAS,SAAA;EACf,GAAA;AAAA;AAAA,KAGU,UAAA;EACV,IAAA,EAAM,QAAA,CAAS,MAAA;EACf,GAAA;AAAA;AAAA,KAGU,aAAA;EACV,IAAA,EAAM,QAAA,CAAS,SAAA;EACf,GAAA;AAAA;AAAA,KAGU,YAAA;EACV,IAAA,EAAM,QAAA,CAAS,QAAA;EACf,GAAA;AAAA;AAAA,KAGU,SAAA;EACV,IAAA,EAAM,QAAA,CAAS,SAAA;EACf,GAAA;AAAA;AAAA,KAGU,UAAA;EACV,IAAA,EAAM,QAAA,CAAS,MAAA;EACf,GAAA;AAAA;AAAA,KAGU,QAAA;EACV,IAAA,EAAM,QAAA,CAAS,IAAA;EACf,GAAA;AAAA;AAAA,KAGU,QAAA;EACV,IAAA,EAAM,QAAA,CAAS,IAAA;EACf,GAAA;AAAA;AAAA,KAGU,OAAA,GACR,UAAA,GACA,SAAA,GACA,eAAA,GACA,eAAA,GACA,aAAA,GACA,UAAA,GACA,YAAA,GACA,SAAA,GACA,aAAA,GACA,UAAA,GACA,QAAA,GACA,QAAA"}
1
+ {"version":3,"file":"keyPath.d.ts","names":[],"sources":["../../src/keyPath.ts"],"mappings":";;;KAEY,UAAA;EACV,IA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