@bottlebooks/valid-values 1.2.0 → 1.2.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.
Files changed (44) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/core/translate.d.ts +1 -1
  3. package/dist/core/translate.d.ts.map +1 -1
  4. package/dist/core/translate.js +25 -7
  5. package/dist/main.js +21 -21
  6. package/dist/validValues/country.d.ts +6 -1
  7. package/dist/validValues/country.d.ts.map +1 -1
  8. package/dist/validValues/country.js +2 -149
  9. package/dist/validValues/designation.d.ts +0 -115
  10. package/dist/validValues/designation.d.ts.map +1 -1
  11. package/dist/validValues/subregion.d.ts +0 -2
  12. package/dist/validValues/subregion.d.ts.map +1 -1
  13. package/dist/validValues/subregion.js +1385 -2770
  14. package/dist/validValues/types/ValidValueDefinition.d.ts +1 -1
  15. package/dist/validValues/types/ValidValueDefinition.d.ts.map +1 -1
  16. package/package.json +2 -2
  17. package/src/core/translate.ts +33 -9
  18. package/src/locales/po/bg.po +1542 -1542
  19. package/src/locales/po/de.po +1542 -1542
  20. package/src/locales/po/ee.po +1542 -1542
  21. package/src/locales/po/en.po +1542 -1542
  22. package/src/locales/po/es.po +1542 -1542
  23. package/src/locales/po/fi.po +1542 -1542
  24. package/src/locales/po/fr.po +1542 -1542
  25. package/src/locales/po/hr.po +1542 -1542
  26. package/src/locales/po/hu.po +1542 -1542
  27. package/src/locales/po/it.po +1542 -1542
  28. package/src/locales/po/lt.po +1542 -1542
  29. package/src/locales/po/lv.po +1542 -1542
  30. package/src/locales/po/mt.po +1542 -1542
  31. package/src/locales/po/nl.po +1542 -1542
  32. package/src/locales/po/pl.po +1542 -1542
  33. package/src/locales/po/pt.po +1542 -1542
  34. package/src/locales/po/ro.po +1542 -1542
  35. package/src/locales/po/se.po +1542 -1542
  36. package/src/locales/po/si.po +1542 -1542
  37. package/src/locales/po/sk.po +1542 -1542
  38. package/src/main.ts +16 -13
  39. package/src/validValues/country.ts +7 -148
  40. package/src/validValues/designation.ts +0 -5
  41. package/src/validValues/subregion.ts +1 -1387
  42. package/src/validValues/types/ValidValueDefinition.ts +1 -1
  43. package/dist/validValues/types/Country.js +0 -5
  44. package/src/validValues/types/Country.ts +0 -39
@@ -1,11 +1,6 @@
1
1
  import type { MessageDescriptor } from '@lingui/core';
2
2
  import type { ProductType as ProductTypeKey } from './types/ProductTypeKey.js';
