@lingo.dev/_spec 0.30.3 → 0.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/i18n.schema.json +9 -1
- package/build/index.cjs +25 -3
- package/build/index.d.cts +357 -28
- package/build/index.d.ts +357 -28
- package/build/index.mjs +24 -2
- package/package.json +2 -2
package/build/index.d.cts
CHANGED
@@ -114,8 +114,8 @@ declare const resolveOverriddenLocale: (locale: string, delimiter?: LocaleDelimi
|
|
114
114
|
*/
|
115
115
|
declare function normalizeLocale(locale: string): string;
|
116
116
|
|
117
|
-
declare const bucketTypes: readonly ["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json"];
|
118
|
-
declare const bucketTypeSchema: Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json"]>;
|
117
|
+
declare const bucketTypes: readonly ["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript"];
|
118
|
+
declare const bucketTypeSchema: Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript"]>;
|
119
119
|
|
120
120
|
declare const localeSchema: Z.ZodObject<{
|
121
121
|
source: Z.ZodEffects<Z.ZodString, string, string>;
|
@@ -148,7 +148,7 @@ declare const configV1Definition: ConfigDefinition<Z.objectUtil.extendShape<{
|
|
148
148
|
source: string;
|
149
149
|
targets: string[];
|
150
150
|
}>;
|
151
|
-
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json"]>>>>;
|
151
|
+
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript"]>>>>;
|
152
152
|
}>, Z.ZodRawShape>;
|
153
153
|
declare const configV1_1Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.objectUtil.extendShape<{
|
154
154
|
version: Z.ZodDefault<Z.ZodNumber>;
|
@@ -163,9 +163,9 @@ declare const configV1_1Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
163
163
|
source: string;
|
164
164
|
targets: string[];
|
165
165
|
}>;
|
166
|
-
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json"]>>>>;
|
166
|
+
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript"]>>>>;
|
167
167
|
}>, {
|
168
|
-
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json"]>, Z.ZodObject<{
|
168
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript"]>, Z.ZodObject<{
|
169
169
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
|
170
170
|
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
171
171
|
}, "strip", Z.ZodTypeAny, {
|
@@ -189,9 +189,9 @@ declare const configV1_2Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
189
189
|
source: string;
|
190
190
|
targets: string[];
|
191
191
|
}>;
|
192
|
-
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json"]>>>>;
|
192
|
+
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript"]>>>>;
|
193
193
|
}>, {
|
194
|
-
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json"]>, Z.ZodObject<{
|
194
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript"]>, Z.ZodObject<{
|
195
195
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
|
196
196
|
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
197
197
|
}, "strip", Z.ZodTypeAny, {
|
@@ -284,9 +284,9 @@ declare const configV1_3Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
284
284
|
source: string;
|
285
285
|
targets: string[];
|
286
286
|
}>;
|
287
|
-
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json"]>>>>;
|
287
|
+
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript"]>>>>;
|
288
288
|
}>, {
|
289
|
-
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json"]>, Z.ZodObject<{
|
289
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript"]>, Z.ZodObject<{
|
290
290
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
|
291
291
|
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
292
292
|
}, "strip", Z.ZodTypeAny, {
|
@@ -312,7 +312,7 @@ declare const configV1_3Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
312
312
|
extraSource?: string | undefined;
|
313
313
|
}>;
|
314
314
|
}>, {
|
315
|
-
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json"]>, Z.ZodObject<{
|
315
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript"]>, Z.ZodObject<{
|
316
316
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
317
317
|
path: Z.ZodString;
|
318
318
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -369,9 +369,9 @@ declare const configV1_4Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
369
369
|
source: string;
|
370
370
|
targets: string[];
|
371
371
|
}>;
|
372
|
-
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json"]>>>>;
|
372
|
+
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript"]>>>>;
|
373
373
|
}>, {
|
374
|
-
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json"]>, Z.ZodObject<{
|
374
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript"]>, Z.ZodObject<{
|
375
375
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
|
376
376
|
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
377
377
|
}, "strip", Z.ZodTypeAny, {
|
@@ -397,7 +397,7 @@ declare const configV1_4Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
397
397
|
extraSource?: string | undefined;
|
398
398
|
}>;
|
399
399
|
}>, {
|
400
|
-
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json"]>, Z.ZodObject<{
|
400
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript"]>, Z.ZodObject<{
|
401
401
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
402
402
|
path: Z.ZodString;
|
403
403
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -456,9 +456,9 @@ declare const configV1_5Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
456
456
|
source: string;
|
457
457
|
targets: string[];
|
458
458
|
}>;
|
459
|
-
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json"]>>>>;
|
459
|
+
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript"]>>>>;
|
460
460
|
}>, {
|
461
|
-
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json"]>, Z.ZodObject<{
|
461
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript"]>, Z.ZodObject<{
|
462
462
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
|
463
463
|
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
464
464
|
}, "strip", Z.ZodTypeAny, {
|
@@ -484,7 +484,7 @@ declare const configV1_5Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
484
484
|
extraSource?: string | undefined;
|
485
485
|
}>;
|
486
486
|
}>, {
|
487
|
-
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json"]>, Z.ZodObject<{
|
487
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript"]>, Z.ZodObject<{
|
488
488
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
489
489
|
path: Z.ZodString;
|
490
490
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -627,9 +627,9 @@ declare const configV1_6Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
627
627
|
source: string;
|
628
628
|
targets: string[];
|
629
629
|
}>;
|
630
|
-
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json"]>>>>;
|
630
|
+
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript"]>>>>;
|
631
631
|
}>, {
|
632
|
-
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json"]>, Z.ZodObject<{
|
632
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript"]>, Z.ZodObject<{
|
633
633
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
|
634
634
|
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
635
635
|
}, "strip", Z.ZodTypeAny, {
|
@@ -655,7 +655,7 @@ declare const configV1_6Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
655
655
|
extraSource?: string | undefined;
|
656
656
|
}>;
|
657
657
|
}>, {
|
658
|
-
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json"]>, Z.ZodObject<{
|
658
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript"]>, Z.ZodObject<{
|
659
659
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
660
660
|
path: Z.ZodString;
|
661
661
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -738,7 +738,7 @@ declare const configV1_6Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
738
738
|
baseUrl?: string | undefined;
|
739
739
|
}>]>>>;
|
740
740
|
}>, {
|
741
|
-
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json"]>, Z.ZodObject<Z.objectUtil.extendShape<{
|
741
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript"]>, Z.ZodObject<Z.objectUtil.extendShape<{
|
742
742
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
743
743
|
path: Z.ZodString;
|
744
744
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -786,7 +786,282 @@ declare const configV1_6Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
786
786
|
lockedKeys?: string[] | undefined;
|
787
787
|
}>>>;
|
788
788
|
}>, Z.ZodRawShape>;
|
789
|
-
declare const
|
789
|
+
declare const bucketValueSchemaV1_7: Z.ZodObject<Z.objectUtil.extendShape<Z.objectUtil.extendShape<{
|
790
|
+
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
791
|
+
path: Z.ZodString;
|
792
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
793
|
+
}, "strip", Z.ZodTypeAny, {
|
794
|
+
path: string;
|
795
|
+
delimiter?: "-" | "_" | null | undefined;
|
796
|
+
}, {
|
797
|
+
path: string;
|
798
|
+
delimiter?: "-" | "_" | null | undefined;
|
799
|
+
}>]>, "many">>;
|
800
|
+
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
801
|
+
path: Z.ZodString;
|
802
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
803
|
+
}, "strip", Z.ZodTypeAny, {
|
804
|
+
path: string;
|
805
|
+
delimiter?: "-" | "_" | null | undefined;
|
806
|
+
}, {
|
807
|
+
path: string;
|
808
|
+
delimiter?: "-" | "_" | null | undefined;
|
809
|
+
}>]>, "many">>>;
|
810
|
+
injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
|
811
|
+
}, {
|
812
|
+
lockedKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
813
|
+
}>, {
|
814
|
+
lockedPatterns: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
815
|
+
}>, "strip", Z.ZodTypeAny, {
|
816
|
+
include: (string | {
|
817
|
+
path: string;
|
818
|
+
delimiter?: "-" | "_" | null | undefined;
|
819
|
+
})[];
|
820
|
+
exclude?: (string | {
|
821
|
+
path: string;
|
822
|
+
delimiter?: "-" | "_" | null | undefined;
|
823
|
+
})[] | undefined;
|
824
|
+
injectLocale?: string[] | undefined;
|
825
|
+
lockedKeys?: string[] | undefined;
|
826
|
+
lockedPatterns?: string[] | undefined;
|
827
|
+
}, {
|
828
|
+
exclude?: (string | {
|
829
|
+
path: string;
|
830
|
+
delimiter?: "-" | "_" | null | undefined;
|
831
|
+
})[] | undefined;
|
832
|
+
include?: (string | {
|
833
|
+
path: string;
|
834
|
+
delimiter?: "-" | "_" | null | undefined;
|
835
|
+
})[] | undefined;
|
836
|
+
injectLocale?: string[] | undefined;
|
837
|
+
lockedKeys?: string[] | undefined;
|
838
|
+
lockedPatterns?: string[] | undefined;
|
839
|
+
}>;
|
840
|
+
declare const configV1_7Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<{
|
841
|
+
version: Z.ZodDefault<Z.ZodNumber>;
|
842
|
+
}, {
|
843
|
+
locale: Z.ZodObject<{
|
844
|
+
source: Z.ZodEffects<Z.ZodString, string, string>;
|
845
|
+
targets: Z.ZodArray<Z.ZodEffects<Z.ZodString, string, string>, "many">;
|
846
|
+
}, "strip", Z.ZodTypeAny, {
|
847
|
+
source: string;
|
848
|
+
targets: string[];
|
849
|
+
}, {
|
850
|
+
source: string;
|
851
|
+
targets: string[];
|
852
|
+
}>;
|
853
|
+
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript"]>>>>;
|
854
|
+
}>, {
|
855
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript"]>, Z.ZodObject<{
|
856
|
+
include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
|
857
|
+
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
858
|
+
}, "strip", Z.ZodTypeAny, {
|
859
|
+
include: string[];
|
860
|
+
exclude?: string[] | undefined;
|
861
|
+
}, {
|
862
|
+
exclude?: string[] | undefined;
|
863
|
+
include?: string[] | undefined;
|
864
|
+
}>>>;
|
865
|
+
}>, {
|
866
|
+
locale: Z.ZodObject<Z.objectUtil.extendShape<{
|
867
|
+
source: Z.ZodEffects<Z.ZodString, string, string>;
|
868
|
+
targets: Z.ZodArray<Z.ZodEffects<Z.ZodString, string, string>, "many">;
|
869
|
+
}, {
|
870
|
+
extraSource: Z.ZodOptional<Z.ZodEffects<Z.ZodString, string, string>>;
|
871
|
+
}>, "strip", Z.ZodTypeAny, {
|
872
|
+
source: string;
|
873
|
+
targets: string[];
|
874
|
+
extraSource?: string | undefined;
|
875
|
+
}, {
|
876
|
+
source: string;
|
877
|
+
targets: string[];
|
878
|
+
extraSource?: string | undefined;
|
879
|
+
}>;
|
880
|
+
}>, {
|
881
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript"]>, Z.ZodObject<{
|
882
|
+
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
883
|
+
path: Z.ZodString;
|
884
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
885
|
+
}, "strip", Z.ZodTypeAny, {
|
886
|
+
path: string;
|
887
|
+
delimiter?: "-" | "_" | null | undefined;
|
888
|
+
}, {
|
889
|
+
path: string;
|
890
|
+
delimiter?: "-" | "_" | null | undefined;
|
891
|
+
}>]>, "many">>;
|
892
|
+
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
893
|
+
path: Z.ZodString;
|
894
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
895
|
+
}, "strip", Z.ZodTypeAny, {
|
896
|
+
path: string;
|
897
|
+
delimiter?: "-" | "_" | null | undefined;
|
898
|
+
}, {
|
899
|
+
path: string;
|
900
|
+
delimiter?: "-" | "_" | null | undefined;
|
901
|
+
}>]>, "many">>>;
|
902
|
+
injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
|
903
|
+
}, "strip", Z.ZodTypeAny, {
|
904
|
+
include: (string | {
|
905
|
+
path: string;
|
906
|
+
delimiter?: "-" | "_" | null | undefined;
|
907
|
+
})[];
|
908
|
+
exclude?: (string | {
|
909
|
+
path: string;
|
910
|
+
delimiter?: "-" | "_" | null | undefined;
|
911
|
+
})[] | undefined;
|
912
|
+
injectLocale?: string[] | undefined;
|
913
|
+
}, {
|
914
|
+
exclude?: (string | {
|
915
|
+
path: string;
|
916
|
+
delimiter?: "-" | "_" | null | undefined;
|
917
|
+
})[] | undefined;
|
918
|
+
include?: (string | {
|
919
|
+
path: string;
|
920
|
+
delimiter?: "-" | "_" | null | undefined;
|
921
|
+
})[] | undefined;
|
922
|
+
injectLocale?: string[] | undefined;
|
923
|
+
}>>>;
|
924
|
+
}>, {
|
925
|
+
$schema: Z.ZodDefault<Z.ZodString>;
|
926
|
+
}>, {
|
927
|
+
provider: Z.ZodOptional<Z.ZodDefault<Z.ZodUnion<[Z.ZodObject<Z.objectUtil.extendShape<{
|
928
|
+
id: Z.ZodString;
|
929
|
+
model: Z.ZodString;
|
930
|
+
prompt: Z.ZodString;
|
931
|
+
baseUrl: Z.ZodOptional<Z.ZodString>;
|
932
|
+
}, {
|
933
|
+
id: Z.ZodLiteral<"lingo">;
|
934
|
+
model: Z.ZodLiteral<"best">;
|
935
|
+
}>, "strip", Z.ZodTypeAny, {
|
936
|
+
id: "lingo";
|
937
|
+
model: "best";
|
938
|
+
prompt: string;
|
939
|
+
baseUrl?: string | undefined;
|
940
|
+
}, {
|
941
|
+
id: "lingo";
|
942
|
+
model: "best";
|
943
|
+
prompt: string;
|
944
|
+
baseUrl?: string | undefined;
|
945
|
+
}>, Z.ZodObject<Z.objectUtil.extendShape<{
|
946
|
+
id: Z.ZodString;
|
947
|
+
model: Z.ZodString;
|
948
|
+
prompt: Z.ZodString;
|
949
|
+
baseUrl: Z.ZodOptional<Z.ZodString>;
|
950
|
+
}, {
|
951
|
+
id: Z.ZodEnum<["openai", "anthropic"]>;
|
952
|
+
}>, "strip", Z.ZodTypeAny, {
|
953
|
+
id: "openai" | "anthropic";
|
954
|
+
model: string;
|
955
|
+
prompt: string;
|
956
|
+
baseUrl?: string | undefined;
|
957
|
+
}, {
|
958
|
+
id: "openai" | "anthropic";
|
959
|
+
model: string;
|
960
|
+
prompt: string;
|
961
|
+
baseUrl?: string | undefined;
|
962
|
+
}>]>>>;
|
963
|
+
}>, {
|
964
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript"]>, Z.ZodObject<Z.objectUtil.extendShape<{
|
965
|
+
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
966
|
+
path: Z.ZodString;
|
967
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
968
|
+
}, "strip", Z.ZodTypeAny, {
|
969
|
+
path: string;
|
970
|
+
delimiter?: "-" | "_" | null | undefined;
|
971
|
+
}, {
|
972
|
+
path: string;
|
973
|
+
delimiter?: "-" | "_" | null | undefined;
|
974
|
+
}>]>, "many">>;
|
975
|
+
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
976
|
+
path: Z.ZodString;
|
977
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
978
|
+
}, "strip", Z.ZodTypeAny, {
|
979
|
+
path: string;
|
980
|
+
delimiter?: "-" | "_" | null | undefined;
|
981
|
+
}, {
|
982
|
+
path: string;
|
983
|
+
delimiter?: "-" | "_" | null | undefined;
|
984
|
+
}>]>, "many">>>;
|
985
|
+
injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
|
986
|
+
}, {
|
987
|
+
lockedKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
988
|
+
}>, "strip", Z.ZodTypeAny, {
|
989
|
+
include: (string | {
|
990
|
+
path: string;
|
991
|
+
delimiter?: "-" | "_" | null | undefined;
|
992
|
+
})[];
|
993
|
+
exclude?: (string | {
|
994
|
+
path: string;
|
995
|
+
delimiter?: "-" | "_" | null | undefined;
|
996
|
+
})[] | undefined;
|
997
|
+
injectLocale?: string[] | undefined;
|
998
|
+
lockedKeys?: string[] | undefined;
|
999
|
+
}, {
|
1000
|
+
exclude?: (string | {
|
1001
|
+
path: string;
|
1002
|
+
delimiter?: "-" | "_" | null | undefined;
|
1003
|
+
})[] | undefined;
|
1004
|
+
include?: (string | {
|
1005
|
+
path: string;
|
1006
|
+
delimiter?: "-" | "_" | null | undefined;
|
1007
|
+
})[] | undefined;
|
1008
|
+
injectLocale?: string[] | undefined;
|
1009
|
+
lockedKeys?: string[] | undefined;
|
1010
|
+
}>>>;
|
1011
|
+
}>, {
|
1012
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript"]>, Z.ZodObject<Z.objectUtil.extendShape<Z.objectUtil.extendShape<{
|
1013
|
+
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
1014
|
+
path: Z.ZodString;
|
1015
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
1016
|
+
}, "strip", Z.ZodTypeAny, {
|
1017
|
+
path: string;
|
1018
|
+
delimiter?: "-" | "_" | null | undefined;
|
1019
|
+
}, {
|
1020
|
+
path: string;
|
1021
|
+
delimiter?: "-" | "_" | null | undefined;
|
1022
|
+
}>]>, "many">>;
|
1023
|
+
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
1024
|
+
path: Z.ZodString;
|
1025
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
1026
|
+
}, "strip", Z.ZodTypeAny, {
|
1027
|
+
path: string;
|
1028
|
+
delimiter?: "-" | "_" | null | undefined;
|
1029
|
+
}, {
|
1030
|
+
path: string;
|
1031
|
+
delimiter?: "-" | "_" | null | undefined;
|
1032
|
+
}>]>, "many">>>;
|
1033
|
+
injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
|
1034
|
+
}, {
|
1035
|
+
lockedKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
1036
|
+
}>, {
|
1037
|
+
lockedPatterns: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
1038
|
+
}>, "strip", Z.ZodTypeAny, {
|
1039
|
+
include: (string | {
|
1040
|
+
path: string;
|
1041
|
+
delimiter?: "-" | "_" | null | undefined;
|
1042
|
+
})[];
|
1043
|
+
exclude?: (string | {
|
1044
|
+
path: string;
|
1045
|
+
delimiter?: "-" | "_" | null | undefined;
|
1046
|
+
})[] | undefined;
|
1047
|
+
injectLocale?: string[] | undefined;
|
1048
|
+
lockedKeys?: string[] | undefined;
|
1049
|
+
lockedPatterns?: string[] | undefined;
|
1050
|
+
}, {
|
1051
|
+
exclude?: (string | {
|
1052
|
+
path: string;
|
1053
|
+
delimiter?: "-" | "_" | null | undefined;
|
1054
|
+
})[] | undefined;
|
1055
|
+
include?: (string | {
|
1056
|
+
path: string;
|
1057
|
+
delimiter?: "-" | "_" | null | undefined;
|
1058
|
+
})[] | undefined;
|
1059
|
+
injectLocale?: string[] | undefined;
|
1060
|
+
lockedKeys?: string[] | undefined;
|
1061
|
+
lockedPatterns?: string[] | undefined;
|
1062
|
+
}>>>;
|
1063
|
+
}>, Z.ZodRawShape>;
|
1064
|
+
declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<{
|
790
1065
|
version: Z.ZodDefault<Z.ZodNumber>;
|
791
1066
|
}, {
|
792
1067
|
locale: Z.ZodObject<{
|
@@ -799,9 +1074,9 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShap
|
|
799
1074
|
source: string;
|
800
1075
|
targets: string[];
|
801
1076
|
}>;
|
802
|
-
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json"]>>>>;
|
1077
|
+
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript"]>>>>;
|
803
1078
|
}>, {
|
804
|
-
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json"]>, Z.ZodObject<{
|
1079
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript"]>, Z.ZodObject<{
|
805
1080
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
|
806
1081
|
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
807
1082
|
}, "strip", Z.ZodTypeAny, {
|
@@ -827,7 +1102,7 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShap
|
|
827
1102
|
extraSource?: string | undefined;
|
828
1103
|
}>;
|
829
1104
|
}>, {
|
830
|
-
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json"]>, Z.ZodObject<{
|
1105
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript"]>, Z.ZodObject<{
|
831
1106
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
832
1107
|
path: Z.ZodString;
|
833
1108
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -910,7 +1185,55 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShap
|
|
910
1185
|
baseUrl?: string | undefined;
|
911
1186
|
}>]>>>;
|
912
1187
|
}>, {
|
913
|
-
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json"]>, Z.ZodObject<Z.objectUtil.extendShape<{
|
1188
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript"]>, Z.ZodObject<Z.objectUtil.extendShape<{
|
1189
|
+
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
1190
|
+
path: Z.ZodString;
|
1191
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
1192
|
+
}, "strip", Z.ZodTypeAny, {
|
1193
|
+
path: string;
|
1194
|
+
delimiter?: "-" | "_" | null | undefined;
|
1195
|
+
}, {
|
1196
|
+
path: string;
|
1197
|
+
delimiter?: "-" | "_" | null | undefined;
|
1198
|
+
}>]>, "many">>;
|
1199
|
+
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
1200
|
+
path: Z.ZodString;
|
1201
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
1202
|
+
}, "strip", Z.ZodTypeAny, {
|
1203
|
+
path: string;
|
1204
|
+
delimiter?: "-" | "_" | null | undefined;
|
1205
|
+
}, {
|
1206
|
+
path: string;
|
1207
|
+
delimiter?: "-" | "_" | null | undefined;
|
1208
|
+
}>]>, "many">>>;
|
1209
|
+
injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
|
1210
|
+
}, {
|
1211
|
+
lockedKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
1212
|
+
}>, "strip", Z.ZodTypeAny, {
|
1213
|
+
include: (string | {
|
1214
|
+
path: string;
|
1215
|
+
delimiter?: "-" | "_" | null | undefined;
|
1216
|
+
})[];
|
1217
|
+
exclude?: (string | {
|
1218
|
+
path: string;
|
1219
|
+
delimiter?: "-" | "_" | null | undefined;
|
1220
|
+
})[] | undefined;
|
1221
|
+
injectLocale?: string[] | undefined;
|
1222
|
+
lockedKeys?: string[] | undefined;
|
1223
|
+
}, {
|
1224
|
+
exclude?: (string | {
|
1225
|
+
path: string;
|
1226
|
+
delimiter?: "-" | "_" | null | undefined;
|
1227
|
+
})[] | undefined;
|
1228
|
+
include?: (string | {
|
1229
|
+
path: string;
|
1230
|
+
delimiter?: "-" | "_" | null | undefined;
|
1231
|
+
})[] | undefined;
|
1232
|
+
injectLocale?: string[] | undefined;
|
1233
|
+
lockedKeys?: string[] | undefined;
|
1234
|
+
}>>>;
|
1235
|
+
}>, {
|
1236
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript"]>, Z.ZodObject<Z.objectUtil.extendShape<Z.objectUtil.extendShape<{
|
914
1237
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
915
1238
|
path: Z.ZodString;
|
916
1239
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -934,6 +1257,8 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShap
|
|
934
1257
|
injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
|
935
1258
|
}, {
|
936
1259
|
lockedKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
1260
|
+
}>, {
|
1261
|
+
lockedPatterns: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
937
1262
|
}>, "strip", Z.ZodTypeAny, {
|
938
1263
|
include: (string | {
|
939
1264
|
path: string;
|
@@ -945,6 +1270,7 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShap
|
|
945
1270
|
})[] | undefined;
|
946
1271
|
injectLocale?: string[] | undefined;
|
947
1272
|
lockedKeys?: string[] | undefined;
|
1273
|
+
lockedPatterns?: string[] | undefined;
|
948
1274
|
}, {
|
949
1275
|
exclude?: (string | {
|
950
1276
|
path: string;
|
@@ -956,6 +1282,7 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShap
|
|
956
1282
|
})[] | undefined;
|
957
1283
|
injectLocale?: string[] | undefined;
|
958
1284
|
lockedKeys?: string[] | undefined;
|
1285
|
+
lockedPatterns?: string[] | undefined;
|
959
1286
|
}>>>;
|
960
1287
|
}>, Z.ZodRawShape>;
|
961
1288
|
type I18nConfig = Z.infer<(typeof LATEST_CONFIG_DEFINITION)["schema"]>;
|
@@ -966,7 +1293,7 @@ declare function parseI18nConfig(rawConfig: unknown): {
|
|
966
1293
|
targets: string[];
|
967
1294
|
extraSource?: string | undefined;
|
968
1295
|
};
|
969
|
-
buckets: Partial<Record<"android" | "csv" | "flutter" | "html" | "json" | "markdown" | "mdx" | "xcode-strings" | "xcode-stringsdict" | "xcode-xcstrings" | "yaml" | "yaml-root-key" | "properties" | "po" | "xliff" | "xml" | "srt" | "dato" | "compiler" | "vtt" | "php" | "vue-json", {
|
1296
|
+
buckets: Partial<Record<"android" | "csv" | "flutter" | "html" | "json" | "markdown" | "mdx" | "xcode-strings" | "xcode-stringsdict" | "xcode-xcstrings" | "yaml" | "yaml-root-key" | "properties" | "po" | "xliff" | "xml" | "srt" | "dato" | "compiler" | "vtt" | "php" | "vue-json" | "typescript", {
|
970
1297
|
include: (string | {
|
971
1298
|
path: string;
|
972
1299
|
delimiter?: "-" | "_" | null | undefined;
|
@@ -977,6 +1304,7 @@ declare function parseI18nConfig(rawConfig: unknown): {
|
|
977
1304
|
})[] | undefined;
|
978
1305
|
injectLocale?: string[] | undefined;
|
979
1306
|
lockedKeys?: string[] | undefined;
|
1307
|
+
lockedPatterns?: string[] | undefined;
|
980
1308
|
}>>;
|
981
1309
|
$schema: string;
|
982
1310
|
provider?: {
|
@@ -998,7 +1326,7 @@ declare const defaultConfig: {
|
|
998
1326
|
targets: string[];
|
999
1327
|
extraSource?: string | undefined;
|
1000
1328
|
};
|
1001
|
-
buckets: Partial<Record<"android" | "csv" | "flutter" | "html" | "json" | "markdown" | "mdx" | "xcode-strings" | "xcode-stringsdict" | "xcode-xcstrings" | "yaml" | "yaml-root-key" | "properties" | "po" | "xliff" | "xml" | "srt" | "dato" | "compiler" | "vtt" | "php" | "vue-json", {
|
1329
|
+
buckets: Partial<Record<"android" | "csv" | "flutter" | "html" | "json" | "markdown" | "mdx" | "xcode-strings" | "xcode-stringsdict" | "xcode-xcstrings" | "yaml" | "yaml-root-key" | "properties" | "po" | "xliff" | "xml" | "srt" | "dato" | "compiler" | "vtt" | "php" | "vue-json" | "typescript", {
|
1002
1330
|
include: (string | {
|
1003
1331
|
path: string;
|
1004
1332
|
delimiter?: "-" | "_" | null | undefined;
|
@@ -1009,6 +1337,7 @@ declare const defaultConfig: {
|
|
1009
1337
|
})[] | undefined;
|
1010
1338
|
injectLocale?: string[] | undefined;
|
1011
1339
|
lockedKeys?: string[] | undefined;
|
1340
|
+
lockedPatterns?: string[] | undefined;
|
1012
1341
|
}>>;
|
1013
1342
|
$schema: string;
|
1014
1343
|
provider?: {
|
@@ -1024,4 +1353,4 @@ declare const defaultConfig: {
|
|
1024
1353
|
} | undefined;
|
1025
1354
|
};
|
1026
1355
|
|
1027
|
-
export { type BucketItem, type I18nConfig, LATEST_CONFIG_DEFINITION, type LocaleCode, type LocaleCodeFull, type LocaleCodeShort, type LocaleDelimiter, bucketItemSchema, bucketTypeSchema, bucketTypes, bucketValueSchemaV1_3, bucketValueSchemaV1_6, configV0Definition, configV1Definition, configV1_1Definition, configV1_2Definition, configV1_3Definition, configV1_4Definition, configV1_5Definition, configV1_6Definition, defaultConfig, getLocaleCodeDelimiter, localeCodeSchema, localeCodes, localeCodesFull, localeCodesFullExplicitRegion, localeCodesFullUnderscore, localeCodesShort, localeSchema, normalizeLocale, parseI18nConfig, resolveLocaleCode, resolveOverriddenLocale };
|
1356
|
+
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, configV0Definition, configV1Definition, configV1_1Definition, configV1_2Definition, configV1_3Definition, configV1_4Definition, configV1_5Definition, configV1_6Definition, configV1_7Definition, defaultConfig, getLocaleCodeDelimiter, localeCodeSchema, localeCodes, localeCodesFull, localeCodesFullExplicitRegion, localeCodesFullUnderscore, localeCodesShort, localeSchema, normalizeLocale, parseI18nConfig, resolveLocaleCode, resolveOverriddenLocale };
|