@la-main-verte/shared-types 1.0.66 → 1.0.67

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@la-main-verte/shared-types",
3
- "version": "1.0.66",
3
+ "version": "1.0.67",
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",
package/src/home.api.d.ts CHANGED
@@ -209,6 +209,10 @@ export namespace HOME {
209
209
  url: string
210
210
  previewPlants?: WhenToSeedWhatPlantPreviewI[]
211
211
  backgroundColor?: string
212
+ /** Show a red badge indicator (replaces the plant preview stack when true) */
213
+ showBadge?: boolean
214
+ /** Optional badge count to display */
215
+ badgeCount?: number
212
216
  }
213
217
 
214
218
  export type SectionI =
package/src/member.d.ts CHANGED
@@ -48,6 +48,11 @@ export interface MemberI {
48
48
  unitSystem: 'imperial' | 'metric'
49
49
  gardenZoneTimelessPreference?: boolean
50
50
  subscriptionEndDate?: Date
51
+ /**
52
+ * Last fertilizer ID chosen by the user.
53
+ * Used as the default fertilizer for new garden zones.
54
+ */
55
+ lastFertilizerIdChosen?: number
51
56
  /**
52
57
  * Virtual field to get the app badge count
53
58
  * ----------------------------------------
@@ -42,6 +42,9 @@ export interface SelectionI {
42
42
  updatedAt: Date
43
43
  Plants?: PlantI[]
44
44
  yearOfCulture: number
45
+ GardenMap?: {
46
+ name: string
47
+ }
45
48
  }
46
49
 
47
50
  /**