Skip to content
Source
Sign inSign up
TanStack/schemas

Price ranges for routed model ids (#406) #433

Mergedtombeckenhammerged 2 commits intomain fromrefs/pull/433/headmerged by tombeckenham View on GitHub

Showing 24 changed files with 11 additions and 0 deletions (loading 22).

x
0 of 24 viewed, 24 left
11 additions and 0 deletions.changeset/pricing-range.mdAdded
View file
@@ -0,0 +1,11 @@
+---
+'@modelschemas/client': patch
+---
+​
+Price ranges for routed model ids (#406). Model rows gain `pricingRange`
+(`PricingRange | null`) and `factSources.pricingRange`: a routed id whose
+routes bill different prices has `pricing: null` and a min/max per million
+over its routes' published cards, each route named by its own row. It is a
+bound, never the billed price. `estimateCost` now returns
+`EstimateResult | EstimateRangeResult`: on such a row,
+`{ currency, min, max, routes }`, with `min` and `max` naming their route.
drizzle/meta/0015_snapshot.jsonAdded
View file
Loading the diff