@lingo.dev/_spec 0.26.4 → 0.26.6

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.
@@ -79,6 +79,12 @@
79
79
  ]
80
80
  },
81
81
  "default": []
82
+ },
83
+ "injectLocale": {
84
+ "type": "array",
85
+ "items": {
86
+ "type": "string"
87
+ }
82
88
  }
83
89
  },
84
90
  "additionalProperties": false
package/build/index.cjs CHANGED
@@ -236,6 +236,8 @@ var localeMap = {
236
236
  nap: ["nap-IT"],
237
237
  // Afrikaans (South Africa)
238
238
  af: ["af-ZA"],
239
+ // Uzbek (Latin)
240
+ uz: ["uz-Latn"],
239
241
  // Somali (Somalia)
240
242
  so: ["so-SO"],
241
243
  // Tigrinya (Ethiopia)
@@ -464,7 +466,8 @@ var configV1_3Definition = extendConfigDefinition(configV1_2Definition, {
464
466
  bucketTypeSchema,
465
467
  _zod2.default.object({
466
468
  include: _zod2.default.array(_zod2.default.union([_zod2.default.string(), bucketItemSchema])).default([]),
467
- exclude: _zod2.default.array(_zod2.default.union([_zod2.default.string(), bucketItemSchema])).default([]).optional()
469
+ exclude: _zod2.default.array(_zod2.default.union([_zod2.default.string(), bucketItemSchema])).default([]).optional(),
470
+ injectLocale: _zod2.default.array(_zod2.default.string()).optional()
468
471
  })
469
472
  ).default({})
470
473
  }),
package/build/index.d.cts CHANGED
@@ -59,6 +59,7 @@ declare const localeMap: {
59
59
  readonly bar: readonly ["bar-DE"];
60
60
  readonly nap: readonly ["nap-IT"];
61
61
  readonly af: readonly ["af-ZA"];
62
+ readonly uz: readonly ["uz-Latn"];
62
63
  readonly so: readonly ["so-SO"];
63
64
  readonly ti: readonly ["ti-ET"];
64
65
  readonly zgh: readonly ["zgh-MA"];
@@ -288,6 +289,7 @@ declare const configV1_3Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
288
289
  path: string;
289
290
  delimiter?: "-" | "_" | null | undefined;
290
291
  }>]>, "many">>>;
292
+ injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
291
293
  }, "strip", Z.ZodTypeAny, {
292
294
  include: (string | {
293
295
  path: string;
@@ -297,6 +299,7 @@ declare const configV1_3Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
297
299
  path: string;
298
300
  delimiter?: "-" | "_" | null | undefined;
299
301
  })[] | undefined;
302
+ injectLocale?: string[] | undefined;
300
303
  }, {
301
304
  exclude?: (string | {
302
305
  path: string;
@@ -306,6 +309,7 @@ declare const configV1_3Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
306
309
  path: string;
307
310
  delimiter?: "-" | "_" | null | undefined;
308
311
  })[] | undefined;
312
+ injectLocale?: string[] | undefined;
309
313
  }>>>;
310
314
  }>, Z.ZodRawShape>;
311
315
  declare const configV1_4Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<{
@@ -370,6 +374,7 @@ declare const configV1_4Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
370
374
  path: string;
371
375
  delimiter?: "-" | "_" | null | undefined;
372
376
  }>]>, "many">>>;
377
+ injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
373
378
  }, "strip", Z.ZodTypeAny, {
374
379
  include: (string | {
375
380
  path: string;
@@ -379,6 +384,7 @@ declare const configV1_4Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
379
384
  path: string;
380
385
  delimiter?: "-" | "_" | null | undefined;
381
386
  })[] | undefined;
387
+ injectLocale?: string[] | undefined;
382
388
  }, {
383
389
  exclude?: (string | {
384
390
  path: string;
@@ -388,6 +394,7 @@ declare const configV1_4Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
388
394
  path: string;
389
395
  delimiter?: "-" | "_" | null | undefined;
390
396
  })[] | undefined;
397
+ injectLocale?: string[] | undefined;
391
398
  }>>>;
392
399
  }>, {
393
400
  $schema: Z.ZodDefault<Z.ZodString>;
@@ -454,6 +461,7 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShap
454
461
  path: string;
455
462
  delimiter?: "-" | "_" | null | undefined;
456
463
  }>]>, "many">>>;
464
+ injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
457
465
  }, "strip", Z.ZodTypeAny, {
458
466
  include: (string | {
459
467
  path: string;
@@ -463,6 +471,7 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShap
463
471
  path: string;
464
472
  delimiter?: "-" | "_" | null | undefined;
465
473
  })[] | undefined;
474
+ injectLocale?: string[] | undefined;
466
475
  }, {
467
476
  exclude?: (string | {
468
477
  path: string;
@@ -472,6 +481,7 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShap
472
481
  path: string;
473
482
  delimiter?: "-" | "_" | null | undefined;
474
483
  })[] | undefined;
484
+ injectLocale?: string[] | undefined;
475
485
  }>>>;
476
486
  }>, {
477
487
  $schema: Z.ZodDefault<Z.ZodString>;
@@ -493,6 +503,7 @@ declare function parseI18nConfig(rawConfig: unknown): {
493
503
  path: string;
494
504
  delimiter?: "-" | "_" | null | undefined;
495
505
  })[] | undefined;
506
+ injectLocale?: string[] | undefined;
496
507
  }>>;
497
508
  $schema: string;
498
509
  };
@@ -512,6 +523,7 @@ declare const defaultConfig: {
512
523
  path: string;
513
524
  delimiter?: "-" | "_" | null | undefined;
514
525
  })[] | undefined;
