@bottlebooks/valid-values 5.0.0 → 5.1.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.
@@ -1 +1 @@
1
- {"version":3,"file":"subregion.d.ts","sourceRoot":"","sources":["../../../src/validValues/subregion/subregion.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAErE,UAAU,SAAU,SAAQ,oBAAoB;CAAG;AAKnD,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6/ST,CAAC;AAEX,oBAAY,YAAY,GAAG,MAAM,OAAO,aAAa,CAAC;AAEtD,eAAO,MAAM,QAAQ,IAQf,CAAC;AAEP,eAAe,aAAa,CAAC"}
@@ -9350,6 +9350,10 @@ var allSubregions = {
9350
9350
  message: 'Bolgheri'
9351
9351
  }
9352
9352
  }),
9353
+ it_toskana_valdarno_di_sopra: subregion({
9354
+ key: 'it_toskana_valdarno_di_sopra',
9355
+ label: 'Valdarno di Sopra'
9356
+ }),
9353
9357
  it_valdobbiadene: subregion({
9354
9358
  key: 'it_valdobbiadene',
9355
9359
  label:
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": "5.0.0",
5
+ "version": "5.1.0",
6
6
  "type": "commonjs",
7
7
  "main": "dist/index.js",
8
8
  "scripts": {
@@ -32,5 +32,5 @@
32
32
  "@babel/core": "^7.15.5",
33
33
  "@lingui/core": "3.14.0"
34
34
  },
35
- "gitHead": "0f9bfb4de5572dcf349579dd25a337a5dabb3ca9"
35
+ "gitHead": "876890f597d7b87abbf183e9c98e3d5a246fce9a"
36
36
  }
@@ -1,6 +1,6 @@
1
1
  import { defineMessage } from '@lingui/macro';
2
- import { ValidValueDefinition } from '../types/ValidValueDefinition';
3
- import { SubregionKey } from '../subregion/subregion';
2
+ import type { ValidValueDefinition } from '../types/ValidValueDefinition';
3
+ import type { SubregionKey } from '../subregion/subregion';
4
4
  import countries from '../country/country';
5
5
 
6
6
  export interface Region extends ValidValueDefinition {
@@ -3728,6 +3728,7 @@ const allRegions = {
3728
3728
  'it_toskana_maremma_toscana',
3729
3729
  'it_toskana_morellino_scansano',
3730
3730
  'it_toskana_bolgheri',
3731
+ 'it_toskana_valdarno_di_sopra',
3731
3732
  'all_no-subregion',
3732
3733
  ],
3733
3734
  }),
@@ -1,8 +1,8 @@
1
1
  import { defineMessage } from '@lingui/macro';
2
2
  import regions from '../region/region';
3
- import { ValidValueDefinition } from '../types/ValidValueDefinition';
3
+ import type { ValidValueDefinition } from '../types/ValidValueDefinition';
4
4
 
5
- interface Subregion extends ValidValueDefinition {}
5
+ type Subregion = ValidValueDefinition;
6
6
 
7
7
  /** Adds the key to the subregion and makes sure we can only add valid subregions. */
8
8
  const subregion = (value: Subregion) => value;
@@ -7267,6 +7267,10 @@ const allSubregions = {
7267
7267
  message: 'Bolgheri',
7268
7268
  }),
7269
7269
  }),
7270
+ it_toskana_valdarno_di_sopra: subregion({
7271
+ key: 'it_toskana_valdarno_di_sopra',
7272
+ label: 'Valdarno di Sopra',
7273
+ }),
7270
7274
  it_valdobbiadene: subregion({
7271
7275
  key: 'it_valdobbiadene',
7272
7276
  label: defineMessage({