@bottlebooks/valid-values 1.1.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.
- package/CHANGELOG.md +12 -0
- package/dist/core/translate.d.ts +3 -0
- package/dist/core/translate.d.ts.map +1 -0
- package/dist/core/translate.js +42 -0
- package/dist/index.d.ts +1 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -10
- package/dist/main.js +23 -17
- package/dist/validValues/award.d.ts +6 -2
- package/dist/validValues/award.d.ts.map +1 -1
- package/dist/validValues/award.js +29 -236
- package/dist/validValues/awardMedal.d.ts +1 -1
- package/dist/validValues/beerStyle.d.ts +1 -1
- package/dist/validValues/certification.d.ts +1 -1
- package/dist/validValues/country.d.ts +7 -2
- package/dist/validValues/country.d.ts.map +1 -1
- package/dist/validValues/country.js +2 -149
- package/dist/validValues/designation.d.ts +0 -115
- package/dist/validValues/designation.d.ts.map +1 -1
- package/dist/validValues/ingredient.d.ts +1 -1
- package/dist/validValues/ingredient.d.ts.map +1 -1
- package/dist/validValues/ingredient.js +37 -33
- package/dist/validValues/packagingCertification.d.ts +1 -1
- package/dist/validValues/productType.d.ts +6 -2
- package/dist/validValues/productType.d.ts.map +1 -1
- package/dist/validValues/productType.js +39 -78
- package/dist/validValues/productionMethod.d.ts +1 -1
- package/dist/validValues/region.d.ts +14 -17
- package/dist/validValues/region.d.ts.map +1 -1
- package/dist/validValues/region.js +4804 -5250
- package/dist/validValues/responsibleConsumptionLogo.d.ts +1 -1
- package/dist/validValues/subregion.d.ts +10 -17
- package/dist/validValues/subregion.d.ts.map +1 -1
- package/dist/validValues/subregion.js +11115 -13852
- package/dist/validValues/types/ProductType.d.ts.map +1 -1
- package/dist/validValues/types/ValidValueDefinition.d.ts +1 -1
- package/dist/validValues/types/ValidValueDefinition.d.ts.map +1 -1
- package/dist/validValues/types/award_p85_100.d.ts +3 -0
- package/dist/validValues/types/award_p85_100.d.ts.map +1 -0
- package/dist/validValues/types/award_p85_100.js +9 -0
- package/dist/validValues/types/productTypesSpirit.d.ts +4 -0
- package/dist/validValues/types/productTypesSpirit.d.ts.map +1 -0
- package/dist/validValues/types/productTypesSpirit.js +9 -0
- package/dist/validValues/types/productTypesWine.d.ts +4 -0
- package/dist/validValues/types/productTypesWine.d.ts.map +1 -0
- package/dist/validValues/types/productTypesWine.js +9 -0
- package/dist/validValues/utils/createValidValues.d.ts +1 -1
- package/dist/validValues/utils/createValidValues.d.ts.map +1 -1
- package/dist/validValues/utils/createValidValues.js +50 -53
- package/dist/validValues/varietyName.d.ts +1 -1
- package/dist/validValues/wineColor.d.ts +1 -1
- package/dist/validValues/wineType.d.ts +1 -1
- package/package.json +2 -2
- package/region.ts +0 -0
- package/src/core/translate.ts +40 -0
- package/src/index.ts +1 -6
- package/src/locales/po/bg.po +2110 -2110
- package/src/locales/po/de.po +2110 -2110
- package/src/locales/po/ee.po +2110 -2110
- package/src/locales/po/en.po +2110 -2110
- package/src/locales/po/es.po +2110 -2110
- package/src/locales/po/fi.po +2110 -2110
- package/src/locales/po/fr.po +2110 -2110
- package/src/locales/po/hr.po +2110 -2110
- package/src/locales/po/hu.po +2110 -2110
- package/src/locales/po/it.po +2110 -2110
- package/src/locales/po/lt.po +2110 -2110
- package/src/locales/po/lv.po +2110 -2110
- package/src/locales/po/mt.po +2110 -2110
- package/src/locales/po/nl.po +2110 -2110
- package/src/locales/po/pl.po +2110 -2110
- package/src/locales/po/pt.po +2110 -2110
- package/src/locales/po/ro.po +2110 -2110
- package/src/locales/po/se.po +2110 -2110
- package/src/locales/po/si.po +2110 -2110
- package/src/locales/po/sk.po +2110 -2110
- package/src/main.ts +39 -29
- package/src/validValues/award.ts +242 -709
- package/src/validValues/country.ts +7 -148
- package/src/validValues/designation.ts +0 -5
- package/src/validValues/ingredient.ts +35 -343
- package/src/validValues/productType.ts +7 -40
- package/src/validValues/region.ts +514 -479
- package/src/validValues/subregion.ts +1429 -2775
- package/src/validValues/types/ProductType.ts +0 -1
- package/src/validValues/types/ValidValueDefinition.ts +1 -1
- package/src/validValues/types/award_p85_100.ts +19 -0
- package/src/validValues/types/productTypesSpirit.ts +38 -0
- package/src/validValues/types/productTypesWine.ts +10 -0
- package/src/validValues/utils/createValidValues.ts +52 -50
- package/dist/validValues/types/Country.js +0 -5
- package/src/validValues/types/Award.ts +0 -39
- package/src/validValues/types/Country.ts +0 -39
|
@@ -5,11 +5,6 @@ import type { ProductType as ProductTypeKey } from './types/ProductTypeKey.js';
|
|
|
5
5
|
// I copied the original definition here because the one in the /types folder has diverged and doesn't follow the original idea.
|
|
6
6
|
// I'd rather recommend keeping this a simple baseline than putting any possible option into it.
|
|
7
7
|
interface ValidValueDefinition {
|
|
8
|
-
/**
|
|
9
|
-
* The translatable title of the valid value.
|
|
10
|
-
*
|
|
11
|
-
* Define it using `defineMessage()` from @lingui/macro.
|
|
12
|
-
*/
|
|
13
8
|
title: MessageDescriptor;
|
|
14
9
|
/**
|
|
15
10
|
* Fields that will never be stored in the database,
|
|
@@ -4,6 +4,8 @@ import { MessageDescriptor } from '@lingui/core';
|
|
|
4
4
|
import { ProductType } from './types/ProductTypeKey.js';
|
|
5
5
|
import { IngredientTag } from './types/IngredientTag.js';
|
|
6
6
|
import { ValidValueDefinition } from './types/ValidValueDefinition.js';
|
|
7
|
+
import PRODUCT_TYPE_WINES from './types/productTypesWine.js';
|
|
8
|
+
import PRODUCT_TYPE_SPIRITS from './types/productTypesSpirit.js';
|
|
7
9
|
|
|
8
10
|
export interface Ingredient extends ValidValueDefinition {
|
|
9
11
|
/**
|
|
@@ -27,13 +29,7 @@ export default createValidValues<Ingredient>({
|
|
|
27
29
|
}),
|
|
28
30
|
form: {
|
|
29
31
|
tags: ['OTHER_INGREDIENT'],
|
|
30
|
-
productType:
|
|
31
|
-
'wine_stillwine',
|
|
32
|
-
'wine_fortified',
|
|
33
|
-
'wine_pearlwine',
|
|
34
|
-
'wine_sparkling',
|
|
35
|
-
'wine_aromatized',
|
|
36
|
-
],
|
|
32
|
+
productType: PRODUCT_TYPE_WINES,
|
|
37
33
|
},
|
|
38
34
|
},
|
|
39
35
|
ammoniaCaramel: {
|
|
@@ -55,13 +51,7 @@ export default createValidValues<Ingredient>({
|
|
|
55
51
|
}),
|
|
56
52
|
form: {
|
|
57
53
|
tags: ['PROCESSING_AID', 'ALLERGEN'],
|
|
58
|
-
productType:
|
|
59
|
-
'wine_stillwine',
|
|
60
|
-
'wine_fortified',
|
|
61
|
-
'wine_pearlwine',
|
|
62
|
-
'wine_sparkling',
|
|
63
|
-
'wine_aromatized',
|
|
64
|
-
],
|
|
54
|
+
productType: PRODUCT_TYPE_WINES,
|
|
65
55
|
},
|
|
66
56
|
},
|
|
67
57
|
argon: {
|
|
@@ -72,13 +62,7 @@ export default createValidValues<Ingredient>({
|
|
|
72
62
|
}),
|
|
73
63
|
form: {
|
|
74
64
|
tags: ['ANTIOXIDANT'],
|
|
75
|
-
productType:
|
|
76
|
-
'wine_stillwine',
|
|
77
|
-
'wine_fortified',
|
|
78
|
-
'wine_pearlwine',
|
|
79
|
-
'wine_sparkling',
|
|
80
|
-
'wine_aromatized',
|
|
81
|
-
],
|
|
65
|
+
productType: PRODUCT_TYPE_WINES,
|
|
82
66
|
},
|
|
83
67
|
},
|
|
84
68
|
ascorbicAcid: {
|
|
@@ -89,13 +73,7 @@ export default createValidValues<Ingredient>({
|
|
|
89
73
|
}),
|
|
90
74
|
form: {
|
|
91
75
|
tags: ['ANTIOXIDANT'],
|
|
92
|
-
productType:
|
|
93
|
-
'wine_stillwine',
|
|
94
|
-
'wine_fortified',
|
|
95
|
-
'wine_pearlwine',
|
|
96
|
-
'wine_sparkling',
|
|
97
|
-
'wine_aromatized',
|
|
98
|
-
],
|
|
76
|
+
productType: PRODUCT_TYPE_WINES,
|
|
99
77
|
},
|
|
100
78
|
},
|
|
101
79
|
burnedSugar: {
|
|
@@ -117,13 +95,7 @@ export default createValidValues<Ingredient>({
|
|
|
117
95
|
}),
|
|
118
96
|
form: {
|
|
119
97
|
tags: ['ACIDITY_REGULATOR', 'ALLERGEN'],
|
|
120
|
-
productType:
|
|
121
|
-
'wine_stillwine',
|
|
122
|
-
'wine_fortified',
|
|
123
|
-
'wine_pearlwine',
|
|
124
|
-
'wine_sparkling',
|
|
125
|
-
'wine_aromatized',
|
|
126
|
-
],
|
|
98
|
+
productType: PRODUCT_TYPE_WINES,
|
|
127
99
|
},
|
|
128
100
|
},
|
|
129
101
|
carbonDioxide: {
|
|
@@ -134,13 +106,7 @@ export default createValidValues<Ingredient>({
|
|
|
134
106
|
}),
|
|
135
107
|
form: {
|
|
136
108
|
tags: ['ANTIOXIDANT', 'OTHER_INGREDIENT'],
|
|
137
|
-
productType:
|
|
138
|
-
'wine_stillwine',
|
|
139
|
-
'wine_fortified',
|
|
140
|
-
'wine_pearlwine',
|
|
141
|
-
'wine_sparkling',
|
|
142
|
-
'wine_aromatized',
|
|
143
|
-
],
|
|
109
|
+
productType: PRODUCT_TYPE_WINES,
|
|
144
110
|
},
|
|
145
111
|
},
|
|
146
112
|
carboxymethylcellulose: {
|
|
@@ -151,13 +117,7 @@ export default createValidValues<Ingredient>({
|
|
|
151
117
|
}),
|
|
152
118
|
form: {
|
|
153
119
|
tags: ['STABILISER'],
|
|
154
|
-
productType:
|
|
155
|
-
'wine_stillwine',
|
|
156
|
-
'wine_fortified',
|
|
157
|
-
'wine_pearlwine',
|
|
158
|
-
'wine_sparkling',
|
|
159
|
-
'wine_aromatized',
|
|
160
|
-
],
|
|
120
|
+
productType: PRODUCT_TYPE_WINES,
|
|
161
121
|
},
|
|
162
122
|
},
|
|
163
123
|
carobSyrup: {
|
|
@@ -190,41 +150,7 @@ export default createValidValues<Ingredient>({
|
|
|
190
150
|
}),
|
|
191
151
|
form: {
|
|
192
152
|
tags: ['RAW_MATERIAL'],
|
|
193
|
-
productType:
|
|
194
|
-
'spirit_absinthe',
|
|
195
|
-
'spirit_anise',
|
|
196
|
-
'spirit_aquavit',
|
|
197
|
-
'spirit_arak',
|
|
198
|
-
'spirit_armagnac',
|
|
199
|
-
'spirit_asianspirit',
|
|
200
|
-
'spirit_bitter',
|
|
201
|
-
'spirit_cachaca',
|
|
202
|
-
'spirit_calvados',
|
|
203
|
-
'spirit_cocktail',
|
|
204
|
-
'spirit_cognac',
|
|
205
|
-
'spirit_fruitspirit',
|
|
206
|
-
'spirit_genever',
|
|
207
|
-
'spirit_gin',
|
|
208
|
-
'spirit_grainspirit',
|
|
209
|
-
'spirit_grapebrandy',
|
|
210
|
-
'spirit_grappa',
|
|
211
|
-
'spirit_liqueur',
|
|
212
|
-
'spirit_marc',
|
|
213
|
-
'spirit_mezcal',
|
|
214
|
-
'spirit_miscspririt',
|
|
215
|
-
'spirit_ouzo',
|
|
216
|
-
'spirit_pastis',
|
|
217
|
-
'spirit_pisco',
|
|
218
|
-
'spirit_raki',
|
|
219
|
-
'spirit_rum',
|
|
220
|
-
'spirit_sambuca',
|
|
221
|
-
'spirit_shochu',
|
|
222
|
-
'spirit_schnaps',
|
|
223
|
-
'spirit_tequila',
|
|
224
|
-
'spirit_vermouth',
|
|
225
|
-
'spirit_vodka',
|
|
226
|
-
'spirit_whisky',
|
|
227
|
-
],
|
|
153
|
+
productType: PRODUCT_TYPE_SPIRITS,
|
|
228
154
|
},
|
|
229
155
|
},
|
|
230
156
|
citricAcid: {
|
|
@@ -235,13 +161,7 @@ export default createValidValues<Ingredient>({
|
|
|
235
161
|
}),
|
|
236
162
|
form: {
|
|
237
163
|
tags: ['NATURALLY_ADDED_ACID'],
|
|
238
|
-
productType:
|
|
239
|
-
'wine_stillwine',
|
|
240
|
-
'wine_fortified',
|
|
241
|
-
'wine_pearlwine',
|
|
242
|
-
'wine_sparkling',
|
|
243
|
-
'wine_aromatized',
|
|
244
|
-
],
|
|
164
|
+
productType: PRODUCT_TYPE_WINES,
|
|
245
165
|
},
|
|
246
166
|
},
|
|
247
167
|
concentratedGrapeMust: {
|
|
@@ -252,13 +172,7 @@ export default createValidValues<Ingredient>({
|
|
|
252
172
|
}),
|
|
253
173
|
form: {
|
|
254
174
|
tags: ['ENRICHMENT_SUBSTANCE', 'SWEETENER'],
|
|
255
|
-
productType:
|
|
256
|
-
'wine_stillwine',
|
|
257
|
-
'wine_fortified',
|
|
258
|
-
'wine_pearlwine',
|
|
259
|
-
'wine_sparkling',
|
|
260
|
-
'wine_aromatized',
|
|
261
|
-
],
|
|
175
|
+
productType: PRODUCT_TYPE_WINES,
|
|
262
176
|
},
|
|
263
177
|
},
|
|
264
178
|
dimethyldicarbonate: {
|
|
@@ -269,13 +183,7 @@ export default createValidValues<Ingredient>({
|
|
|
269
183
|
}),
|
|
270
184
|
form: {
|
|
271
185
|
tags: ['PRESERVATIVE'],
|
|
272
|
-
productType:
|
|
273
|
-
'wine_stillwine',
|
|
274
|
-
'wine_fortified',
|
|
275
|
-
'wine_pearlwine',
|
|
276
|
-
'wine_sparkling',
|
|
277
|
-
'wine_aromatized',
|
|
278
|
-
],
|
|
186
|
+
productType: PRODUCT_TYPE_WINES,
|
|
279
187
|
},
|
|
280
188
|
},
|
|
281
189
|
distillateOfAgriculturalOrigin: {
|
|
@@ -319,13 +227,7 @@ export default createValidValues<Ingredient>({
|
|
|
319
227
|
}),
|
|
320
228
|
form: {
|
|
321
229
|
tags: ['PROCESSING_AID', 'ALLERGEN'],
|
|
322
|
-
productType:
|
|
323
|
-
'wine_stillwine',
|
|
324
|
-
'wine_fortified',
|
|
325
|
-
'wine_pearlwine',
|
|
326
|
-
'wine_sparkling',
|
|
327
|
-
'wine_aromatized',
|
|
328
|
-
],
|
|
230
|
+
productType: PRODUCT_TYPE_WINES,
|
|
329
231
|
},
|
|
330
232
|
},
|
|
331
233
|
eggLysozyme: {
|
|
@@ -336,13 +238,7 @@ export default createValidValues<Ingredient>({
|
|
|
336
238
|
}),
|
|
337
239
|
form: {
|
|
338
240
|
tags: ['PRESERVATIVE'],
|
|
339
|
-
productType:
|
|
340
|
-
'wine_stillwine',
|
|
341
|
-
'wine_fortified',
|
|
342
|
-
'wine_pearlwine',
|
|
343
|
-
'wine_sparkling',
|
|
344
|
-
'wine_aromatized',
|
|
345
|
-
],
|
|
241
|
+
productType: PRODUCT_TYPE_WINES,
|
|
346
242
|
},
|
|
347
243
|
},
|
|
348
244
|
ethylAlcoholOfAgriculturalOrigin: {
|
|
@@ -403,41 +299,7 @@ export default createValidValues<Ingredient>({
|
|
|
403
299
|
}),
|
|
404
300
|
form: {
|
|
405
301
|
tags: ['RAW_MATERIAL'],
|
|
406
|
-
productType:
|
|
407
|
-
'spirit_absinthe',
|
|
408
|
-
'spirit_anise',
|
|
409
|
-
'spirit_aquavit',
|
|
410
|
-
'spirit_arak',
|
|
411
|
-
'spirit_armagnac',
|
|
412
|
-
'spirit_asianspirit',
|
|
413
|
-
'spirit_bitter',
|
|
414
|
-
'spirit_cachaca',
|
|
415
|
-
'spirit_calvados',
|
|
416
|
-
'spirit_cocktail',
|
|
417
|
-
'spirit_cognac',
|
|
418
|
-
'spirit_fruitspirit',
|
|
419
|
-
'spirit_genever',
|
|
420
|
-
'spirit_gin',
|
|
421
|
-
'spirit_grainspirit',
|
|
422
|
-
'spirit_grapebrandy',
|
|
423
|
-
'spirit_grappa',
|
|
424
|
-
'spirit_liqueur',
|
|
425
|
-
'spirit_marc',
|
|
426
|
-
'spirit_mezcal',
|
|
427
|
-
'spirit_miscspririt',
|
|
428
|
-
'spirit_ouzo',
|
|
429
|
-
'spirit_pastis',
|
|
430
|
-
'spirit_pisco',
|
|
431
|
-
'spirit_raki',
|
|
432
|
-
'spirit_rum',
|
|
433
|
-
'spirit_sambuca',
|
|
434
|
-
'spirit_shochu',
|
|
435
|
-
'spirit_schnaps',
|
|
436
|
-
'spirit_tequila',
|
|
437
|
-
'spirit_vermouth',
|
|
438
|
-
'spirit_vodka',
|
|
439
|
-
'spirit_whisky',
|
|
440
|
-
],
|
|
302
|
+
productType: PRODUCT_TYPE_SPIRITS,
|
|
441
303
|
},
|
|
442
304
|
},
|
|
443
305
|
grape: {
|
|
@@ -448,13 +310,7 @@ export default createValidValues<Ingredient>({
|
|
|
448
310
|
}),
|
|
449
311
|
form: {
|
|
450
312
|
tags: ['RAW_MATERIAL'],
|
|
451
|
-
productType:
|
|
452
|
-
'wine_stillwine',
|
|
453
|
-
'wine_fortified',
|
|
454
|
-
'wine_pearlwine',
|
|
455
|
-
'wine_sparkling',
|
|
456
|
-
'wine_aromatized',
|
|
457
|
-
],
|
|
313
|
+
productType: PRODUCT_TYPE_WINES,
|
|
458
314
|
},
|
|
459
315
|
},
|
|
460
316
|
grapeMarcSpirit: {
|
|
@@ -476,13 +332,7 @@ export default createValidValues<Ingredient>({
|
|
|
476
332
|
}),
|
|
477
333
|
form: {
|
|
478
334
|
tags: ['STABILISER'],
|
|
479
|
-
productType:
|
|
480
|
-
'wine_stillwine',
|
|
481
|
-
'wine_fortified',
|
|
482
|
-
'wine_pearlwine',
|
|
483
|
-
'wine_sparkling',
|
|
484
|
-
'wine_aromatized',
|
|
485
|
-
],
|
|
335
|
+
productType: PRODUCT_TYPE_WINES,
|
|
486
336
|
},
|
|
487
337
|
},
|
|
488
338
|
honey: {
|
|
@@ -504,13 +354,7 @@ export default createValidValues<Ingredient>({
|
|
|
504
354
|
}),
|
|
505
355
|
form: {
|
|
506
356
|
tags: ['ACIDITY_REGULATOR'],
|
|
507
|
-
productType:
|
|
508
|
-
'wine_stillwine',
|
|
509
|
-
'wine_fortified',
|
|
510
|
-
'wine_pearlwine',
|
|
511
|
-
'wine_sparkling',
|
|
512
|
-
'wine_aromatized',
|
|
513
|
-
],
|
|
357
|
+
productType: PRODUCT_TYPE_WINES,
|
|
514
358
|
},
|
|
515
359
|
},
|
|
516
360
|
malicAcid: {
|
|
@@ -521,13 +365,7 @@ export default createValidValues<Ingredient>({
|
|
|
521
365
|
}),
|
|
522
366
|
form: {
|
|
523
367
|
tags: ['ACIDITY_REGULATOR'],
|
|
524
|
-
productType:
|
|
525
|
-
'wine_stillwine',
|
|
526
|
-
'wine_fortified',
|
|
527
|
-
'wine_pearlwine',
|
|
528
|
-
'wine_sparkling',
|
|
529
|
-
'wine_aromatized',
|
|
530
|
-
],
|
|
368
|
+
productType: PRODUCT_TYPE_WINES,
|
|
531
369
|
},
|
|
532
370
|
},
|
|
533
371
|
maltDistillateAndWater: {
|
|
@@ -538,41 +376,7 @@ export default createValidValues<Ingredient>({
|
|
|
538
376
|
}),
|
|
539
377
|
form: {
|
|
540
378
|
tags: ['RAW_MATERIAL'],
|
|
541
|
-
productType:
|
|
542
|
-
'spirit_absinthe',
|
|
543
|
-
'spirit_anise',
|
|
544
|
-
'spirit_aquavit',
|
|
545
|
-
'spirit_arak',
|
|
546
|
-
'spirit_armagnac',
|
|
547
|
-
'spirit_asianspirit',
|
|
548
|
-
'spirit_bitter',
|
|
549
|
-
'spirit_cachaca',
|
|
550
|
-
'spirit_calvados',
|
|
551
|
-
'spirit_cocktail',
|
|
552
|
-
'spirit_cognac',
|
|
553
|
-
'spirit_fruitspirit',
|
|
554
|
-
'spirit_genever',
|
|
555
|
-
'spirit_gin',
|
|
556
|
-
'spirit_grainspirit',
|
|
557
|
-
'spirit_grapebrandy',
|
|
558
|
-
'spirit_grappa',
|
|
559
|
-
'spirit_liqueur',
|
|
560
|
-
'spirit_marc',
|
|
561
|
-
'spirit_mezcal',
|
|
562
|
-
'spirit_miscspririt',
|
|
563
|
-
'spirit_ouzo',
|
|
564
|
-
'spirit_pastis',
|
|
565
|
-
'spirit_pisco',
|
|
566
|
-
'spirit_raki',
|
|
567
|
-
'spirit_rum',
|
|
568
|
-
'spirit_sambuca',
|
|
569
|
-
'spirit_shochu',
|
|
570
|
-
'spirit_schnaps',
|
|
571
|
-
'spirit_tequila',
|
|
572
|
-
'spirit_vermouth',
|
|
573
|
-
'spirit_vodka',
|
|
574
|
-
'spirit_whisky',
|
|
575
|
-
],
|
|
379
|
+
productType: PRODUCT_TYPE_SPIRITS,
|
|
576
380
|
},
|
|
577
381
|
},
|
|
578
382
|
metatartaricAcid: {
|
|
@@ -583,13 +387,7 @@ export default createValidValues<Ingredient>({
|
|
|
583
387
|
}),
|
|
584
388
|
form: {
|
|
585
389
|
tags: ['STABILISER'],
|
|
586
|
-
productType:
|
|
587
|
-
'wine_stillwine',
|
|
588
|
-
'wine_fortified',
|
|
589
|
-
'wine_pearlwine',
|
|
590
|
-
'wine_sparkling',
|
|
591
|
-
'wine_aromatized',
|
|
592
|
-
],
|
|
390
|
+
productType: PRODUCT_TYPE_WINES,
|
|
593
391
|
},
|
|
594
392
|
},
|
|
595
393
|
milkCasein: {
|
|
@@ -600,13 +398,7 @@ export default createValidValues<Ingredient>({
|
|
|
600
398
|
}),
|
|
601
399
|
form: {
|
|
602
400
|
tags: ['PROCESSING_AID', 'ALLERGEN'],
|
|
603
|
-
productType:
|
|
604
|
-
'wine_stillwine',
|
|
605
|
-
'wine_fortified',
|
|
606
|
-
'wine_pearlwine',
|
|
607
|
-
'wine_sparkling',
|
|
608
|
-
'wine_aromatized',
|
|
609
|
-
],
|
|
401
|
+
productType: PRODUCT_TYPE_WINES,
|
|
610
402
|
},
|
|
611
403
|
},
|
|
612
404
|
nitrogen: {
|
|
@@ -617,13 +409,7 @@ export default createValidValues<Ingredient>({
|
|
|
617
409
|
}),
|
|
618
410
|
form: {
|
|
619
411
|
tags: ['ANTIOXIDANT'],
|
|
620
|
-
productType:
|
|
621
|
-
'wine_stillwine',
|
|
622
|
-
'wine_fortified',
|
|
623
|
-
'wine_pearlwine',
|
|
624
|
-
'wine_sparkling',
|
|
625
|
-
'wine_aromatized',
|
|
626
|
-
],
|
|
412
|
+
productType: PRODUCT_TYPE_WINES,
|
|
627
413
|
},
|
|
628
414
|
},
|
|
629
415
|
plainCaramel: {
|
|
@@ -645,13 +431,7 @@ export default createValidValues<Ingredient>({
|
|
|
645
431
|
}),
|
|
646
432
|
form: {
|
|
647
433
|
tags: ['PRESERVATIVE', 'ALLERGEN'],
|
|
648
|
-
productType:
|
|
649
|
-
'wine_stillwine',
|
|
650
|
-
'wine_fortified',
|
|
651
|
-
'wine_pearlwine',
|
|
652
|
-
'wine_sparkling',
|
|
653
|
-
'wine_aromatized',
|
|
654
|
-
],
|
|
434
|
+
productType: PRODUCT_TYPE_WINES,
|
|
655
435
|
},
|
|
656
436
|
},
|
|
657
437
|
potassiumMetabisulphite: {
|
|
@@ -662,13 +442,7 @@ export default createValidValues<Ingredient>({
|
|
|
662
442
|
}),
|
|
663
443
|
form: {
|
|
664
444
|
tags: ['PRESERVATIVE', 'ALLERGEN'],
|
|
665
|
-
productType:
|
|
666
|
-
'wine_stillwine',
|
|
667
|
-
'wine_fortified',
|
|
668
|
-
'wine_pearlwine',
|
|
669
|
-
'wine_sparkling',
|
|
670
|
-
'wine_aromatized',
|
|
671
|
-
],
|
|
445
|
+
productType: PRODUCT_TYPE_WINES,
|
|
672
446
|
},
|
|
673
447
|
},
|
|
674
448
|
potassiumPolyaspartate: {
|
|
@@ -679,13 +453,7 @@ export default createValidValues<Ingredient>({
|
|
|
679
453
|
}),
|
|
680
454
|
form: {
|
|
681
455
|
tags: ['STABILISER'],
|
|
682
|
-
productType:
|
|
683
|
-
'wine_stillwine',
|
|
684
|
-
'wine_fortified',
|
|
685
|
-
'wine_pearlwine',
|
|
686
|
-
'wine_sparkling',
|
|
687
|
-
'wine_aromatized',
|
|
688
|
-
],
|
|
456
|
+
productType: PRODUCT_TYPE_WINES,
|
|
689
457
|
},
|
|
690
458
|
},
|
|
691
459
|
potassiumSorbate: {
|
|
@@ -696,13 +464,7 @@ export default createValidValues<Ingredient>({
|
|
|
696
464
|
}),
|
|
697
465
|
form: {
|
|
698
466
|
tags: ['PRESERVATIVE'],
|
|
699
|
-
productType:
|
|
700
|
-
'wine_stillwine',
|
|
701
|
-
'wine_fortified',
|
|
702
|
-
'wine_pearlwine',
|
|
703
|
-
'wine_sparkling',
|
|
704
|
-
'wine_aromatized',
|
|
705
|
-
],
|
|
467
|
+
productType: PRODUCT_TYPE_WINES,
|
|
706
468
|
},
|
|
707
469
|
},
|
|
708
470
|
ryeDistillateAndWater: {
|
|
@@ -713,41 +475,7 @@ export default createValidValues<Ingredient>({
|
|
|
713
475
|
}),
|
|
714
476
|
form: {
|
|
715
477
|
tags: ['RAW_MATERIAL'],
|
|
716
|
-
productType:
|
|
717
|
-
'spirit_absinthe',
|
|
718
|
-
'spirit_anise',
|
|
719
|
-
'spirit_aquavit',
|
|
720
|
-
'spirit_arak',
|
|
721
|
-
'spirit_armagnac',
|
|
722
|
-
'spirit_asianspirit',
|
|
723
|
-
'spirit_bitter',
|
|
724
|
-
'spirit_cachaca',
|
|
725
|
-
'spirit_calvados',
|
|
726
|
-
'spirit_cocktail',
|
|
727
|
-
'spirit_cognac',
|
|
728
|
-
'spirit_fruitspirit',
|
|
729
|
-
'spirit_genever',
|
|
730
|
-
'spirit_gin',
|
|
731
|
-
'spirit_grainspirit',
|
|
732
|
-
'spirit_grapebrandy',
|
|
733
|
-
'spirit_grappa',
|
|
734
|
-
'spirit_liqueur',
|
|
735
|
-
'spirit_marc',
|
|
736
|
-
'spirit_mezcal',
|
|
737
|
-
'spirit_miscspririt',
|
|
738
|
-
'spirit_ouzo',
|
|
739
|
-
'spirit_pastis',
|
|
740
|
-
'spirit_pisco',
|
|
741
|
-
'spirit_raki',
|
|
742
|
-
'spirit_rum',
|
|
743
|
-
'spirit_sambuca',
|
|
744
|
-
'spirit_shochu',
|
|
745
|
-
'spirit_schnaps',
|
|
746
|
-
'spirit_tequila',
|
|
747
|
-
'spirit_vermouth',
|
|
748
|
-
'spirit_vodka',
|
|
749
|
-
'spirit_whisky',
|
|
750
|
-
],
|
|
478
|
+
productType: PRODUCT_TYPE_SPIRITS,
|
|
751
479
|
},
|
|
752
480
|
},
|
|
753
481
|
sucrose: {
|
|
@@ -758,13 +486,7 @@ export default createValidValues<Ingredient>({
|
|
|
758
486
|
}),
|
|
759
487
|
form: {
|
|
760
488
|
tags: ['ENRICHMENT_SUBSTANCE'],
|
|
761
|
-
productType:
|
|
762
|
-
'wine_stillwine',
|
|
763
|
-
'wine_fortified',
|
|
764
|
-
'wine_pearlwine',
|
|
765
|
-
'wine_sparkling',
|
|
766
|
-
'wine_aromatized',
|
|
767
|
-
],
|
|
489
|
+
productType: PRODUCT_TYPE_WINES,
|
|
768
490
|
},
|
|
769
491
|
},
|
|
770
492
|
sugar: {
|
|
@@ -797,13 +519,7 @@ export default createValidValues<Ingredient>({
|
|
|
797
519
|
}),
|
|
798
520
|
form: {
|
|
799
521
|
tags: ['PRESERVATIVE', 'ALLERGEN'],
|
|
800
|
-
productType:
|
|
801
|
-
'wine_stillwine',
|
|
802
|
-
'wine_fortified',
|
|
803
|
-
'wine_pearlwine',
|
|
804
|
-
'wine_sparkling',
|
|
805
|
-
'wine_aromatized',
|
|
806
|
-
],
|
|
522
|
+
productType: PRODUCT_TYPE_WINES,
|
|
807
523
|
},
|
|
808
524
|
},
|
|
809
525
|
sulphurDioxide: {
|
|
@@ -814,13 +530,7 @@ export default createValidValues<Ingredient>({
|
|
|
814
530
|
}),
|
|
815
531
|
form: {
|
|
816
532
|
tags: ['PRESERVATIVE', 'ALLERGEN'],
|
|
817
|
-
productType:
|
|
818
|
-
'wine_stillwine',
|
|
819
|
-
'wine_fortified',
|
|
820
|
-
'wine_pearlwine',
|
|
821
|
-
'wine_sparkling',
|
|
822
|
-
'wine_aromatized',
|
|
823
|
-
],
|
|
533
|
+
productType: PRODUCT_TYPE_WINES,
|
|
824
534
|
},
|
|
825
535
|
},
|
|
826
536
|
tartaricAcid: {
|
|
@@ -831,13 +541,7 @@ export default createValidValues<Ingredient>({
|
|
|
831
541
|
}),
|
|
832
542
|
form: {
|
|
833
543
|
tags: ['ACIDITY_REGULATOR'],
|
|
834
|
-
productType:
|
|
835
|
-
'wine_stillwine',
|
|
836
|
-
'wine_fortified',
|
|
837
|
-
'wine_pearlwine',
|
|
838
|
-
'wine_sparkling',
|
|
839
|
-
'wine_aromatized',
|
|
840
|
-
],
|
|
544
|
+
productType: PRODUCT_TYPE_WINES,
|
|
841
545
|
},
|
|
842
546
|
},
|
|
843
547
|
water: {
|
|
@@ -859,13 +563,7 @@ export default createValidValues<Ingredient>({
|
|
|
859
563
|
}),
|
|
860
564
|
form: {
|
|
861
565
|
tags: ['PROCESSING_AID'],
|
|
862
|
-
productType:
|
|
863
|
-
'wine_stillwine',
|
|
864
|
-
'wine_fortified',
|
|
865
|
-
'wine_pearlwine',
|
|
866
|
-
'wine_sparkling',
|
|
867
|
-
'wine_aromatized',
|
|
868
|
-
],
|
|
566
|
+
productType: PRODUCT_TYPE_WINES,
|
|
869
567
|
},
|
|
870
568
|
},
|
|
871
569
|
wine: {
|
|
@@ -920,13 +618,7 @@ export default createValidValues<Ingredient>({
|
|
|
920
618
|
}),
|
|
921
619
|
form: {
|
|
922
620
|
tags: ['STABILISER'],
|
|
923
|
-
productType:
|
|
924
|
-
'wine_stillwine',
|
|
925
|
-
'wine_fortified',
|
|
926
|
-
'wine_pearlwine',
|
|
927
|
-
'wine_sparkling',
|
|
928
|
-
'wine_aromatized',
|
|
929
|
-
],
|
|
621
|
+
productType: PRODUCT_TYPE_WINES,
|
|
930
622
|
},
|
|
931
623
|
},
|
|
932
624
|
});
|