@bytebrand/fe-ui-core-autobahn 1.0.200 → 1.0.202

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/vdp/index.ts CHANGED
@@ -35,7 +35,6 @@ export {
35
35
  Co2Label,
36
36
  VehicleDescription,
37
37
  TrustStrip,
38
- PriceHistory,
39
38
  ProtectionProducts,
40
39
  VdpAnchors,
41
40
  VdpStickyBar,
@@ -58,7 +57,6 @@ export type {
58
57
  VehicleDescriptionProps,
59
58
  TrustStripProps,
60
59
  TrustItem,
61
- PriceHistoryProps,
62
60
  ProtectionProductsProps,
63
61
  ProtectionProduct,
64
62
  VdpAnchorsProps,
@@ -84,7 +82,6 @@ export type {
84
82
  EnergyTaxSummary,
85
83
  Co2CostsSummary,
86
84
  EquipmentGroups,
87
- PriceHistoryPoint,
88
85
  PriceRatingBand,
89
86
  PriceRatingBands,
90
87
  VdpReview,
package/vdp/types.ts CHANGED
@@ -10,8 +10,8 @@
10
10
  // (`?`) fields are ones we have NO real source for yet; they are optional ON
11
11
  // PURPOSE so the components can detect their absence and render the
12
12
  // NEEDS_DATA_LABEL ('Daten folgt') marker instead of a fabricated value. Never
13
- // default these to placeholder numbers. priceHistory + the market band
14
- // (marketLow / marketAvg / marketHigh) are needs-data by default.
13
+ // default these to placeholder numbers. The market band (marketLow / marketAvg /
14
+ // marketHigh) is needs-data by default.
15
15
 
16
16
  import type { AutobahnPhev } from '../cards/types';
17
17
 
@@ -138,14 +138,6 @@ export interface VdpReview {
138
138
  rating: number;
139
139
  }
140
140
 
141
- /** One point on the price-history sparkline. */
142
- export interface PriceHistoryPoint {
143
- /** x-axis label, e.g. 'vor 6 Wo.' / 'heute'. */
144
- label: string;
145
- /** price in EUR at that point. */
146
- price: number;
147
- }
148
-
149
141
  /** One [min,max] EUR band of the 5-tier Preisbewertung (mirrors legacy IRatingConfig). */
150
142
  export interface PriceRatingBand {
151
143
  min: number;
@@ -267,8 +259,6 @@ export interface VehicleDetail {
267
259
  // --- NEEDS DATA: no real source yet (NEVER fabricate) ---
268
260
  /** original list price (for the struck-through reference + history endpoint). */
269
261
  listPrice?: number;
270
- /** price-history points (sparkline). Needs-data by default. */
271
- priceHistory?: PriceHistoryPoint[];
272
262
  /** lowest comparable market price in EUR (market band lower bound). */
273
263
  marketLow?: number;
274
264
  /** average comparable market price in EUR (market band reference). */