Depends on: #100
Migrate all bounty write operations from REST to GraphQL mutations.
Files to modify
hooks/use-bounty-mutations.ts
Tasks
Acceptance Criteria
- Create, update, and delete bounties all work via GraphQL mutations
- Optimistic updates still function correctly
- Cache invalidation still triggers list refreshes
Depends on: #100
Migrate all bounty write operations from REST to GraphQL mutations.
Files to modify
hooks/use-bounty-mutations.tsTasks
useCreateBounty→ useuseCreateBountyMutationfrom generated hooksuseUpdateBounty→ useuseUpdateBountyMutation(note: backend expectsidinside input, not as a separate arg)useDeleteBounty→ useuseDeleteBountyMutationuseClaimBounty→ this mutation doesn't exist on the backend yet; either:claimBounty, orupdateBountywithstatus: 'IN_PROGRESS'as a workaroundonMutate/onError/onSettledpattern)Acceptance Criteria