feat: add list_bounties and list_all_bounties methods to storage adapter #57

Merged
shoko merged 1 commits from fix/issue-42 into main 2026-04-04 07:17:08 +02:00

1 Commits

Author SHA1 Message Date
shokollm
ed0d31bc04 feat: add list_bounties and list_all_bounties methods to storage adapter
Add filtering methods to JsonFileRoomStorage for Phase 2 soft delete support:
- list_bounties(room_id): returns only non-deleted bounties for normal queries
- list_all_bounties(room_id, include_deleted=True): returns all bounties for /recover

Update RoomStorage protocol to include the new methods.
Update mock classes in tests to pass isinstance checks.

Fixes #42
2026-04-04 05:12:19 +00:00