first pass of merging in warp (doesn't build)

This commit is contained in:
Ryan Ward
2026-07-01 16:08:58 -05:00
parent 2f64909469
commit 4770ac06b5
3662 changed files with 414574 additions and 89772 deletions
+9
View File
@@ -37,6 +37,15 @@ impl PricingInfoModel {
.find(|p| &p.plan == plan)
}
/// Returns the pricing data for all known plans, or an empty slice if
/// pricing information has not yet been fetched from the server.
pub fn plans(&self) -> &[PlanPricing] {
self.pricing_info
.as_ref()
.map(|info| info.plans.as_slice())
.unwrap_or(&[])
}
/// Returns the overage cost in dollars (converted from cents).
#[allow(dead_code)]
pub fn overage_cost_dollars(&self) -> Option<f64> {