Setup
Shape
Subscription carries items, discounts, status (active | paused | canceled | expired | failed), nextDeliveryDate, frequency, and the owning customerId.
Reactive state
| Signal | Description |
|---|---|
current | The currently selected subscription, or null if none is loaded. Updates after mutations. |
hasPendingBilling | true when a billing attempt is in-flight. Use this to guard mutations that would conflict with billing. |