@la-main-verte/shared-types 1.0.58 → 1.0.59

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/home.api.d.ts +14 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@la-main-verte/shared-types",
3
- "version": "1.0.58",
3
+ "version": "1.0.59",
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
@@ -156,4 +156,18 @@ export namespace HOME {
156
156
  export interface Response {
157
157
  sections: SectionI[]
158
158
  }
159
+
160
+ export interface HeroCardItemI {
161
+ id?: string | null
162
+ mode: HeroCardMode
163
+ title?: string | null
164
+ description?: string | null
165
+ backgroundColor?: string | null
166
+ backgroundImageUrl?: string | null
167
+ previewPlants?: PlantI[]
168
+ ctaLabel?: string | null
169
+ selection?: SelectionI | null
170
+ plant?: PlantI | null
171
+ ctaRoute?: string | null
172
+ }
159
173
  }