@lingo.dev/_spec 0.44.5 → 0.46.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.
@@ -163,7 +163,8 @@
163
163
  "vue-json",
164
164
  "typescript",
165
165
  "txt",
166
- "json-dictionary"
166
+ "json-dictionary",
167
+ "csv-per-locale"
167
168
  ]
168
169
  },
169
170
  "default": {}
@@ -228,6 +229,9 @@
228
229
  "biome"
229
230
  ],
230
231
  "description": "Code formatter to use for all buckets. Defaults to 'prettier' if not specified and a prettier config is found."
232
+ },
233
+ "vNext": {
234
+ "type": "string"
231
235
  }
232
236
  },
233
237
  "required": [
package/build/index.cjs CHANGED
@@ -380,7 +380,8 @@ var bucketTypes = [
380
380
  "vue-json",
381
381
  "typescript",
382
382
  "txt",
383
- "json-dictionary"
383
+ "json-dictionary",
384
+ "csv-per-locale"
384
385
  ];
385
386
  var bucketTypeSchema = _zod2.default.enum(bucketTypes);
386
387
 
@@ -724,7 +725,23 @@ var configV1_10Definition = extendConfigDefinition(
724
725
  })
725
726
  }
726
727
  );
727
- var LATEST_CONFIG_DEFINITION = configV1_10Definition;
728
+ var configV1_11Definition = extendConfigDefinition(
729
+ configV1_10Definition,
730
+ {
731
+ createSchema: (baseSchema) => baseSchema.extend({
732
+ vNext: _zod2.default.string().optional()
733
+ }),
734
+ createDefaultValue: (baseDefaultValue) => ({
735
+ ...baseDefaultValue,
736
+ version: "1.11"
737
+ }),
738
+ createUpgrader: (oldConfig) => ({
739
+ ...oldConfig,
740
+ version: "1.11"
741
+ })
742
+ }
743
+ );
744
+ var LATEST_CONFIG_DEFINITION = configV1_11Definition;
728
745
  function parseI18nConfig(rawConfig) {
729
746
  try {
730
747
  const result = LATEST_CONFIG_DEFINITION.parse(rawConfig);
@@ -768,4 +785,5 @@ var defaultConfig = LATEST_CONFIG_DEFINITION.defaultValue;
768
785
 
769
786
 
770
787
 
771
- exports.LATEST_CONFIG_DEFINITION = LATEST_CONFIG_DEFINITION; exports.bucketItemSchema = bucketItemSchema; exports.bucketTypeSchema = bucketTypeSchema; exports.bucketTypes = bucketTypes; exports.bucketValueSchemaV1_3 = bucketValueSchemaV1_3; exports.bucketValueSchemaV1_6 = bucketValueSchemaV1_6; exports.bucketValueSchemaV1_7 = bucketValueSchemaV1_7; exports.bucketValueSchemaV1_8 = bucketValueSchemaV1_8; exports.configV0Definition = configV0Definition; exports.configV1Definition = configV1Definition; exports.configV1_10Definition = configV1_10Definition; exports.configV1_1Definition = configV1_1Definition; exports.configV1_2Definition = configV1_2Definition; exports.configV1_3Definition = configV1_3Definition; exports.configV1_4Definition = configV1_4Definition; exports.configV1_5Definition = configV1_5Definition; exports.configV1_6Definition = configV1_6Definition; exports.configV1_7Definition = configV1_7Definition; exports.configV1_8Definition = configV1_8Definition; exports.configV1_9Definition = configV1_9Definition; exports.defaultConfig = defaultConfig; exports.getLocaleCodeDelimiter = getLocaleCodeDelimiter; exports.localeCodeSchema = localeCodeSchema; exports.localeCodes = localeCodes; exports.localeCodesFull = localeCodesFull; exports.localeCodesFullExplicitRegion = localeCodesFullExplicitRegion; exports.localeCodesFullUnderscore = localeCodesFullUnderscore; exports.localeCodesShort = localeCodesShort; exports.localeSchema = localeSchema; exports.normalizeLocale = normalizeLocale; exports.parseI18nConfig = parseI18nConfig; exports.resolveLocaleCode = resolveLocaleCode; exports.resolveOverriddenLocale = resolveOverriddenLocale;
788
+
789
+ exports.LATEST_CONFIG_DEFINITION = LATEST_CONFIG_DEFINITION; exports.bucketItemSchema = bucketItemSchema; exports.bucketTypeSchema = bucketTypeSchema; exports.bucketTypes = bucketTypes; exports.bucketValueSchemaV1_3 = bucketValueSchemaV1_3; exports.bucketValueSchemaV1_6 = bucketValueSchemaV1_6; exports.bucketValueSchemaV1_7 = bucketValueSchemaV1_7; exports.bucketValueSchemaV1_8 = bucketValueSchemaV1_8; exports.configV0Definition = configV0Definition; exports.configV1Definition = configV1Definition; exports.configV1_10Definition = configV1_10Definition; exports.configV1_11Definition = configV1_11Definition; exports.configV1_1Definition = configV1_1Definition; exports.configV1_2Definition = configV1_2Definition; exports.configV1_3Definition = configV1_3Definition; exports.configV1_4Definition = configV1_4Definition; exports.configV1_5Definition = configV1_5Definition; exports.configV1_6Definition = configV1_6Definition; exports.configV1_7Definition = configV1_7Definition; exports.configV1_8Definition = configV1_8Definition; exports.configV1_9Definition = configV1_9Definition; exports.defaultConfig = defaultConfig; exports.getLocaleCodeDelimiter = getLocaleCodeDelimiter; exports.localeCodeSchema = localeCodeSchema; exports.localeCodes = localeCodes; exports.localeCodesFull = localeCodesFull; exports.localeCodesFullExplicitRegion = localeCodesFullExplicitRegion; exports.localeCodesFullUnderscore = localeCodesFullUnderscore; exports.localeCodesShort = localeCodesShort; exports.localeSchema = localeSchema; exports.normalizeLocale = normalizeLocale; exports.parseI18nConfig = parseI18nConfig; exports.resolveLocaleCode = resolveLocaleCode; exports.resolveOverriddenLocale = resolveOverriddenLocale;
package/build/index.d.cts CHANGED
@@ -119,8 +119,8 @@ declare const resolveOverriddenLocale: (locale: string, delimiter?: LocaleDelimi
119
119
  */
120
120
  declare function normalizeLocale(locale: string): string;
121
121
 
122
- declare const bucketTypes: readonly ["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary"];
123
- declare const bucketTypeSchema: Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary"]>;
122
+ declare const bucketTypes: readonly ["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary", "csv-per-locale"];
123
+ declare const bucketTypeSchema: Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary", "csv-per-locale"]>;
124
124
 
125
125
  declare const localeSchema: Z.ZodObject<{
126
126
  source: Z.ZodEffects<Z.ZodString, string, string>;
@@ -153,7 +153,7 @@ declare const configV1Definition: ConfigDefinition<{
153
153
  source: string;
154
154
  targets: string[];
155
155
  }>;
156
- buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary"]>>>>;
156
+ buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary", "csv-per-locale"]>>>>;
157
157
  }, any>;
158
158
  declare const configV1_1Definition: ConfigDefinition<{
159
159
  version: Z.ZodDefault<Z.ZodUnion<[Z.ZodNumber, Z.ZodString]>>;
@@ -168,7 +168,7 @@ declare const configV1_1Definition: ConfigDefinition<{
168
168
  targets: string[];
169
169
  }>;
170
170
  } & {
171
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary"]>, Z.ZodObject<{
171
+ buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary", "csv-per-locale"]>, Z.ZodObject<{
172
172
  include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
173
173
  exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
174
174
  }, "strip", Z.ZodTypeAny, {
@@ -181,7 +181,7 @@ declare const configV1_1Definition: ConfigDefinition<{
181
181
  }, any>;
182
182
  declare const configV1_2Definition: ConfigDefinition<{
183
183
  version: Z.ZodDefault<Z.ZodUnion<[Z.ZodNumber, Z.ZodString]>>;
184
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary"]>, Z.ZodObject<{
184
+ buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary", "csv-per-locale"]>, Z.ZodObject<{
185
185
  include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
186
186
  exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
187
187
  }, "strip", Z.ZodTypeAny, {
@@ -278,7 +278,7 @@ declare const configV1_3Definition: ConfigDefinition<{
278
278
  extraSource?: string | undefined;
279
279
  }>;
280
280
  } & {
281
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary"]>, Z.ZodObject<{
281
+ buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary", "csv-per-locale"]>, Z.ZodObject<{
282
282
  include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
283
283
  path: Z.ZodString;
284
284
  delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
@@ -339,7 +339,7 @@ declare const configV1_4Definition: ConfigDefinition<{
339
339
  extraSource?: string | undefined;
340
340
  }>;
341
341
  } & {
342
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary"]>, Z.ZodObject<{
342
+ buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary", "csv-per-locale"]>, Z.ZodObject<{
343
343
  include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
344
344
  path: Z.ZodString;
345
345
  delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
@@ -402,7 +402,7 @@ declare const configV1_5Definition: ConfigDefinition<{
402
402
  extraSource?: string | undefined;
403
403
  }>;
404
404
  } & {
405
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary"]>, Z.ZodObject<{
405
+ buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary", "csv-per-locale"]>, Z.ZodObject<{
406
406
  include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
407
407
  path: Z.ZodString;
408
408
  delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
@@ -546,7 +546,7 @@ declare const configV1_6Definition: ConfigDefinition<{
546
546
  baseUrl?: string | undefined;
547
547
  }>>;
548
548
  } & {
549
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary"]>, Z.ZodObject<{
549
+ buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary", "csv-per-locale"]>, Z.ZodObject<{
550
550
  include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
551
551
  path: Z.ZodString;
552
552
  delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
@@ -679,7 +679,7 @@ declare const configV1_7Definition: ConfigDefinition<{
679
679
  baseUrl?: string | undefined;
680
680
  }>>;
681
681
  } & {
682
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary"]>, Z.ZodObject<{
682
+ buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary", "csv-per-locale"]>, Z.ZodObject<{
683
683
  include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
684
684
  path: Z.ZodString;
685
685
  delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
@@ -820,7 +820,7 @@ declare const configV1_8Definition: ConfigDefinition<{
820
820
  baseUrl?: string | undefined;
821
821
  }>>;
822
822
  } & {
823
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary"]>, Z.ZodObject<{
823
+ buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary", "csv-per-locale"]>, Z.ZodObject<{
824
824
  include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
825
825
  path: Z.ZodString;
826
826
  delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
@@ -910,7 +910,7 @@ declare const configV1_9Definition: ConfigDefinition<{
910
910
  baseUrl?: string | undefined;
911
911
  }>>;
912
912
  } & {
913
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary"]>, Z.ZodObject<{
913
+ buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary", "csv-per-locale"]>, Z.ZodObject<{
914
914
  include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
915
915
  path: Z.ZodString;
916
916
  delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
@@ -985,7 +985,7 @@ declare const configV1_10Definition: ConfigDefinition<{
985
985
  extraSource?: string | undefined;
986
986
  }>;
987
987
  $schema: Z.ZodDefault<Z.ZodString>;
988
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary"]>, Z.ZodObject<{
988
+ buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary", "csv-per-locale"]>, Z.ZodObject<{
989
989
  include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
990
990
  path: Z.ZodString;
991
991
  delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
@@ -1072,6 +1072,112 @@ declare const configV1_10Definition: ConfigDefinition<{
1072
1072
  } | undefined;
1073
1073
  }>>;
1074
1074
  }, any>;
1075
+ declare const configV1_11Definition: ConfigDefinition<{
1076
+ version: Z.ZodDefault<Z.ZodUnion<[Z.ZodNumber, Z.ZodString]>>;
1077
+ locale: Z.ZodObject<{
1078
+ source: Z.ZodEffects<Z.ZodString, string, string>;
1079
+ targets: Z.ZodArray<Z.ZodEffects<Z.ZodString, string, string>, "many">;
1080
+ } & {
1081
+ extraSource: Z.ZodOptional<Z.ZodEffects<Z.ZodString, string, string>>;
1082
+ }, "strip", Z.ZodTypeAny, {
1083
+ source: string;
1084
+ targets: string[];
1085
+ extraSource?: string | undefined;
1086
+ }, {
1087
+ source: string;
1088
+ targets: string[];
1089
+ extraSource?: string | undefined;
1090
+ }>;
1091
+ $schema: Z.ZodDefault<Z.ZodString>;
1092
+ buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary", "csv-per-locale"]>, Z.ZodObject<{
1093
+ include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
1094
+ path: Z.ZodString;
1095
+ delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
1096
+ }, "strip", Z.ZodTypeAny, {
1097
+ path: string;
1098
+ delimiter?: "-" | "_" | null | undefined;
1099
+ }, {
1100
+ path: string;
1101
+ delimiter?: "-" | "_" | null | undefined;
1102
+ }>]>, "many">>;
1103
+ exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
1104
+ path: Z.ZodString;
1105
+ delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
1106
+ }, "strip", Z.ZodTypeAny, {
1107
+ path: string;
1108
+ delimiter?: "-" | "_" | null | undefined;
1109
+ }, {
1110
+ path: string;
1111
+ delimiter?: "-" | "_" | null | undefined;
1112
+ }>]>, "many">>>;
1113
+ injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
1114
+ } & {
1115
+ lockedKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
1116
+ } & {
1117
+ lockedPatterns: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
1118
+ } & {
1119
+ ignoredKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
1120
+ }, "strip", Z.ZodTypeAny, {
1121
+ include: (string | {
1122
+ path: string;
1123
+ delimiter?: "-" | "_" | null | undefined;
1124
+ })[];
1125
+ exclude?: (string | {
1126
+ path: string;
1127
+ delimiter?: "-" | "_" | null | undefined;
1128
+ })[] | undefined;
1129
+ injectLocale?: string[] | undefined;
1130
+ lockedKeys?: string[] | undefined;
1131
+ lockedPatterns?: string[] | undefined;
1132
+ ignoredKeys?: string[] | undefined;
1133
+ }, {
1134
+ exclude?: (string | {
1135
+ path: string;
1136
+ delimiter?: "-" | "_" | null | undefined;
1137
+ })[] | undefined;
1138
+ include?: (string | {
1139
+ path: string;
1140
+ delimiter?: "-" | "_" | null | undefined;
1141
+ })[] | undefined;
1142
+ injectLocale?: string[] | undefined;
1143
+ lockedKeys?: string[] | undefined;
1144
+ lockedPatterns?: string[] | undefined;
1145
+ ignoredKeys?: string[] | undefined;
1146
+ }>>>;
1147
+ formatter: Z.ZodOptional<Z.ZodEnum<["prettier", "biome"]>>;
1148
+ } & {
1149
+ provider: Z.ZodOptional<Z.ZodObject<{
1150
+ id: Z.ZodEnum<["openai", "anthropic", "google", "ollama", "openrouter", "mistral"]>;
1151
+ model: Z.ZodString;
1152
+ prompt: Z.ZodString;
1153
+ baseUrl: Z.ZodOptional<Z.ZodString>;
1154
+ settings: Z.ZodOptional<Z.ZodObject<{
1155
+ temperature: Z.ZodOptional<Z.ZodNumber>;
1156
+ }, "strip", Z.ZodTypeAny, {
1157
+ temperature?: number | undefined;
1158
+ }, {
1159
+ temperature?: number | undefined;
1160
+ }>>;
1161
+ }, "strip", Z.ZodTypeAny, {
1162
+ id: "openai" | "anthropic" | "google" | "ollama" | "openrouter" | "mistral";
1163
+ model: string;
1164
+ prompt: string;
1165
+ baseUrl?: string | undefined;
1166
+ settings?: {
1167
+ temperature?: number | undefined;
1168
+ } | undefined;
1169
+ }, {
1170
+ id: "openai" | "anthropic" | "google" | "ollama" | "openrouter" | "mistral";
1171
+ model: string;
1172
+ prompt: string;
1173
+ baseUrl?: string | undefined;
1174
+ settings?: {
1175
+ temperature?: number | undefined;
1176
+ } | undefined;
1177
+ }>>;
1178
+ } & {
1179
+ vNext: Z.ZodOptional<Z.ZodString>;
1180
+ }, any>;
1075
1181
  declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<{
1076
1182
  version: Z.ZodDefault<Z.ZodUnion<[Z.ZodNumber, Z.ZodString]>>;
1077
1183
  locale: Z.ZodObject<{
@@ -1089,7 +1195,7 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<{
1089
1195
  extraSource?: string | undefined;
1090
1196
  }>;
1091
1197
  $schema: Z.ZodDefault<Z.ZodString>;
1092
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary"]>, Z.ZodObject<{
1198
+ buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary", "csv-per-locale"]>, Z.ZodObject<{
1093
1199
  include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
1094
1200
  path: Z.ZodString;
1095
1201
  delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
@@ -1175,6 +1281,8 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<{
1175
1281
  temperature?: number | undefined;
1176
1282
  } | undefined;
1177
1283
  }>>;
1284
+ } & {
1285
+ vNext: Z.ZodOptional<Z.ZodString>;
1178
1286
  }, any>;
