@intlayer/config 2.0.12 → 3.0.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.
Files changed (163) hide show
  1. package/dist/cjs/configFile/buildConfigurationFields.cjs +43 -5
  2. package/dist/cjs/configFile/buildConfigurationFields.cjs.map +1 -1
  3. package/dist/cjs/configFile/getConfiguration.cjs +3 -1
  4. package/dist/cjs/configFile/getConfiguration.cjs.map +1 -1
  5. package/dist/cjs/configFile/loadConfigurationFile.cjs +26 -5
  6. package/dist/cjs/configFile/loadConfigurationFile.cjs.map +1 -1
  7. package/dist/cjs/defaultValues/editor.cjs +8 -5
  8. package/dist/cjs/defaultValues/editor.cjs.map +1 -1
  9. package/dist/cjs/envVariables/detectPlatform.cjs +1 -1
  10. package/dist/cjs/envVariables/detectPlatform.cjs.map +1 -1
  11. package/dist/cjs/envVariables/extractEnvVariable/next.cjs +5 -2
  12. package/dist/cjs/envVariables/extractEnvVariable/next.cjs.map +1 -1
  13. package/dist/cjs/envVariables/extractEnvVariable/react_app.cjs +5 -2
  14. package/dist/cjs/envVariables/extractEnvVariable/react_app.cjs.map +1 -1
  15. package/dist/cjs/envVariables/extractEnvVariable/undefined_platform.cjs +35 -32
  16. package/dist/cjs/envVariables/extractEnvVariable/undefined_platform.cjs.map +1 -1
  17. package/dist/cjs/envVariables/extractEnvVariable/vite.cjs +5 -2
  18. package/dist/cjs/envVariables/extractEnvVariable/vite.cjs.map +1 -1
  19. package/dist/cjs/envVariables/extractEnvVariable/vite_env.d.cjs +16 -0
  20. package/dist/cjs/envVariables/extractEnvVariable/vite_env.d.cjs.map +1 -1
  21. package/dist/cjs/envVariables/getConfiguration.cjs +8 -2
  22. package/dist/cjs/envVariables/getConfiguration.cjs.map +1 -1
  23. package/dist/cjs/envVariables/index.cjs +8 -2
  24. package/dist/cjs/envVariables/index.cjs.map +1 -1
  25. package/dist/cjs/envVariables/loadEnvFile.cjs +41 -0
  26. package/dist/cjs/envVariables/loadEnvFile.cjs.map +1 -0
  27. package/dist/cjs/index.cjs +9 -2
  28. package/dist/cjs/index.cjs.map +1 -1
  29. package/dist/cjs/types/config.cjs.map +1 -1
  30. package/dist/cjs/types/locales.cjs +3 -2
  31. package/dist/cjs/types/locales.cjs.map +1 -1
  32. package/dist/cjs/utils/ESMxCJSRequire.cjs +32 -0
  33. package/dist/cjs/utils/ESMxCJSRequire.cjs.map +1 -0
  34. package/dist/esm/configFile/buildConfigurationFields.mjs +48 -6
  35. package/dist/esm/configFile/buildConfigurationFields.mjs.map +1 -1
  36. package/dist/esm/configFile/getConfiguration.mjs +3 -1
  37. package/dist/esm/configFile/getConfiguration.mjs.map +1 -1
  38. package/dist/esm/configFile/loadConfigurationFile.mjs +16 -4
  39. package/dist/esm/configFile/loadConfigurationFile.mjs.map +1 -1
  40. package/dist/esm/defaultValues/editor.mjs +5 -3
  41. package/dist/esm/defaultValues/editor.mjs.map +1 -1
  42. package/dist/esm/envVariables/detectPlatform.mjs +1 -1
  43. package/dist/esm/envVariables/detectPlatform.mjs.map +1 -1
  44. package/dist/esm/envVariables/extractEnvVariable/next.mjs +5 -2
  45. package/dist/esm/envVariables/extractEnvVariable/next.mjs.map +1 -1
  46. package/dist/esm/envVariables/extractEnvVariable/react_app.mjs +5 -2
  47. package/dist/esm/envVariables/extractEnvVariable/react_app.mjs.map +1 -1
  48. package/dist/esm/envVariables/extractEnvVariable/undefined_platform.mjs +35 -32
  49. package/dist/esm/envVariables/extractEnvVariable/undefined_platform.mjs.map +1 -1
  50. package/dist/esm/envVariables/extractEnvVariable/vite.mjs +5 -2
  51. package/dist/esm/envVariables/extractEnvVariable/vite.mjs.map +1 -1
  52. package/dist/esm/envVariables/extractEnvVariable/vite_env.d.mjs +1 -0
  53. package/dist/esm/envVariables/extractEnvVariable/vite_env.d.mjs.map +1 -1
  54. package/dist/esm/envVariables/getConfiguration.mjs +8 -2
  55. package/dist/esm/envVariables/getConfiguration.mjs.map +1 -1
  56. package/dist/esm/envVariables/index.mjs +5 -1
  57. package/dist/esm/envVariables/index.mjs.map +1 -1
  58. package/dist/esm/envVariables/loadEnvFile.mjs +7 -0
  59. package/dist/esm/envVariables/loadEnvFile.mjs.map +1 -0
  60. package/dist/esm/index.mjs +8 -2
  61. package/dist/esm/index.mjs.map +1 -1
  62. package/dist/esm/types/locales.mjs +3 -2
  63. package/dist/esm/types/locales.mjs.map +1 -1
  64. package/dist/esm/utils/ESMxCJSRequire.mjs +7 -0
  65. package/dist/esm/utils/ESMxCJSRequire.mjs.map +1 -0
  66. package/dist/types/client.d.ts +5 -0
  67. package/dist/types/client.d.ts.map +1 -0
  68. package/dist/types/configFile/buildConfigurationFields.d.ts +7 -0
  69. package/dist/types/configFile/buildConfigurationFields.d.ts.map +1 -0
  70. package/dist/types/configFile/getConfiguration.d.ts +10 -0
  71. package/dist/types/configFile/getConfiguration.d.ts.map +1 -0
  72. package/dist/types/configFile/index.d.ts +3 -0
  73. package/dist/types/configFile/index.d.ts.map +1 -0
  74. package/dist/types/configFile/loadConfigurationFile.d.ts +9 -0
  75. package/dist/types/configFile/loadConfigurationFile.d.ts.map +1 -0
  76. package/dist/{cjs → types}/configFile/searchConfigurationFile.d.ts +3 -3
  77. package/dist/types/configFile/searchConfigurationFile.d.ts.map +1 -0
  78. package/dist/types/defaultValues/editor.d.ts +4 -0
  79. package/dist/types/defaultValues/editor.d.ts.map +1 -0
  80. package/dist/types/defaultValues/internationalization.d.ts +6 -0
  81. package/dist/types/defaultValues/internationalization.d.ts.map +1 -0
  82. package/dist/types/defaultValues/middleware.d.ts +7 -0
  83. package/dist/types/defaultValues/middleware.d.ts.map +1 -0
  84. package/dist/types/defaultValues/server.d.ts +12 -0
  85. package/dist/types/defaultValues/server.d.ts.map +1 -0
  86. package/dist/types/envVariables/detectPlatform.d.ts +7 -0
  87. package/dist/types/envVariables/detectPlatform.d.ts.map +1 -0
  88. package/dist/types/envVariables/extractEnvVariable/index.d.ts +3 -0
  89. package/dist/types/envVariables/extractEnvVariable/index.d.ts.map +1 -0
  90. package/dist/types/envVariables/extractEnvVariable/next.d.ts +3 -0
  91. package/dist/types/envVariables/extractEnvVariable/next.d.ts.map +1 -0
  92. package/dist/types/envVariables/extractEnvVariable/react_app.d.ts +3 -0
  93. package/dist/types/envVariables/extractEnvVariable/react_app.d.ts.map +1 -0
  94. package/dist/types/envVariables/extractEnvVariable/types.d.ts +8 -0
  95. package/dist/types/envVariables/extractEnvVariable/types.d.ts.map +1 -0
  96. package/dist/types/envVariables/extractEnvVariable/undefined_platform.d.ts +3 -0
  97. package/dist/types/envVariables/extractEnvVariable/undefined_platform.d.ts.map +1 -0
  98. package/dist/types/envVariables/extractEnvVariable/vite.d.ts +3 -0
  99. package/dist/types/envVariables/extractEnvVariable/vite.d.ts.map +1 -0
  100. package/dist/types/envVariables/formatEnvVariable.d.ts +6 -0
  101. package/dist/types/envVariables/formatEnvVariable.d.ts.map +1 -0
  102. package/dist/{cjs → types}/envVariables/getConfiguration.d.ts +3 -6
  103. package/dist/types/envVariables/getConfiguration.d.ts.map +1 -0
  104. package/dist/types/envVariables/index.d.ts +5 -0
  105. package/dist/types/envVariables/index.d.ts.map +1 -0
  106. package/dist/types/envVariables/loadEnvFile.d.ts +3 -0
  107. package/dist/types/envVariables/loadEnvFile.d.ts.map +1 -0
  108. package/dist/{cjs → types}/envVariables/utils.d.ts +1 -1
  109. package/dist/types/envVariables/utils.d.ts.map +1 -0
  110. package/dist/types/index.d.ts +7 -0
  111. package/dist/types/index.d.ts.map +1 -0
  112. package/dist/{cjs → types}/types/config.d.ts +58 -24
  113. package/dist/types/types/config.d.ts.map +1 -0
  114. package/dist/{cjs → types}/types/locales.d.ts +9 -7
  115. package/dist/types/types/locales.d.ts.map +1 -0
  116. package/dist/types/utils/ESMxCJSRequire.d.ts +2 -0
  117. package/dist/types/utils/ESMxCJSRequire.d.ts.map +1 -0
  118. package/package.json +32 -17
  119. package/dist/cjs/client.d.ts +0 -3
  120. package/dist/cjs/configFile/buildConfigurationFields.d.ts +0 -10
  121. package/dist/cjs/configFile/getConfiguration.d.ts +0 -13
  122. package/dist/cjs/configFile/index.d.ts +0 -4
  123. package/dist/cjs/configFile/loadConfigurationFile.d.ts +0 -12
  124. package/dist/cjs/defaultValues/editor.d.ts +0 -4
  125. package/dist/cjs/defaultValues/internationalization.d.ts +0 -8
  126. package/dist/cjs/defaultValues/middleware.d.ts +0 -8
  127. package/dist/cjs/defaultValues/server.d.ts +0 -15
  128. package/dist/cjs/envVariables/detectPlatform.d.ts +0 -8
  129. package/dist/cjs/envVariables/extractEnvVariable/index.d.ts +0 -7
  130. package/dist/cjs/envVariables/extractEnvVariable/next.d.ts +0 -7
  131. package/dist/cjs/envVariables/extractEnvVariable/react_app.d.ts +0 -7
  132. package/dist/cjs/envVariables/extractEnvVariable/types.d.ts +0 -11
  133. package/dist/cjs/envVariables/extractEnvVariable/undefined_platform.d.ts +0 -7
  134. package/dist/cjs/envVariables/extractEnvVariable/vite.d.ts +0 -7
  135. package/dist/cjs/envVariables/extractEnvVariable/vite_env.d.d.ts +0 -2
  136. package/dist/cjs/envVariables/formatEnvVariable.d.ts +0 -8
  137. package/dist/cjs/envVariables/index.d.ts +0 -5
  138. package/dist/cjs/index.d.ts +0 -6
  139. package/dist/esm/client.d.mts +0 -3
  140. package/dist/esm/configFile/buildConfigurationFields.d.mts +0 -10
  141. package/dist/esm/configFile/getConfiguration.d.mts +0 -13
  142. package/dist/esm/configFile/index.d.mts +0 -4
  143. package/dist/esm/configFile/loadConfigurationFile.d.mts +0 -12
  144. package/dist/esm/configFile/searchConfigurationFile.d.mts +0 -18
  145. package/dist/esm/defaultValues/editor.d.mts +0 -4
  146. package/dist/esm/defaultValues/internationalization.d.mts +0 -8
  147. package/dist/esm/defaultValues/middleware.d.mts +0 -8
  148. package/dist/esm/defaultValues/server.d.mts +0 -15
  149. package/dist/esm/envVariables/detectPlatform.d.mts +0 -8
  150. package/dist/esm/envVariables/extractEnvVariable/index.d.mts +0 -7
  151. package/dist/esm/envVariables/extractEnvVariable/next.d.mts +0 -7
  152. package/dist/esm/envVariables/extractEnvVariable/react_app.d.mts +0 -7
  153. package/dist/esm/envVariables/extractEnvVariable/types.d.mts +0 -11
  154. package/dist/esm/envVariables/extractEnvVariable/undefined_platform.d.mts +0 -7
  155. package/dist/esm/envVariables/extractEnvVariable/vite.d.mts +0 -7
  156. package/dist/esm/envVariables/extractEnvVariable/vite_env.d.d.mts +0 -2
  157. package/dist/esm/envVariables/formatEnvVariable.d.mts +0 -8
  158. package/dist/esm/envVariables/getConfiguration.d.mts +0 -11
  159. package/dist/esm/envVariables/index.d.mts +0 -5
  160. package/dist/esm/envVariables/utils.d.mts +0 -7
  161. package/dist/esm/index.d.mts +0 -6
  162. package/dist/esm/types/config.d.mts +0 -372
  163. package/dist/esm/types/locales.d.mts +0 -469
