@defra/forms-engine-plugin 5.0.0-alpha.25 → 5.0.0-alpha.26

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.
@@ -21,11 +21,18 @@
21
21
  * @property {string} query - name query
22
22
  */
23
23
 
24
+ export const CountryMap = {
25
+ england: 1,
26
+ 'northern-ireland': 3,
27
+ scotland: 2,
28
+ wales: 4
29
+ }
30
+
24
31
  /**
25
32
  * Geospatial countries query params
26
33
  * @typedef {object} GeospatialCountriesQuery
27
- * @property {string} omit - the country to omit
28
- * @property {string} only - the country to include
34
+ * @property {keyof typeof CountryMap} [omit] - the country to omit
35
+ * @property {keyof typeof CountryMap} [only] - the country to include
29
36
  */
30
37
 
31
38
  /**