@bytebrand/fe-ui-core-autobahn 1.0.214 → 1.0.216

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,
@@ -61,7 +60,6 @@ export type {
61
60
  VehicleDescriptionProps,
62
61
  TrustStripProps,
63
62
  TrustItem,
64
- PriceHistoryProps,
65
63
  ProtectionProductsProps,
66
64
  ProtectionProduct,
67
65
  VdpAnchorsProps,
@@ -89,7 +87,6 @@ export type {
89
87
  EnergyTaxSummary,
90
88
  Co2CostsSummary,
91
89
  EquipmentGroups,
92
- PriceHistoryPoint,
93
90
  PriceRatingBand,
94
91
  PriceRatingBands,
95
92
  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
 
@@ -158,14 +158,6 @@ export interface RatingPortal {
158
158
  url?: string;
159
159
  }
160
160
 
161
- /** One point on the price-history sparkline. */
162
- export interface PriceHistoryPoint {
163
- /** x-axis label, e.g. 'vor 6 Wo.' / 'heute'. */
164
- label: string;
165
- /** price in EUR at that point. */
166
- price: number;
167
- }
168
-
169
161
  /** One [min,max] EUR band of the 5-tier Preisbewertung (mirrors legacy IRatingConfig). */
170
162
  export interface PriceRatingBand {
171
163
  min: number;
@@ -287,8 +279,6 @@ export interface VehicleDetail {
287
279
  // --- NEEDS DATA: no real source yet (NEVER fabricate) ---
288
280
  /** original list price (for the struck-through reference + history endpoint). */
289
281
  listPrice?: number;
290
- /** price-history points (sparkline). Needs-data by default. */
291
- priceHistory?: PriceHistoryPoint[];
292
282
  /** lowest comparable market price in EUR (market band lower bound). */
293
283
  marketLow?: number;
294
284
  /** average comparable market price in EUR (market band reference). */