@lingo.dev/_spec 0.45.0 → 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": {}
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
 
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>]>>;
@@ -1089,7 +1089,7 @@ declare const configV1_11Definition: ConfigDefinition<{
1089
1089
  extraSource?: string | undefined;
1090
1090
  }>;
1091
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"]>, Z.ZodObject<{
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
1093
  include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
1094
1094
  path: Z.ZodString;
1095
1095
  delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
@@ -1195,7 +1195,7 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<{
1195
1195
  extraSource?: string | undefined;
1196
1196
  }>;
1197
1197
  $schema: Z.ZodDefault<Z.ZodString>;
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"]>, 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<{
1199
1199
  include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
1200
1200
  path: Z.ZodString;
1201
1201
  delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
@@ -1292,7 +1292,7 @@ declare function parseI18nConfig(rawConfig: unknown): {
1292
1292
  targets: string[];
1293
1293
  extraSource?: string | undefined;
1294
1294
  };
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", {
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", {
1296
1296
  include: (string | {
1297
1297
  path: string;
1298
1298
  delimiter?: "-" | "_" | null | undefined;
@@ -1326,7 +1326,7 @@ declare const defaultConfig: {
1326
1326
  targets: string[];
1327
1327
  extraSource?: string | undefined;
1328
1328
  };
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", {
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", {
1330
1330
  include: (string | {
1331
1331
  path: string;
1332
1332
  delimiter?: "-" | "_" | null | undefined;
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>]>>;
@@ -1089,7 +1089,7 @@ declare const configV1_11Definition: ConfigDefinition<{
1089
1089
  extraSource?: string | undefined;
1090
1090
  }>;
1091
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"]>, Z.ZodObject<{
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
1093
  include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
1094
1094
  path: Z.ZodString;
1095
1095
  delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
@@ -1195,7 +1195,7 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<{
1195
1195
  extraSource?: string | undefined;
1196
1196
  }>;
1197
1197
  $schema: Z.ZodDefault<Z.ZodString>;
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"]>, 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<{
1199
1199
  include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
1200
1200
  path: Z.ZodString;
1201
1201
  delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
@@ -1292,7 +1292,7 @@ declare function parseI18nConfig(rawConfig: unknown): {
1292
1292
  targets: string[];
1293
1293
  extraSource?: string | undefined;
1294
1294
  };
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", {
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", {
1296
1296
  include: (string | {
1297
1297
  path: string;
1298
1298
  delimiter?: "-" | "_" | null | undefined;
@@ -1326,7 +1326,7 @@ declare const defaultConfig: {
1326
1326
  targets: string[];
1327
1327
  extraSource?: string | undefined;
1328
1328
  };
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", {
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", {
1330
1330
  include: (string | {
1331
1331
  path: string;
1332
1332
  delimiter?: "-" | "_" | null | undefined;
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingo.dev/_spec",
3
- "version": "0.45.0",
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",