@@ -1,372 +0,0 @@
1
- import { Locales } from './locales.mjs';
2
-
3
- type StrictMode = 'strict' | 'required_only' | 'loose';
4
- /**
5
- * Configuration for internationalization settings
6
- */
7
- type InternationalizationConfig = {
8
- /**
9
- * Locales available in the application
10
- *
11
- * Default: [Locales.ENGLISH]
12
- *
13
- * You can define a list of available locales to support in the application.
14
- */
15
- locales: Locales[];
16
- /**
17
- * Ensure strong implementations of internationalized content using typescript.
18
- * - If set to "strict", the translation `t` function will require each declared locales to be defined. If one locale is missing, or if a locale is not declared in your config, it will throw an error.
19
- * - If set to "required_only", the translation `t` function will require each declared locales to be defined. If one locale is missing, it will throw a warning. But will accept if a locale is not declared in your config, but exist.
20
- * - If set to "loose", the translation `t` function will accept any existing locale.
21
- *
22
- * Default: "required_only"
23
- */
24
- strictMode: StrictMode;
25
- /**
26
- * Default locale of the application for fallback
27
- *
28
- * Default: Locales.ENGLISH
29
- *
30
- * Used to specify a fallback locale in case no other locale is set.
31
- */
32
- defaultLocale: Locales;
33
- };
34
- type ServerSetCookieRule = 'always' | 'never';
35
- /**
36
- * Configuration for middleware behaviors
37
- */
38
- type MiddlewareConfig = {
39
- /**
40
- * Header name to get the locale from the request
41
- *
42
- * Default: 'x-intlayer-locale'
43
- *
44
- * The HTTP header key used to determine the current locale.
45
- */
46
- headerName: string;
47
- /**
48
- * Cookie name to store the locale information
49
- *
50
- * Default: 'NEXT_LOCALE'
51
- *
52
- * The cookie key where the locale information is stored.
53
- */
54
- cookieName: string;
55
- /**
56
- * Whether to prefix the default locale in the URL
57
- *
58
- * Default: false
59
- *
60
- * When set to true, the default locale is prefixed in the URL for localization purposes.
61
- */
62
- prefixDefault: boolean;
63
- /**
64
- * Base path for application URLs
65
- *
66
- * Default: ''
67
- *
68
- * Defines the base path where the application is accessible from.
69
- */
70
- basePath: string;
71
- /**
72
- * Strategy for setting the locale cookie on the server
73
- *
74
- * Default: 'always'
75
- *
76
- * This setting controls when the server sets the locale cookie. It can either set the cookie on every request or never set it.
77
- */
78
- serverSetCookie: ServerSetCookieRule;
79
- /**
80
- * Indicates if no prefix should be used in the URL for locale
81
- *
82
- * Default: false
83
- *
84
- * If true, no locale-based prefix is used in the URL.
85
- */
86
- noPrefix: boolean;
87
- };
88
- /**
89
- * Configuration for intlayer editor
90
- */
91
- type EditorConfig = {
92
- /**
93
- * Port number for the editor server
94
- *
95
- * Default: 4000
96
- *
97
- * The port number where the editor server runs.
98
- */
99
- port: number;
100
- /**
101
- * Indicates if the editor is active
102
- *
103
- * Default: true;
104
- *
105
- * If true, the editor is active and can be accessed.
106
- * If false, the editor is inactive and cannot be accessed.
107
- *
108
- * Usage:
109
- * ```js
110
- * {
111
- * // Other configurations
112
- * editor: {
113
- * enabled: process.env.NODE_ENV === 'development',
114
- * }
115
- * };
116
- * ```
117
- *
118
- */
119
- enabled: boolean;
120
- };
121
- /**
122
- * Custom configuration that can be provided to override default settings
123
- */
124
- type CustomIntlayerConfig = {
125
- /**
126
- * Custom internationalization configuration
127
- */
128
- internationalization?: Partial<InternationalizationConfig>;
129
- /**
130
- * Custom middleware configuration
131
- */
132
- middleware?: Partial<MiddlewareConfig>;
133
- /**
134
- * Custom content configuration
135
- */
136
- content?: Partial<ContentConfig>;
137
- /**
138
- * Custom editor configuration
139
- */
140
- editor?: Partial<EditorConfig>;
141
- };
142
- /**
143
- * Combined configuration for internationalization, middleware, and content
144
- */
145
- type IntlayerConfig = {
146
- /**
147
- * Internationalization configuration
148
- */
149
- internationalization: InternationalizationConfig;
150
- /**
151
- * Middleware configuration
152
- */
153
- middleware: MiddlewareConfig;
154
- /**
155
- * Content configuration
156
- */
157
- content: ContentConfig;
158
- /**
159
- * Intlayer editor configuration
160
- */
161
- editor: EditorConfig;
162
- };
163
- /**
164
- * Base configuration for content handling
165
- */
166
- type BaseContentConfig = {
167
- /**
168
- * File extensions of content to look for
169
- *
170
- * Default: ['.content.ts', '.content.js', '.content.cjs', '.content.mjs', '.content.json', '.content.tsx', '.content.jsx']
171
- *
172
- * List of file extensions to scan for content.
173
- */
174
- fileExtensions: string[];
175
- /**
176
- * Absolute path of the project's base directory
177
- *
178
- * Default: process.cwd()
179
- *
180
- * The root directory of the project, typically used for resolving other paths.
181
- */
182
- baseDir: string;
183
- /**
184
- * Name of the directory where the content is stored
185
- *
186
- * Default: 'src'
187
- *
188
- * Specifies the directory where the primary content is stored.
189
- */
190
- contentDirName: string;
191
- /**
192
- * Directories to be excluded from content processing
193
- *
194
- * Default: ['node_modules']
195
- *
196
- * A list of directories to exclude from content processing.
197
- */
198
- excludedPath: string[];
199
- /**
200
- * Name of the directory where results are stored
201
- *
202
- * Default: '.intlayer'
203
- *
204
- * The directory for storing intermediate or output results.
205
- */
206
- resultDirName: string;
207
- /**
208
- * Name of the directory for module augmentation
209
- *
210
- * Default: 'types'
211
- *
212
- * Defines the directory for additional module types.
213
- */
214
- moduleAugmentationDirName: string;
215
- /**
216
- * Name of the directory where dictionaries are stored
217
- *
218
- * Default: 'dictionary'
219
- *
220
- * The directory for storing localization dictionaries.
221
- *
222
- * Note:
223
- * - Ensure the dictionaries output includes intlayer to build the dictionaries for intlayer
224
- */
225
- dictionariesDirName: string;
226
- /**
227
- * Name of the directory where dictionaries are stored
228
- *
229
- * Default: 'i18n_dictionary'
230
- *
231
- * The directory for storing localization dictionaries.
232
- *
233
- * Note:
234
- * - Ensure the dictionaries output includes 'i18next' to build the dictionaries for i18next
235
- */
236
- i18nDictionariesDirName: string;
237
- /**
238
- * Name of the directory where dictionary types are stored
239
- *
240
- * Default: 'types'
241
- *
242
- * The directory for storing dictionary type definitions.
243
- */
244
- typeDirName: string;
245
- /**
246
- * Name of the directory where the main files are stored
247
- *
248
- * Default: 'main'
249
- *
250
- * Specifies the directory for storing main application files.
251
- */
252
- mainDirName: string;
253
- };
254
- type DictionaryOutput = 'intlayer' | 'i18next';
255
- /**
256
- * Configuration derived based on the base content configuration
257
- */
258
- type BaseDerivedConfig = {
259
- /**
260
- * Directory where the content is stored, relative to the base directory
261
- *
262
- * Default: {{baseDir}} / {{contentDirName}}
263
- *
264
- * Derived content directory based on the base configuration.
265
- */
266
- contentDir: string;
267
- /**
268
- * Directory where the results are stored, relative to the base directory
269
- *
270
- * Default: {{baseDir}} / {{resultDirName}}
271
- *
272
- * Derived results directory based on the base configuration.
273
- */
274
- resultDir: string;
275
- /**
276
- * Directory for module augmentation, relative to the base directory
277
- *
278
- * Default: {{baseDir}} / {{moduleAugmentationDirName}}
279
- *
280
- * Defines the derived path for module augmentation.
281
- */
282
- moduleAugmentationDir: string;
283
- /**
284
- * Type of dictionary to use as an output
285
- *
286
- * Default: ['intlayer']
287
- *
288
- * The type of dictionary to use as an output. It can be either 'intlayer' or 'i18next'.
289
- *
290
- * Note:
291
- * - 'i18next' is not yet ensure a 1:1 mapping with the i18next library.
292
- * - Removing 'intlayer' will break the compatibility with react-intlayer or next-intlayer
293
- *
294
- */
295
- dictionaryOutput: DictionaryOutput[];
296
- };
297
- /**
298
- * Configuration derived based on the result directory
299
- */
300
- type ResultDirDerivedConfig = {
301
- /**
302
- * Directory where dictionaries are stored, relative to the result directory
303
- *
304
- * Default: {{resultDir}} / {{dictionariesDirName}}
305
- *
306
- * Specifies the derived path for dictionaries relative to the result directory.
307
- */
308
- dictionariesDir: string;
309
- /**
310
- *
311
- * Directory where dictionaries are stored, relative to the result directory
312
- *
313
- * Default: {{resultDir}} / {{i18nDictionariesDirName}}
314
- *
315
- * Specifies the derived path for dictionaries relative to the result directory.
316
- *
317
- * Note:
318
- * - Ensure the i18n dictionaries output includes i18next to build the dictionaries for i18next
319
- */
320
- i18nDictionariesDir: string;
321
- /**
322
- * Directory where dictionary types are stored, relative to the result directory
323
- *
324
- * Default: {{resultDir}} / {{typeDirName}}
325
- *
326
- * Specifies the derived path for dictionary types relative to the result directory.
327
- */
328
- typesDir: string;
329
- /**
330
- * Directory where the main files are stored, relative to the result directory
331
- *
332
- * Default: {{resultDir}} / {{mainDirName}}
333
- *
334
- * Specifies the derived path for the main files relative to the result directory.
335
- */
336
- mainDir: string;
337
- };
338
- /**
339
- * Configuration for content patterns
340
- */
341
- type PatternsContentConfig = {
342
- /**
343
- * Patterns of files to watch for changes
344
- *
345
- * Default: ['/**\/*.content.ts', '/**\/*.content.js', '/**\/*.content.json', '/**\/*.content.cjs', '/**\/*.content.mjs', '/**\/*.content.tsx', '/**\/*.content.jsx']
346
- *
347
- * Defines file patterns for content to watch for changes.
348
- */
349
- watchedFilesPattern: string[];
350
- /**
351
- * Patterns of files to watch for changes including the relative path
352
- *
353
- * Default: ['{{contentDir}}/**\/*.content.ts', '{{contentDir}}/**\/*.content.js', '{{contentDir}}/**\/*.content.json', '{{contentDir}}/**\/*.content.cjs', '{{contentDir}}/**\/*.content.mjs', '{{contentDir}}/**\/*.content.tsx', '{{contentDir}}/**\/*.content.jsx']
354
- *
355
- * Specifies the file patterns for content to watch, including relative paths.
356
- */
357
- watchedFilesPatternWithPath: string[];
358
- /**
359
- * Pattern for output files including the relative path
360
- *
361
- * Default: '{{dictionariesDir}}/**\/*.json'
362
- *
363
- * Defines the pattern for output files, including the relative path.
364
- */
365
- outputFilesPatternWithPath: string;
366
- };
367
- /**
368
- * General configuration derived from the config file
369
- */
370
- type ContentConfig = BaseContentConfig & BaseDerivedConfig & ResultDirDerivedConfig & PatternsContentConfig;
371
-
372
- export type { BaseContentConfig, BaseDerivedConfig, ContentConfig, CustomIntlayerConfig, DictionaryOutput, EditorConfig, InternationalizationConfig, IntlayerConfig, MiddlewareConfig, PatternsContentConfig, ResultDirDerivedConfig, ServerSetCookieRule, StrictMode };