Skip to content

feat: add criteria field to BuildOfferResponse type#1943

Merged
ryanio merged 1 commit intomainfrom
feat/build-offer-criteria-type
Mar 18, 2026
Merged

feat: add criteria field to BuildOfferResponse type#1943
ryanio merged 1 commit intomainfrom
feat/build-offer-criteria-type

Conversation

@ryanio
Copy link
Collaborator

@ryanio ryanio commented Mar 18, 2026

Summary

  • Adds BuildOfferCriteria type and required criteria field to BuildOfferResponse to match the updated build_offer_v2 API response
  • Updates all test mocks to include the new criteria field
  • Type-only change — no wiring through postCollectionOffer/getPostCollectionOfferPayload yet (can be done as a follow-up)

Test plan

  • npm test — all tests pass
  • tsc --noEmit — clean compile

🤖 Generated with Claude Code

Aligns BuildOfferResponse with the updated build_offer_v2 API response
which now returns a criteria field echoing back collection and trait info.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ryanio ryanio merged commit 72fa5b7 into main Mar 18, 2026
8 checks passed
@ryanio ryanio deleted the feat/build-offer-criteria-type branch March 18, 2026 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant