@lingo.dev/_spec 0.26.5 → 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
@@ -466,7 +466,8 @@ var configV1_3Definition = extendConfigDefinition(configV1_2Definition, {
466
466
  bucketTypeSchema,
467
467
  _zod2.default.object({
468
468
  include: _zod2.default.array(_zod2.default.union([_zod2.default.string(), bucketItemSchema])).default([]),
469
- 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()
470
471
  })
471
472
  ).default({})
472
473
  }),
package/build/index.d.cts CHANGED
@@ -289,6 +289,7 @@ declare const configV1_3Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
289
289
  path: string;
290
290
  delimiter?: "-" | "_" | null | undefined;
291
291
  }>]>, "many">>>;
292
+ injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
292
293
  }, "strip", Z.ZodTypeAny, {
293
294
  include: (string | {
294
295
  path: string;
@@ -298,6 +299,7 @@ declare const configV1_3Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
298
299
  path: string;
299
300
  delimiter?: "-" | "_" | null | undefined;
300
301
  })[] | undefined;
302
+ injectLocale?: string[] | undefined;
301
303
  }, {
302
304
  exclude?: (string | {
303
305
  path: string;
@@ -307,6 +309,7 @@ declare const configV1_3Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
307
309
  path: string;
308
310
  delimiter?: "-" | "_" | null | undefined;
309
311
  })[] | undefined;
312
+ injectLocale?: string[] | undefined;
310
313
  }>>>;
311
314
  }>, Z.ZodRawShape>;
312
315
  declare const configV1_4Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<{
@@ -371,6 +374,7 @@ declare const configV1_4Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
371
374
  path: string;
372
375
  delimiter?: "-" | "_" | null | undefined;
373
376
  }>]>, "many">>>;
377
+ injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
374
378
  }, "strip", Z.ZodTypeAny, {
375
379
  include: (string | {
376
380
  path: string;
@@ -380,6 +384,7 @@ declare const configV1_4Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
380
384
  path: string;
381
385
  delimiter?: "-" | "_" | null | undefined;
382
386
  })[] | undefined;
387
+ injectLocale?: string[] | undefined;
383
388
  }, {
384
389
  exclude?: (string | {
385
390
  path: string;
@@ -389,6 +394,7 @@ declare const configV1_4Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
389
394
  path: string;
390
395
  delimiter?: "-" | "_" | null | undefined;
391
396
  })[] | undefined;
397
+ injectLocale?: string[] | undefined;
392
398
  }>>>;
393
399
  }>, {
394
400
  $schema: Z.ZodDefault<Z.ZodString>;
@@ -455,6 +461,7 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShap
455
461
  path: string;
456
462
  delimiter?: "-" | "_" | null | undefined;
457
463
  }>]>, "many">>>;
464
+ injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
458
465
  }, "strip", Z.ZodTypeAny, {
459
466
  include: (string | {
460
467
  path: string;
@@ -464,6 +471,7 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShap
464
471
  path: string;
465
472
  delimiter?: "-" | "_" | null | undefined;
466
473
  })[] | undefined;
474
+ injectLocale?: string[] | undefined;
467
475
  }, {
468
476
  exclude?: (string | {
469
477
  path: string;
@@ -473,6 +481,7 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShap
473
481
  path: string;
474
482
  delimiter?: "-" | "_" | null | undefined;
475
483
  })[] | undefined;
484
+ injectLocale?: string[] | undefined;
476
485
  }>>>;
477
486
  }>, {
478
487
  $schema: Z.ZodDefault<Z.ZodString>;
@@ -494,6 +503,7 @@ declare function parseI18nConfig(rawConfig: unknown): {
494
503
  path: string;
495
504
  delimiter?: "-" | "_" | null | undefined;
496
505
  })[] | undefined;
506
+ injectLocale?: string[] | undefined;
497
507
  }>>;
498
508
  $schema: string;
499
509
  };
@@ -513,6 +523,7 @@ declare const defaultConfig: {
513
523
  path: string;
514
524
  delimiter?: "-" | "_" | null | undefined;
515
525
  })[] | undefined;
526
+ injectLocale?: string[] | undefined;
516
527
  }>>;
517
528
  $schema: string;
518
529
  };
package/build/index.d.ts CHANGED
@@ -289,6 +289,7 @@ declare const configV1_3Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
289
289
  path: string;
