chore(bounty): refresh codegen + drop ownerAddress casts#682
Conversation
Regenerate the API schema against the current backend (ownerAddress is now optional on select-winners / cancel per boundless-nestjs#392, plus escrowOwnerAddress is exposed). Drop the temporary casts in useBountyPayout / useBountyCancel now that the generated types are correct.
|
@Benjtalkshow is attempting to deploy a commit to the Threadflow Team on Vercel. A member of the Team first needs to authorize it. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
What
lib/api/generated/schema.d.tsagainst the current backend. NotablyownerAddressis now optional onSelectBountyWinnersDto/CancelBountyEscrowDto(boundless-nestjs#392), andescrowOwnerAddressis exposed.as ...Requestcasts inuseBountyPayout/useBountyCancelthat bridged the payout PR (feat(bounty): treasury payout/cancel without the caller's personal wallet #680) until codegen caught up — the generated types are now correct.Verification
tsc --noEmit— 0 errors (confirms the casts were safe to remove and the refreshed schema is compatible).eslint .— clean.