@lingo.dev/_spec 0.35.0 → 0.37.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 +4 -1
- package/build/index.cjs +13 -3
- package/build/index.d.cts +59 -59
- package/build/index.d.ts +59 -59
- package/build/index.mjs +13 -3
- package/package.json +1 -1
package/build/i18n.schema.json
CHANGED
@@ -114,6 +114,7 @@
|
|
114
114
|
"enum": [
|
115
115
|
"android",
|
116
116
|
"csv",
|
117
|
+
"ejs",
|
117
118
|
"flutter",
|
118
119
|
"html",
|
119
120
|
"json",
|
@@ -152,7 +153,9 @@
|
|
152
153
|
"enum": [
|
153
154
|
"openai",
|
154
155
|
"anthropic",
|
155
|
-
"google"
|
156
|
+
"google",
|
157
|
+
"ollama",
|
158
|
+
"openrouter"
|
156
159
|
]
|
157
160
|
},
|
158
161
|
"model": {
|
package/build/index.cjs
CHANGED
@@ -8,7 +8,12 @@ var localeMap = {
|
|
8
8
|
// Turkish (Turkey)
|
9
9
|
tr: ["tr-TR"],
|
10
10
|
// Tamil (India)
|
11
|
-
ta: [
|
11
|
+
ta: [
|
12
|
+
"ta-IN",
|
13
|
+
// India
|
14
|
+
"ta-SG"
|
15
|
+
// Singapore
|
16
|
+
],
|
12
17
|
// Serbian
|
13
18
|
sr: [
|
14
19
|
"sr-RS",
|
@@ -42,8 +47,10 @@ var localeMap = {
|
|
42
47
|
// United Kingdom
|
43
48
|
"en-AU",
|
44
49
|
// Australia
|
45
|
-
"en-CA"
|
50
|
+
"en-CA",
|
46
51
|
// Canada
|
52
|
+
"en-SG"
|
53
|
+
// Singapore
|
47
54
|
],
|
48
55
|
// Spanish
|
49
56
|
es: [
|
@@ -115,6 +122,8 @@ var localeMap = {
|
|
115
122
|
// Traditional Chinese (Taiwan)
|
116
123
|
"zh-HK",
|
117
124
|
// Traditional Chinese (Hong Kong)
|
125
|
+
"zh-SG",
|
126
|
+
// Simplified Chinese (Singapore)
|
118
127
|
"zh-Hans",
|
119
128
|
// Simplified Chinese
|
120
129
|
"zh-Hant",
|
@@ -320,6 +329,7 @@ function normalizeLocale(locale) {
|
|
320
329
|
var bucketTypes = [
|
321
330
|
"android",
|
322
331
|
"csv",
|
332
|
+
"ejs",
|
323
333
|
"flutter",
|
324
334
|
"html",
|
325
335
|
"json",
|
@@ -523,7 +533,7 @@ var configV1_4Definition = extendConfigDefinition(
|
|
523
533
|
}
|
524
534
|
);
|
525
535
|
var providerSchema = _zod2.default.object({
|
526
|
-
id: _zod2.default.enum(["openai", "anthropic", "google"]),
|
536
|
+
id: _zod2.default.enum(["openai", "anthropic", "google", "ollama", "openrouter"]),
|
527
537
|
model: _zod2.default.string(),
|
528
538
|
prompt: _zod2.default.string(),
|
529
539
|
baseUrl: _zod2.default.string().optional()
|
package/build/index.d.cts
CHANGED
@@ -4,7 +4,7 @@ declare const localeMap: {
|
|
4
4
|
readonly ur: readonly ["ur-PK"];
|
5
5
|
readonly vi: readonly ["vi-VN"];
|
6
6
|
readonly tr: readonly ["tr-TR"];
|
7
|
-
readonly ta: readonly ["ta-IN"];
|
7
|
+
readonly ta: readonly ["ta-IN", "ta-SG"];
|
8
8
|
readonly sr: readonly ["sr-RS", "sr-Latn-RS", "sr-Cyrl-RS"];
|
9
9
|
readonly hu: readonly ["hu-HU"];
|
10
10
|
readonly he: readonly ["he-IL"];
|
@@ -14,7 +14,7 @@ declare const localeMap: {
|
|
14
14
|
readonly az: readonly ["az-AZ"];
|
15
15
|
readonly th: readonly ["th-TH"];
|
16
16
|
readonly sv: readonly ["sv-SE"];
|
17
|
-
readonly en: readonly ["en-US", "en-GB", "en-AU", "en-CA"];
|
17
|
+
readonly en: readonly ["en-US", "en-GB", "en-AU", "en-CA", "en-SG"];
|
18
18
|
readonly es: readonly ["es-ES", "es-419", "es-MX", "es-AR"];
|
19
19
|
readonly fr: readonly ["fr-FR", "fr-CA", "fr-BE"];
|
20
20
|
readonly ca: readonly ["ca-ES"];
|
@@ -27,7 +27,7 @@ declare const localeMap: {
|
|
27
27
|
readonly uk: readonly ["uk-UA"];
|
28
28
|
readonly be: readonly ["be-BY"];
|
29
29
|
readonly hi: readonly ["hi-IN"];
|
30
|
-
readonly zh: readonly ["zh-CN", "zh-TW", "zh-HK", "zh-Hans", "zh-Hant", "zh-Hant-HK", "zh-Hant-TW", "zh-Hant-CN", "zh-Hans-HK", "zh-Hans-TW", "zh-Hans-CN"];
|
30
|
+
readonly zh: readonly ["zh-CN", "zh-TW", "zh-HK", "zh-SG", "zh-Hans", "zh-Hant", "zh-Hant-HK", "zh-Hant-TW", "zh-Hant-CN", "zh-Hans-HK", "zh-Hans-TW", "zh-Hans-CN"];
|
31
31
|
readonly ko: readonly ["ko-KR"];
|
32
32
|
readonly ar: readonly ["ar-EG", "ar-SA", "ar-AE", "ar-MA"];
|
33
33
|
readonly bg: readonly ["bg-BG"];
|
@@ -115,8 +115,8 @@ declare const resolveOverriddenLocale: (locale: string, delimiter?: LocaleDelimi
|
|
115
115
|
*/
|
116
116
|
declare function normalizeLocale(locale: string): string;
|
117
117
|
|
118
|
-
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"];
|
119
|
-
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"]>;
|
118
|
+
declare const bucketTypes: readonly ["android", "csv", "ejs", "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
|
+
declare const bucketTypeSchema: Z.ZodEnum<["android", "csv", "ejs", "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"]>;
|
120
120
|
|
121
121
|
declare const localeSchema: Z.ZodObject<{
|
122
122
|
source: Z.ZodEffects<Z.ZodString, string, string>;
|
@@ -149,7 +149,7 @@ declare const configV1Definition: ConfigDefinition<Z.objectUtil.extendShape<{
|
|
149
149
|
source: string;
|
150
150
|
targets: string[];
|
151
151
|
}>;
|
152
|
-
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
|
+
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "ejs", "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"]>>>>;
|
153
153
|
}>, Z.ZodRawShape>;
|
154
154
|
declare const configV1_1Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.objectUtil.extendShape<{
|
155
155
|
version: Z.ZodDefault<Z.ZodNumber>;
|
@@ -164,9 +164,9 @@ declare const configV1_1Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
164
164
|
source: string;
|
165
165
|
targets: string[];
|
166
166
|
}>;
|
167
|
-
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
|
+
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "ejs", "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"]>>>>;
|
168
168
|
}>, {
|
169
|
-
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
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
170
170
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
|
171
171
|
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
172
172
|
}, "strip", Z.ZodTypeAny, {
|
@@ -190,9 +190,9 @@ declare const configV1_2Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
190
190
|
source: string;
|
191
191
|
targets: string[];
|
192
192
|
}>;
|
193
|
-
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
|
+
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "ejs", "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"]>>>>;
|
194
194
|
}>, {
|
195
|
-
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
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
196
196
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
|
197
197
|
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
198
198
|
}, "strip", Z.ZodTypeAny, {
|
@@ -285,9 +285,9 @@ declare const configV1_3Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
285
285
|
source: string;
|
286
286
|
targets: string[];
|
287
287
|
}>;
|
288
|
-
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
|
+
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "ejs", "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"]>>>>;
|
289
289
|
}>, {
|
290
|
-
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
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
291
291
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
|
292
292
|
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
293
293
|
}, "strip", Z.ZodTypeAny, {
|
@@ -313,7 +313,7 @@ declare const configV1_3Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
313
313
|
extraSource?: string | undefined;
|
314
314
|
}>;
|
315
315
|
}>, {
|
316
|
-
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
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
317
317
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
318
318
|
path: Z.ZodString;
|
319
319
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -370,9 +370,9 @@ declare const configV1_4Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
370
370
|
source: string;
|
371
371
|
targets: string[];
|
372
372
|
}>;
|
373
|
-
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
|
+
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "ejs", "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"]>>>>;
|
374
374
|
}>, {
|
375
|
-
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
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
376
376
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
|
377
377
|
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
378
378
|
}, "strip", Z.ZodTypeAny, {
|
@@ -398,7 +398,7 @@ declare const configV1_4Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
398
398
|
extraSource?: string | undefined;
|
399
399
|
}>;
|
400
400
|
}>, {
|
401
|
-
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
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
402
402
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
403
403
|
path: Z.ZodString;
|
404
404
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -457,9 +457,9 @@ declare const configV1_5Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
457
457
|
source: string;
|
458
458
|
targets: string[];
|
459
459
|
}>;
|
460
|
-
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
|
+
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "ejs", "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"]>>>>;
|
461
461
|
}>, {
|
462
|
-
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
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
463
463
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
|
464
464
|
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
465
465
|
}, "strip", Z.ZodTypeAny, {
|
@@ -485,7 +485,7 @@ declare const configV1_5Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
485
485
|
extraSource?: string | undefined;
|
486
486
|
}>;
|
487
487
|
}>, {
|
488
|
-
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
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
489
489
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
490
490
|
path: Z.ZodString;
|
491
491
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -532,17 +532,17 @@ declare const configV1_5Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
532
532
|
$schema: Z.ZodDefault<Z.ZodString>;
|
533
533
|
}>, {
|
534
534
|
provider: Z.ZodOptional<Z.ZodObject<{
|
535
|
-
id: Z.ZodEnum<["openai", "anthropic", "google"]>;
|
535
|
+
id: Z.ZodEnum<["openai", "anthropic", "google", "ollama", "openrouter"]>;
|
536
536
|
model: Z.ZodString;
|
537
537
|
prompt: Z.ZodString;
|
538
538
|
baseUrl: Z.ZodOptional<Z.ZodString>;
|
539
539
|
}, "strip", Z.ZodTypeAny, {
|
540
|
-
id: "openai" | "anthropic" | "google";
|
540
|
+
id: "openai" | "anthropic" | "google" | "ollama" | "openrouter";
|
541
541
|
model: string;
|
542
542
|
prompt: string;
|
543
543
|
baseUrl?: string | undefined;
|
544
544
|
}, {
|
545
|
-
id: "openai" | "anthropic" | "google";
|
545
|
+
id: "openai" | "anthropic" | "google" | "ollama" | "openrouter";
|
546
546
|
model: string;
|
547
547
|
prompt: string;
|
548
548
|
baseUrl?: string | undefined;
|
@@ -608,9 +608,9 @@ declare const configV1_6Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
608
608
|
source: string;
|
609
609
|
targets: string[];
|
610
610
|
}>;
|
611
|
-
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"]>>>>;
|
611
|
+
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "ejs", "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"]>>>>;
|
612
612
|
}>, {
|
613
|
-
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<{
|
613
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
614
614
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
|
615
615
|
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
616
616
|
}, "strip", Z.ZodTypeAny, {
|
@@ -636,7 +636,7 @@ declare const configV1_6Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
636
636
|
extraSource?: string | undefined;
|
637
637
|
}>;
|
638
638
|
}>, {
|
639
|
-
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<{
|
639
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
640
640
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
641
641
|
path: Z.ZodString;
|
642
642
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -683,23 +683,23 @@ declare const configV1_6Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
683
683
|
$schema: Z.ZodDefault<Z.ZodString>;
|
684
684
|
}>, {
|
685
685
|
provider: Z.ZodOptional<Z.ZodObject<{
|
686
|
-
id: Z.ZodEnum<["openai", "anthropic", "google"]>;
|
686
|
+
id: Z.ZodEnum<["openai", "anthropic", "google", "ollama", "openrouter"]>;
|
687
687
|
model: Z.ZodString;
|
688
688
|
prompt: Z.ZodString;
|
689
689
|
baseUrl: Z.ZodOptional<Z.ZodString>;
|
690
690
|
}, "strip", Z.ZodTypeAny, {
|
691
|
-
id: "openai" | "anthropic" | "google";
|
691
|
+
id: "openai" | "anthropic" | "google" | "ollama" | "openrouter";
|
692
692
|
model: string;
|
693
693
|
prompt: string;
|
694
694
|
baseUrl?: string | undefined;
|
695
695
|
}, {
|
696
|
-
id: "openai" | "anthropic" | "google";
|
696
|
+
id: "openai" | "anthropic" | "google" | "ollama" | "openrouter";
|
697
697
|
model: string;
|
698
698
|
prompt: string;
|
699
699
|
baseUrl?: string | undefined;
|
700
700
|
}>>;
|
701
701
|
}>, {
|
702
|
-
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<{
|
702
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
703
703
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
704
704
|
path: Z.ZodString;
|
705
705
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -811,9 +811,9 @@ declare const configV1_7Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
811
811
|
source: string;
|
812
812
|
targets: string[];
|
813
813
|
}>;
|
814
|
-
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"]>>>>;
|
814
|
+
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "ejs", "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"]>>>>;
|
815
815
|
}>, {
|
816
|
-
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<{
|
816
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
817
817
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
|
818
818
|
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
819
819
|
}, "strip", Z.ZodTypeAny, {
|
@@ -839,7 +839,7 @@ declare const configV1_7Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
839
839
|
extraSource?: string | undefined;
|
840
840
|
}>;
|
841
841
|
}>, {
|
842
|
-
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<{
|
842
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
843
843
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
844
844
|
path: Z.ZodString;
|
845
845
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -886,23 +886,23 @@ declare const configV1_7Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
886
886
|
$schema: Z.ZodDefault<Z.ZodString>;
|
887
887
|
}>, {
|
888
888
|
provider: Z.ZodOptional<Z.ZodObject<{
|
889
|
-
id: Z.ZodEnum<["openai", "anthropic", "google"]>;
|
889
|
+
id: Z.ZodEnum<["openai", "anthropic", "google", "ollama", "openrouter"]>;
|
890
890
|
model: Z.ZodString;
|
891
891
|
prompt: Z.ZodString;
|
892
892
|
baseUrl: Z.ZodOptional<Z.ZodString>;
|
893
893
|
}, "strip", Z.ZodTypeAny, {
|
894
|
-
id: "openai" | "anthropic" | "google";
|
894
|
+
id: "openai" | "anthropic" | "google" | "ollama" | "openrouter";
|
895
895
|
model: string;
|
896
896
|
prompt: string;
|
897
897
|
baseUrl?: string | undefined;
|
898
898
|
}, {
|
899
|
-
id: "openai" | "anthropic" | "google";
|
899
|
+
id: "openai" | "anthropic" | "google" | "ollama" | "openrouter";
|
900
900
|
model: string;
|
901
901
|
prompt: string;
|
902
902
|
baseUrl?: string | undefined;
|
903
903
|
}>>;
|
904
904
|
}>, {
|
905
|
-
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<{
|
905
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
906
906
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
907
907
|
path: Z.ZodString;
|
908
908
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -950,7 +950,7 @@ declare const configV1_7Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
950
950
|
lockedKeys?: string[] | undefined;
|
951
951
|
}>>>;
|
952
952
|
}>, {
|
953
|
-
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<{
|
953
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
954
954
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
955
955
|
path: Z.ZodString;
|
956
956
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -1070,9 +1070,9 @@ declare const configV1_8Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
1070
1070
|
source: string;
|
1071
1071
|
targets: string[];
|
1072
1072
|
}>;
|
1073
|
-
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"]>>>>;
|
1073
|
+
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "ejs", "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"]>>>>;
|
1074
1074
|
}>, {
|
1075
|
-
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<{
|
1075
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
1076
1076
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
|
1077
1077
|
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
1078
1078
|
}, "strip", Z.ZodTypeAny, {
|
@@ -1098,7 +1098,7 @@ declare const configV1_8Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
1098
1098
|
extraSource?: string | undefined;
|
1099
1099
|
}>;
|
1100
1100
|
}>, {
|
1101
|
-
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<{
|
1101
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
1102
1102
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
1103
1103
|
path: Z.ZodString;
|
1104
1104
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -1145,23 +1145,23 @@ declare const configV1_8Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
1145
1145
|
$schema: Z.ZodDefault<Z.ZodString>;
|
1146
1146
|
}>, {
|
1147
1147
|
provider: Z.ZodOptional<Z.ZodObject<{
|
1148
|
-
id: Z.ZodEnum<["openai", "anthropic", "google"]>;
|
1148
|
+
id: Z.ZodEnum<["openai", "anthropic", "google", "ollama", "openrouter"]>;
|
1149
1149
|
model: Z.ZodString;
|
1150
1150
|
prompt: Z.ZodString;
|
1151
1151
|
baseUrl: Z.ZodOptional<Z.ZodString>;
|
1152
1152
|
}, "strip", Z.ZodTypeAny, {
|
1153
|
-
id: "openai" | "anthropic" | "google";
|
1153
|
+
id: "openai" | "anthropic" | "google" | "ollama" | "openrouter";
|
1154
1154
|
model: string;
|
1155
1155
|
prompt: string;
|
1156
1156
|
baseUrl?: string | undefined;
|
1157
1157
|
}, {
|
1158
|
-
id: "openai" | "anthropic" | "google";
|
1158
|
+
id: "openai" | "anthropic" | "google" | "ollama" | "openrouter";
|
1159
1159
|
model: string;
|
1160
1160
|
prompt: string;
|
1161
1161
|
baseUrl?: string | undefined;
|
1162
1162
|
}>>;
|
1163
1163
|
}>, {
|
1164
|
-
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<{
|
1164
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
1165
1165
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
1166
1166
|
path: Z.ZodString;
|
1167
1167
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -1209,7 +1209,7 @@ declare const configV1_8Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
1209
1209
|
lockedKeys?: string[] | undefined;
|
1210
1210
|
}>>>;
|
1211
1211
|
}>, {
|
1212
|
-
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<{
|
1212
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
1213
1213
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
1214
1214
|
path: Z.ZodString;
|
1215
1215
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -1261,7 +1261,7 @@ declare const configV1_8Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
1261
1261
|
lockedPatterns?: string[] | undefined;
|
1262
1262
|
}>>>;
|
1263
1263
|
}>, {
|
1264
|
-
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<Z.objectUtil.extendShape<{
|
1264
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<Z.objectUtil.extendShape<{
|
1265
1265
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
1266
1266
|
path: Z.ZodString;
|
1267
1267
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -1330,9 +1330,9 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShap
|
|
1330
1330
|
source: string;
|
1331
1331
|
targets: string[];
|
1332
1332
|
}>;
|
1333
|
-
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"]>>>>;
|
1333
|
+
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "ejs", "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"]>>>>;
|
1334
1334
|
}>, {
|
1335
|
-
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<{
|
1335
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
1336
1336
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
|
1337
1337
|
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
1338
1338
|
}, "strip", Z.ZodTypeAny, {
|
@@ -1358,7 +1358,7 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShap
|
|
1358
1358
|
extraSource?: string | undefined;
|
1359
1359
|
}>;
|
1360
1360
|
}>, {
|
1361
|
-
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<{
|
1361
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
1362
1362
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
1363
1363
|
path: Z.ZodString;
|
1364
1364
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -1405,23 +1405,23 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShap
|
|
1405
1405
|
$schema: Z.ZodDefault<Z.ZodString>;
|
1406
1406
|
}>, {
|
1407
1407
|
provider: Z.ZodOptional<Z.ZodObject<{
|
1408
|
-
id: Z.ZodEnum<["openai", "anthropic", "google"]>;
|
1408
|
+
id: Z.ZodEnum<["openai", "anthropic", "google", "ollama", "openrouter"]>;
|
1409
1409
|
model: Z.ZodString;
|
1410
1410
|
prompt: Z.ZodString;
|
1411
1411
|
baseUrl: Z.ZodOptional<Z.ZodString>;
|
1412
1412
|
}, "strip", Z.ZodTypeAny, {
|
1413
|
-
id: "openai" | "anthropic" | "google";
|
1413
|
+
id: "openai" | "anthropic" | "google" | "ollama" | "openrouter";
|
1414
1414
|
model: string;
|
1415
1415
|
prompt: string;
|
1416
1416
|
baseUrl?: string | undefined;
|
1417
1417
|
}, {
|
1418
|
-
id: "openai" | "anthropic" | "google";
|
1418
|
+
id: "openai" | "anthropic" | "google" | "ollama" | "openrouter";
|
1419
1419
|
model: string;
|
1420
1420
|
prompt: string;
|
1421
1421
|
baseUrl?: string | undefined;
|
1422
1422
|
}>>;
|
1423
1423
|
}>, {
|
1424
|
-
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<{
|
1424
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
1425
1425
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
1426
1426
|
path: Z.ZodString;
|
1427
1427
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -1469,7 +1469,7 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShap
|
|
1469
1469
|
lockedKeys?: string[] | undefined;
|
1470
1470
|
}>>>;
|
1471
1471
|
}>, {
|
1472
|
-
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<{
|
1472
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
1473
1473
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
1474
1474
|
path: Z.ZodString;
|
1475
1475
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -1521,7 +1521,7 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShap
|
|
1521
1521
|
lockedPatterns?: string[] | undefined;
|
1522
1522
|
}>>>;
|
1523
1523
|
}>, {
|
1524
|
-
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<Z.objectUtil.extendShape<{
|
1524
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<Z.objectUtil.extendShape<{
|
1525
1525
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
1526
1526
|
path: Z.ZodString;
|
1527
1527
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -1585,7 +1585,7 @@ declare function parseI18nConfig(rawConfig: unknown): {
|
|
1585
1585
|
targets: string[];
|
1586
1586
|
extraSource?: string | undefined;
|
1587
1587
|
};
|
1588
|
-
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", {
|
1588
|
+
buckets: Partial<Record<"android" | "csv" | "ejs" | "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", {
|
1589
1589
|
include: (string | {
|
1590
1590
|
path: string;
|
1591
1591
|
delimiter?: "-" | "_" | null | undefined;
|
@@ -1601,7 +1601,7 @@ declare function parseI18nConfig(rawConfig: unknown): {
|
|
1601
1601
|
}>>;
|
1602
1602
|
$schema: string;
|
1603
1603
|
provider?: {
|
1604
|
-
id: "openai" | "anthropic" | "google";
|
1604
|
+
id: "openai" | "anthropic" | "google" | "ollama" | "openrouter";
|
1605
1605
|
model: string;
|
1606
1606
|
prompt: string;
|
1607
1607
|
baseUrl?: string | undefined;
|
@@ -1614,7 +1614,7 @@ declare const defaultConfig: {
|
|
1614
1614
|
targets: string[];
|
1615
1615
|
extraSource?: string | undefined;
|
1616
1616
|
};
|
1617
|
-
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", {
|
1617
|
+
buckets: Partial<Record<"android" | "csv" | "ejs" | "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", {
|
1618
1618
|
include: (string | {
|
1619
1619
|
path: string;
|
1620
1620
|
delimiter?: "-" | "_" | null | undefined;
|
@@ -1630,7 +1630,7 @@ declare const defaultConfig: {
|
|
1630
1630
|
}>>;
|
1631
1631
|
$schema: string;
|
1632
1632
|
provider?: {
|
1633
|
-
id: "openai" | "anthropic" | "google";
|
1633
|
+
id: "openai" | "anthropic" | "google" | "ollama" | "openrouter";
|
1634
1634
|
model: string;
|
1635
1635
|
prompt: string;
|
1636
1636
|
baseUrl?: string | undefined;
|
package/build/index.d.ts
CHANGED
@@ -4,7 +4,7 @@ declare const localeMap: {
|
|
4
4
|
readonly ur: readonly ["ur-PK"];
|
5
5
|
readonly vi: readonly ["vi-VN"];
|
6
6
|
readonly tr: readonly ["tr-TR"];
|
7
|
-
readonly ta: readonly ["ta-IN"];
|
7
|
+
readonly ta: readonly ["ta-IN", "ta-SG"];
|
8
8
|
readonly sr: readonly ["sr-RS", "sr-Latn-RS", "sr-Cyrl-RS"];
|
9
9
|
readonly hu: readonly ["hu-HU"];
|
10
10
|
readonly he: readonly ["he-IL"];
|
@@ -14,7 +14,7 @@ declare const localeMap: {
|
|
14
14
|
readonly az: readonly ["az-AZ"];
|
15
15
|
readonly th: readonly ["th-TH"];
|
16
16
|
readonly sv: readonly ["sv-SE"];
|
17
|
-
readonly en: readonly ["en-US", "en-GB", "en-AU", "en-CA"];
|
17
|
+
readonly en: readonly ["en-US", "en-GB", "en-AU", "en-CA", "en-SG"];
|
18
18
|
readonly es: readonly ["es-ES", "es-419", "es-MX", "es-AR"];
|
19
19
|
readonly fr: readonly ["fr-FR", "fr-CA", "fr-BE"];
|
20
20
|
readonly ca: readonly ["ca-ES"];
|
@@ -27,7 +27,7 @@ declare const localeMap: {
|
|
27
27
|
readonly uk: readonly ["uk-UA"];
|
28
28
|
readonly be: readonly ["be-BY"];
|
29
29
|
readonly hi: readonly ["hi-IN"];
|
30
|
-
readonly zh: readonly ["zh-CN", "zh-TW", "zh-HK", "zh-Hans", "zh-Hant", "zh-Hant-HK", "zh-Hant-TW", "zh-Hant-CN", "zh-Hans-HK", "zh-Hans-TW", "zh-Hans-CN"];
|
30
|
+
readonly zh: readonly ["zh-CN", "zh-TW", "zh-HK", "zh-SG", "zh-Hans", "zh-Hant", "zh-Hant-HK", "zh-Hant-TW", "zh-Hant-CN", "zh-Hans-HK", "zh-Hans-TW", "zh-Hans-CN"];
|
31
31
|
readonly ko: readonly ["ko-KR"];
|
32
32
|
readonly ar: readonly ["ar-EG", "ar-SA", "ar-AE", "ar-MA"];
|
33
33
|
readonly bg: readonly ["bg-BG"];
|
@@ -115,8 +115,8 @@ declare const resolveOverriddenLocale: (locale: string, delimiter?: LocaleDelimi
|
|
115
115
|
*/
|
116
116
|
declare function normalizeLocale(locale: string): string;
|
117
117
|
|
118
|
-
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"];
|
119
|
-
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"]>;
|
118
|
+
declare const bucketTypes: readonly ["android", "csv", "ejs", "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
|
+
declare const bucketTypeSchema: Z.ZodEnum<["android", "csv", "ejs", "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"]>;
|
120
120
|
|
121
121
|
declare const localeSchema: Z.ZodObject<{
|
122
122
|
source: Z.ZodEffects<Z.ZodString, string, string>;
|
@@ -149,7 +149,7 @@ declare const configV1Definition: ConfigDefinition<Z.objectUtil.extendShape<{
|
|
149
149
|
source: string;
|
150
150
|
targets: string[];
|
151
151
|
}>;
|
152
|
-
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
|
+
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "ejs", "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"]>>>>;
|
153
153
|
}>, Z.ZodRawShape>;
|
154
154
|
declare const configV1_1Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.objectUtil.extendShape<{
|
155
155
|
version: Z.ZodDefault<Z.ZodNumber>;
|
@@ -164,9 +164,9 @@ declare const configV1_1Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
164
164
|
source: string;
|
165
165
|
targets: string[];
|
166
166
|
}>;
|
167
|
-
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
|
+
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "ejs", "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"]>>>>;
|
168
168
|
}>, {
|
169
|
-
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
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
170
170
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
|
171
171
|
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
172
172
|
}, "strip", Z.ZodTypeAny, {
|
@@ -190,9 +190,9 @@ declare const configV1_2Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
190
190
|
source: string;
|
191
191
|
targets: string[];
|
192
192
|
}>;
|
193
|
-
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
|
+
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "ejs", "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"]>>>>;
|
194
194
|
}>, {
|
195
|
-
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
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
196
196
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
|
197
197
|
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
198
198
|
}, "strip", Z.ZodTypeAny, {
|
@@ -285,9 +285,9 @@ declare const configV1_3Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
285
285
|
source: string;
|
286
286
|
targets: string[];
|
287
287
|
}>;
|
288
|
-
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
|
+
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "ejs", "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"]>>>>;
|
289
289
|
}>, {
|
290
|
-
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
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
291
291
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
|
292
292
|
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
293
293
|
}, "strip", Z.ZodTypeAny, {
|
@@ -313,7 +313,7 @@ declare const configV1_3Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
313
313
|
extraSource?: string | undefined;
|
314
314
|
}>;
|
315
315
|
}>, {
|
316
|
-
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
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
317
317
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
318
318
|
path: Z.ZodString;
|
319
319
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -370,9 +370,9 @@ declare const configV1_4Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
370
370
|
source: string;
|
371
371
|
targets: string[];
|
372
372
|
}>;
|
373
|
-
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
|
+
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "ejs", "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"]>>>>;
|
374
374
|
}>, {
|
375
|
-
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
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
376
376
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
|
377
377
|
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
378
378
|
}, "strip", Z.ZodTypeAny, {
|
@@ -398,7 +398,7 @@ declare const configV1_4Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
398
398
|
extraSource?: string | undefined;
|
399
399
|
}>;
|
400
400
|
}>, {
|
401
|
-
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
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
402
402
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
403
403
|
path: Z.ZodString;
|
404
404
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -457,9 +457,9 @@ declare const configV1_5Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
457
457
|
source: string;
|
458
458
|
targets: string[];
|
459
459
|
}>;
|
460
|
-
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
|
+
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "ejs", "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"]>>>>;
|
461
461
|
}>, {
|
462
|
-
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
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
463
463
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
|
464
464
|
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
465
465
|
}, "strip", Z.ZodTypeAny, {
|
@@ -485,7 +485,7 @@ declare const configV1_5Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
485
485
|
extraSource?: string | undefined;
|
486
486
|
}>;
|
487
487
|
}>, {
|
488
|
-
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
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
489
489
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
490
490
|
path: Z.ZodString;
|
491
491
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -532,17 +532,17 @@ declare const configV1_5Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
532
532
|
$schema: Z.ZodDefault<Z.ZodString>;
|
533
533
|
}>, {
|
534
534
|
provider: Z.ZodOptional<Z.ZodObject<{
|
535
|
-
id: Z.ZodEnum<["openai", "anthropic", "google"]>;
|
535
|
+
id: Z.ZodEnum<["openai", "anthropic", "google", "ollama", "openrouter"]>;
|
536
536
|
model: Z.ZodString;
|
537
537
|
prompt: Z.ZodString;
|
538
538
|
baseUrl: Z.ZodOptional<Z.ZodString>;
|
539
539
|
}, "strip", Z.ZodTypeAny, {
|
540
|
-
id: "openai" | "anthropic" | "google";
|
540
|
+
id: "openai" | "anthropic" | "google" | "ollama" | "openrouter";
|
541
541
|
model: string;
|
542
542
|
prompt: string;
|
543
543
|
baseUrl?: string | undefined;
|
544
544
|
}, {
|
545
|
-
id: "openai" | "anthropic" | "google";
|
545
|
+
id: "openai" | "anthropic" | "google" | "ollama" | "openrouter";
|
546
546
|
model: string;
|
547
547
|
prompt: string;
|
548
548
|
baseUrl?: string | undefined;
|
@@ -608,9 +608,9 @@ declare const configV1_6Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
608
608
|
source: string;
|
609
609
|
targets: string[];
|
610
610
|
}>;
|
611
|
-
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"]>>>>;
|
611
|
+
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "ejs", "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"]>>>>;
|
612
612
|
}>, {
|
613
|
-
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<{
|
613
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
614
614
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
|
615
615
|
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
616
616
|
}, "strip", Z.ZodTypeAny, {
|
@@ -636,7 +636,7 @@ declare const configV1_6Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
636
636
|
extraSource?: string | undefined;
|
637
637
|
}>;
|
638
638
|
}>, {
|
639
|
-
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<{
|
639
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
640
640
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
641
641
|
path: Z.ZodString;
|
642
642
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -683,23 +683,23 @@ declare const configV1_6Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
683
683
|
$schema: Z.ZodDefault<Z.ZodString>;
|
684
684
|
}>, {
|
685
685
|
provider: Z.ZodOptional<Z.ZodObject<{
|
686
|
-
id: Z.ZodEnum<["openai", "anthropic", "google"]>;
|
686
|
+
id: Z.ZodEnum<["openai", "anthropic", "google", "ollama", "openrouter"]>;
|
687
687
|
model: Z.ZodString;
|
688
688
|
prompt: Z.ZodString;
|
689
689
|
baseUrl: Z.ZodOptional<Z.ZodString>;
|
690
690
|
}, "strip", Z.ZodTypeAny, {
|
691
|
-
id: "openai" | "anthropic" | "google";
|
691
|
+
id: "openai" | "anthropic" | "google" | "ollama" | "openrouter";
|
692
692
|
model: string;
|
693
693
|
prompt: string;
|
694
694
|
baseUrl?: string | undefined;
|
695
695
|
}, {
|
696
|
-
id: "openai" | "anthropic" | "google";
|
696
|
+
id: "openai" | "anthropic" | "google" | "ollama" | "openrouter";
|
697
697
|
model: string;
|
698
698
|
prompt: string;
|
699
699
|
baseUrl?: string | undefined;
|
700
700
|
}>>;
|
701
701
|
}>, {
|
702
|
-
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<{
|
702
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
703
703
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
704
704
|
path: Z.ZodString;
|
705
705
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -811,9 +811,9 @@ declare const configV1_7Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
811
811
|
source: string;
|
812
812
|
targets: string[];
|
813
813
|
}>;
|
814
|
-
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"]>>>>;
|
814
|
+
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "ejs", "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"]>>>>;
|
815
815
|
}>, {
|
816
|
-
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<{
|
816
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
817
817
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
|
818
818
|
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
819
819
|
}, "strip", Z.ZodTypeAny, {
|
@@ -839,7 +839,7 @@ declare const configV1_7Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
839
839
|
extraSource?: string | undefined;
|
840
840
|
}>;
|
841
841
|
}>, {
|
842
|
-
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<{
|
842
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
843
843
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
844
844
|
path: Z.ZodString;
|
845
845
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -886,23 +886,23 @@ declare const configV1_7Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
886
886
|
$schema: Z.ZodDefault<Z.ZodString>;
|
887
887
|
}>, {
|
888
888
|
provider: Z.ZodOptional<Z.ZodObject<{
|
889
|
-
id: Z.ZodEnum<["openai", "anthropic", "google"]>;
|
889
|
+
id: Z.ZodEnum<["openai", "anthropic", "google", "ollama", "openrouter"]>;
|
890
890
|
model: Z.ZodString;
|
891
891
|
prompt: Z.ZodString;
|
892
892
|
baseUrl: Z.ZodOptional<Z.ZodString>;
|
893
893
|
}, "strip", Z.ZodTypeAny, {
|
894
|
-
id: "openai" | "anthropic" | "google";
|
894
|
+
id: "openai" | "anthropic" | "google" | "ollama" | "openrouter";
|
895
895
|
model: string;
|
896
896
|
prompt: string;
|
897
897
|
baseUrl?: string | undefined;
|
898
898
|
}, {
|
899
|
-
id: "openai" | "anthropic" | "google";
|
899
|
+
id: "openai" | "anthropic" | "google" | "ollama" | "openrouter";
|
900
900
|
model: string;
|
901
901
|
prompt: string;
|
902
902
|
baseUrl?: string | undefined;
|
903
903
|
}>>;
|
904
904
|
}>, {
|
905
|
-
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<{
|
905
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
906
906
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
907
907
|
path: Z.ZodString;
|
908
908
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -950,7 +950,7 @@ declare const configV1_7Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
950
950
|
lockedKeys?: string[] | undefined;
|
951
951
|
}>>>;
|
952
952
|
}>, {
|
953
|
-
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<{
|
953
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
954
954
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
955
955
|
path: Z.ZodString;
|
956
956
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -1070,9 +1070,9 @@ declare const configV1_8Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
1070
1070
|
source: string;
|
1071
1071
|
targets: string[];
|
1072
1072
|
}>;
|
1073
|
-
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"]>>>>;
|
1073
|
+
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "ejs", "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"]>>>>;
|
1074
1074
|
}>, {
|
1075
|
-
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<{
|
1075
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
1076
1076
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
|
1077
1077
|
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
1078
1078
|
}, "strip", Z.ZodTypeAny, {
|
@@ -1098,7 +1098,7 @@ declare const configV1_8Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
1098
1098
|
extraSource?: string | undefined;
|
1099
1099
|
}>;
|
1100
1100
|
}>, {
|
1101
|
-
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<{
|
1101
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
1102
1102
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
1103
1103
|
path: Z.ZodString;
|
1104
1104
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -1145,23 +1145,23 @@ declare const configV1_8Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
1145
1145
|
$schema: Z.ZodDefault<Z.ZodString>;
|
1146
1146
|
}>, {
|
1147
1147
|
provider: Z.ZodOptional<Z.ZodObject<{
|
1148
|
-
id: Z.ZodEnum<["openai", "anthropic", "google"]>;
|
1148
|
+
id: Z.ZodEnum<["openai", "anthropic", "google", "ollama", "openrouter"]>;
|
1149
1149
|
model: Z.ZodString;
|
1150
1150
|
prompt: Z.ZodString;
|
1151
1151
|
baseUrl: Z.ZodOptional<Z.ZodString>;
|
1152
1152
|
}, "strip", Z.ZodTypeAny, {
|
1153
|
-
id: "openai" | "anthropic" | "google";
|
1153
|
+
id: "openai" | "anthropic" | "google" | "ollama" | "openrouter";
|
1154
1154
|
model: string;
|
1155
1155
|
prompt: string;
|
1156
1156
|
baseUrl?: string | undefined;
|
1157
1157
|
}, {
|
1158
|
-
id: "openai" | "anthropic" | "google";
|
1158
|
+
id: "openai" | "anthropic" | "google" | "ollama" | "openrouter";
|
1159
1159
|
model: string;
|
1160
1160
|
prompt: string;
|
1161
1161
|
baseUrl?: string | undefined;
|
1162
1162
|
}>>;
|
1163
1163
|
}>, {
|
1164
|
-
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<{
|
1164
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
1165
1165
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
1166
1166
|
path: Z.ZodString;
|
1167
1167
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -1209,7 +1209,7 @@ declare const configV1_8Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
1209
1209
|
lockedKeys?: string[] | undefined;
|
1210
1210
|
}>>>;
|
1211
1211
|
}>, {
|
1212
|
-
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<{
|
1212
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
1213
1213
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
1214
1214
|
path: Z.ZodString;
|
1215
1215
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -1261,7 +1261,7 @@ declare const configV1_8Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
|
|
1261
1261
|
lockedPatterns?: string[] | undefined;
|
1262
1262
|
}>>>;
|
1263
1263
|
}>, {
|
1264
|
-
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<Z.objectUtil.extendShape<{
|
1264
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<Z.objectUtil.extendShape<{
|
1265
1265
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
1266
1266
|
path: Z.ZodString;
|
1267
1267
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -1330,9 +1330,9 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShap
|
|
1330
1330
|
source: string;
|
1331
1331
|
targets: string[];
|
1332
1332
|
}>;
|
1333
|
-
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"]>>>>;
|
1333
|
+
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "ejs", "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"]>>>>;
|
1334
1334
|
}>, {
|
1335
|
-
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<{
|
1335
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
1336
1336
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
|
1337
1337
|
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
1338
1338
|
}, "strip", Z.ZodTypeAny, {
|
@@ -1358,7 +1358,7 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShap
|
|
1358
1358
|
extraSource?: string | undefined;
|
1359
1359
|
}>;
|
1360
1360
|
}>, {
|
1361
|
-
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<{
|
1361
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
1362
1362
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
1363
1363
|
path: Z.ZodString;
|
1364
1364
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -1405,23 +1405,23 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShap
|
|
1405
1405
|
$schema: Z.ZodDefault<Z.ZodString>;
|
1406
1406
|
}>, {
|
1407
1407
|
provider: Z.ZodOptional<Z.ZodObject<{
|
1408
|
-
id: Z.ZodEnum<["openai", "anthropic", "google"]>;
|
1408
|
+
id: Z.ZodEnum<["openai", "anthropic", "google", "ollama", "openrouter"]>;
|
1409
1409
|
model: Z.ZodString;
|
1410
1410
|
prompt: Z.ZodString;
|
1411
1411
|
baseUrl: Z.ZodOptional<Z.ZodString>;
|
1412
1412
|
}, "strip", Z.ZodTypeAny, {
|
1413
|
-
id: "openai" | "anthropic" | "google";
|
1413
|
+
id: "openai" | "anthropic" | "google" | "ollama" | "openrouter";
|
1414
1414
|
model: string;
|
1415
1415
|
prompt: string;
|
1416
1416
|
baseUrl?: string | undefined;
|
1417
1417
|
}, {
|
1418
|
-
id: "openai" | "anthropic" | "google";
|
1418
|
+
id: "openai" | "anthropic" | "google" | "ollama" | "openrouter";
|
1419
1419
|
model: string;
|
1420
1420
|
prompt: string;
|
1421
1421
|
baseUrl?: string | undefined;
|
1422
1422
|
}>>;
|
1423
1423
|
}>, {
|
1424
|
-
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<{
|
1424
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
1425
1425
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
1426
1426
|
path: Z.ZodString;
|
1427
1427
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -1469,7 +1469,7 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShap
|
|
1469
1469
|
lockedKeys?: string[] | undefined;
|
1470
1470
|
}>>>;
|
1471
1471
|
}>, {
|
1472
|
-
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<{
|
1472
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<{
|
1473
1473
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
1474
1474
|
path: Z.ZodString;
|
1475
1475
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -1521,7 +1521,7 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShap
|
|
1521
1521
|
lockedPatterns?: string[] | undefined;
|
1522
1522
|
}>>>;
|
1523
1523
|
}>, {
|
1524
|
-
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<Z.objectUtil.extendShape<{
|
1524
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "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<Z.objectUtil.extendShape<{
|
1525
1525
|
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
1526
1526
|
path: Z.ZodString;
|
1527
1527
|
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
@@ -1585,7 +1585,7 @@ declare function parseI18nConfig(rawConfig: unknown): {
|
|
1585
1585
|
targets: string[];
|
1586
1586
|
extraSource?: string | undefined;
|
1587
1587
|
};
|
1588
|
-
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", {
|
1588
|
+
buckets: Partial<Record<"android" | "csv" | "ejs" | "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", {
|
1589
1589
|
include: (string | {
|
1590
1590
|
path: string;
|
1591
1591
|
delimiter?: "-" | "_" | null | undefined;
|
@@ -1601,7 +1601,7 @@ declare function parseI18nConfig(rawConfig: unknown): {
|
|
1601
1601
|
}>>;
|
1602
1602
|
$schema: string;
|
1603
1603
|
provider?: {
|
1604
|
-
id: "openai" | "anthropic" | "google";
|
1604
|
+
id: "openai" | "anthropic" | "google" | "ollama" | "openrouter";
|
1605
1605
|
model: string;
|
1606
1606
|
prompt: string;
|
1607
1607
|
baseUrl?: string | undefined;
|
@@ -1614,7 +1614,7 @@ declare const defaultConfig: {
|
|
1614
1614
|
targets: string[];
|
1615
1615
|
extraSource?: string | undefined;
|
1616
1616
|
};
|
1617
|
-
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", {
|
1617
|
+
buckets: Partial<Record<"android" | "csv" | "ejs" | "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", {
|
1618
1618
|
include: (string | {
|
1619
1619
|
path: string;
|
1620
1620
|
delimiter?: "-" | "_" | null | undefined;
|
@@ -1630,7 +1630,7 @@ declare const defaultConfig: {
|
|
1630
1630
|
}>>;
|
1631
1631
|
$schema: string;
|
1632
1632
|
provider?: {
|
1633
|
-
id: "openai" | "anthropic" | "google";
|
1633
|
+
id: "openai" | "anthropic" | "google" | "ollama" | "openrouter";
|
1634
1634
|
model: string;
|
1635
1635
|
prompt: string;
|
1636
1636
|
baseUrl?: string | undefined;
|
package/build/index.mjs
CHANGED
@@ -8,7 +8,12 @@ var localeMap = {
|
|
8
8
|
// Turkish (Turkey)
|
9
9
|
tr: ["tr-TR"],
|
10
10
|
// Tamil (India)
|
11
|
-
ta: [
|
11
|
+
ta: [
|
12
|
+
"ta-IN",
|
13
|
+
// India
|
14
|
+
"ta-SG"
|
15
|
+
// Singapore
|
16
|
+
],
|
12
17
|
// Serbian
|
13
18
|
sr: [
|
14
19
|
"sr-RS",
|
@@ -42,8 +47,10 @@ var localeMap = {
|
|
42
47
|
// United Kingdom
|
43
48
|
"en-AU",
|
44
49
|
// Australia
|
45
|
-
"en-CA"
|
50
|
+
"en-CA",
|
46
51
|
// Canada
|
52
|
+
"en-SG"
|
53
|
+
// Singapore
|
47
54
|
],
|
48
55
|
// Spanish
|
49
56
|
es: [
|
@@ -115,6 +122,8 @@ var localeMap = {
|
|
115
122
|
// Traditional Chinese (Taiwan)
|
116
123
|
"zh-HK",
|
117
124
|
// Traditional Chinese (Hong Kong)
|
125
|
+
"zh-SG",
|
126
|
+
// Simplified Chinese (Singapore)
|
118
127
|
"zh-Hans",
|
119
128
|
// Simplified Chinese
|
120
129
|
"zh-Hant",
|
@@ -320,6 +329,7 @@ import Z2 from "zod";
|
|
320
329
|
var bucketTypes = [
|
321
330
|
"android",
|
322
331
|
"csv",
|
332
|
+
"ejs",
|
323
333
|
"flutter",
|
324
334
|
"html",
|
325
335
|
"json",
|
@@ -523,7 +533,7 @@ var configV1_4Definition = extendConfigDefinition(
|
|
523
533
|
}
|
524
534
|
);
|
525
535
|
var providerSchema = Z3.object({
|
526
|
-
id: Z3.enum(["openai", "anthropic", "google"]),
|
536
|
+
id: Z3.enum(["openai", "anthropic", "google", "ollama", "openrouter"]),
|
527
537
|
model: Z3.string(),
|
528
538
|
prompt: Z3.string(),
|
529
539
|
baseUrl: Z3.string().optional()
|