Separate command and query

This commit is contained in:
Jon Staab
2026-04-01 15:33:03 -07:00
parent baae65b8b2
commit 07dfe86210
18 changed files with 615 additions and 549 deletions
+3 -2
View File
@@ -5,9 +5,10 @@ Billing encapsulates logic related to synchronizing state with Stripe.
Members:
- `nwc_url: String` - a nostr wallet connect URL used to **create** bolt11 invoices
- `repo: Repo`
- `query: Query`
- `command: Command`
- `robot: Robot`
## `pub fn new(repo: Repo, robot: Robot) -> Self`
## `pub fn new(query: Query, command: Command, robot: Robot) -> Self`
- Reads environment and populates members