526
+ injectLocale?: string[] | undefined;
515
527
  }>>;
516
528
  $schema: string;
517
529
  };
package/build/index.d.ts CHANGED
@@ -59,6 +59,7 @@ declare const localeMap: {
59
59
  readonly bar: readonly ["bar-DE"];
60
60
  readonly nap: readonly ["nap-IT"];
61
61
  readonly af: readonly ["af-ZA"];
62
+ readonly uz: readonly ["uz-Latn"];
62
63
  readonly so: readonly ["so-SO"];
63
64
  readonly ti: readonly ["ti-ET"];
64
65
  readonly zgh: readonly ["zgh-MA"];
@@ -288,6 +289,7 @@ declare const configV1_3Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
288
289
  path: string;
289
290
  delimiter?: "-" | "_" | null | undefined;
290
291
  }>]>, "many">>>;
292
+ injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
291
293
  }, "strip", Z.ZodTypeAny, {
292
294
  include: (string | {
293
295
  path: string;
@@ -297,6 +299,7 @@ declare const configV1_3Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
297
299
  path: string;
298
300
  delimiter?: "-" | "_" | null | undefined;
299
301
  })[] | undefined;
302
+ injectLocale?: string[] | undefined;
300
303
  }, {
301
304
  exclude?: (string | {
302
305
  path: string;
@@ -306,6 +309,7 @@ declare const configV1_3Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
306
309
  path: string;
307
310
  delimiter?: "-" | "_" | null | undefined;
308
311
  })[] | undefined;
312
+ injectLocale?: string[] | undefined;
309
313
  }>>>;
310
314
  }>, Z.ZodRawShape>;
311
315
  declare const configV1_4Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<{
@@ -370,6 +374,7 @@ declare const configV1_4Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
370
374
  path: string;
371
375
  delimiter?: "-" | "_" | null | undefined;
372
376
  }>]>, "many">>>;
377
+ injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
373
378
  }, "strip", Z.ZodTypeAny, {
374
379
  include: (string | {
375
380
  path: string;
@@ -379,6 +384,7 @@ declare const configV1_4Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
379
384
  path: string;
380
385
  delimiter?: "-" | "_" | null | undefined;
381
386
  })[] | undefined;
387
+ injectLocale?: string[] | undefined;
382
388
  }, {
383
389
  exclude?: (string | {
384
390
  path: string;
@@ -388,6 +394,7 @@ declare const configV1_4Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
388
394
  path: string;
389
395
  delimiter?: "-" | "_" | null | undefined;
390
396
  })[] | undefined;
397
+ injectLocale?: string[] | undefined;
391
398
  }>>>;
392
399
  }>, {
393
400
  $schema: Z.ZodDefault<Z.ZodString>;
@@ -454,6 +461,7 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShap
454
461
  path: string;
455
462
  delimiter?: "-" | "_" | null | undefined;
456
463
  }>]>, "many">>>;
464
+ injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
457
465
  }, "strip", Z.ZodTypeAny, {
458
466
  include: (string | {
459
467
  path: string;
@@ -463,6 +471,7 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShap
463
471
  path: string;
464
472
  delimiter?: "-" | "_" | null | undefined;
465
473
  })[] | undefined;
474
+ injectLocale?: string[] | undefined;
466
475
  }, {
467
476
  exclude?: (string | {
468
477
  path: string;
@@ -472,6 +481,7 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShap
472
481
  path: string;
473
482
  delimiter?: "-" | "_" | null | undefined;
474
483
  })[] | undefined;
484
+ injectLocale?: string[] | undefined;
475
485
  }>>>;
476
486
  }>, {
477
487
  $schema: Z.ZodDefault<Z.ZodString>;
@@ -493,6 +503,7 @@ declare function parseI18nConfig(rawConfig: unknown): {
493
503
  path: string;
494
504
  delimiter?: "-" | "_" | null | undefined;
495
505
  })[] | undefined;
506
+ injectLocale?: string[] | undefined;
496
507
  }>>;
497
508
  $schema: string;
498
509
  };
@@ -512,6 +523,7 @@ declare const defaultConfig: {
512
523
  path: string;
513
524
  delimiter?: "-" | "_" | null | undefined;
514
525
  })[] | undefined;
526
+ injectLocale?: string[] | undefined;
515
527
  }>>;
516
528
  $schema: string;
517
529
  };
package/build/index.mjs CHANGED
@@ -236,6 +236,8 @@ var localeMap = {
236
236
  nap: ["nap-IT"],
237
237
  // Afrikaans (South Africa)
238
238
  af: ["af-ZA"],
239
+ // Uzbek (Latin)
240
+ uz: ["uz-Latn"],
239
241
  // Somali (Somalia)
240
242
  so: ["so-SO"],
241
243
  // Tigrinya (Ethiopia)
@@ -464,7 +466,8 @@ var configV1_3Definition = extendConfigDefinition(configV1_2Definition, {
464
466
  bucketTypeSchema,
465
467
  Z3.object({
466
468
  include: Z3.array(Z3.union([Z3.string(), bucketItemSchema])).default([]),
467
- exclude: Z3.array(Z3.union([Z3.string(), bucketItemSchema])).default([]).optional()
469
+ exclude: Z3.array(Z3.union([Z3.string(), bucketItemSchema])).default([]).optional(),
470
+ injectLocale: Z3.array(Z3.string()).optional()
468
471
  })
469
472
  ).default({})
470
473
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingo.dev/_spec",
3
- "version": "0.26.4",
3
+ "version": "0.26.6",
4
4
  "description": "Lingo.dev open specification",
5
5
  "private": false,
6
6
  "publishConfig": {