b19fd77a60a07b88eb3092563e18b142a06850e4
First frontend build against docs/backend/PHASE-1-MONEY-FX-PAYMENTS-CONTRACT.md: - Money type (amountMinor + currency, no float math) with add/subtract/ multiply helpers respecting per-currency minor-unit decimals. - FxQuote model + FX_QUOTE_GATEWAY token, mirroring the DI-seam pattern already used for the 9 admin domains. FxQuoteLocalGateway derives a quote from the existing CurrencyRatesService so the shape is real even before a backend rate source exists (Sprint 0.1: FX is ours in-house). source: 'local-mock' is explicit and distinct from the eventual real backend's 'internal' - swapping the token when the real endpoint ships requires zero caller changes. - PriceSnapshot/CheckoutLine/CheckoutResult models per contract §4-5. Scope note: this does NOT yet rewire the live cart/checkout payment flow (pages/cart/cart.component.ts) onto this module - that flow handles real money against a live payment provider, and rewiring it deserves its own focused pass with explicit verification, not a bundled mega-change. The core module is ready for that pass. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Description
No description provided
Languages
TypeScript
71.4%
HTML
15.3%
SCSS
11.9%
Shell
1.3%
JavaScript
0.1%