1179
1287
  type I18nConfig = Z.infer<(typeof LATEST_CONFIG_DEFINITION)["schema"]>;
1180
1288
  declare function parseI18nConfig(rawConfig: unknown): {
@@ -1184,7 +1292,7 @@ declare function parseI18nConfig(rawConfig: unknown): {
1184
1292
  targets: string[];
1185
1293
  extraSource?: string | undefined;
1186
1294
  };
1187
- buckets: Partial<Record<"ail" | "android" | "csv" | "ejs" | "flutter" | "html" | "json" | "json5" | "jsonc" | "markdown" | "markdoc" | "mdx" | "mjml" | "twig" | "xcode-strings" | "xcode-stringsdict" | "xcode-xcstrings" | "xcode-xcstrings-v2" | "yaml" | "yaml-root-key" | "properties" | "po" | "xliff" | "xml" | "srt" | "dato" | "compiler" | "vtt" | "php" | "vue-json" | "typescript" | "txt" | "json-dictionary", {
1295
+ buckets: Partial<Record<"ail" | "android" | "csv" | "ejs" | "flutter" | "html" | "json" | "json5" | "jsonc" | "markdown" | "markdoc" | "mdx" | "mjml" | "twig" | "xcode-strings" | "xcode-stringsdict" | "xcode-xcstrings" | "xcode-xcstrings-v2" | "yaml" | "yaml-root-key" | "properties" | "po" | "xliff" | "xml" | "srt" | "dato" | "compiler" | "vtt" | "php" | "vue-json" | "typescript" | "txt" | "json-dictionary" | "csv-per-locale", {
1188
1296
  include: (string | {
1189
1297
  path: string;
1190
1298
  delimiter?: "-" | "_" | null | undefined;
@@ -1209,6 +1317,7 @@ declare function parseI18nConfig(rawConfig: unknown): {
1209
1317
  } | undefined;
1210
1318
  } | undefined;
1211
1319
  formatter?: "prettier" | "biome" | undefined;
1320
+ vNext?: string | undefined;
1212
1321
  };
1213
1322
  declare const defaultConfig: {
1214
1323
  version: string | number;
@@ -1217,7 +1326,7 @@ declare const defaultConfig: {
1217
1326
  targets: string[];
1218
1327
  extraSource?: string | undefined;
1219
1328
  };
1220
- buckets: Partial<Record<"ail" | "android" | "csv" | "ejs" | "flutter" | "html" | "json" | "json5" | "jsonc" | "markdown" | "markdoc" | "mdx" | "mjml" | "twig" | "xcode-strings" | "xcode-stringsdict" | "xcode-xcstrings" | "xcode-xcstrings-v2" | "yaml" | "yaml-root-key" | "properties" | "po" | "xliff" | "xml" | "srt" | "dato" | "compiler" | "vtt" | "php" | "vue-json" | "typescript" | "txt" | "json-dictionary", {
1329
+ buckets: Partial<Record<"ail" | "android" | "csv" | "ejs" | "flutter" | "html" | "json" | "json5" | "jsonc" | "markdown" | "markdoc" | "mdx" | "mjml" | "twig" | "xcode-strings" | "xcode-stringsdict" | "xcode-xcstrings" | "xcode-xcstrings-v2" | "yaml" | "yaml-root-key" | "properties" | "po" | "xliff" | "xml" | "srt" | "dato" | "compiler" | "vtt" | "php" | "vue-json" | "typescript" | "txt" | "json-dictionary" | "csv-per-locale", {
1221
1330
  include: (string | {
1222
1331
  path: string;
1223
1332
  delimiter?: "-" | "_" | null | undefined;
@@ -1242,6 +1351,7 @@ declare const defaultConfig: {
1242
1351
  } | undefined;
1243
1352
  } | undefined;
1244
1353
  formatter?: "prettier" | "biome" | undefined;
1354
+ vNext?: string | undefined;
1245
1355
  };
1246
1356
 
1247
- export { type BucketItem, type I18nConfig, LATEST_CONFIG_DEFINITION, type LocaleCode, type LocaleCodeFull, type LocaleCodeShort, type LocaleDelimiter, bucketItemSchema, bucketTypeSchema, bucketTypes, bucketValueSchemaV1_3, bucketValueSchemaV1_6, bucketValueSchemaV1_7, bucketValueSchemaV1_8, configV0Definition, configV1Definition, configV1_10Definition, configV1_1Definition, configV1_2Definition, configV1_3Definition, configV1_4Definition, configV1_5Definition, configV1_6Definition, configV1_7Definition, configV1_8Definition, configV1_9Definition, defaultConfig, getLocaleCodeDelimiter, localeCodeSchema, localeCodes, localeCodesFull, localeCodesFullExplicitRegion, localeCodesFullUnderscore, localeCodesShort, localeSchema, normalizeLocale, parseI18nConfig, resolveLocaleCode, resolveOverriddenLocale };
1357
+ export { type BucketItem, type I18nConfig, LATEST_CONFIG_DEFINITION, type LocaleCode, type LocaleCodeFull, type LocaleCodeShort, type LocaleDelimiter, bucketItemSchema, bucketTypeSchema, bucketTypes, bucketValueSchemaV1_3, bucketValueSchemaV1_6, bucketValueSchemaV1_7, bucketValueSchemaV1_8, configV0Definition, configV1Definition, configV1_10Definition, configV1_11Definition, configV1_1Definition, configV1_2Definition, configV1_3Definition, configV1_4Definition, configV1_5Definition, configV1_6Definition, configV1_7Definition, configV1_8Definition, configV1_9Definition, defaultConfig, getLocaleCodeDelimiter, localeCodeSchema, localeCodes, localeCodesFull, localeCodesFullExplicitRegion, localeCodesFullUnderscore, localeCodesShort, localeSchema, normalizeLocale, parseI18nConfig, resolveLocaleCode, resolveOverriddenLocale };
package/build/index.d.ts CHANGED
@@ -119,8 +119,8 @@ declare const resolveOverriddenLocale: (locale: string, delimiter?: LocaleDelimi
119
119
  */
120
120
  declare function normalizeLocale(locale: string): string;
121
121
 
122
- declare const bucketTypes: readonly ["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary"];
123
- declare const bucketTypeSchema: Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary"]>;
122
+ declare const bucketTypes: readonly ["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary", "csv-per-locale"];
123
+ declare const bucketTypeSchema: Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary", "csv-per-locale"]>;
124
124
 
125
125
  declare const localeSchema: Z.ZodObject<{
126
126
  source: Z.ZodEffects<Z.ZodString, string, string>;
@@ -153,7 +153,7 @@ declare const configV1Definition: ConfigDefinition<{
153
153
  source: string;
154
154
  targets: string[];
155
155
  }>;
156
- buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary"]>>>>;
156
+ buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary", "csv-per-locale"]>>>>;
157
157
  }, any>;
158
158
  declare const configV1_1Definition: ConfigDefinition<{
159
159
  version: Z.ZodDefault<Z.ZodUnion<[Z.ZodNumber, Z.ZodString]>>;
@@ -168,7 +168,7 @@ declare const configV1_1Definition: ConfigDefinition<{
168
168
  targets: string[];
169
169
  }>;
170
170
  } & {
171
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary"]>, Z.ZodObject<{
171
+ buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary", "csv-per-locale"]>, Z.ZodObject<{
172
172
  include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
173
173
  exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
174
174
  }, "strip", Z.ZodTypeAny, {
@@ -181,7 +181,7 @@ declare const configV1_1Definition: ConfigDefinition<{
181
181
  }, any>;
182
182
  declare const configV1_2Definition: ConfigDefinition<{
183
183
  version: Z.ZodDefault<Z.ZodUnion<[Z.ZodNumber, Z.ZodString]>>;
184
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary"]>, Z.ZodObject<{
184
+ buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary", "csv-per-locale"]>, Z.ZodObject<{
185
185
  include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
186
186
  exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
187
187
  }, "strip", Z.ZodTypeAny, {
@@ -278,7 +278,7 @@ declare const configV1_3Definition: ConfigDefinition<{
278
278
  extraSource?: string | undefined;
279
279
  }>;
280
280
  } & {
281
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary"]>, Z.ZodObject<{
281
+ buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary", "csv-per-locale"]>, Z.ZodObject<{
282
282
  include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
283
283
  path: Z.ZodString;
284
284
  delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
@@ -339,7 +339,7 @@ declare const configV1_4Definition: ConfigDefinition<{
339
339
  extraSource?: string | undefined;
340
340
  }>;
341
341
  } & {
342
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary"]>, Z.ZodObject<{
342
+ buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary", "csv-per-locale"]>, Z.ZodObject<{
343
343
  include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
344
344
  path: Z.ZodString;
345
345
  delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
@@ -402,7 +402,7 @@ declare const configV1_5Definition: ConfigDefinition<{
402
402
  extraSource?: string | undefined;
403
403
  }>;
404
404
  } & {
405
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary"]>, Z.ZodObject<{
405
+ buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary", "csv-per-locale"]>, Z.ZodObject<{
406
406
  include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
407
407
  path: Z.ZodString;
408
408
  delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
@@ -546,7 +546,7 @@ declare const configV1_6Definition: ConfigDefinition<{
546
546
  baseUrl?: string | undefined;
547
547
  }>>;
548
548
  } & {
549
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary"]>, Z.ZodObject<{
549
+ buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary", "csv-per-locale"]>, Z.ZodObject<{
550
550
  include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
551
551
  path: Z.ZodString;
552
552
  delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
@@ -679,7 +679,7 @@ declare const configV1_7Definition: ConfigDefinition<{
679
679
  baseUrl?: string | undefined;
680
680
  }>>;
681
681
  } & {
682
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary"]>, Z.ZodObject<{
682
+ buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary", "csv-per-locale"]>, Z.ZodObject<{
683
683
  include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
684
684
  path: Z.ZodString;
685
685
  delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
@@ -820,7 +820,7 @@ declare const configV1_8Definition: ConfigDefinition<{
820
820
  baseUrl?: string | undefined;
821
821
  }>>;
822
822
  } & {
823
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary"]>, Z.ZodObject<{
823
+ buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary", "csv-per-locale"]>, Z.ZodObject<{
824
824
  include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
825
825
  path: Z.ZodString;
826
826
  delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
@@ -910,7 +910,7 @@ declare const configV1_9Definition: ConfigDefinition<{
910
910
  baseUrl?: string | undefined;
911
911
  }>>;
912
912
  } & {
913
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary"]>, Z.ZodObject<{
913
+ buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary", "csv-per-locale"]>, Z.ZodObject<{
914
914
  include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
915
915
  path: Z.ZodString;
916
916
  delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
@@ -985,7 +985,7 @@ declare const configV1_10Definition: ConfigDefinition<{
985
985
  extraSource?: string | undefined;
986
986
  }>;
987
987
  $schema: Z.ZodDefault<Z.ZodString>;
988
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary"]>, Z.ZodObject<{
988
+ buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary", "csv-per-locale"]>, Z.ZodObject<{
989
989
  include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
990
990
  path: Z.ZodString;
991
991
  delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
@@ -1072,6 +1072,112 @@ declare const configV1_10Definition: ConfigDefinition<{
1072
1072
  } | undefined;
1073
1073
  }>>;
1074
1074
  }, any>;
1075
+ declare const configV1_11Definition: ConfigDefinition<{
1076
+ version: Z.ZodDefault<Z.ZodUnion<[Z.ZodNumber, Z.ZodString]>>;
1077
+ locale: Z.ZodObject<{
1078
+ source: Z.ZodEffects<Z.ZodString, string, string>;
1079
+ targets: Z.ZodArray<Z.ZodEffects<Z.ZodString, string, string>, "many">;
1080
+ } & {
1081
+ extraSource: Z.ZodOptional<Z.ZodEffects<Z.ZodString, string, string>>;
1082
+ }, "strip", Z.ZodTypeAny, {
1083
+ source: string;
1084
+ targets: string[];
1085
+ extraSource?: string | undefined;
1086
+ }, {
1087
+ source: string;
1088
+ targets: string[];
1089
+ extraSource?: string | undefined;
1090
+ }>;
1091
+ $schema: Z.ZodDefault<Z.ZodString>;
1092
+ buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary", "csv-per-locale"]>, Z.ZodObject<{
1093
+ include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
1094
+ path: Z.ZodString;
1095
+ delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
1096
+ }, "strip", Z.ZodTypeAny, {
1097
+ path: string;
1098
+ delimiter?: "-" | "_" | null | undefined;
1099
+ }, {
1100
+ path: string;
1101
+ delimiter?: "-" | "_" | null | undefined;
1102
+ }>]>, "many">>;
1103
+ exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
1104
+ path: Z.ZodString;
1105
+ delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
1106
+ }, "strip", Z.ZodTypeAny, {
1107
+ path: string;
1108
+ delimiter?: "-" | "_" | null | undefined;
1109
+ }, {
1110
+ path: string;
1111
+ delimiter?: "-" | "_" | null | undefined;
1112
+ }>]>, "many">>>;
1113
+ injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
1114
+ } & {
1115
+ lockedKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
1116
+ } & {
1117
+ lockedPatterns: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
1118
+ } & {
1119
+ ignoredKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
1120
+ }, "strip", Z.ZodTypeAny, {
1121
+ include: (string | {
1122
+ path: string;
1123
+ delimiter?: "-" | "_" | null | undefined;
1124
+ })[];
1125
+ exclude?: (string | {
1126
+ path: string;
1127
+ delimiter?: "-" | "_" | null | undefined;
1128
+ })[] | undefined;
1129
+ injectLocale?: string[] | undefined;
1130
+ lockedKeys?: string[] | undefined;
1131
+ lockedPatterns?: string[] | undefined;
1132
+ ignoredKeys?: string[] | undefined;
1133
+ }, {
1134
+ exclude?: (string | {
1135
+ path: string;
1136
+ delimiter?: "-" | "_" | null | undefined;
1137
+ })[] | undefined;
1138
+ include?: (string | {
1139
+ path: string;
1140
+ delimiter?: "-" | "_" | null | undefined;
1141
+ })[] | undefined;
1142
+ injectLocale?: string[] | undefined;
1143
+ lockedKeys?: string[] | undefined;
1144
+ lockedPatterns?: string[] | undefined;
1145
+ ignoredKeys?: string[] | undefined;
1146
+ }>>>;
1147
+ formatter: Z.ZodOptional<Z.ZodEnum<["prettier", "biome"]>>;
1148
+ } & {
1149
+ provider: Z.ZodOptional<Z.ZodObject<{
1150
+ id: Z.ZodEnum<["openai", "anthropic", "google", "ollama", "openrouter", "mistral"]>;
1151
+ model: Z.ZodString;
1152
+ prompt: Z.ZodString;
1153
+ baseUrl: Z.ZodOptional<Z.ZodString>;
1154
+ settings: Z.ZodOptional<Z.ZodObject<{
1155
+ temperature: Z.ZodOptional<Z.ZodNumber>;
1156
+ }, "strip", Z.ZodTypeAny, {
1157
+ temperature?: number | undefined;
1158
+ }, {
1159
+ temperature?: number | undefined;
1160
+ }>>;
1161
+ }, "strip", Z.ZodTypeAny, {
1162
+ id: "openai" | "anthropic" | "google" | "ollama" | "openrouter" | "mistral";
1163
+ model: string;
1164
+ prompt: string;
1165
+ baseUrl?: string | undefined;
1166
+ settings?: {
1167
+ temperature?: number | undefined;
1168
+ } | undefined;
1169
+ }, {
1170
+ id: "openai" | "anthropic" | "google" | "ollama" | "openrouter" | "mistral";
1171
+ model: string;
1172
+ prompt: string;
1173
+ baseUrl?: string | undefined;
1174
+ settings?: {
1175
+ temperature?: number | undefined;
1176
+ } | undefined;
1177
+ }>>;
1178
+ } & {
1179
+ vNext: Z.ZodOptional<Z.ZodString>;
1180
+ }, any>;
1075
1181
  declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<{
1076
1182
  version: Z.ZodDefault<Z.ZodUnion<[Z.ZodNumber, Z.ZodString]>>;
1077
1183
  locale: Z.ZodObject<{
@@ -1089,7 +1195,7 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<{
1089
1195
  extraSource?: string | undefined;
1090
1196
  }>;
1091
1197
  $schema: Z.ZodDefault<Z.ZodString>;
1092
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary"]>, Z.ZodObject<{
1198
+ buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary", "csv-per-locale"]>, Z.ZodObject<{
1093
1199
  include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
1094
1200
  path: Z.ZodString;
1095
1201
  delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
@@ -1175,6 +1281,8 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<{
1175
1281
  temperature?: number | undefined;
1176
1282
  } | undefined;
1177
1283
  }>>;
1284
+ } & {
1285
+ vNext: Z.ZodOptional<Z.ZodString>;
1178
1286
  }, any>;
1179
1287
  type I18nConfig = Z.infer<(typeof LATEST_CONFIG_DEFINITION)["schema"]>;
1180
1288
  declare function parseI18nConfig(rawConfig: unknown): {
@@ -1184,7 +1292,7 @@ declare function parseI18nConfig(rawConfig: unknown): {
1184
1292
  targets: string[];
1185
1293
  extraSource?: string | undefined;
1186
1294
  };
1187
- buckets: Partial<Record<"ail" | "android" | "csv" | "ejs" | "flutter" | "html" | "json" | "json5" | "jsonc" | "markdown" | "markdoc" | "mdx" | "mjml" | "twig" | "xcode-strings" | "xcode-stringsdict" | "xcode-xcstrings" | "xcode-xcstrings-v2" | "yaml" | "yaml-root-key" | "properties" | "po" | "xliff" | "xml" | "srt" | "dato" | "compiler" | "vtt" | "php" | "vue-json" | "typescript" | "txt" | "json-dictionary", {
1295
+ buckets: Partial<Record<"ail" | "android" | "csv" | "ejs" | "flutter" | "html" | "json" | "json5" | "jsonc" | "markdown" | "markdoc" | "mdx" | "mjml" | "twig" | "xcode-strings" | "xcode-stringsdict" | "xcode-xcstrings" | "xcode-xcstrings-v2" | "yaml" | "yaml-root-key" | "properties" | "po" | "xliff" | "xml" | "srt" | "dato" | "compiler" | "vtt" | "php" | "vue-json" | "typescript" | "txt" | "json-dictionary" | "csv-per-locale", {
1188
1296
  include: (string | {
1189
1297
  path: string;
1190
1298
  delimiter?: "-" | "_" | null | undefined;
@@ -1209,6 +1317,7 @@ declare function parseI18nConfig(rawConfig: unknown): {
1209
1317
  } | undefined;
1210
1318
  } | undefined;
1211
1319
  formatter?: "prettier" | "biome" | undefined;
1320
+ vNext?: string | undefined;
1212
1321
  };
1213
1322
  declare const defaultConfig: {
1214
1323
  version: string | number;
@@ -1217,7 +1326,7 @@ declare const defaultConfig: {
1217
1326
  targets: string[];
1218
1327
  extraSource?: string | undefined;
1219
1328
  };
1220
- buckets: Partial<Record<"ail" | "android" | "csv" | "ejs" | "flutter" | "html" | "json" | "json5" | "jsonc" | "markdown" | "markdoc" | "mdx" | "mjml" | "twig" | "xcode-strings" | "xcode-stringsdict" | "xcode-xcstrings" | "xcode-xcstrings-v2" | "yaml" | "yaml-root-key" | "properties" | "po" | "xliff" | "xml" | "srt" | "dato" | "compiler" | "vtt" | "php" | "vue-json" | "typescript" | "txt" | "json-dictionary", {
1329
+ buckets: Partial<Record<"ail" | "android" | "csv" | "ejs" | "flutter" | "html" | "json" | "json5" | "jsonc" | "markdown" | "markdoc" | "mdx" | "mjml" | "twig" | "xcode-strings" | "xcode-stringsdict" | "xcode-xcstrings" | "xcode-xcstrings-v2" | "yaml" | "yaml-root-key" | "properties" | "po" | "xliff" | "xml" | "srt" | "dato" | "compiler" | "vtt" | "php" | "vue-json" | "typescript" | "txt" | "json-dictionary" | "csv-per-locale", {
1221
1330
  include: (string | {
1222
1331
  path: string;
1223
1332
  delimiter?: "-" | "_" | null | undefined;
@@ -1242,6 +1351,7 @@ declare const defaultConfig: {
1242
1351
  } | undefined;
1243
1352
  } | undefined;
1244
1353
  formatter?: "prettier" | "biome" | undefined;
1354
+ vNext?: string | undefined;
1245
1355
  };
1246
1356
 
1247
- export { type BucketItem, type I18nConfig, LATEST_CONFIG_DEFINITION, type LocaleCode, type LocaleCodeFull, type LocaleCodeShort, type LocaleDelimiter, bucketItemSchema, bucketTypeSchema, bucketTypes, bucketValueSchemaV1_3, bucketValueSchemaV1_6, bucketValueSchemaV1_7, bucketValueSchemaV1_8, configV0Definition, configV1Definition, configV1_10Definition, configV1_1Definition, configV1_2Definition, configV1_3Definition, configV1_4Definition, configV1_5Definition, configV1_6Definition, configV1_7Definition, configV1_8Definition, configV1_9Definition, defaultConfig, getLocaleCodeDelimiter, localeCodeSchema, localeCodes, localeCodesFull, localeCodesFullExplicitRegion, localeCodesFullUnderscore, localeCodesShort, localeSchema, normalizeLocale, parseI18nConfig, resolveLocaleCode, resolveOverriddenLocale };
1357
+ export { type BucketItem, type I18nConfig, LATEST_CONFIG_DEFINITION, type LocaleCode, type LocaleCodeFull, type LocaleCodeShort, type LocaleDelimiter, bucketItemSchema, bucketTypeSchema, bucketTypes, bucketValueSchemaV1_3, bucketValueSchemaV1_6, bucketValueSchemaV1_7, bucketValueSchemaV1_8, configV0Definition, configV1Definition, configV1_10Definition, configV1_11Definition, configV1_1Definition, configV1_2Definition, configV1_3Definition, configV1_4Definition, configV1_5Definition, configV1_6Definition, configV1_7Definition, configV1_8Definition, configV1_9Definition, defaultConfig, getLocaleCodeDelimiter, localeCodeSchema, localeCodes, localeCodesFull, localeCodesFullExplicitRegion, localeCodesFullUnderscore, localeCodesShort, localeSchema, normalizeLocale, parseI18nConfig, resolveLocaleCode, resolveOverriddenLocale };
package/build/index.mjs CHANGED
@@ -380,7 +380,8 @@ var bucketTypes = [
380
380
  "vue-json",
381
381
  "typescript",
382
382
  "txt",
383
- "json-dictionary"
383
+ "json-dictionary",
384
+ "csv-per-locale"
384
385
  ];
385
386
  var bucketTypeSchema = Z2.enum(bucketTypes);
386
387
 
@@ -724,7 +725,23 @@ var configV1_10Definition = extendConfigDefinition(
724
725
  })
725
726
  }
726
727
  );
727
- var LATEST_CONFIG_DEFINITION = configV1_10Definition;
728
+ var configV1_11Definition = extendConfigDefinition(
729
+ configV1_10Definition,
730
+ {
731
+ createSchema: (baseSchema) => baseSchema.extend({
732
+ vNext: Z3.string().optional()
733
+ }),
734
+ createDefaultValue: (baseDefaultValue) => ({
735
+ ...baseDefaultValue,
736
+ version: "1.11"
737
+ }),
738
+ createUpgrader: (oldConfig) => ({
739
+ ...oldConfig,
740
+ version: "1.11"
741
+ })
742
+ }
743
+ );
744
+ var LATEST_CONFIG_DEFINITION = configV1_11Definition;
728
745
  function parseI18nConfig(rawConfig) {
729
746
  try {
730
747
  const result = LATEST_CONFIG_DEFINITION.parse(rawConfig);
@@ -746,6 +763,7 @@ export {
746
763
  configV0Definition,
747
764
  configV1Definition,
748
765
  configV1_10Definition,
766
+ configV1_11Definition,
749
767
  configV1_1Definition,
750
768
  configV1_2Definition,
751
769
  configV1_3Definition,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingo.dev/_spec",
3
- "version": "0.44.5",
3
+ "version": "0.46.0",
4
4
  "description": "Lingo.dev open specification",
5
5
  "private": false,
6
6
  "repository": {
@@ -26,7 +26,7 @@
26
26
  "dependencies": {
27
27
  "zod": "3.25.76",
28
28
  "zod-to-json-schema": "3.25.0",
29
- "@lingo.dev/_locales": "0.3.2"
29
+ "@lingo.dev/_locales": "0.3.3"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/node": "22.13.5",