@lingo.dev/_spec 0.46.0 → 0.47.1
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 +154 -110
- package/build/index.cjs +51 -13
- package/build/index.d.cts +911 -1039
- package/build/index.d.ts +911 -1039
- package/build/index.mjs +50 -12
- package/package.json +2 -3
package/build/index.d.cts
CHANGED
|
@@ -82,7 +82,7 @@ declare const localeCodesFull: LocaleCodeFull[];
|
|
|
82
82
|
declare const localeCodesFullUnderscore: string[];
|
|
83
83
|
declare const localeCodesFullExplicitRegion: string[];
|
|
84
84
|
declare const localeCodes: LocaleCode[];
|
|
85
|
-
declare const localeCodeSchema: Z.
|
|
85
|
+
declare const localeCodeSchema: Z.ZodString;
|
|
86
86
|
/**
|
|
87
87
|
* Resolves a locale code to its full locale representation.
|
|
88
88
|
*
|
|
@@ -120,1169 +120,1039 @@ declare const resolveOverriddenLocale: (locale: string, delimiter?: LocaleDelimi
|
|
|
120
120
|
declare function normalizeLocale(locale: string): string;
|
|
121
121
|
|
|
122
122
|
declare const bucketTypes: readonly ["ail", "android", "csv", "ejs", "flutter", "html", "json", "json5", "jsonc", "markdown", "markdoc", "mdx", "mjml", "twig", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "xcode-xcstrings-v2", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt", "json-dictionary", "csv-per-locale"];
|
|
123
|
-
declare const bucketTypeSchema: Z.ZodEnum<
|
|
123
|
+
declare const bucketTypeSchema: Z.ZodEnum<{
|
|
124
|
+
ail: "ail";
|
|
125
|
+
android: "android";
|
|
126
|
+
csv: "csv";
|
|
127
|
+
ejs: "ejs";
|
|
128
|
+
flutter: "flutter";
|
|
129
|
+
html: "html";
|
|
130
|
+
json: "json";
|
|
131
|
+
json5: "json5";
|
|
132
|
+
jsonc: "jsonc";
|
|
133
|
+
markdown: "markdown";
|
|
134
|
+
markdoc: "markdoc";
|
|
135
|
+
mdx: "mdx";
|
|
136
|
+
mjml: "mjml";
|
|
137
|
+
twig: "twig";
|
|
138
|
+
"xcode-strings": "xcode-strings";
|
|
139
|
+
"xcode-stringsdict": "xcode-stringsdict";
|
|
140
|
+
"xcode-xcstrings": "xcode-xcstrings";
|
|
141
|
+
"xcode-xcstrings-v2": "xcode-xcstrings-v2";
|
|
142
|
+
yaml: "yaml";
|
|
143
|
+
"yaml-root-key": "yaml-root-key";
|
|
144
|
+
properties: "properties";
|
|
145
|
+
po: "po";
|
|
146
|
+
xliff: "xliff";
|
|
147
|
+
xml: "xml";
|
|
148
|
+
srt: "srt";
|
|
149
|
+
dato: "dato";
|
|
150
|
+
compiler: "compiler";
|
|
151
|
+
vtt: "vtt";
|
|
152
|
+
php: "php";
|
|
153
|
+
"vue-json": "vue-json";
|
|
154
|
+
typescript: "typescript";
|
|
155
|
+
txt: "txt";
|
|
156
|
+
"json-dictionary": "json-dictionary";
|
|
157
|
+
"csv-per-locale": "csv-per-locale";
|
|
158
|
+
}>;
|
|
124
159
|
|
|
125
160
|
declare const localeSchema: Z.ZodObject<{
|
|
126
|
-
source: Z.
|
|
127
|
-
targets: Z.ZodArray<Z.
|
|
128
|
-
},
|
|
129
|
-
source: string;
|
|
130
|
-
targets: string[];
|
|
131
|
-
}, {
|
|
132
|
-
source: string;
|
|
133
|
-
targets: string[];
|
|
134
|
-
}>;
|
|
161
|
+
source: Z.ZodString;
|
|
162
|
+
targets: Z.ZodArray<Z.ZodString>;
|
|
163
|
+
}, Z.core.$strip>;
|
|
135
164
|
type ConfigDefinition<T extends Z.ZodRawShape, _P extends Z.ZodRawShape = any> = {
|
|
136
165
|
schema: Z.ZodObject<T>;
|
|
137
166
|
defaultValue: Z.infer<Z.ZodObject<T>>;
|
|
138
167
|
parse: (rawConfig: unknown) => Z.infer<Z.ZodObject<T>>;
|
|
139
168
|
};
|
|
140
169
|
declare const configV0Definition: ConfigDefinition<{
|
|
141
|
-
version: Z.ZodDefault<Z.ZodUnion<[Z.ZodNumber, Z.ZodString]>>;
|
|
170
|
+
version: Z.ZodDefault<Z.ZodUnion<readonly [Z.ZodNumber, Z.ZodString]>>;
|
|
142
171
|
}, any>;
|
|
143
172
|
declare const configV1Definition: ConfigDefinition<{
|
|
144
|
-
version: Z.ZodDefault<Z.ZodUnion<[Z.ZodNumber, Z.ZodString]>>;
|
|
145
|
-
} & {
|
|
173
|
+
version: Z.ZodDefault<Z.ZodUnion<readonly [Z.ZodNumber, Z.ZodString]>>;
|
|
146
174
|
locale: Z.ZodObject<{
|
|
147
|
-
source: Z.
|
|
148
|
-
targets: Z.ZodArray<Z.
|
|
149
|
-
},
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
175
|
+
source: Z.ZodString;
|
|
176
|
+
targets: Z.ZodArray<Z.ZodString>;
|
|
177
|
+
}, Z.core.$strip>;
|
|
178
|
+
buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<{
|
|
179
|
+
ail: "ail";
|
|
180
|
+
android: "android";
|
|
181
|
+
csv: "csv";
|
|
182
|
+
ejs: "ejs";
|
|
183
|
+
flutter: "flutter";
|
|
184
|
+
html: "html";
|
|
185
|
+
json: "json";
|
|
186
|
+
json5: "json5";
|
|
187
|
+
jsonc: "jsonc";
|
|
188
|
+
markdown: "markdown";
|
|
189
|
+
markdoc: "markdoc";
|
|
190
|
+
mdx: "mdx";
|
|
191
|
+
mjml: "mjml";
|
|
192
|
+
twig: "twig";
|
|
193
|
+
"xcode-strings": "xcode-strings";
|
|
194
|
+
"xcode-stringsdict": "xcode-stringsdict";
|
|
195
|
+
"xcode-xcstrings": "xcode-xcstrings";
|
|
196
|
+
"xcode-xcstrings-v2": "xcode-xcstrings-v2";
|
|
197
|
+
yaml: "yaml";
|
|
198
|
+
"yaml-root-key": "yaml-root-key";
|
|
199
|
+
properties: "properties";
|
|
200
|
+
po: "po";
|
|
201
|
+
xliff: "xliff";
|
|
202
|
+
xml: "xml";
|
|
203
|
+
srt: "srt";
|
|
204
|
+
dato: "dato";
|
|
205
|
+
compiler: "compiler";
|
|
206
|
+
vtt: "vtt";
|
|
207
|
+
php: "php";
|
|
208
|
+
"vue-json": "vue-json";
|
|
209
|
+
typescript: "typescript";
|
|
210
|
+
txt: "txt";
|
|
211
|
+
"json-dictionary": "json-dictionary";
|
|
212
|
+
"csv-per-locale": "csv-per-locale";
|
|
213
|
+
}>>>>;
|
|
157
214
|
}, any>;
|
|
158
215
|
declare const configV1_1Definition: ConfigDefinition<{
|
|
159
|
-
version: Z.ZodDefault<Z.ZodUnion<[Z.ZodNumber, Z.ZodString]>>;
|
|
216
|
+
version: Z.ZodDefault<Z.ZodUnion<readonly [Z.ZodNumber, Z.ZodString]>>;
|
|
160
217
|
locale: Z.ZodObject<{
|
|
161
|
-
source: Z.
|
|
162
|
-
targets: Z.ZodArray<Z.
|
|
163
|
-
},
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
218
|
+
source: Z.ZodString;
|
|
219
|
+
targets: Z.ZodArray<Z.ZodString>;
|
|
220
|
+
}, Z.core.$strip>;
|
|
221
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<{
|
|
222
|
+
ail: "ail";
|
|
223
|
+
android: "android";
|
|
224
|
+
csv: "csv";
|
|
225
|
+
ejs: "ejs";
|
|
226
|
+
flutter: "flutter";
|
|
227
|
+
html: "html";
|
|
228
|
+
json: "json";
|
|
229
|
+
json5: "json5";
|
|
230
|
+
jsonc: "jsonc";
|
|
231
|
+
markdown: "markdown";
|
|
232
|
+
markdoc: "markdoc";
|
|
233
|
+
mdx: "mdx";
|
|
234
|
+
mjml: "mjml";
|
|
235
|
+
twig: "twig";
|
|
236
|
+
"xcode-strings": "xcode-strings";
|
|
237
|
+
"xcode-stringsdict": "xcode-stringsdict";
|
|
238
|
+
"xcode-xcstrings": "xcode-xcstrings";
|
|
239
|
+
"xcode-xcstrings-v2": "xcode-xcstrings-v2";
|
|
240
|
+
yaml: "yaml";
|
|
241
|
+
"yaml-root-key": "yaml-root-key";
|
|
242
|
+
properties: "properties";
|
|
243
|
+
po: "po";
|
|
244
|
+
xliff: "xliff";
|
|
245
|
+
xml: "xml";
|
|
246
|
+
srt: "srt";
|
|
247
|
+
dato: "dato";
|
|
248
|
+
compiler: "compiler";
|
|
249
|
+
vtt: "vtt";
|
|
250
|
+
php: "php";
|
|
251
|
+
"vue-json": "vue-json";
|
|
252
|
+
typescript: "typescript";
|
|
253
|
+
txt: "txt";
|
|
254
|
+
"json-dictionary": "json-dictionary";
|
|
255
|
+
"csv-per-locale": "csv-per-locale";
|
|
256
|
+
}> & Z.core.$partial, Z.ZodObject<{
|
|
257
|
+
include: Z.ZodDefault<Z.ZodArray<Z.ZodString>>;
|
|
258
|
+
exclude: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
259
|
+
}, Z.core.$strip>>>;
|
|
181
260
|
}, any>;
|
|
182
261
|
declare const configV1_2Definition: ConfigDefinition<{
|
|
183
|
-
version: Z.ZodDefault<Z.ZodUnion<[Z.ZodNumber, Z.ZodString]>>;
|
|
184
|
-
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
262
|
+
version: Z.ZodDefault<Z.ZodUnion<readonly [Z.ZodNumber, Z.ZodString]>>;
|
|
263
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<{
|
|
264
|
+
ail: "ail";
|
|
265
|
+
android: "android";
|
|
266
|
+
csv: "csv";
|
|
267
|
+
ejs: "ejs";
|
|
268
|
+
flutter: "flutter";
|
|
269
|
+
html: "html";
|
|
270
|
+
json: "json";
|
|
271
|
+
json5: "json5";
|
|
272
|
+
jsonc: "jsonc";
|
|
273
|
+
markdown: "markdown";
|
|
274
|
+
markdoc: "markdoc";
|
|
275
|
+
mdx: "mdx";
|
|
276
|
+
mjml: "mjml";
|
|
277
|
+
twig: "twig";
|
|
278
|
+
"xcode-strings": "xcode-strings";
|
|
279
|
+
"xcode-stringsdict": "xcode-stringsdict";
|
|
280
|
+
"xcode-xcstrings": "xcode-xcstrings";
|
|
281
|
+
"xcode-xcstrings-v2": "xcode-xcstrings-v2";
|
|
282
|
+
yaml: "yaml";
|
|
283
|
+
"yaml-root-key": "yaml-root-key";
|
|
284
|
+
properties: "properties";
|
|
285
|
+
po: "po";
|
|
286
|
+
xliff: "xliff";
|
|
287
|
+
xml: "xml";
|
|
288
|
+
srt: "srt";
|
|
289
|
+
dato: "dato";
|
|
290
|
+
compiler: "compiler";
|
|
291
|
+
vtt: "vtt";
|
|
292
|
+
php: "php";
|
|
293
|
+
"vue-json": "vue-json";
|
|
294
|
+
typescript: "typescript";
|
|
295
|
+
txt: "txt";
|
|
296
|
+
"json-dictionary": "json-dictionary";
|
|
297
|
+
"csv-per-locale": "csv-per-locale";
|
|
298
|
+
}> & Z.core.$partial, Z.ZodObject<{
|
|
299
|
+
include: Z.ZodDefault<Z.ZodArray<Z.ZodString>>;
|
|
300
|
+
exclude: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
301
|
+
}, Z.core.$strip>>>;
|
|
195
302
|
locale: Z.ZodObject<{
|
|
196
|
-
source: Z.
|
|
197
|
-
targets: Z.ZodArray<Z.
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
}, "strip", Z.ZodTypeAny, {
|
|
201
|
-
source: string;
|
|
202
|
-
targets: string[];
|
|
203
|
-
extraSource?: string | undefined;
|
|
204
|
-
}, {
|
|
205
|
-
source: string;
|
|
206
|
-
targets: string[];
|
|
207
|
-
extraSource?: string | undefined;
|
|
208
|
-
}>;
|
|
303
|
+
source: Z.ZodString;
|
|
304
|
+
targets: Z.ZodArray<Z.ZodString>;
|
|
305
|
+
extraSource: Z.ZodOptional<Z.ZodString>;
|
|
306
|
+
}, Z.core.$strip>;
|
|
209
307
|
}, any>;
|
|
210
308
|
declare const bucketItemSchema: Z.ZodObject<{
|
|
211
309
|
path: Z.ZodString;
|
|
212
|
-
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
213
|
-
},
|
|
214
|
-
path: string;
|
|
215
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
216
|
-
}, {
|
|
217
|
-
path: string;
|
|
218
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
219
|
-
}>;
|
|
310
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<readonly [Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
311
|
+
}, Z.core.$strip>;
|
|
220
312
|
type BucketItem = Z.infer<typeof bucketItemSchema>;
|
|
221
313
|
declare const bucketValueSchemaV1_3: Z.ZodObject<{
|
|
222
|
-
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
|
314
|
+
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<readonly [Z.ZodString, Z.ZodObject<{
|
|
223
315
|
path: Z.ZodString;
|
|
224
|
-
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
225
|
-
},
|
|
226
|
-
|
|
227
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
228
|
-
}, {
|
|
229
|
-
path: string;
|
|
230
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
231
|
-
}>]>, "many">>;
|
|
232
|
-
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
|
316
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<readonly [Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
317
|
+
}, Z.core.$strip>]>>>;
|
|
318
|
+
exclude: Z.ZodOptional<Z.ZodArray<Z.ZodUnion<readonly [Z.ZodString, Z.ZodObject<{
|
|
233
319
|
path: Z.ZodString;
|
|
234
|
-
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
235
|
-
},
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
}, {
|
|
239
|
-
path: string;
|
|
240
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
241
|
-
}>]>, "many">>>;
|
|
242
|
-
injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
|
|
243
|
-
}, "strip", Z.ZodTypeAny, {
|
|
244
|
-
include: (string | {
|
|
245
|
-
path: string;
|
|
246
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
247
|
-
})[];
|
|
248
|
-
exclude?: (string | {
|
|
249
|
-
path: string;
|
|
250
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
251
|
-
})[] | undefined;
|
|
252
|
-
injectLocale?: string[] | undefined;
|
|
253
|
-
}, {
|
|
254
|
-
exclude?: (string | {
|
|
255
|
-
path: string;
|
|
256
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
257
|
-
})[] | undefined;
|
|
258
|
-
include?: (string | {
|
|
259
|
-
path: string;
|
|
260
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
261
|
-
})[] | undefined;
|
|
262
|
-
injectLocale?: string[] | undefined;
|
|
263
|
-
}>;
|
|
320
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<readonly [Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
321
|
+
}, Z.core.$strip>]>>>;
|
|
322
|
+
injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
323
|
+
}, Z.core.$strip>;
|
|
264
324
|
declare const configV1_3Definition: ConfigDefinition<{
|
|
265
|
-
version: Z.ZodDefault<Z.ZodUnion<[Z.ZodNumber, Z.ZodString]>>;
|
|
325
|
+
version: Z.ZodDefault<Z.ZodUnion<readonly [Z.ZodNumber, Z.ZodString]>>;
|
|
266
326
|
locale: Z.ZodObject<{
|
|
267
|
-
source: Z.
|
|
268
|
-
targets: Z.ZodArray<Z.
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
327
|
+
source: Z.ZodString;
|
|
328
|
+
targets: Z.ZodArray<Z.ZodString>;
|
|
329
|
+
extraSource: Z.ZodOptional<Z.ZodString>;
|
|
330
|
+
}, Z.core.$strip>;
|
|
331
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<{
|
|
332
|
+
ail: "ail";
|
|
333
|
+
android: "android";
|
|
334
|
+
csv: "csv";
|
|
335
|
+
ejs: "ejs";
|
|
336
|
+
flutter: "flutter";
|
|
337
|
+
html: "html";
|
|
338
|
+
json: "json";
|
|
339
|
+
json5: "json5";
|
|
340
|
+
jsonc: "jsonc";
|
|
341
|
+
markdown: "markdown";
|
|
342
|
+
markdoc: "markdoc";
|
|
343
|
+
mdx: "mdx";
|
|
344
|
+
mjml: "mjml";
|
|
345
|
+
twig: "twig";
|
|
346
|
+
"xcode-strings": "xcode-strings";
|
|
347
|
+
"xcode-stringsdict": "xcode-stringsdict";
|
|
348
|
+
"xcode-xcstrings": "xcode-xcstrings";
|
|
349
|
+
"xcode-xcstrings-v2": "xcode-xcstrings-v2";
|
|
350
|
+
yaml: "yaml";
|
|
351
|
+
"yaml-root-key": "yaml-root-key";
|
|
352
|
+
properties: "properties";
|
|
353
|
+
po: "po";
|
|
354
|
+
xliff: "xliff";
|
|
355
|
+
xml: "xml";
|
|
356
|
+
srt: "srt";
|
|
357
|
+
dato: "dato";
|
|
358
|
+
compiler: "compiler";
|
|
359
|
+
vtt: "vtt";
|
|
360
|
+
php: "php";
|
|
361
|
+
"vue-json": "vue-json";
|
|
362
|
+
typescript: "typescript";
|
|
363
|
+
txt: "txt";
|
|
364
|
+
"json-dictionary": "json-dictionary";
|
|
365
|
+
"csv-per-locale": "csv-per-locale";
|
|
366
|
+
}> & Z.core.$partial, Z.ZodObject<{
|
|
367
|
+
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<readonly [Z.ZodString, Z.ZodObject<{
|
|
283
368
|
path: Z.ZodString;
|
|
284
|
-
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
285
|
-
},
|
|
286
|
-
|
|
287
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
288
|
-
}, {
|
|
289
|
-
path: string;
|
|
290
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
291
|
-
}>]>, "many">>;
|
|
292
|
-
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
|
369
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<readonly [Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
370
|
+
}, Z.core.$strip>]>>>;
|
|
371
|
+
exclude: Z.ZodOptional<Z.ZodArray<Z.ZodUnion<readonly [Z.ZodString, Z.ZodObject<{
|
|
293
372
|
path: Z.ZodString;
|
|
294
|
-
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
295
|
-
},
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
}, {
|
|
299
|
-
path: string;
|
|
300
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
301
|
-
}>]>, "many">>>;
|
|
302
|
-
injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
|
|
303
|
-
}, "strip", Z.ZodTypeAny, {
|
|
304
|
-
include: (string | {
|
|
305
|
-
path: string;
|
|
306
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
307
|
-
})[];
|
|
308
|
-
exclude?: (string | {
|
|
309
|
-
path: string;
|
|
310
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
311
|
-
})[] | undefined;
|
|
312
|
-
injectLocale?: string[] | undefined;
|
|
313
|
-
}, {
|
|
314
|
-
exclude?: (string | {
|
|
315
|
-
path: string;
|
|
316
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
317
|
-
})[] | undefined;
|
|
318
|
-
include?: (string | {
|
|
319
|
-
path: string;
|
|
320
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
321
|
-
})[] | undefined;
|
|
322
|
-
injectLocale?: string[] | undefined;
|
|
323
|
-
}>>>;
|
|
373
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<readonly [Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
374
|
+
}, Z.core.$strip>]>>>;
|
|
375
|
+
injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
376
|
+
}, Z.core.$strip>>>;
|
|
324
377
|
}, any>;
|
|
325
378
|
declare const configV1_4Definition: ConfigDefinition<{
|
|
326
|
-
version: Z.ZodDefault<Z.ZodUnion<[Z.ZodNumber, Z.ZodString]>>;
|
|
379
|
+
version: Z.ZodDefault<Z.ZodUnion<readonly [Z.ZodNumber, Z.ZodString]>>;
|
|
327
380
|
locale: Z.ZodObject<{
|
|
328
|
-
source: Z.
|
|
329
|
-
targets: Z.ZodArray<Z.
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
381
|
+
source: Z.ZodString;
|
|
382
|
+
targets: Z.ZodArray<Z.ZodString>;
|
|
383
|
+
extraSource: Z.ZodOptional<Z.ZodString>;
|
|
384
|
+
}, Z.core.$strip>;
|
|
385
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<{
|
|
386
|
+
ail: "ail";
|
|
387
|
+
android: "android";
|
|
388
|
+
csv: "csv";
|
|
389
|
+
ejs: "ejs";
|
|
390
|
+
flutter: "flutter";
|
|
391
|
+
html: "html";
|
|
392
|
+
json: "json";
|
|
393
|
+
json5: "json5";
|
|
394
|
+
jsonc: "jsonc";
|
|
395
|
+
markdown: "markdown";
|
|
396
|
+
markdoc: "markdoc";
|
|
397
|
+
mdx: "mdx";
|
|
398
|
+
mjml: "mjml";
|
|
399
|
+
twig: "twig";
|
|
400
|
+
"xcode-strings": "xcode-strings";
|
|
401
|
+
"xcode-stringsdict": "xcode-stringsdict";
|
|
402
|
+
"xcode-xcstrings": "xcode-xcstrings";
|
|
403
|
+
"xcode-xcstrings-v2": "xcode-xcstrings-v2";
|
|
404
|
+
yaml: "yaml";
|
|
405
|
+
"yaml-root-key": "yaml-root-key";
|
|
406
|
+
properties: "properties";
|
|
407
|
+
po: "po";
|
|
408
|
+
xliff: "xliff";
|
|
409
|
+
xml: "xml";
|
|
410
|
+
srt: "srt";
|
|
411
|
+
dato: "dato";
|
|
412
|
+
compiler: "compiler";
|
|
413
|
+
vtt: "vtt";
|
|
414
|
+
php: "php";
|
|
415
|
+
"vue-json": "vue-json";
|
|
416
|
+
typescript: "typescript";
|
|
417
|
+
txt: "txt";
|
|
418
|
+
"json-dictionary": "json-dictionary";
|
|
419
|
+
"csv-per-locale": "csv-per-locale";
|
|
420
|
+
}> & Z.core.$partial, Z.ZodObject<{
|
|
421
|
+
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<readonly [Z.ZodString, Z.ZodObject<{
|
|
344
422
|
path: Z.ZodString;
|
|
345
|
-
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
346
|
-
},
|
|
347
|
-
|
|
348
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
349
|
-
}, {
|
|
350
|
-
path: string;
|
|
351
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
352
|
-
}>]>, "many">>;
|
|
353
|
-
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
|
423
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<readonly [Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
424
|
+
}, Z.core.$strip>]>>>;
|
|
425
|
+
exclude: Z.ZodOptional<Z.ZodArray<Z.ZodUnion<readonly [Z.ZodString, Z.ZodObject<{
|
|
354
426
|
path: Z.ZodString;
|
|
355
|
-
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
356
|
-
},
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
}, {
|
|
360
|
-
path: string;
|
|
361
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
362
|
-
}>]>, "many">>>;
|
|
363
|
-
injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
|
|
364
|
-
}, "strip", Z.ZodTypeAny, {
|
|
365
|
-
include: (string | {
|
|
366
|
-
path: string;
|
|
367
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
368
|
-
})[];
|
|
369
|
-
exclude?: (string | {
|
|
370
|
-
path: string;
|
|
371
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
372
|
-
})[] | undefined;
|
|
373
|
-
injectLocale?: string[] | undefined;
|
|
374
|
-
}, {
|
|
375
|
-
exclude?: (string | {
|
|
376
|
-
path: string;
|
|
377
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
378
|
-
})[] | undefined;
|
|
379
|
-
include?: (string | {
|
|
380
|
-
path: string;
|
|
381
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
382
|
-
})[] | undefined;
|
|
383
|
-
injectLocale?: string[] | undefined;
|
|
384
|
-
}>>>;
|
|
385
|
-
} & {
|
|
427
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<readonly [Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
428
|
+
}, Z.core.$strip>]>>>;
|
|
429
|
+
injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
430
|
+
}, Z.core.$strip>>>;
|
|
386
431
|
$schema: Z.ZodDefault<Z.ZodString>;
|
|
387
432
|
}, any>;
|
|
388
433
|
declare const configV1_5Definition: ConfigDefinition<{
|
|
389
|
-
version: Z.ZodDefault<Z.ZodUnion<[Z.ZodNumber, Z.ZodString]>>;
|
|
434
|
+
version: Z.ZodDefault<Z.ZodUnion<readonly [Z.ZodNumber, Z.ZodString]>>;
|
|
390
435
|
locale: Z.ZodObject<{
|
|
391
|
-
source: Z.
|
|
392
|
-
targets: Z.ZodArray<Z.
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
436
|
+
source: Z.ZodString;
|
|
437
|
+
targets: Z.ZodArray<Z.ZodString>;
|
|
438
|
+
extraSource: Z.ZodOptional<Z.ZodString>;
|
|
439
|
+
}, Z.core.$strip>;
|
|
440
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<{
|
|
441
|
+
ail: "ail";
|
|
442
|
+
android: "android";
|
|
443
|
+
csv: "csv";
|
|
444
|
+
ejs: "ejs";
|
|
445
|
+
flutter: "flutter";
|
|
446
|
+
html: "html";
|
|
447
|
+
json: "json";
|
|
448
|
+
json5: "json5";
|
|
449
|
+
jsonc: "jsonc";
|
|
450
|
+
markdown: "markdown";
|
|
451
|
+
markdoc: "markdoc";
|
|
452
|
+
mdx: "mdx";
|
|
453
|
+
mjml: "mjml";
|
|
454
|
+
twig: "twig";
|
|
455
|
+
"xcode-strings": "xcode-strings";
|
|
456
|
+
"xcode-stringsdict": "xcode-stringsdict";
|
|
457
|
+
"xcode-xcstrings": "xcode-xcstrings";
|
|
458
|
+
"xcode-xcstrings-v2": "xcode-xcstrings-v2";
|
|
459
|
+
yaml: "yaml";
|
|
460
|
+
"yaml-root-key": "yaml-root-key";
|
|
461
|
+
properties: "properties";
|
|
462
|
+
po: "po";
|
|
463
|
+
xliff: "xliff";
|
|
464
|
+
xml: "xml";
|
|
465
|
+
srt: "srt";
|
|
466
|
+
dato: "dato";
|
|
467
|
+
compiler: "compiler";
|
|
468
|
+
vtt: "vtt";
|
|
469
|
+
php: "php";
|
|
470
|
+
"vue-json": "vue-json";
|
|
471
|
+
typescript: "typescript";
|
|
472
|
+
txt: "txt";
|
|
473
|
+
"json-dictionary": "json-dictionary";
|
|
474
|
+
"csv-per-locale": "csv-per-locale";
|
|
475
|
+
}> & Z.core.$partial, Z.ZodObject<{
|
|
476
|
+
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<readonly [Z.ZodString, Z.ZodObject<{
|
|
407
477
|
path: Z.ZodString;
|
|
408
|
-
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
409
|
-
},
|
|
410
|
-
|
|
411
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
412
|
-
}, {
|
|
413
|
-
path: string;
|
|
414
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
415
|
-
}>]>, "many">>;
|
|
416
|
-
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
|
478
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<readonly [Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
479
|
+
}, Z.core.$strip>]>>>;
|
|
480
|
+
exclude: Z.ZodOptional<Z.ZodArray<Z.ZodUnion<readonly [Z.ZodString, Z.ZodObject<{
|
|
417
481
|
path: Z.ZodString;
|
|
418
|
-
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
419
|
-
},
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
}, {
|
|
423
|
-
path: string;
|
|
424
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
425
|
-
}>]>, "many">>>;
|
|
426
|
-
injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
|
|
427
|
-
}, "strip", Z.ZodTypeAny, {
|
|
428
|
-
include: (string | {
|
|
429
|
-
path: string;
|
|
430
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
431
|
-
})[];
|
|
432
|
-
exclude?: (string | {
|
|
433
|
-
path: string;
|
|
434
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
435
|
-
})[] | undefined;
|
|
436
|
-
injectLocale?: string[] | undefined;
|
|
437
|
-
}, {
|
|
438
|
-
exclude?: (string | {
|
|
439
|
-
path: string;
|
|
440
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
441
|
-
})[] | undefined;
|
|
442
|
-
include?: (string | {
|
|
443
|
-
path: string;
|
|
444
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
445
|
-
})[] | undefined;
|
|
446
|
-
injectLocale?: string[] | undefined;
|
|
447
|
-
}>>>;
|
|
448
|
-
} & {
|
|
482
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<readonly [Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
483
|
+
}, Z.core.$strip>]>>>;
|
|
484
|
+
injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
485
|
+
}, Z.core.$strip>>>;
|
|
449
486
|
$schema: Z.ZodDefault<Z.ZodString>;
|
|
450
|
-
} & {
|
|
451
487
|
provider: Z.ZodOptional<Z.ZodObject<{
|
|
452
|
-
id: Z.ZodEnum<
|
|
488
|
+
id: Z.ZodEnum<{
|
|
489
|
+
openai: "openai";
|
|
490
|
+
anthropic: "anthropic";
|
|
491
|
+
google: "google";
|
|
492
|
+
ollama: "ollama";
|
|
493
|
+
openrouter: "openrouter";
|
|
494
|
+
mistral: "mistral";
|
|
495
|
+
}>;
|
|
453
496
|
model: Z.ZodString;
|
|
454
497
|
prompt: Z.ZodString;
|
|
455
498
|
baseUrl: Z.ZodOptional<Z.ZodString>;
|
|
456
|
-
},
|
|
457
|
-
id: "openai" | "anthropic" | "google" | "ollama" | "openrouter" | "mistral";
|
|
458
|
-
model: string;
|
|
459
|
-
prompt: string;
|
|
460
|
-
baseUrl?: string | undefined;
|
|
461
|
-
}, {
|
|
462
|
-
id: "openai" | "anthropic" | "google" | "ollama" | "openrouter" | "mistral";
|
|
463
|
-
model: string;
|
|
464
|
-
prompt: string;
|
|
465
|
-
baseUrl?: string | undefined;
|
|
466
|
-
}>>;
|
|
499
|
+
}, Z.core.$strip>>;
|
|
467
500
|
}, any>;
|
|
468
501
|
declare const bucketValueSchemaV1_6: Z.ZodObject<{
|
|
469
|
-
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
|
502
|
+
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<readonly [Z.ZodString, Z.ZodObject<{
|
|
470
503
|
path: Z.ZodString;
|
|
471
|
-
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
472
|
-
},
|
|
473
|
-
|
|
474
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
475
|
-
}, {
|
|
476
|
-
path: string;
|
|
477
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
478
|
-
}>]>, "many">>;
|
|
479
|
-
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
|
504
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<readonly [Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
505
|
+
}, Z.core.$strip>]>>>;
|
|
506
|
+
exclude: Z.ZodOptional<Z.ZodArray<Z.ZodUnion<readonly [Z.ZodString, Z.ZodObject<{
|
|
480
507
|
path: Z.ZodString;
|
|
481
|
-
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
482
|
-
},
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
path: string;
|
|
487
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
488
|
-
}>]>, "many">>>;
|
|
489
|
-
injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
|
|
490
|
-
} & {
|
|
491
|
-
lockedKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
|
492
|
-
}, "strip", Z.ZodTypeAny, {
|
|
493
|
-
include: (string | {
|
|
494
|
-
path: string;
|
|
495
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
496
|
-
})[];
|
|
497
|
-
exclude?: (string | {
|
|
498
|
-
path: string;
|
|
499
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
500
|
-
})[] | undefined;
|
|
501
|
-
injectLocale?: string[] | undefined;
|
|
502
|
-
lockedKeys?: string[] | undefined;
|
|
503
|
-
}, {
|
|
504
|
-
exclude?: (string | {
|
|
505
|
-
path: string;
|
|
506
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
507
|
-
})[] | undefined;
|
|
508
|
-
include?: (string | {
|
|
509
|
-
path: string;
|
|
510
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
511
|
-
})[] | undefined;
|
|
512
|
-
injectLocale?: string[] | undefined;
|
|
513
|
-
lockedKeys?: string[] | undefined;
|
|
514
|
-
}>;
|
|
508
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<readonly [Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
509
|
+
}, Z.core.$strip>]>>>;
|
|
510
|
+
injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
511
|
+
lockedKeys: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
512
|
+
}, Z.core.$strip>;
|
|
515
513
|
declare const configV1_6Definition: ConfigDefinition<{
|
|
516
|
-
version: Z.ZodDefault<Z.ZodUnion<[Z.ZodNumber, Z.ZodString]>>;
|
|
514
|
+
version: Z.ZodDefault<Z.ZodUnion<readonly [Z.ZodNumber, Z.ZodString]>>;
|
|
517
515
|
locale: Z.ZodObject<{
|
|
518
|
-
source: Z.
|
|
519
|
-
targets: Z.ZodArray<Z.
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
}, "strip", Z.ZodTypeAny, {
|
|
523
|
-
source: string;
|
|
524
|
-
targets: string[];
|
|
525
|
-
extraSource?: string | undefined;
|
|
526
|
-
}, {
|
|
527
|
-
source: string;
|
|
528
|
-
targets: string[];
|
|
529
|
-
extraSource?: string | undefined;
|
|
530
|
-
}>;
|
|
516
|
+
source: Z.ZodString;
|
|
517
|
+
targets: Z.ZodArray<Z.ZodString>;
|
|
518
|
+
extraSource: Z.ZodOptional<Z.ZodString>;
|
|
519
|
+
}, Z.core.$strip>;
|
|
531
520
|
$schema: Z.ZodDefault<Z.ZodString>;
|
|
532
521
|
provider: Z.ZodOptional<Z.ZodObject<{
|
|
533
|
-
id: Z.ZodEnum<
|
|
522
|
+
id: Z.ZodEnum<{
|
|
523
|
+
openai: "openai";
|
|
524
|
+
anthropic: "anthropic";
|
|
525
|
+
google: "google";
|
|
526
|
+
ollama: "ollama";
|
|
527
|
+
openrouter: "openrouter";
|
|
528
|
+
mistral: "mistral";
|
|
529
|
+
}>;
|
|
534
530
|
model: Z.ZodString;
|
|
535
531
|
prompt: Z.ZodString;
|
|
536
532
|
baseUrl: Z.ZodOptional<Z.ZodString>;
|
|
537
|
-
},
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
533
|
+
}, Z.core.$strip>>;
|
|
534
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<{
|
|
535
|
+
ail: "ail";
|
|
536
|
+
android: "android";
|
|
537
|
+
csv: "csv";
|
|
538
|
+
ejs: "ejs";
|
|
539
|
+
flutter: "flutter";
|
|
540
|
+
html: "html";
|
|
541
|
+
json: "json";
|
|
542
|
+
json5: "json5";
|
|
543
|
+
jsonc: "jsonc";
|
|
544
|
+
markdown: "markdown";
|
|
545
|
+
markdoc: "markdoc";
|
|
546
|
+
mdx: "mdx";
|
|
547
|
+
mjml: "mjml";
|
|
548
|
+
twig: "twig";
|
|
549
|
+
"xcode-strings": "xcode-strings";
|
|
550
|
+
"xcode-stringsdict": "xcode-stringsdict";
|
|
551
|
+
"xcode-xcstrings": "xcode-xcstrings";
|
|
552
|
+
"xcode-xcstrings-v2": "xcode-xcstrings-v2";
|
|
553
|
+
yaml: "yaml";
|
|
554
|
+
"yaml-root-key": "yaml-root-key";
|
|
555
|
+
properties: "properties";
|
|
556
|
+
po: "po";
|
|
557
|
+
xliff: "xliff";
|
|
558
|
+
xml: "xml";
|
|
559
|
+
srt: "srt";
|
|
560
|
+
dato: "dato";
|
|
561
|
+
compiler: "compiler";
|
|
562
|
+
vtt: "vtt";
|
|
563
|
+
php: "php";
|
|
564
|
+
"vue-json": "vue-json";
|
|
565
|
+
typescript: "typescript";
|
|
566
|
+
txt: "txt";
|
|
567
|
+
"json-dictionary": "json-dictionary";
|
|
568
|
+
"csv-per-locale": "csv-per-locale";
|
|
569
|
+
}> & Z.core.$partial, Z.ZodObject<{
|
|
570
|
+
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<readonly [Z.ZodString, Z.ZodObject<{
|
|
551
571
|
path: Z.ZodString;
|
|
552
|
-
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
553
|
-
},
|
|
554
|
-
|
|
555
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
556
|
-
}, {
|
|
557
|
-
path: string;
|
|
558
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
559
|
-
}>]>, "many">>;
|
|
560
|
-
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
|
572
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<readonly [Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
573
|
+
}, Z.core.$strip>]>>>;
|
|
574
|
+
exclude: Z.ZodOptional<Z.ZodArray<Z.ZodUnion<readonly [Z.ZodString, Z.ZodObject<{
|
|
561
575
|
path: Z.ZodString;
|
|
562
|
-
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
563
|
-
},
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
path: string;
|
|
568
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
569
|
-
}>]>, "many">>>;
|
|
570
|
-
injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
|
|
571
|
-
} & {
|
|
572
|
-
lockedKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
|
573
|
-
}, "strip", Z.ZodTypeAny, {
|
|
574
|
-
include: (string | {
|
|
575
|
-
path: string;
|
|
576
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
577
|
-
})[];
|
|
578
|
-
exclude?: (string | {
|
|
579
|
-
path: string;
|
|
580
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
581
|
-
})[] | undefined;
|
|
582
|
-
injectLocale?: string[] | undefined;
|
|
583
|
-
lockedKeys?: string[] | undefined;
|
|
584
|
-
}, {
|
|
585
|
-
exclude?: (string | {
|
|
586
|
-
path: string;
|
|
587
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
588
|
-
})[] | undefined;
|
|
589
|
-
include?: (string | {
|
|
590
|
-
path: string;
|
|
591
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
592
|
-
})[] | undefined;
|
|
593
|
-
injectLocale?: string[] | undefined;
|
|
594
|
-
lockedKeys?: string[] | undefined;
|
|
595
|
-
}>>>;
|
|
576
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<readonly [Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
577
|
+
}, Z.core.$strip>]>>>;
|
|
578
|
+
injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
579
|
+
lockedKeys: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
580
|
+
}, Z.core.$strip>>>;
|
|
596
581
|
}, any>;
|
|
597
582
|
declare const bucketValueSchemaV1_7: Z.ZodObject<{
|
|
598
|
-
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
|
583
|
+
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<readonly [Z.ZodString, Z.ZodObject<{
|
|
599
584
|
path: Z.ZodString;
|
|
600
|
-
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
601
|
-
},
|
|
602
|
-
|
|
603
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
604
|
-
}, {
|
|
605
|
-
path: string;
|
|
606
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
607
|
-
}>]>, "many">>;
|
|
608
|
-
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
|
585
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<readonly [Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
586
|
+
}, Z.core.$strip>]>>>;
|
|
587
|
+
exclude: Z.ZodOptional<Z.ZodArray<Z.ZodUnion<readonly [Z.ZodString, Z.ZodObject<{
|
|
609
588
|
path: Z.ZodString;
|
|
610
|
-
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
611
|
-
},
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
617
|
-
}>]>, "many">>>;
|
|
618
|
-
injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
|
|
619
|
-
} & {
|
|
620
|
-
lockedKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
|
621
|
-
} & {
|
|
622
|
-
lockedPatterns: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
|
623
|
-
}, "strip", Z.ZodTypeAny, {
|
|
624
|
-
include: (string | {
|
|
625
|
-
path: string;
|
|
626
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
627
|
-
})[];
|
|
628
|
-
exclude?: (string | {
|
|
629
|
-
path: string;
|
|
630
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
631
|
-
})[] | undefined;
|
|
632
|
-
injectLocale?: string[] | undefined;
|
|
633
|
-
lockedKeys?: string[] | undefined;
|
|
634
|
-
lockedPatterns?: string[] | undefined;
|
|
635
|
-
}, {
|
|
636
|
-
exclude?: (string | {
|
|
637
|
-
path: string;
|
|
638
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
639
|
-
})[] | undefined;
|
|
640
|
-
include?: (string | {
|
|
641
|
-
path: string;
|
|
642
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
643
|
-
})[] | undefined;
|
|
644
|
-
injectLocale?: string[] | undefined;
|
|
645
|
-
lockedKeys?: string[] | undefined;
|
|
646
|
-
lockedPatterns?: string[] | undefined;
|
|
647
|
-
}>;
|
|
589
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<readonly [Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
590
|
+
}, Z.core.$strip>]>>>;
|
|
591
|
+
injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
592
|
+
lockedKeys: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
593
|
+
lockedPatterns: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
594
|
+
}, Z.core.$strip>;
|
|
648
595
|
declare const configV1_7Definition: ConfigDefinition<{
|
|
649
|
-
version: Z.ZodDefault<Z.ZodUnion<[Z.ZodNumber, Z.ZodString]>>;
|
|
596
|
+
version: Z.ZodDefault<Z.ZodUnion<readonly [Z.ZodNumber, Z.ZodString]>>;
|
|
650
597
|
locale: Z.ZodObject<{
|
|
651
|
-
source: Z.
|
|
652
|
-
targets: Z.ZodArray<Z.
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
}, "strip", Z.ZodTypeAny, {
|
|
656
|
-
source: string;
|
|
657
|
-
targets: string[];
|
|
658
|
-
extraSource?: string | undefined;
|
|
659
|
-
}, {
|
|
660
|
-
source: string;
|
|
661
|
-
targets: string[];
|
|
662
|
-
extraSource?: string | undefined;
|
|
663
|
-
}>;
|
|
598
|
+
source: Z.ZodString;
|
|
599
|
+
targets: Z.ZodArray<Z.ZodString>;
|
|
600
|
+
extraSource: Z.ZodOptional<Z.ZodString>;
|
|
601
|
+
}, Z.core.$strip>;
|
|
664
602
|
$schema: Z.ZodDefault<Z.ZodString>;
|
|
665
603
|
provider: Z.ZodOptional<Z.ZodObject<{
|
|
666
|
-
id: Z.ZodEnum<
|
|
604
|
+
id: Z.ZodEnum<{
|
|
605
|
+
openai: "openai";
|
|
606
|
+
anthropic: "anthropic";
|
|
607
|
+
google: "google";
|
|
608
|
+
ollama: "ollama";
|
|
609
|
+
openrouter: "openrouter";
|
|
610
|
+
mistral: "mistral";
|
|
611
|
+
}>;
|
|
667
612
|
model: Z.ZodString;
|
|
668
613
|
prompt: Z.ZodString;
|
|
669
614
|
baseUrl: Z.ZodOptional<Z.ZodString>;
|
|
670
|
-
},
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
615
|
+
}, Z.core.$strip>>;
|
|
616
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<{
|
|
617
|
+
ail: "ail";
|
|
618
|
+
android: "android";
|
|
619
|
+
csv: "csv";
|
|
620
|
+
ejs: "ejs";
|
|
621
|
+
flutter: "flutter";
|
|
622
|
+
html: "html";
|
|
623
|
+
json: "json";
|
|
624
|
+
json5: "json5";
|
|
625
|
+
jsonc: "jsonc";
|
|
626
|
+
markdown: "markdown";
|
|
627
|
+
markdoc: "markdoc";
|
|
628
|
+
mdx: "mdx";
|
|
629
|
+
mjml: "mjml";
|
|
630
|
+
twig: "twig";
|
|
631
|
+
"xcode-strings": "xcode-strings";
|
|
632
|
+
"xcode-stringsdict": "xcode-stringsdict";
|
|
633
|
+
"xcode-xcstrings": "xcode-xcstrings";
|
|
634
|
+
"xcode-xcstrings-v2": "xcode-xcstrings-v2";
|
|
635
|
+
yaml: "yaml";
|
|
636
|
+
"yaml-root-key": "yaml-root-key";
|
|
637
|
+
properties: "properties";
|
|
638
|
+
po: "po";
|
|
639
|
+
xliff: "xliff";
|
|
640
|
+
xml: "xml";
|
|
641
|
+
srt: "srt";
|
|
642
|
+
dato: "dato";
|
|
643
|
+
compiler: "compiler";
|
|
644
|
+
vtt: "vtt";
|
|
645
|
+
php: "php";
|
|
646
|
+
"vue-json": "vue-json";
|
|
647
|
+
typescript: "typescript";
|
|
648
|
+
txt: "txt";
|
|
649
|
+
"json-dictionary": "json-dictionary";
|
|
650
|
+
"csv-per-locale": "csv-per-locale";
|
|
651
|
+
}> & Z.core.$partial, Z.ZodObject<{
|
|
652
|
+
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<readonly [Z.ZodString, Z.ZodObject<{
|
|
684
653
|
path: Z.ZodString;
|
|
685
|
-
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
686
|
-
},
|
|
687
|
-
|
|
688
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
689
|
-
}, {
|
|
690
|
-
path: string;
|
|
691
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
692
|
-
}>]>, "many">>;
|
|
693
|
-
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
|
654
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<readonly [Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
655
|
+
}, Z.core.$strip>]>>>;
|
|
656
|
+
exclude: Z.ZodOptional<Z.ZodArray<Z.ZodUnion<readonly [Z.ZodString, Z.ZodObject<{
|
|
694
657
|
path: Z.ZodString;
|
|
695
|
-
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
696
|
-
},
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
702
|
-
}>]>, "many">>>;
|
|
703
|
-
injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
|
|
704
|
-
} & {
|
|
705
|
-
lockedKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
|
706
|
-
} & {
|
|
707
|
-
lockedPatterns: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
|
708
|
-
}, "strip", Z.ZodTypeAny, {
|
|
709
|
-
include: (string | {
|
|
710
|
-
path: string;
|
|
711
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
712
|
-
})[];
|
|
713
|
-
exclude?: (string | {
|
|
714
|
-
path: string;
|
|
715
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
716
|
-
})[] | undefined;
|
|
717
|
-
injectLocale?: string[] | undefined;
|
|
718
|
-
lockedKeys?: string[] | undefined;
|
|
719
|
-
lockedPatterns?: string[] | undefined;
|
|
720
|
-
}, {
|
|
721
|
-
exclude?: (string | {
|
|
722
|
-
path: string;
|
|
723
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
724
|
-
})[] | undefined;
|
|
725
|
-
include?: (string | {
|
|
726
|
-
path: string;
|
|
727
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
728
|
-
})[] | undefined;
|
|
729
|
-
injectLocale?: string[] | undefined;
|
|
730
|
-
lockedKeys?: string[] | undefined;
|
|
731
|
-
lockedPatterns?: string[] | undefined;
|
|
732
|
-
}>>>;
|
|
658
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<readonly [Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
659
|
+
}, Z.core.$strip>]>>>;
|
|
660
|
+
injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
661
|
+
lockedKeys: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
662
|
+
lockedPatterns: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
663
|
+
}, Z.core.$strip>>>;
|
|
733
664
|
}, any>;
|
|
734
665
|
declare const bucketValueSchemaV1_8: Z.ZodObject<{
|
|
735
|
-
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
|
666
|
+
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<readonly [Z.ZodString, Z.ZodObject<{
|
|
736
667
|
path: Z.ZodString;
|
|
737
|
-
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
738
|
-
},
|
|
739
|
-
|
|
740
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
741
|
-
}, {
|
|
742
|
-
path: string;
|
|
743
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
744
|
-
}>]>, "many">>;
|
|
745
|
-
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
|
668
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<readonly [Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
669
|
+
}, Z.core.$strip>]>>>;
|
|
670
|
+
exclude: Z.ZodOptional<Z.ZodArray<Z.ZodUnion<readonly [Z.ZodString, Z.ZodObject<{
|
|
746
671
|
path: Z.ZodString;
|
|
747
|
-
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
748
|
-
},
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
}>]>, "many">>>;
|
|
755
|
-
injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
|
|
756
|
-
} & {
|
|
757
|
-
lockedKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
|
758
|
-
} & {
|
|
759
|
-
lockedPatterns: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
|
760
|
-
} & {
|
|
761
|
-
ignoredKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
|
762
|
-
}, "strip", Z.ZodTypeAny, {
|
|
763
|
-
include: (string | {
|
|
764
|
-
path: string;
|
|
765
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
766
|
-
})[];
|
|
767
|
-
exclude?: (string | {
|
|
768
|
-
path: string;
|
|
769
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
770
|
-
})[] | undefined;
|
|
771
|
-
injectLocale?: string[] | undefined;
|
|
772
|
-
lockedKeys?: string[] | undefined;
|
|
773
|
-
lockedPatterns?: string[] | undefined;
|
|
774
|
-
ignoredKeys?: string[] | undefined;
|
|
775
|
-
}, {
|
|
776
|
-
exclude?: (string | {
|
|
777
|
-
path: string;
|
|
778
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
779
|
-
})[] | undefined;
|
|
780
|
-
include?: (string | {
|
|
781
|
-
path: string;
|
|
782
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
783
|
-
})[] | undefined;
|
|
784
|
-
injectLocale?: string[] | undefined;
|
|
785
|
-
lockedKeys?: string[] | undefined;
|
|
786
|
-
lockedPatterns?: string[] | undefined;
|
|
787
|
-
ignoredKeys?: string[] | undefined;
|
|
788
|
-
}>;
|
|
672
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<readonly [Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
673
|
+
}, Z.core.$strip>]>>>;
|
|
674
|
+
injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
675
|
+
lockedKeys: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
676
|
+
lockedPatterns: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
677
|
+
ignoredKeys: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
678
|
+
}, Z.core.$strip>;
|
|
789
679
|
declare const configV1_8Definition: ConfigDefinition<{
|
|
790
|
-
version: Z.ZodDefault<Z.ZodUnion<[Z.ZodNumber, Z.ZodString]>>;
|
|
680
|
+
version: Z.ZodDefault<Z.ZodUnion<readonly [Z.ZodNumber, Z.ZodString]>>;
|
|
791
681
|
locale: Z.ZodObject<{
|
|
792
|
-
source: Z.
|
|
793
|
-
targets: Z.ZodArray<Z.
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
}, "strip", Z.ZodTypeAny, {
|
|
797
|
-
source: string;
|
|
798
|
-
targets: string[];
|
|
799
|
-
extraSource?: string | undefined;
|
|
800
|
-
}, {
|
|
801
|
-
source: string;
|
|
802
|
-
targets: string[];
|
|
803
|
-
extraSource?: string | undefined;
|
|
804
|
-
}>;
|
|
682
|
+
source: Z.ZodString;
|
|
683
|
+
targets: Z.ZodArray<Z.ZodString>;
|
|
684
|
+
extraSource: Z.ZodOptional<Z.ZodString>;
|
|
685
|
+
}, Z.core.$strip>;
|
|
805
686
|
$schema: Z.ZodDefault<Z.ZodString>;
|
|
806
687
|
provider: Z.ZodOptional<Z.ZodObject<{
|
|
807
|
-
id: Z.ZodEnum<
|
|
688
|
+
id: Z.ZodEnum<{
|
|
689
|
+
openai: "openai";
|
|
690
|
+
anthropic: "anthropic";
|
|
691
|
+
google: "google";
|
|
692
|
+
ollama: "ollama";
|
|
693
|
+
openrouter: "openrouter";
|
|
694
|
+
mistral: "mistral";
|
|
695
|
+
}>;
|
|
808
696
|
model: Z.ZodString;
|
|
809
697
|
prompt: Z.ZodString;
|
|
810
698
|
baseUrl: Z.ZodOptional<Z.ZodString>;
|
|
811
|
-
},
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
699
|
+
}, Z.core.$strip>>;
|
|
700
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<{
|
|
701
|
+
ail: "ail";
|
|
702
|
+
android: "android";
|
|
703
|
+
csv: "csv";
|
|
704
|
+
ejs: "ejs";
|
|
705
|
+
flutter: "flutter";
|
|
706
|
+
html: "html";
|
|
707
|
+
json: "json";
|
|
708
|
+
json5: "json5";
|
|
709
|
+
jsonc: "jsonc";
|
|
710
|
+
markdown: "markdown";
|
|
711
|
+
markdoc: "markdoc";
|
|
712
|
+
mdx: "mdx";
|
|
713
|
+
mjml: "mjml";
|
|
714
|
+
twig: "twig";
|
|
715
|
+
"xcode-strings": "xcode-strings";
|
|
716
|
+
"xcode-stringsdict": "xcode-stringsdict";
|
|
717
|
+
"xcode-xcstrings": "xcode-xcstrings";
|
|
718
|
+
"xcode-xcstrings-v2": "xcode-xcstrings-v2";
|
|
719
|
+
yaml: "yaml";
|
|
720
|
+
"yaml-root-key": "yaml-root-key";
|
|
721
|
+
properties: "properties";
|
|
722
|
+
po: "po";
|
|
723
|
+
xliff: "xliff";
|
|
724
|
+
xml: "xml";
|
|
725
|
+
srt: "srt";
|
|
726
|
+
dato: "dato";
|
|
727
|
+
compiler: "compiler";
|
|
728
|
+
vtt: "vtt";
|
|
729
|
+
php: "php";
|
|
730
|
+
"vue-json": "vue-json";
|
|
731
|
+
typescript: "typescript";
|
|
732
|
+
txt: "txt";
|
|
733
|
+
"json-dictionary": "json-dictionary";
|
|
734
|
+
"csv-per-locale": "csv-per-locale";
|
|
735
|
+
}> & Z.core.$partial, Z.ZodObject<{
|
|
736
|
+
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<readonly [Z.ZodString, Z.ZodObject<{
|
|
825
737
|
path: Z.ZodString;
|
|
826
|
-
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
827
|
-
},
|
|
828
|
-
|
|
829
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
830
|
-
}, {
|
|
831
|
-
path: string;
|
|
832
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
833
|
-
}>]>, "many">>;
|
|
834
|
-
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
|
738
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<readonly [Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
739
|
+
}, Z.core.$strip>]>>>;
|
|
740
|
+
exclude: Z.ZodOptional<Z.ZodArray<Z.ZodUnion<readonly [Z.ZodString, Z.ZodObject<{
|
|
835
741
|
path: Z.ZodString;
|
|
836
|
-
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
837
|
-
},
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
}>]>, "many">>>;
|
|
844
|
-
injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
|
|
845
|
-
} & {
|
|
846
|
-
lockedKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
|
847
|
-
} & {
|
|
848
|
-
lockedPatterns: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
|
849
|
-
} & {
|
|
850
|
-
ignoredKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
|
851
|
-
}, "strip", Z.ZodTypeAny, {
|
|
852
|
-
include: (string | {
|
|
853
|
-
path: string;
|
|
854
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
855
|
-
})[];
|
|
856
|
-
exclude?: (string | {
|
|
857
|
-
path: string;
|
|
858
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
859
|
-
})[] | undefined;
|
|
860
|
-
injectLocale?: string[] | undefined;
|
|
861
|
-
lockedKeys?: string[] | undefined;
|
|
862
|
-
lockedPatterns?: string[] | undefined;
|
|
863
|
-
ignoredKeys?: string[] | undefined;
|
|
864
|
-
}, {
|
|
865
|
-
exclude?: (string | {
|
|
866
|
-
path: string;
|
|
867
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
868
|
-
})[] | undefined;
|
|
869
|
-
include?: (string | {
|
|
870
|
-
path: string;
|
|
871
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
872
|
-
})[] | undefined;
|
|
873
|
-
injectLocale?: string[] | undefined;
|
|
874
|
-
lockedKeys?: string[] | undefined;
|
|
875
|
-
lockedPatterns?: string[] | undefined;
|
|
876
|
-
ignoredKeys?: string[] | undefined;
|
|
877
|
-
}>>>;
|
|
742
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<readonly [Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
743
|
+
}, Z.core.$strip>]>>>;
|
|
744
|
+
injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
745
|
+
lockedKeys: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
746
|
+
lockedPatterns: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
747
|
+
ignoredKeys: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
748
|
+
}, Z.core.$strip>>>;
|
|
878
749
|
}, any>;
|
|
879
750
|
declare const configV1_9Definition: ConfigDefinition<{
|
|
880
|
-
version: Z.ZodDefault<Z.ZodUnion<[Z.ZodNumber, Z.ZodString]>>;
|
|
751
|
+
version: Z.ZodDefault<Z.ZodUnion<readonly [Z.ZodNumber, Z.ZodString]>>;
|
|
881
752
|
locale: Z.ZodObject<{
|
|
882
|
-
source: Z.
|
|
883
|
-
targets: Z.ZodArray<Z.
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
}, "strip", Z.ZodTypeAny, {
|
|
887
|
-
source: string;
|
|
888
|
-
targets: string[];
|
|
889
|
-
extraSource?: string | undefined;
|
|
890
|
-
}, {
|
|
891
|
-
source: string;
|
|
892
|
-
targets: string[];
|
|
893
|
-
extraSource?: string | undefined;
|
|
894
|
-
}>;
|
|
753
|
+
source: Z.ZodString;
|
|
754
|
+
targets: Z.ZodArray<Z.ZodString>;
|
|
755
|
+
extraSource: Z.ZodOptional<Z.ZodString>;
|
|
756
|
+
}, Z.core.$strip>;
|
|
895
757
|
$schema: Z.ZodDefault<Z.ZodString>;
|
|
896
758
|
provider: Z.ZodOptional<Z.ZodObject<{
|
|
897
|
-
id: Z.ZodEnum<
|
|
759
|
+
id: Z.ZodEnum<{
|
|
760
|
+
openai: "openai";
|
|
761
|
+
anthropic: "anthropic";
|
|
762
|
+
google: "google";
|
|
763
|
+
ollama: "ollama";
|
|
764
|
+
openrouter: "openrouter";
|
|
765
|
+
mistral: "mistral";
|
|
766
|
+
}>;
|
|
898
767
|
model: Z.ZodString;
|
|
899
768
|
prompt: Z.ZodString;
|
|
900
769
|
baseUrl: Z.ZodOptional<Z.ZodString>;
|
|
901
|
-
},
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
770
|
+
}, Z.core.$strip>>;
|
|
771
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<{
|
|
772
|
+
ail: "ail";
|
|
773
|
+
android: "android";
|
|
774
|
+
csv: "csv";
|
|
775
|
+
ejs: "ejs";
|
|
776
|
+
flutter: "flutter";
|
|
777
|
+
html: "html";
|
|
778
|
+
json: "json";
|
|
779
|
+
json5: "json5";
|
|
780
|
+
jsonc: "jsonc";
|
|
781
|
+
markdown: "markdown";
|
|
782
|
+
markdoc: "markdoc";
|
|
783
|
+
mdx: "mdx";
|
|
784
|
+
mjml: "mjml";
|
|
785
|
+
twig: "twig";
|
|
786
|
+
"xcode-strings": "xcode-strings";
|
|
787
|
+
"xcode-stringsdict": "xcode-stringsdict";
|
|
788
|
+
"xcode-xcstrings": "xcode-xcstrings";
|
|
789
|
+
"xcode-xcstrings-v2": "xcode-xcstrings-v2";
|
|
790
|
+
yaml: "yaml";
|
|
791
|
+
"yaml-root-key": "yaml-root-key";
|
|
792
|
+
properties: "properties";
|
|
793
|
+
po: "po";
|
|
794
|
+
xliff: "xliff";
|
|
795
|
+
xml: "xml";
|
|
796
|
+
srt: "srt";
|
|
797
|
+
dato: "dato";
|
|
798
|
+
compiler: "compiler";
|
|
799
|
+
vtt: "vtt";
|
|
800
|
+
php: "php";
|
|
801
|
+
"vue-json": "vue-json";
|
|
802
|
+
typescript: "typescript";
|
|
803
|
+
txt: "txt";
|
|
804
|
+
"json-dictionary": "json-dictionary";
|
|
805
|
+
"csv-per-locale": "csv-per-locale";
|
|
806
|
+
}> & Z.core.$partial, Z.ZodObject<{
|
|
807
|
+
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<readonly [Z.ZodString, Z.ZodObject<{
|
|
915
808
|
path: Z.ZodString;
|
|
916
|
-
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
917
|
-
},
|
|
918
|
-
|
|
919
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
920
|
-
}, {
|
|
921
|
-
path: string;
|
|
922
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
923
|
-
}>]>, "many">>;
|
|
924
|
-
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
|
809
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<readonly [Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
810
|
+
}, Z.core.$strip>]>>>;
|
|
811
|
+
exclude: Z.ZodOptional<Z.ZodArray<Z.ZodUnion<readonly [Z.ZodString, Z.ZodObject<{
|
|
925
812
|
path: Z.ZodString;
|
|
926
|
-
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
927
|
-
},
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
} & {
|
|
938
|
-
lockedPatterns: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
|
939
|
-
} & {
|
|
940
|
-
ignoredKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
|
941
|
-
}, "strip", Z.ZodTypeAny, {
|
|
942
|
-
include: (string | {
|
|
943
|
-
path: string;
|
|
944
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
945
|
-
})[];
|
|
946
|
-
exclude?: (string | {
|
|
947
|
-
path: string;
|
|
948
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
949
|
-
})[] | undefined;
|
|
950
|
-
injectLocale?: string[] | undefined;
|
|
951
|
-
lockedKeys?: string[] | undefined;
|
|
952
|
-
lockedPatterns?: string[] | undefined;
|
|
953
|
-
ignoredKeys?: string[] | undefined;
|
|
954
|
-
}, {
|
|
955
|
-
exclude?: (string | {
|
|
956
|
-
path: string;
|
|
957
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
958
|
-
})[] | undefined;
|
|
959
|
-
include?: (string | {
|
|
960
|
-
path: string;
|
|
961
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
962
|
-
})[] | undefined;
|
|
963
|
-
injectLocale?: string[] | undefined;
|
|
964
|
-
lockedKeys?: string[] | undefined;
|
|
965
|
-
lockedPatterns?: string[] | undefined;
|
|
966
|
-
ignoredKeys?: string[] | undefined;
|
|
967
|
-
}>>>;
|
|
968
|
-
} & {
|
|
969
|
-
formatter: Z.ZodOptional<Z.ZodEnum<["prettier", "biome"]>>;
|
|
813
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<readonly [Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
814
|
+
}, Z.core.$strip>]>>>;
|
|
815
|
+
injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
816
|
+
lockedKeys: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
817
|
+
lockedPatterns: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
818
|
+
ignoredKeys: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
819
|
+
}, Z.core.$strip>>>;
|
|
820
|
+
formatter: Z.ZodOptional<Z.ZodEnum<{
|
|
821
|
+
prettier: "prettier";
|
|
822
|
+
biome: "biome";
|
|
823
|
+
}>>;
|
|
970
824
|
}, any>;
|
|
971
825
|
declare const configV1_10Definition: ConfigDefinition<{
|
|
972
|
-
version: Z.ZodDefault<Z.ZodUnion<[Z.ZodNumber, Z.ZodString]>>;
|
|
826
|
+
version: Z.ZodDefault<Z.ZodUnion<readonly [Z.ZodNumber, Z.ZodString]>>;
|
|
973
827
|
locale: Z.ZodObject<{
|
|
974
|
-
source: Z.
|
|
975
|
-
targets: Z.ZodArray<Z.
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
}, "strip", Z.ZodTypeAny, {
|
|
979
|
-
source: string;
|
|
980
|
-
targets: string[];
|
|
981
|
-
extraSource?: string | undefined;
|
|
982
|
-
}, {
|
|
983
|
-
source: string;
|
|
984
|
-
targets: string[];
|
|
985
|
-
extraSource?: string | undefined;
|
|
986
|
-
}>;
|
|
828
|
+
source: Z.ZodString;
|
|
829
|
+
targets: Z.ZodArray<Z.ZodString>;
|
|
830
|
+
extraSource: Z.ZodOptional<Z.ZodString>;
|
|
831
|
+
}, Z.core.$strip>;
|
|
987
832
|
$schema: Z.ZodDefault<Z.ZodString>;
|
|
988
|
-
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<
|
|
989
|
-
|
|
833
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<{
|
|
834
|
+
ail: "ail";
|
|
835
|
+
android: "android";
|
|
836
|
+
csv: "csv";
|
|
837
|
+
ejs: "ejs";
|
|
838
|
+
flutter: "flutter";
|
|
839
|
+
html: "html";
|
|
840
|
+
json: "json";
|
|
841
|
+
json5: "json5";
|
|
842
|
+
jsonc: "jsonc";
|
|
843
|
+
markdown: "markdown";
|
|
844
|
+
markdoc: "markdoc";
|
|
845
|
+
mdx: "mdx";
|
|
846
|
+
mjml: "mjml";
|
|
847
|
+
twig: "twig";
|
|
848
|
+
"xcode-strings": "xcode-strings";
|
|
849
|
+
"xcode-stringsdict": "xcode-stringsdict";
|
|
850
|
+
"xcode-xcstrings": "xcode-xcstrings";
|
|
851
|
+
"xcode-xcstrings-v2": "xcode-xcstrings-v2";
|
|
852
|
+
yaml: "yaml";
|
|
853
|
+
"yaml-root-key": "yaml-root-key";
|
|
854
|
+
properties: "properties";
|
|
855
|
+
po: "po";
|
|
856
|
+
xliff: "xliff";
|
|
857
|
+
xml: "xml";
|
|
858
|
+
srt: "srt";
|
|
859
|
+
dato: "dato";
|
|
860
|
+
compiler: "compiler";
|
|
861
|
+
vtt: "vtt";
|
|
862
|
+
php: "php";
|
|
863
|
+
"vue-json": "vue-json";
|
|
864
|
+
typescript: "typescript";
|
|
865
|
+
txt: "txt";
|
|
866
|
+
"json-dictionary": "json-dictionary";
|
|
867
|
+
"csv-per-locale": "csv-per-locale";
|
|
868
|
+
}> & Z.core.$partial, Z.ZodObject<{
|
|
869
|
+
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<readonly [Z.ZodString, Z.ZodObject<{
|
|
990
870
|
path: Z.ZodString;
|
|
991
|
-
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
992
|
-
},
|
|
993
|
-
|
|
994
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
995
|
-
}, {
|
|
996
|
-
path: string;
|
|
997
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
998
|
-
}>]>, "many">>;
|
|
999
|
-
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
|
871
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<readonly [Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
872
|
+
}, Z.core.$strip>]>>>;
|
|
873
|
+
exclude: Z.ZodOptional<Z.ZodArray<Z.ZodUnion<readonly [Z.ZodString, Z.ZodObject<{
|
|
1000
874
|
path: Z.ZodString;
|
|
1001
|
-
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
1002
|
-
},
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
} & {
|
|
1013
|
-
lockedPatterns: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
|
1014
|
-
} & {
|
|
1015
|
-
ignoredKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
|
1016
|
-
}, "strip", Z.ZodTypeAny, {
|
|
1017
|
-
include: (string | {
|
|
1018
|
-
path: string;
|
|
1019
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
1020
|
-
})[];
|
|
1021
|
-
exclude?: (string | {
|
|
1022
|
-
path: string;
|
|
1023
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
1024
|
-
})[] | undefined;
|
|
1025
|
-
injectLocale?: string[] | undefined;
|
|
1026
|
-
lockedKeys?: string[] | undefined;
|
|
1027
|
-
lockedPatterns?: string[] | undefined;
|
|
1028
|
-
ignoredKeys?: string[] | undefined;
|
|
1029
|
-
}, {
|
|
1030
|
-
exclude?: (string | {
|
|
1031
|
-
path: string;
|
|
1032
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
1033
|
-
})[] | undefined;
|
|
1034
|
-
include?: (string | {
|
|
1035
|
-
path: string;
|
|
1036
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
1037
|
-
})[] | undefined;
|
|
1038
|
-
injectLocale?: string[] | undefined;
|
|
1039
|
-
lockedKeys?: string[] | undefined;
|
|
1040
|
-
lockedPatterns?: string[] | undefined;
|
|
1041
|
-
ignoredKeys?: string[] | undefined;
|
|
1042
|
-
}>>>;
|
|
1043
|
-
formatter: Z.ZodOptional<Z.ZodEnum<["prettier", "biome"]>>;
|
|
1044
|
-
} & {
|
|
875
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<readonly [Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
876
|
+
}, Z.core.$strip>]>>>;
|
|
877
|
+
injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
878
|
+
lockedKeys: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
879
|
+
lockedPatterns: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
880
|
+
ignoredKeys: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
881
|
+
}, Z.core.$strip>>>;
|
|
882
|
+
formatter: Z.ZodOptional<Z.ZodEnum<{
|
|
883
|
+
prettier: "prettier";
|
|
884
|
+
biome: "biome";
|
|
885
|
+
}>>;
|
|
1045
886
|
provider: Z.ZodOptional<Z.ZodObject<{
|
|
1046
|
-
id: Z.ZodEnum<
|
|
887
|
+
id: Z.ZodEnum<{
|
|
888
|
+
openai: "openai";
|
|
889
|
+
anthropic: "anthropic";
|
|
890
|
+
google: "google";
|
|
891
|
+
ollama: "ollama";
|
|
892
|
+
openrouter: "openrouter";
|
|
893
|
+
mistral: "mistral";
|
|
894
|
+
}>;
|
|
1047
895
|
model: Z.ZodString;
|
|
1048
896
|
prompt: Z.ZodString;
|
|
1049
897
|
baseUrl: Z.ZodOptional<Z.ZodString>;
|
|
1050
898
|
settings: Z.ZodOptional<Z.ZodObject<{
|
|
1051
899
|
temperature: Z.ZodOptional<Z.ZodNumber>;
|
|
1052
|
-
},
|
|
1053
|
-
|
|
1054
|
-
}, {
|
|
1055
|
-
temperature?: number | undefined;
|
|
1056
|
-
}>>;
|
|
1057
|
-
}, "strip", Z.ZodTypeAny, {
|
|
1058
|
-
id: "openai" | "anthropic" | "google" | "ollama" | "openrouter" | "mistral";
|
|
1059
|
-
model: string;
|
|
1060
|
-
prompt: string;
|
|
1061
|
-
baseUrl?: string | undefined;
|
|
1062
|
-
settings?: {
|
|
1063
|
-
temperature?: number | undefined;
|
|
1064
|
-
} | undefined;
|
|
1065
|
-
}, {
|
|
1066
|
-
id: "openai" | "anthropic" | "google" | "ollama" | "openrouter" | "mistral";
|
|
1067
|
-
model: string;
|
|
1068
|
-
prompt: string;
|
|
1069
|
-
baseUrl?: string | undefined;
|
|
1070
|
-
settings?: {
|
|
1071
|
-
temperature?: number | undefined;
|
|
1072
|
-
} | undefined;
|
|
1073
|
-
}>>;
|
|
900
|
+
}, Z.core.$strip>>;
|
|
901
|
+
}, Z.core.$strip>>;
|
|
1074
902
|
}, any>;
|
|
1075
903
|
declare const configV1_11Definition: ConfigDefinition<{
|
|
1076
|
-
version: Z.ZodDefault<Z.ZodUnion<[Z.ZodNumber, Z.ZodString]>>;
|
|
904
|
+
version: Z.ZodDefault<Z.ZodUnion<readonly [Z.ZodNumber, Z.ZodString]>>;
|
|
1077
905
|
locale: Z.ZodObject<{
|
|
1078
|
-
source: Z.
|
|
1079
|
-
targets: Z.ZodArray<Z.
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
}, "strip", Z.ZodTypeAny, {
|
|
1083
|
-
source: string;
|
|
1084
|
-
targets: string[];
|
|
1085
|
-
extraSource?: string | undefined;
|
|
1086
|
-
}, {
|
|
1087
|
-
source: string;
|
|
1088
|
-
targets: string[];
|
|
1089
|
-
extraSource?: string | undefined;
|
|
1090
|
-
}>;
|
|
906
|
+
source: Z.ZodString;
|
|
907
|
+
targets: Z.ZodArray<Z.ZodString>;
|
|
908
|
+
extraSource: Z.ZodOptional<Z.ZodString>;
|
|
909
|
+
}, Z.core.$strip>;
|
|
1091
910
|
$schema: Z.ZodDefault<Z.ZodString>;
|
|
1092
|
-
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<
|
|
1093
|
-
|
|
911
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<{
|
|
912
|
+
ail: "ail";
|
|
913
|
+
android: "android";
|
|
914
|
+
csv: "csv";
|
|
915
|
+
ejs: "ejs";
|
|
916
|
+
flutter: "flutter";
|
|
917
|
+
html: "html";
|
|
918
|
+
json: "json";
|
|
919
|
+
json5: "json5";
|
|
920
|
+
jsonc: "jsonc";
|
|
921
|
+
markdown: "markdown";
|
|
922
|
+
markdoc: "markdoc";
|
|
923
|
+
mdx: "mdx";
|
|
924
|
+
mjml: "mjml";
|
|
925
|
+
twig: "twig";
|
|
926
|
+
"xcode-strings": "xcode-strings";
|
|
927
|
+
"xcode-stringsdict": "xcode-stringsdict";
|
|
928
|
+
"xcode-xcstrings": "xcode-xcstrings";
|
|
929
|
+
"xcode-xcstrings-v2": "xcode-xcstrings-v2";
|
|
930
|
+
yaml: "yaml";
|
|
931
|
+
"yaml-root-key": "yaml-root-key";
|
|
932
|
+
properties: "properties";
|
|
933
|
+
po: "po";
|
|
934
|
+
xliff: "xliff";
|
|
935
|
+
xml: "xml";
|
|
936
|
+
srt: "srt";
|
|
937
|
+
dato: "dato";
|
|
938
|
+
compiler: "compiler";
|
|
939
|
+
vtt: "vtt";
|
|
940
|
+
php: "php";
|
|
941
|
+
"vue-json": "vue-json";
|
|
942
|
+
typescript: "typescript";
|
|
943
|
+
txt: "txt";
|
|
944
|
+
"json-dictionary": "json-dictionary";
|
|
945
|
+
"csv-per-locale": "csv-per-locale";
|
|
946
|
+
}> & Z.core.$partial, Z.ZodObject<{
|
|
947
|
+
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<readonly [Z.ZodString, Z.ZodObject<{
|
|
1094
948
|
path: Z.ZodString;
|
|
1095
|
-
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
1096
|
-
},
|
|
1097
|
-
|
|
1098
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
1099
|
-
}, {
|
|
1100
|
-
path: string;
|
|
1101
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
1102
|
-
}>]>, "many">>;
|
|
1103
|
-
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
|
949
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<readonly [Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
950
|
+
}, Z.core.$strip>]>>>;
|
|
951
|
+
exclude: Z.ZodOptional<Z.ZodArray<Z.ZodUnion<readonly [Z.ZodString, Z.ZodObject<{
|
|
1104
952
|
path: Z.ZodString;
|
|
1105
|
-
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
1106
|
-
},
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
} & {
|
|
1117
|
-
lockedPatterns: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
|
1118
|
-
} & {
|
|
1119
|
-
ignoredKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
|
|
1120
|
-
}, "strip", Z.ZodTypeAny, {
|
|
1121
|
-
include: (string | {
|
|
1122
|
-
path: string;
|
|
1123
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
1124
|
-
})[];
|
|
1125
|
-
exclude?: (string | {
|
|
1126
|
-
path: string;
|
|
1127
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
1128
|
-
})[] | undefined;
|
|
1129
|
-
injectLocale?: string[] | undefined;
|
|
1130
|
-
lockedKeys?: string[] | undefined;
|
|
1131
|
-
lockedPatterns?: string[] | undefined;
|
|
1132
|
-
ignoredKeys?: string[] | undefined;
|
|
1133
|
-
}, {
|
|
1134
|
-
exclude?: (string | {
|
|
1135
|
-
path: string;
|
|
1136
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
1137
|
-
})[] | undefined;
|
|
1138
|
-
include?: (string | {
|
|
1139
|
-
path: string;
|
|
1140
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
1141
|
-
})[] | undefined;
|
|
1142
|
-
injectLocale?: string[] | undefined;
|
|
1143
|
-
lockedKeys?: string[] | undefined;
|
|
1144
|
-
lockedPatterns?: string[] | undefined;
|
|
1145
|
-
ignoredKeys?: string[] | undefined;
|
|
1146
|
-
}>>>;
|
|
1147
|
-
formatter: Z.ZodOptional<Z.ZodEnum<["prettier", "biome"]>>;
|
|
1148
|
-
} & {
|
|
953
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<readonly [Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
954
|
+
}, Z.core.$strip>]>>>;
|
|
955
|
+
injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
956
|
+
lockedKeys: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
957
|
+
lockedPatterns: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
958
|
+
ignoredKeys: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
959
|
+
}, Z.core.$strip>>>;
|
|
960
|
+
formatter: Z.ZodOptional<Z.ZodEnum<{
|
|
961
|
+
prettier: "prettier";
|
|
962
|
+
biome: "biome";
|
|
963
|
+
}>>;
|
|
1149
964
|
provider: Z.ZodOptional<Z.ZodObject<{
|
|
1150
|
-
id: Z.ZodEnum<
|
|
965
|
+
id: Z.ZodEnum<{
|
|
966
|
+
openai: "openai";
|
|
967
|
+
anthropic: "anthropic";
|
|
968
|
+
google: "google";
|
|
969
|
+
ollama: "ollama";
|
|
970
|
+
openrouter: "openrouter";
|
|
971
|
+
mistral: "mistral";
|
|
972
|
+
}>;
|
|
1151
973
|
model: Z.ZodString;
|
|
1152
974
|
prompt: Z.ZodString;
|
|
1153
975
|
baseUrl: Z.ZodOptional<Z.ZodString>;
|
|
1154
976
|
settings: Z.ZodOptional<Z.ZodObject<{
|
|
1155
977
|
temperature: Z.ZodOptional<Z.ZodNumber>;
|
|
1156
|
-
},
|
|
1157
|
-
|
|
1158
|
-
}, {
|
|
1159
|
-
temperature?: number | undefined;
|
|
1160
|
-
}>>;
|
|
1161
|
-
}, "strip", Z.ZodTypeAny, {
|
|
1162
|
-
id: "openai" | "anthropic" | "google" | "ollama" | "openrouter" | "mistral";
|
|
1163
|
-
model: string;
|
|
1164
|
-
prompt: string;
|
|
1165
|
-
baseUrl?: string | undefined;
|
|
1166
|
-
settings?: {
|
|
1167
|
-
temperature?: number | undefined;
|
|
1168
|
-
} | undefined;
|
|
1169
|
-
}, {
|
|
1170
|
-
id: "openai" | "anthropic" | "google" | "ollama" | "openrouter" | "mistral";
|
|
1171
|
-
model: string;
|
|
1172
|
-
prompt: string;
|
|
1173
|
-
baseUrl?: string | undefined;
|
|
1174
|
-
settings?: {
|
|
1175
|
-
temperature?: number | undefined;
|
|
1176
|
-
} | undefined;
|
|
1177
|
-
}>>;
|
|
1178
|
-
} & {
|
|
978
|
+
}, Z.core.$strip>>;
|
|
979
|
+
}, Z.core.$strip>>;
|
|
1179
980
|
vNext: Z.ZodOptional<Z.ZodString>;
|
|
1180
981
|
}, any>;
|
|
1181
|
-
declare const
|
|
1182
|
-
|
|
982
|
+
declare const bucketValueSchemaV1_12: Z.ZodObject<{
|
|
983
|
+
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<readonly [Z.ZodString, Z.ZodObject<{
|
|
984
|
+
path: Z.ZodString;
|
|
985
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<readonly [Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
986
|
+
}, Z.core.$strip>]>>>;
|
|
987
|
+
exclude: Z.ZodOptional<Z.ZodArray<Z.ZodUnion<readonly [Z.ZodString, Z.ZodObject<{
|
|
988
|
+
path: Z.ZodString;
|
|
989
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<readonly [Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
990
|
+
}, Z.core.$strip>]>>>;
|
|
991
|
+
injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
992
|
+
lockedKeys: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
993
|
+
lockedPatterns: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
994
|
+
ignoredKeys: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
995
|
+
preservedKeys: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
996
|
+
}, Z.core.$strip>;
|
|
997
|
+
declare const configV1_12Definition: ConfigDefinition<{
|
|
998
|
+
version: Z.ZodDefault<Z.ZodUnion<readonly [Z.ZodNumber, Z.ZodString]>>;
|
|
1183
999
|
locale: Z.ZodObject<{
|
|
1184
|
-
source: Z.
|
|
1185
|
-
targets: Z.ZodArray<Z.
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
}, "strip", Z.ZodTypeAny, {
|
|
1189
|
-
source: string;
|
|
1190
|
-
targets: string[];
|
|
1191
|
-
extraSource?: string | undefined;
|
|
1192
|
-
}, {
|
|
1193
|
-
source: string;
|
|
1194
|
-
targets: string[];
|
|
1195
|
-
extraSource?: string | undefined;
|
|
1196
|
-
}>;
|
|
1000
|
+
source: Z.ZodString;
|
|
1001
|
+
targets: Z.ZodArray<Z.ZodString>;
|
|
1002
|
+
extraSource: Z.ZodOptional<Z.ZodString>;
|
|
1003
|
+
}, Z.core.$strip>;
|
|
1197
1004
|
$schema: Z.ZodDefault<Z.ZodString>;
|
|
1198
|
-
|
|
1199
|
-
|
|
1005
|
+
formatter: Z.ZodOptional<Z.ZodEnum<{
|
|
1006
|
+
prettier: "prettier";
|
|
1007
|
+
biome: "biome";
|
|
1008
|
+
}>>;
|
|
1009
|
+
provider: Z.ZodOptional<Z.ZodObject<{
|
|
1010
|
+
id: Z.ZodEnum<{
|
|
1011
|
+
openai: "openai";
|
|
1012
|
+
anthropic: "anthropic";
|
|
1013
|
+
google: "google";
|
|
1014
|
+
ollama: "ollama";
|
|
1015
|
+
openrouter: "openrouter";
|
|
1016
|
+
mistral: "mistral";
|
|
1017
|
+
}>;
|
|
1018
|
+
model: Z.ZodString;
|
|
1019
|
+
prompt: Z.ZodString;
|
|
1020
|
+
baseUrl: Z.ZodOptional<Z.ZodString>;
|
|
1021
|
+
settings: Z.ZodOptional<Z.ZodObject<{
|
|
1022
|
+
temperature: Z.ZodOptional<Z.ZodNumber>;
|
|
1023
|
+
}, Z.core.$strip>>;
|
|
1024
|
+
}, Z.core.$strip>>;
|
|
1025
|
+
vNext: Z.ZodOptional<Z.ZodString>;
|
|
1026
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<{
|
|
1027
|
+
ail: "ail";
|
|
1028
|
+
android: "android";
|
|
1029
|
+
csv: "csv";
|
|
1030
|
+
ejs: "ejs";
|
|
1031
|
+
flutter: "flutter";
|
|
1032
|
+
html: "html";
|
|
1033
|
+
json: "json";
|
|
1034
|
+
json5: "json5";
|
|
1035
|
+
jsonc: "jsonc";
|
|
1036
|
+
markdown: "markdown";
|
|
1037
|
+
markdoc: "markdoc";
|
|
1038
|
+
mdx: "mdx";
|
|
1039
|
+
mjml: "mjml";
|
|
1040
|
+
twig: "twig";
|
|
1041
|
+
"xcode-strings": "xcode-strings";
|
|
1042
|
+
"xcode-stringsdict": "xcode-stringsdict";
|
|
1043
|
+
"xcode-xcstrings": "xcode-xcstrings";
|
|
1044
|
+
"xcode-xcstrings-v2": "xcode-xcstrings-v2";
|
|
1045
|
+
yaml: "yaml";
|
|
1046
|
+
"yaml-root-key": "yaml-root-key";
|
|
1047
|
+
properties: "properties";
|
|
1048
|
+
po: "po";
|
|
1049
|
+
xliff: "xliff";
|
|
1050
|
+
xml: "xml";
|
|
1051
|
+
srt: "srt";
|
|
1052
|
+
dato: "dato";
|
|
1053
|
+
compiler: "compiler";
|
|
1054
|
+
vtt: "vtt";
|
|
1055
|
+
php: "php";
|
|
1056
|
+
"vue-json": "vue-json";
|
|
1057
|
+
typescript: "typescript";
|
|
1058
|
+
txt: "txt";
|
|
1059
|
+
"json-dictionary": "json-dictionary";
|
|
1060
|
+
"csv-per-locale": "csv-per-locale";
|
|
1061
|
+
}> & Z.core.$partial, Z.ZodObject<{
|
|
1062
|
+
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<readonly [Z.ZodString, Z.ZodObject<{
|
|
1200
1063
|
path: Z.ZodString;
|
|
1201
|
-
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
1202
|
-
},
|
|
1203
|
-
|
|
1204
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
1205
|
-
}, {
|
|
1206
|
-
path: string;
|
|
1207
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
1208
|
-
}>]>, "many">>;
|
|
1209
|
-
exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
|
|
1064
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<readonly [Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
1065
|
+
}, Z.core.$strip>]>>>;
|
|
1066
|
+
exclude: Z.ZodOptional<Z.ZodArray<Z.ZodUnion<readonly [Z.ZodString, Z.ZodObject<{
|
|
1210
1067
|
path: Z.ZodString;
|
|
1211
|
-
delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
1212
|
-
},
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
},
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
path: string;
|
|
1233
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
1234
|
-
})[] | undefined;
|
|
1235
|
-
injectLocale?: string[] | undefined;
|
|
1236
|
-
lockedKeys?: string[] | undefined;
|
|
1237
|
-
lockedPatterns?: string[] | undefined;
|
|
1238
|
-
ignoredKeys?: string[] | undefined;
|
|
1239
|
-
}, {
|
|
1240
|
-
exclude?: (string | {
|
|
1241
|
-
path: string;
|
|
1242
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
1243
|
-
})[] | undefined;
|
|
1244
|
-
include?: (string | {
|
|
1245
|
-
path: string;
|
|
1246
|
-
delimiter?: "-" | "_" | null | undefined;
|
|
1247
|
-
})[] | undefined;
|
|
1248
|
-
injectLocale?: string[] | undefined;
|
|
1249
|
-
lockedKeys?: string[] | undefined;
|
|
1250
|
-
lockedPatterns?: string[] | undefined;
|
|
1251
|
-
ignoredKeys?: string[] | undefined;
|
|
1252
|
-
}>>>;
|
|
1253
|
-
formatter: Z.ZodOptional<Z.ZodEnum<["prettier", "biome"]>>;
|
|
1254
|
-
} & {
|
|
1068
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<readonly [Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
1069
|
+
}, Z.core.$strip>]>>>;
|
|
1070
|
+
injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
1071
|
+
lockedKeys: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
1072
|
+
lockedPatterns: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
1073
|
+
ignoredKeys: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
1074
|
+
preservedKeys: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
1075
|
+
}, Z.core.$strip>>>;
|
|
1076
|
+
}, any>;
|
|
1077
|
+
declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<{
|
|
1078
|
+
version: Z.ZodDefault<Z.ZodUnion<readonly [Z.ZodNumber, Z.ZodString]>>;
|
|
1079
|
+
locale: Z.ZodObject<{
|
|
1080
|
+
source: Z.ZodString;
|
|
1081
|
+
targets: Z.ZodArray<Z.ZodString>;
|
|
1082
|
+
extraSource: Z.ZodOptional<Z.ZodString>;
|
|
1083
|
+
}, Z.core.$strip>;
|
|
1084
|
+
$schema: Z.ZodDefault<Z.ZodString>;
|
|
1085
|
+
formatter: Z.ZodOptional<Z.ZodEnum<{
|
|
1086
|
+
prettier: "prettier";
|
|
1087
|
+
biome: "biome";
|
|
1088
|
+
}>>;
|
|
1255
1089
|
provider: Z.ZodOptional<Z.ZodObject<{
|
|
1256
|
-
id: Z.ZodEnum<
|
|
1090
|
+
id: Z.ZodEnum<{
|
|
1091
|
+
openai: "openai";
|
|
1092
|
+
anthropic: "anthropic";
|
|
1093
|
+
google: "google";
|
|
1094
|
+
ollama: "ollama";
|
|
1095
|
+
openrouter: "openrouter";
|
|
1096
|
+
mistral: "mistral";
|
|
1097
|
+
}>;
|
|
1257
1098
|
model: Z.ZodString;
|
|
1258
1099
|
prompt: Z.ZodString;
|
|
1259
1100
|
baseUrl: Z.ZodOptional<Z.ZodString>;
|
|
1260
1101
|
settings: Z.ZodOptional<Z.ZodObject<{
|
|
1261
1102
|
temperature: Z.ZodOptional<Z.ZodNumber>;
|
|
1262
|
-
},
|
|
1263
|
-
|
|
1264
|
-
}, {
|
|
1265
|
-
temperature?: number | undefined;
|
|
1266
|
-
}>>;
|
|
1267
|
-
}, "strip", Z.ZodTypeAny, {
|
|
1268
|
-
id: "openai" | "anthropic" | "google" | "ollama" | "openrouter" | "mistral";
|
|
1269
|
-
model: string;
|
|
1270
|
-
prompt: string;
|
|
1271
|
-
baseUrl?: string | undefined;
|
|
1272
|
-
settings?: {
|
|
1273
|
-
temperature?: number | undefined;
|
|
1274
|
-
} | undefined;
|
|
1275
|
-
}, {
|
|
1276
|
-
id: "openai" | "anthropic" | "google" | "ollama" | "openrouter" | "mistral";
|
|
1277
|
-
model: string;
|
|
1278
|
-
prompt: string;
|
|
1279
|
-
baseUrl?: string | undefined;
|
|
1280
|
-
settings?: {
|
|
1281
|
-
temperature?: number | undefined;
|
|
1282
|
-
} | undefined;
|
|
1283
|
-
}>>;
|
|
1284
|
-
} & {
|
|
1103
|
+
}, Z.core.$strip>>;
|
|
1104
|
+
}, Z.core.$strip>>;
|
|
1285
1105
|
vNext: Z.ZodOptional<Z.ZodString>;
|
|
1106
|
+
buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<{
|
|
1107
|
+
ail: "ail";
|
|
1108
|
+
android: "android";
|
|
1109
|
+
csv: "csv";
|
|
1110
|
+
ejs: "ejs";
|
|
1111
|
+
flutter: "flutter";
|
|
1112
|
+
html: "html";
|
|
1113
|
+
json: "json";
|
|
1114
|
+
json5: "json5";
|
|
1115
|
+
jsonc: "jsonc";
|
|
1116
|
+
markdown: "markdown";
|
|
1117
|
+
markdoc: "markdoc";
|
|
1118
|
+
mdx: "mdx";
|
|
1119
|
+
mjml: "mjml";
|
|
1120
|
+
twig: "twig";
|
|
1121
|
+
"xcode-strings": "xcode-strings";
|
|
1122
|
+
"xcode-stringsdict": "xcode-stringsdict";
|
|
1123
|
+
"xcode-xcstrings": "xcode-xcstrings";
|
|
1124
|
+
"xcode-xcstrings-v2": "xcode-xcstrings-v2";
|
|
1125
|
+
yaml: "yaml";
|
|
1126
|
+
"yaml-root-key": "yaml-root-key";
|
|
1127
|
+
properties: "properties";
|
|
1128
|
+
po: "po";
|
|
1129
|
+
xliff: "xliff";
|
|
1130
|
+
xml: "xml";
|
|
1131
|
+
srt: "srt";
|
|
1132
|
+
dato: "dato";
|
|
1133
|
+
compiler: "compiler";
|
|
1134
|
+
vtt: "vtt";
|
|
1135
|
+
php: "php";
|
|
1136
|
+
"vue-json": "vue-json";
|
|
1137
|
+
typescript: "typescript";
|
|
1138
|
+
txt: "txt";
|
|
1139
|
+
"json-dictionary": "json-dictionary";
|
|
1140
|
+
"csv-per-locale": "csv-per-locale";
|
|
1141
|
+
}> & Z.core.$partial, Z.ZodObject<{
|
|
1142
|
+
include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<readonly [Z.ZodString, Z.ZodObject<{
|
|
1143
|
+
path: Z.ZodString;
|
|
1144
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<readonly [Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
1145
|
+
}, Z.core.$strip>]>>>;
|
|
1146
|
+
exclude: Z.ZodOptional<Z.ZodArray<Z.ZodUnion<readonly [Z.ZodString, Z.ZodObject<{
|
|
1147
|
+
path: Z.ZodString;
|
|
1148
|
+
delimiter: Z.ZodOptional<Z.ZodUnion<readonly [Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
|
|
1149
|
+
}, Z.core.$strip>]>>>;
|
|
1150
|
+
injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
1151
|
+
lockedKeys: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
1152
|
+
lockedPatterns: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
1153
|
+
ignoredKeys: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
1154
|
+
preservedKeys: Z.ZodOptional<Z.ZodArray<Z.ZodString>>;
|
|
1155
|
+
}, Z.core.$strip>>>;
|
|
1286
1156
|
}, any>;
|
|
1287
1157
|
type I18nConfig = Z.infer<(typeof LATEST_CONFIG_DEFINITION)["schema"]>;
|
|
1288
1158
|
declare function parseI18nConfig(rawConfig: unknown): {
|
|
@@ -1292,6 +1162,7 @@ declare function parseI18nConfig(rawConfig: unknown): {
|
|
|
1292
1162
|
targets: string[];
|
|
1293
1163
|
extraSource?: string | undefined;
|
|
1294
1164
|
};
|
|
1165
|
+
$schema: string;
|
|
1295
1166
|
buckets: Partial<Record<"ail" | "android" | "csv" | "ejs" | "flutter" | "html" | "json" | "json5" | "jsonc" | "markdown" | "markdoc" | "mdx" | "mjml" | "twig" | "xcode-strings" | "xcode-stringsdict" | "xcode-xcstrings" | "xcode-xcstrings-v2" | "yaml" | "yaml-root-key" | "properties" | "po" | "xliff" | "xml" | "srt" | "dato" | "compiler" | "vtt" | "php" | "vue-json" | "typescript" | "txt" | "json-dictionary" | "csv-per-locale", {
|
|
1296
1167
|
include: (string | {
|
|
1297
1168
|
path: string;
|
|
@@ -1305,8 +1176,9 @@ declare function parseI18nConfig(rawConfig: unknown): {
|
|
|
1305
1176
|
lockedKeys?: string[] | undefined;
|
|
1306
1177
|
lockedPatterns?: string[] | undefined;
|
|
1307
1178
|
ignoredKeys?: string[] | undefined;
|
|
1179
|
+
preservedKeys?: string[] | undefined;
|
|
1308
1180
|
}>>;
|
|
1309
|
-
|
|
1181
|
+
formatter?: "prettier" | "biome" | undefined;
|
|
1310
1182
|
provider?: {
|
|
1311
1183
|
id: "openai" | "anthropic" | "google" | "ollama" | "openrouter" | "mistral";
|
|
1312
1184
|
model: string;
|
|
@@ -1316,7 +1188,6 @@ declare function parseI18nConfig(rawConfig: unknown): {
|
|
|
1316
1188
|
temperature?: number | undefined;
|
|
1317
1189
|
} | undefined;
|
|
1318
1190
|
} | undefined;
|
|
1319
|
-
formatter?: "prettier" | "biome" | undefined;
|
|
1320
1191
|
vNext?: string | undefined;
|
|
1321
1192
|
};
|
|
1322
1193
|
declare const defaultConfig: {
|
|
@@ -1326,6 +1197,7 @@ declare const defaultConfig: {
|
|
|
1326
1197
|
targets: string[];
|
|
1327
1198
|
extraSource?: string | undefined;
|
|
1328
1199
|
};
|
|
1200
|
+
$schema: string;
|
|
1329
1201
|
buckets: Partial<Record<"ail" | "android" | "csv" | "ejs" | "flutter" | "html" | "json" | "json5" | "jsonc" | "markdown" | "markdoc" | "mdx" | "mjml" | "twig" | "xcode-strings" | "xcode-stringsdict" | "xcode-xcstrings" | "xcode-xcstrings-v2" | "yaml" | "yaml-root-key" | "properties" | "po" | "xliff" | "xml" | "srt" | "dato" | "compiler" | "vtt" | "php" | "vue-json" | "typescript" | "txt" | "json-dictionary" | "csv-per-locale", {
|
|
1330
1202
|
include: (string | {
|
|
1331
1203
|
path: string;
|
|
@@ -1339,8 +1211,9 @@ declare const defaultConfig: {
|
|
|
1339
1211
|
lockedKeys?: string[] | undefined;
|
|
1340
1212
|
lockedPatterns?: string[] | undefined;
|
|
1341
1213
|
ignoredKeys?: string[] | undefined;
|
|
1214
|
+
preservedKeys?: string[] | undefined;
|
|
1342
1215
|
}>>;
|
|
1343
|
-
|
|
1216
|
+
formatter?: "prettier" | "biome" | undefined;
|
|
1344
1217
|
provider?: {
|
|
1345
1218
|
id: "openai" | "anthropic" | "google" | "ollama" | "openrouter" | "mistral";
|
|
1346
1219
|
model: string;
|
|
@@ -1350,8 +1223,7 @@ declare const defaultConfig: {
|
|
|
1350
1223
|
temperature?: number | undefined;
|
|
1351
1224
|
} | undefined;
|
|
1352
1225
|
} | undefined;
|
|
1353
|
-
formatter?: "prettier" | "biome" | undefined;
|
|
1354
1226
|
vNext?: string | undefined;
|
|
1355
1227
|
};
|
|
1356
1228
|
|
|
1357
|
-
export { type BucketItem, type I18nConfig, LATEST_CONFIG_DEFINITION, type LocaleCode, type LocaleCodeFull, type LocaleCodeShort, type LocaleDelimiter, bucketItemSchema, bucketTypeSchema, bucketTypes, bucketValueSchemaV1_3, bucketValueSchemaV1_6, bucketValueSchemaV1_7, bucketValueSchemaV1_8, configV0Definition, configV1Definition, configV1_10Definition, configV1_11Definition, configV1_1Definition, configV1_2Definition, configV1_3Definition, configV1_4Definition, configV1_5Definition, configV1_6Definition, configV1_7Definition, configV1_8Definition, configV1_9Definition, defaultConfig, getLocaleCodeDelimiter, localeCodeSchema, localeCodes, localeCodesFull, localeCodesFullExplicitRegion, localeCodesFullUnderscore, localeCodesShort, localeSchema, normalizeLocale, parseI18nConfig, resolveLocaleCode, resolveOverriddenLocale };
|
|
1229
|
+
export { type BucketItem, type I18nConfig, LATEST_CONFIG_DEFINITION, type LocaleCode, type LocaleCodeFull, type LocaleCodeShort, type LocaleDelimiter, bucketItemSchema, bucketTypeSchema, bucketTypes, bucketValueSchemaV1_12, bucketValueSchemaV1_3, bucketValueSchemaV1_6, bucketValueSchemaV1_7, bucketValueSchemaV1_8, configV0Definition, configV1Definition, configV1_10Definition, configV1_11Definition, configV1_12Definition, configV1_1Definition, configV1_2Definition, configV1_3Definition, configV1_4Definition, configV1_5Definition, configV1_6Definition, configV1_7Definition, configV1_8Definition, configV1_9Definition, defaultConfig, getLocaleCodeDelimiter, localeCodeSchema, localeCodes, localeCodesFull, localeCodesFullExplicitRegion, localeCodesFullUnderscore, localeCodesShort, localeSchema, normalizeLocale, parseI18nConfig, resolveLocaleCode, resolveOverriddenLocale };
|