@la-main-verte/shared-types 1.0.37 → 1.0.38

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 (2) hide show
  1. package/package.json +1 -1
  2. package/src/gardenMap.d.ts +11 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@la-main-verte/shared-types",
3
- "version": "1.0.37",
3
+ "version": "1.0.38",
4
4
  "description": "Shared TypeScript interfaces for frontend of la-main-verte app",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -45,9 +45,18 @@ export interface GardenZoneCultureI {
45
45
  gardenZoneId: number
46
46
  plantSelectionId: number
47
47
  seedQuantity: number
48
- yearOfCulture: number
49
48
  /**
50
- * The plant on the GardenZoneCulture
49
+ * The year of the culture
50
+ * @deprecated Potentially a mistake to have this field here
51
51
  */
52
+ yearOfCulture: number
52
53
  PlantSelection?: PlantSelectionI
54
+ /**
55
+ * The number of alleys in the GardenZoneCulture
56
+ */
57
+ numberOfAlleys?: number
58
+ /**
59
+ * The number of seeds per alley in the GardenZoneCulture
60
+ */
61
+ numberOfSeedsPerAlley?: number
53
62
  }