@bottlebooks/valid-values 10.6.1 → 10.7.0
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 +14 -0
- package/dist/validValues/certification/certification.d.ts +1 -0
- package/dist/validValues/certification/certification.d.ts.map +1 -1
- package/dist/validValues/certification/certification.js +10 -0
- package/dist/validValues/ingredient/ingredient.d.ts.map +1 -1
- package/dist/validValues/ingredient/ingredient.js +1 -3
- package/dist/validValues/otherTranslations/locales/da.d.ts.map +1 -1
- package/dist/validValues/otherTranslations/locales/da.js +2 -2
- package/package.json +2 -2
- package/src/validValues/certification/certification.ts +10 -0
- package/src/validValues/ingredient/ingredient.ts +0 -2
- package/src/validValues/otherTranslations/locales/da.po +2 -2
- package/src/validValues/otherTranslations/locales/da.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,20 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [10.7.0](https://github.com/bottlebooks/bottlebooks/compare/@bottlebooks/valid-values@10.6.2...@bottlebooks/valid-values@10.7.0) (2024-01-10)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- Danish preservatives ([18007f8](https://github.com/bottlebooks/bottlebooks/commit/18007f8f2580d9b9f9828b0459527079ef9dd0c9))
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- add sustainable washington logo ([05f544b](https://github.com/bottlebooks/bottlebooks/commit/05f544bbc2e777233894d2291a38c1d4c2270989))
|
|
15
|
+
|
|
16
|
+
## [10.6.2](https://github.com/bottlebooks/bottlebooks/compare/@bottlebooks/valid-values@10.6.1...@bottlebooks/valid-values@10.6.2) (2024-01-06)
|
|
17
|
+
|
|
18
|
+
**Note:** Version bump only for package @bottlebooks/valid-values
|
|
19
|
+
|
|
6
20
|
## [10.6.1](https://github.com/bottlebooks/bottlebooks/compare/@bottlebooks/valid-values@10.6.0...@bottlebooks/valid-values@10.6.1) (2024-01-05)
|
|
7
21
|
|
|
8
22
|
### Bug Fixes
|
|
@@ -29,6 +29,7 @@ declare const allCertifications: {
|
|
|
29
29
|
readonly de_ecovin: Certification;
|
|
30
30
|
readonly b_corp: Certification;
|
|
31
31
|
readonly certifiedOrganicEU: Certification;
|
|
32
|
+
readonly us_sustainable_washington: Certification;
|
|
32
33
|
};
|
|
33
34
|
export declare type CertificationKey = keyof typeof allCertifications;
|
|
34
35
|
export default allCertifications;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"certification.d.ts","sourceRoot":"","sources":["../../../src/validValues/certification/certification.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,wBAAwB,EACxB,oBAAoB,EACpB,4BAA4B,EAC7B,MAAM,+BAA+B,CAAC;AAEvC,MAAM,WAAW,aACf,SAAQ,oBAAoB,EAC1B,wBAAwB,EACxB,4BAA4B;CAAG;AAKnC,QAAA,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"certification.d.ts","sourceRoot":"","sources":["../../../src/validValues/certification/certification.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,wBAAwB,EACxB,oBAAoB,EACpB,4BAA4B,EAC7B,MAAM,+BAA+B,CAAC;AAEvC,MAAM,WAAW,aACf,SAAQ,oBAAoB,EAC1B,wBAAwB,EACxB,4BAA4B;CAAG;AAKnC,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyRb,CAAC;AAEX,oBAAY,gBAAgB,GAAG,MAAM,OAAO,iBAAiB,CAAC;AAE9D,eAAe,iBAAiB,CAAC"}
|
|
@@ -280,6 +280,16 @@ var allCertifications = {
|
|
|
280
280
|
metadata: {
|
|
281
281
|
tags: ['internationalCertification']
|
|
282
282
|
}
|
|
283
|
+
}),
|
|
284
|
+
us_sustainable_washington: certification({
|
|
285
|
+
key: 'us_sustainable_washington',
|
|
286
|
+
label: 'Sustainable Washington',
|
|
287
|
+
data: {
|
|
288
|
+
logo: 'https://cdn.bottlebooks.me/bottlebooks/img/logos/sustainable-washington.png'
|
|
289
|
+
},
|
|
290
|
+
metadata: {
|
|
291
|
+
tags: ['internationalCertification']
|
|
292
|
+
}
|
|
283
293
|
})
|
|
284
294
|
};
|
|
285
295
|
var _default = allCertifications;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ingredient.d.ts","sourceRoot":"","sources":["../../../src/validValues/ingredient/ingredient.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAK1E,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,mBAAmB,CAAC;AAEhF,UAAU,UACR,SAAQ,oBAAoB,EAC1B,sCAAsC;CAAG;AA4B7C,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAomCV,CAAC;AAEX,oBAAY,aAAa,GAAG,MAAM,OAAO,cAAc,CAAC;AAExD,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"ingredient.d.ts","sourceRoot":"","sources":["../../../src/validValues/ingredient/ingredient.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAK1E,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,mBAAmB,CAAC;AAEhF,UAAU,UACR,SAAQ,oBAAoB,EAC1B,sCAAsC;CAAG;AA4B7C,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAomCV,CAAC;AAEX,oBAAY,aAAa,GAAG,MAAM,OAAO,cAAc,CAAC;AAExD,eAAO,MAAM,aAAa,ypDAUzB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1377,9 +1377,7 @@ var allIngredients = _objectSpread(_objectSpread({}, _deprecatedIngredient["defa
|
|
|
1377
1377
|
var byProductType = Object.values(allIngredients).reduce(function (acc, ingredient) {
|
|
1378
1378
|
var productTypes = ingredient.metadata.productType;
|
|
1379
1379
|
productTypes.forEach(function (productType) {
|
|
1380
|
-
|
|
1381
|
-
if (!acc[productType]) acc[productType] = []; //@ts-ignore
|
|
1382
|
-
|
|
1380
|
+
if (!acc[productType]) acc[productType] = [];
|
|
1383
1381
|
acc[productType].push(ingredient);
|
|
1384
1382
|
});
|
|
1385
1383
|
return acc;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"da.d.ts","sourceRoot":"","sources":["../../../../src/validValues/otherTranslations/locales/da.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"da.d.ts","sourceRoot":"","sources":["../../../../src/validValues/otherTranslations/locales/da.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAw2C,CAAC"}
|
|
@@ -22,8 +22,8 @@ var messages = {
|
|
|
22
22
|
"ingredientTag.OTHER_INGREDIENT": "other ingredient",
|
|
23
23
|
"ingredientTag.OTHER_INGREDIENT.many": "other ingredients",
|
|
24
24
|
"ingredientTag.PRESERVATIVE": "konserveringsmiddel",
|
|
25
|
-
"ingredientTag.PRESERVATIVE.many": "
|
|
26
|
-
"ingredientTag.PRESERVATIVE_ANTIOXIDANT.many": "
|
|
25
|
+
"ingredientTag.PRESERVATIVE.many": "konserveringsmidler",
|
|
26
|
+
"ingredientTag.PRESERVATIVE_ANTIOXIDANT.many": "Konserveringsmidler und Antioxidantien",
|
|
27
27
|
"ingredientTag.RAW_MATERIAL": "raw material",
|
|
28
28
|
"ingredientTag.RAW_MATERIAL.many": "raw materials",
|
|
29
29
|
"ingredientTag.STABILISER": "stabilisator",
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@bottlebooks/valid-values",
|
|
3
3
|
"description": "The Bottlebooks lookup values, defined globally.",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "10.
|
|
5
|
+
"version": "10.7.0",
|
|
6
6
|
"type": "commonjs",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@lingui/core": "3.14.0"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "fbfd64a0f1e8bd1b2d5bc2305b84eee499012cd4"
|
|
38
38
|
}
|
|
@@ -283,6 +283,16 @@ const allCertifications = {
|
|
|
283
283
|
tags: ['internationalCertification'],
|
|
284
284
|
},
|
|
285
285
|
}),
|
|
286
|
+
us_sustainable_washington: certification({
|
|
287
|
+
key: 'us_sustainable_washington',
|
|
288
|
+
label: 'Sustainable Washington',
|
|
289
|
+
data: {
|
|
290
|
+
logo: 'https://cdn.bottlebooks.me/bottlebooks/img/logos/sustainable-washington.png',
|
|
291
|
+
},
|
|
292
|
+
metadata: {
|
|
293
|
+
tags: ['internationalCertification'],
|
|
294
|
+
},
|
|
295
|
+
}),
|
|
286
296
|
} as const;
|
|
287
297
|
|
|
288
298
|
export type CertificationKey = keyof typeof allCertifications;
|
|
@@ -1169,9 +1169,7 @@ export const byProductType = Object.values(allIngredients).reduce(
|
|
|
1169
1169
|
(acc, ingredient) => {
|
|
1170
1170
|
const productTypes: ProductTypeKey[] = ingredient.metadata.productType;
|
|
1171
1171
|
productTypes.forEach((productType: ProductTypeKey) => {
|
|
1172
|
-
//@ts-ignore
|
|
1173
1172
|
if (!acc[productType]) acc[productType] = [];
|
|
1174
|
-
//@ts-ignore
|
|
1175
1173
|
acc[productType].push(ingredient);
|
|
1176
1174
|
});
|
|
1177
1175
|
return acc;
|
|
@@ -75,11 +75,11 @@ msgstr "konserveringsmiddel"
|
|
|
75
75
|
|
|
76
76
|
#: src/validValues/otherTranslations/otherTranslations.ts
|
|
77
77
|
msgid "ingredientTag.PRESERVATIVE.many"
|
|
78
|
-
msgstr "
|
|
78
|
+
msgstr "konserveringsmidler"
|
|
79
79
|
|
|
80
80
|
#: src/validValues/otherTranslations/otherTranslations.ts
|
|
81
81
|
#~ msgid "ingredientTag.PRESERVATIVE_ANTIOXIDANT.many"
|
|
82
|
-
#~ msgstr "
|
|
82
|
+
#~ msgstr "Konserveringsmidler und Antioxidantien"
|
|
83
83
|
|
|
84
84
|
#: src/validValues/otherTranslations/otherTranslations.ts
|
|
85
85
|
msgid "ingredientTag.RAW_MATERIAL"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*eslint-disable*/export const messages={"and/or":"og/eller","contains":"indeholder","ingredientTag.ACIDITY_REGULATOR":"surhedsregulerende middel","ingredientTag.ACIDITY_REGULATOR.many":"sdurhedsregulerende midler","ingredientTag.ANTIOXIDANT":"antioxidant","ingredientTag.ANTIOXIDANT.many":"antioxidantien","ingredientTag.CLARIFYING_AGENT":"clarifying agent","ingredientTag.CLARIFYING_AGENT.many":"clarifying agents","ingredientTag.COLOUR":"Farve","ingredientTag.COLOUR.many":"Farvestoffer","ingredientTag.ENRICHMENT_SUBSTANCE":"enrichment substance","ingredientTag.ENRICHMENT_SUBSTANCE.many":"enrichment substances","ingredientTag.OTHER_INGREDIENT":"other ingredient","ingredientTag.OTHER_INGREDIENT.many":"other ingredients","ingredientTag.PRESERVATIVE":"konserveringsmiddel","ingredientTag.PRESERVATIVE.many":"
|
|
1
|
+
/*eslint-disable*/export const messages={"and/or":"og/eller","contains":"indeholder","ingredientTag.ACIDITY_REGULATOR":"surhedsregulerende middel","ingredientTag.ACIDITY_REGULATOR.many":"sdurhedsregulerende midler","ingredientTag.ANTIOXIDANT":"antioxidant","ingredientTag.ANTIOXIDANT.many":"antioxidantien","ingredientTag.CLARIFYING_AGENT":"clarifying agent","ingredientTag.CLARIFYING_AGENT.many":"clarifying agents","ingredientTag.COLOUR":"Farve","ingredientTag.COLOUR.many":"Farvestoffer","ingredientTag.ENRICHMENT_SUBSTANCE":"enrichment substance","ingredientTag.ENRICHMENT_SUBSTANCE.many":"enrichment substances","ingredientTag.OTHER_INGREDIENT":"other ingredient","ingredientTag.OTHER_INGREDIENT.many":"other ingredients","ingredientTag.PRESERVATIVE":"konserveringsmiddel","ingredientTag.PRESERVATIVE.many":"konserveringsmidler","ingredientTag.PRESERVATIVE_ANTIOXIDANT.many":"Konserveringsmidler und Antioxidantien","ingredientTag.RAW_MATERIAL":"raw material","ingredientTag.RAW_MATERIAL.many":"raw materials","ingredientTag.STABILISER":"stabilisator","ingredientTag.STABILISER.many":"stabilisatorer","ingredientTag.SWEETENER":"sweetener","ingredientTag.SWEETENER.many":"ingredientTag.SWEETENER.many","simplifiedDeclaration":"Indeholder små mængder af:","simplifiedDeclaration.fat":"Fedt","simplifiedDeclaration.protein":"Protein","simplifiedDeclaration.salt":"Salt","simplifiedDeclaration.saturatedFat":"Mættet fedt"};
|