3
3
  interface ValidValueDefinition {
4
- /**
5
- * The translatable title of the valid value.
6
- *
7
- * Define it using `defineMessage()` from @lingui/macro.
8
- */
9
4
  title: MessageDescriptor;
10
5
  /**
11
6
  * Fields that will never be stored in the database,
@@ -34,11 +29,6 @@ interface DesignationInput extends ValidValueDefinition {
34
29
  }
35
30
  declare const allDesignations: readonly [{
36
31
  key: "brut";
37
- /**
38
- * The translatable title of the valid value.
39
- *
40
- * Define it using `defineMessage()` from @lingui/macro.
41
- */
42
32
  title: MessageDescriptor;
43
33
  /**
44
34
  * Fields that will never be stored in the database,
@@ -64,11 +54,6 @@ declare const allDesignations: readonly [{
64
54
  frontend?: {} | undefined;
65
55
  }, {
66
56
  key: "brut_nature";
67
- /**
68
- * The translatable title of the valid value.
69
- *
70
- * Define it using `defineMessage()` from @lingui/macro.
71
- */
72
57
  title: MessageDescriptor;
73
58
  /**
74
59
  * Fields that will never be stored in the database,
@@ -94,11 +79,6 @@ declare const allDesignations: readonly [{
94
79
  frontend?: {} | undefined;
95
80
  }, {
96
81
  key: "demi-sec";
97
- /**
98
- * The translatable title of the valid value.
99
- *
100
- * Define it using `defineMessage()` from @lingui/macro.
101
- */
102
82
  title: MessageDescriptor;
103
83
  /**
104
84
  * Fields that will never be stored in the database,
@@ -124,11 +104,6 @@ declare const allDesignations: readonly [{
124
104
  frontend?: {} | undefined;
125
105
  }, {
126
106
  key: "dry";
127
- /**
128
- * The translatable title of the valid value.
129
- *
130
- * Define it using `defineMessage()` from @lingui/macro.
131
- */
132
107
  title: MessageDescriptor;
133
108
  /**
134
109
  * Fields that will never be stored in the database,
@@ -154,11 +129,6 @@ declare const allDesignations: readonly [{
154
129
  frontend?: {} | undefined;
155
130
  }, {
156
131
  key: "extra_brut";
157
- /**
158
- * The translatable title of the valid value.
159
- *
160
- * Define it using `defineMessage()` from @lingui/macro.
161
- */
162
132
  title: MessageDescriptor;
163
133
  /**
164
134
  * Fields that will never be stored in the database,
@@ -184,11 +154,6 @@ declare const allDesignations: readonly [{
184
154
  frontend?: {} | undefined;
185
155
  }, {
186
156
  key: "extra_dry";
187
- /**
188
- * The translatable title of the valid value.
189
- *
190
- * Define it using `defineMessage()` from @lingui/macro.
191
- */
192
157
  title: MessageDescriptor;
193
158
  /**
194
159
  * Fields that will never be stored in the database,
@@ -214,11 +179,6 @@ declare const allDesignations: readonly [{
214
179
  frontend?: {} | undefined;
215
180
  }, {
216
181
  key: "feinherb";
217
- /**
218
- * The translatable title of the valid value.
219
- *
220
- * Define it using `defineMessage()` from @lingui/macro.
221
- */
222
182
  title: MessageDescriptor;
223
183
  /**
224
184
  * Fields that will never be stored in the database,
@@ -244,11 +204,6 @@ declare const allDesignations: readonly [{
244
204
  frontend?: {} | undefined;
245
205
  }, {
246
206
  key: "lieblich";
247
- /**
248
- * The translatable title of the valid value.
249
- *
250
- * Define it using `defineMessage()` from @lingui/macro.
251
- */
252
207
  title: MessageDescriptor;
253
208
  /**
254
209
  * Fields that will never be stored in the database,
@@ -274,11 +229,6 @@ declare const allDesignations: readonly [{
274
229
  frontend?: {} | undefined;
275
230
  }, {
276
231
  key: "semi";
277
- /**
278
- * The translatable title of the valid value.
279
- *
280
- * Define it using `defineMessage()` from @lingui/macro.
281
- */
282
232
  title: MessageDescriptor;
283
233
  /**
284
234
  * Fields that will never be stored in the database,
@@ -304,11 +254,6 @@ declare const allDesignations: readonly [{
304
254
  frontend?: {} | undefined;
305
255
  }, {
306
256
  key: "sweet";
307
- /**
308
- * The translatable title of the valid value.
309
- *
310
- * Define it using `defineMessage()` from @lingui/macro.
311
- */
312
257
  title: MessageDescriptor;
313
258
  /**
314
259
  * Fields that will never be stored in the database,
@@ -334,11 +279,6 @@ declare const allDesignations: readonly [{
334
279
  frontend?: {} | undefined;
335
280
  }, {
336
281
  key: "semi_sweet";
337
- /**
338
- * The translatable title of the valid value.
339
- *
340
- * Define it using `defineMessage()` from @lingui/macro.
341
- */
342
282
  title: MessageDescriptor;
343
283
  /**
344
284
  * Fields that will never be stored in the database,
@@ -413,11 +353,6 @@ declare const _default: {
413
353
  listByProductType: Record<ProductTypeKey, DesignationOutput[]>;
414
354
  list: readonly [{
415
355
  key: "brut";
416
- /**
417
- * The translatable title of the valid value.
418
- *
419
- * Define it using `defineMessage()` from @lingui/macro.
420
- */
421
356
  title: MessageDescriptor;
422
357
  /**
423
358
  * Fields that will never be stored in the database,
@@ -443,11 +378,6 @@ declare const _default: {
443
378
  frontend?: {} | undefined;
444
379
  }, {
445
380
  key: "brut_nature";
446
- /**
447
- * The translatable title of the valid value.
448
- *
449
- * Define it using `defineMessage()` from @lingui/macro.
450
- */
451
381
  title: MessageDescriptor;
452
382
  /**
453
383
  * Fields that will never be stored in the database,
@@ -473,11 +403,6 @@ declare const _default: {
473
403
  frontend?: {} | undefined;
474
404
  }, {
475
405
  key: "demi-sec";
476
- /**
477
- * The translatable title of the valid value.
478
- *
479
- * Define it using `defineMessage()` from @lingui/macro.
480
- */
481
406
  title: MessageDescriptor;
482
407
  /**
483
408
  * Fields that will never be stored in the database,
@@ -503,11 +428,6 @@ declare const _default: {
503
428
  frontend?: {} | undefined;
504
429
  }, {
505
430
  key: "dry";
506
- /**
507
- * The translatable title of the valid value.
508
- *
509
- * Define it using `defineMessage()` from @lingui/macro.
510
- */
511
431
  title: MessageDescriptor;
512
432
  /**
513
433
  * Fields that will never be stored in the database,
@@ -533,11 +453,6 @@ declare const _default: {
533
453
  frontend?: {} | undefined;
534
454
  }, {
535
455
  key: "extra_brut";
536
- /**
537
- * The translatable title of the valid value.
538
- *
539
- * Define it using `defineMessage()` from @lingui/macro.
540
- */
541
456
  title: MessageDescriptor;
542
457
  /**
543
458
  * Fields that will never be stored in the database,
@@ -563,11 +478,6 @@ declare const _default: {
563
478
  frontend?: {} | undefined;
564
479
  }, {
565
480
  key: "extra_dry";
566
- /**
567
- * The translatable title of the valid value.
568
- *
569
- * Define it using `defineMessage()` from @lingui/macro.
570
- */
571
481
  title: MessageDescriptor;
572
482
  /**
573
483
  * Fields that will never be stored in the database,
@@ -593,11 +503,6 @@ declare const _default: {
593
503
  frontend?: {} | undefined;
594
504
  }, {
595
505
  key: "feinherb";
596
- /**
597
- * The translatable title of the valid value.
598
- *
599
- * Define it using `defineMessage()` from @lingui/macro.
600
- */
601
506
  title: MessageDescriptor;
602
507
  /**
603
508
  * Fields that will never be stored in the database,
@@ -623,11 +528,6 @@ declare const _default: {
623
528
  frontend?: {} | undefined;
624
529
  }, {
625
530
  key: "lieblich";
626
- /**
627
- * The translatable title of the valid value.
628
- *
629
- * Define it using `defineMessage()` from @lingui/macro.
630
- */
631
531
  title: MessageDescriptor;
632
532
  /**
633
533
  * Fields that will never be stored in the database,
@@ -653,11 +553,6 @@ declare const _default: {
653
553
  frontend?: {} | undefined;
654
554
  }, {
655
555
  key: "semi";
656
- /**
657
- * The translatable title of the valid value.
658
- *
659
- * Define it using `defineMessage()` from @lingui/macro.
660
- */
661
556
  title: MessageDescriptor;
662
557
  /**
663
558
  * Fields that will never be stored in the database,
@@ -683,11 +578,6 @@ declare const _default: {
683
578
  frontend?: {} | undefined;
684
579
  }, {
685
580
  key: "sweet";
686
- /**
687
- * The translatable title of the valid value.
688
- *
689
- * Define it using `defineMessage()` from @lingui/macro.
690
- */
691
581
  title: MessageDescriptor;
692
582
  /**
693
583
  * Fields that will never be stored in the database,
@@ -713,11 +603,6 @@ declare const _default: {
713
603
  frontend?: {} | undefined;
714
604
  }, {
715
605
  key: "semi_sweet";
716
- /**
717
- * The translatable title of the valid value.
718
- *
719
- * Define it using `defineMessage()` from @lingui/macro.
720
- */
721
606
  title: MessageDescriptor;
722
607
  /**
723
608
  * Fields that will never be stored in the database,
@@ -1 +1 @@
1
- {"version":3,"file":"designation.d.ts","sourceRoot":"","sources":["../../src/validValues/designation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD,OAAO,KAAK,EAAE,WAAW,IAAI,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAI/E,UAAU,oBAAoB;IAC5B;;;;OAIG;IACH,KAAK,EAAE,iBAAiB,CAAC;IACzB;;;;OAIG;IACH,IAAI,CAAC,EAAE;QACL;;WAEG;QACH,WAAW,CAAC,EAAE,iBAAiB,CAAC;KACjC,CAAC;IACF;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAE,EAAE,CAAC;CACf;AAED,UAAU,gBAAiB,SAAQ,oBAAoB;CAAG;AAW1D,QAAA,MAAM,eAAe;;IAzCnB;;;;OAIG;WACI,iBAAiB;IACxB;;;;OAIG;;QAED;;WAEG;;;IAGL;;;;;;;;;OASG;;;;IA1BH;;;;OAIG;WACI,iBAAiB;IACxB;;;;OAIG;;QAED;;WAEG;;;IAGL;;;;;;;;;OASG;;;;IA1BH;;;;OAIG;WACI,iBAAiB;IACxB;;;;OAIG;;QAED;;WAEG;;;IAGL;;;;;;;;;OASG;;;;IA1BH;;;;OAIG;WACI,iBAAiB;IACxB;;;;OAIG;;QAED;;WAEG;;;IAGL;;;;;;;;;OASG;;;;IA1BH;;;;OAIG;WACI,iBAAiB;IACxB;;;;OAIG;;QAED;;WAEG;;;IAGL;;;;;;;;;OASG;;;;IA1BH;;;;OAIG;WACI,iBAAiB;IACxB;;;;OAIG;;QAED;;WAEG;;;IAGL;;;;;;;;;OASG;;;;IA1BH;;;;OAIG;WACI,iBAAiB;IACxB;;;;OAIG;;QAED;;WAEG;;;IAGL;;;;;;;;;OASG;;;;IA1BH;;;;OAIG;WACI,iBAAiB;IACxB;;;;OAIG;;QAED;;WAEG;;;IAGL;;;;;;;;;OASG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AEH;;;;WAIG;;YAED;;eAEG;;;QAGL;;;;;;;;;WASG;;;;;AA+JL,wBAKE"}
1
+ {"version":3,"file":"designation.d.ts","sourceRoot":"","sources":["../../src/validValues/designation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD,OAAO,KAAK,EAAE,WAAW,IAAI,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAI/E,UAAU,oBAAoB;IAC5B,KAAK,EAAE,iBAAiB,CAAC;IACzB;;;;OAIG;IACH,IAAI,CAAC,EAAE;QACL;;WAEG;QACH,WAAW,CAAC,EAAE,iBAAiB,CAAC;KACjC,CAAC;IACF;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAE,EAAE,CAAC;CACf;AAED,UAAU,gBAAiB,SAAQ,oBAAoB;CAAG;AAW1D,QAAA,MAAM,eAAe;;WApCZ,iBAAiB;IACxB;;;;OAIG;;QAED;;WAEG;;;IAGL;;;;;;;;;OASG;;;;WArBI,iBAAiB;IACxB;;;;OAIG;;QAED;;WAEG;;;IAGL;;;;;;;;;OASG;;;;WArBI,iBAAiB;IACxB;;;;OAIG;;QAED;;WAEG;;;IAGL;;;;;;;;;OASG;;;;WArBI,iBAAiB;IACxB;;;;OAIG;;QAED;;WAEG;;;IAGL;;;;;;;;;OASG;;;;WArBI,iBAAiB;IACxB;;;;OAIG;;QAED;;WAEG;;;IAGL;;;;;;;;;OASG;;;;WArBI,iBAAiB;IACxB;;;;OAIG;;QAED;;WAEG;;;IAGL;;;;;;;;;OASG;;;;WArBI,iBAAiB;IACxB;;;;OAIG;;QAED;;WAEG;;;IAGL;;;;;;;;;OASG;;;;WArBI,iBAAiB;IACxB;;;;OAIG;;QAED;;WAEG;;;IAGL;;;;;;;;;OASG;;;;WArBI,iBAAiB;IACxB;;;;OAIG;;QAED;;WAEG;;;IAGL;;;;;;;;;OASG;;;;WArBI,iBAAiB;IACxB;;;;OAIG;;QAED;;WAEG;;;IAGL;;;;;;;;;OASG;;;;WArBI,iBAAiB;IACxB;;;;OAIG;;QAED;;WAEG;;;IAGL;;;;;;;;;OASG;;EAkFK,CAAC;AAEX,aAAK,cAAc,GAAG,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,CAAC;AAC5D,UAAU,iBAAkB,SAAQ,gBAAgB;IAClD,GAAG,EAAE,cAAc,CAAC;CACrB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA3GC;;;;WAIG;;YAED;;eAEG;;;QAGL;;;;;;;;;WASG;;;;;QApBH;;;;WAIG;;YAED;;eAEG;;;QAGL;;;;;;;;;WASG;;;;;QApBH;;;;WAIG;;YAED;;eAEG;;;QAGL;;;;;;;;;WASG;;;;;QApBH;;;;WAIG;;YAED;;eAEG;;;QAGL;;;;;;;;;WASG;;;;;QApBH;;;;WAIG;;YAED;;eAEG;;;QAGL;;;;;;;;;WASG;;;;;QApBH;;;;WAIG;;YAED;;eAEG;;;QAGL;;;;;;;;;WASG;;;;;QApBH;;;;WAIG;;YAED;;eAEG;;;QAGL;;;;;;;;;WASG;;;;;QApBH;;;;WAIG;;YAED;;eAEG;;;QAGL;;;;;;;;;WASG;;;;;QApBH;;;;WAIG;;YAED;;eAEG;;;QAGL;;;;;;;;;WASG;;;;;QApBH;;;;WAIG;;YAED;;eAEG;;;QAGL;;;;;;;;;WASG;;;;;QApBH;;;;WAIG;;YAED;;eAEG;;;QAGL;;;;;;;;;WASG;;;;;AA+JL,wBAKE"}
@@ -4,12 +4,10 @@ declare const _default: {
4
4
  list: {
5
5
  key: string;
6
6
  title: import("@lingui/core").MessageDescriptor;
7
- form: {};
8
7
  }[];
9
8
  byId: {
10
9
  key: string;
11
10
  title: import("@lingui/core").MessageDescriptor;
12
- form: {};
13
11
  }[];
14
12
  };
15
13
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"subregion.d.ts","sourceRoot":"","sources":["../../src/validValues/subregion.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AA+2VA,wBAKE"}
1
+ {"version":3,"file":"subregion.d.ts","sourceRoot":"","sources":["../../src/validValues/subregion.ts"],"names":[],"mappings":";;;;;;;;;;;;AAqgTA,wBAKE"}