290
290
  delimiter?: "-" | "_" | null | undefined;
291
291
  }>]>, "many">>>;
292
+ injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
292
293
  }, "strip", Z.ZodTypeAny, {
293
294
  include: (string | {
294
295
  path: string;
@@ -298,6 +299,7 @@ declare const configV1_3Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
298
299
  path: string;
299
300
  delimiter?: "-" | "_" | null | undefined;
300
301
  })[] | undefined;
302
+ injectLocale?: string[] | undefined;
301
303
  }, {
302
304
  exclude?: (string | {
303
305
  path: string;
@@ -307,6 +309,7 @@ declare const configV1_3Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
307
309
  path: string;
308
310
  delimiter?: "-" | "_" | null | undefined;
309
311
  })[] | undefined;
312
+ injectLocale?: string[] | undefined;
310
313
  }>>>;
311
314
  }>, Z.ZodRawShape>;
312
315
  declare const configV1_4Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<{
@@ -371,6 +374,7 @@ declare const configV1_4Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
371
374
  path: string;
372
375
  delimiter?: "-" | "_" | null | undefined;
373
376
  }>]>, "many">>>;
377
+ injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
374
378
  }, "strip", Z.ZodTypeAny, {
375
379
  include: (string | {
376
380
  path: string;
@@ -380,6 +384,7 @@ declare const configV1_4Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
380
384
  path: string;
381
385
  delimiter?: "-" | "_" | null | undefined;
382
386
  })[] | undefined;
387
+ injectLocale?: string[] | undefined;
383
388
  }, {
384
389
  exclude?: (string | {
385
390
  path: string;
@@ -389,6 +394,7 @@ declare const configV1_4Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
389
394
  path: string;
390
395
  delimiter?: "-" | "_" | null | undefined;
391
396
  })[] | undefined;
397
+ injectLocale?: string[] | undefined;
392
398
  }>>>;
393
399
  }>, {
394
400
  $schema: Z.ZodDefault<Z.ZodString>;
@@ -455,6 +461,7 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShap
455
461
  path: string;
456
462
  delimiter?: "-" | "_" | null | undefined;
457
463
  }>]>, "many">>>;
464
+ injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
458
465
  }, "strip", Z.ZodTypeAny, {
459
466
  include: (string | {
460
467
  path: string;
@@ -464,6 +471,7 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShap
464
471
  path: string;
465
472
  delimiter?: "-" | "_" | null | undefined;
466
473
  })[] | undefined;
474
+ injectLocale?: string[] | undefined;
467
475
  }, {
468
476
  exclude?: (string | {
469
477
  path: string;
@@ -473,6 +481,7 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShap
473
481
  path: string;
474
482
  delimiter?: "-" | "_" | null | undefined;
475
483
  })[] | undefined;
484
+ injectLocale?: string[] | undefined;
476
485
  }>>>;
477
486
  }>, {
478
487
  $schema: Z.ZodDefault<Z.ZodString>;
@@ -494,6 +503,7 @@ declare function parseI18nConfig(rawConfig: unknown): {
494
503
  path: string;
495
504
  delimiter?: "-" | "_" | null | undefined;
496
505
  })[] | undefined;
506
+ injectLocale?: string[] | undefined;
497
507
  }>>;
498
508
  $schema: string;
499
509
  };
@@ -513,6 +523,7 @@ declare const defaultConfig: {
513
523
  path: string;
514
524
  delimiter?: "-" | "_" | null | undefined;
515
525
  })[] | undefined;
526
+ injectLocale?: string[] | undefined;
516
527
  }>>;
517
528
  $schema: string;
518
529
  };
package/build/index.mjs CHANGED
@@ -466,7 +466,8 @@ var configV1_3Definition = extendConfigDefinition(configV1_2Definition, {
466
466
  bucketTypeSchema,
467
467
  Z3.object({
468
468
  include: Z3.array(Z3.union([Z3.string(), bucketItemSchema])).default([]),
469
- 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()
470
471
  })
471
472
  ).default({})
472
473
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingo.dev/_spec",
3
- "version": "0.26.5",
3
+ "version": "0.26.6",
4
4
  "description": "Lingo.dev open specification",
5
5
  "private": false,
6
6
  "publishConfig": {