Implement ExpenseSource repository #15

Open
opened 2026-10-30 21:00:07 -06:00 by west · 0 comments
Owner

📋 CRUD operations for expense/income sources using GRDB.

🎯 Acceptance Criteria:

  • create(source) appends to SyncOutbox
  • update(source) appends to SyncOutbox
  • delete(id) handles cascade or re-parent of associated recurring/distributed transactions
  • queryAll() returns all sources
  • queryWithRecurringTransactions(sourceId) returns source with its recurring transactions
  • queryByType(type) returns sources of a specific type (income/expense)

📝 Notes: Delete behavior needs consideration — cascade or re-parent to a default source?

📋 **CRUD operations for expense/income sources using GRDB.** 🎯 **Acceptance Criteria:** - [ ] create(source) appends to SyncOutbox - [ ] update(source) appends to SyncOutbox - [ ] delete(id) handles cascade or re-parent of associated recurring/distributed transactions - [ ] queryAll() returns all sources - [ ] queryWithRecurringTransactions(sourceId) returns source with its recurring transactions - [ ] queryByType(type) returns sources of a specific type (income/expense) 📝 **Notes:** Delete behavior needs consideration — cascade or re-parent to a default source?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
west/waterline#15
No description provided.