Skip to content

Conversation

@ryanio
Copy link
Collaborator

@ryanio ryanio commented Oct 30, 2025

Summary

  • Add OrderStatus enum with values: ACTIVE, INACTIVE, FULFILLED, EXPIRED, CANCELLED
  • Add status field to Offer type
  • Add status field to Listing type
  • Update test fixtures to include status field

This change aligns with the backend PR that adds order status tracking to the Get Order endpoint responses, allowing clients to easily determine the current state of orders without additional computation.

Test plan

  • All existing tests pass
  • TypeScript type checking passes
  • Test fixtures updated to include status field
  • Build completes successfully

🤖 Generated with Claude Code

ryanio and others added 3 commits October 29, 2025 17:08
Add RestOrderStatus enum and status field to Offer and Listing types to match backend API changes. The status field indicates whether an order is ACTIVE, INACTIVE, FULFILLED, EXPIRED, or CANCELLED.

This aligns with the backend PR that adds order status tracking to the Get Order endpoint responses.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Add RestOrderStatus.ACTIVE to mock listings and offers to match the updated type definitions.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Use simpler name "OrderStatus" instead of "RestOrderStatus" for the order status enum.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@ryanio ryanio merged commit 5a6150c into main Oct 30, 2025
8 checks passed
@ryanio ryanio deleted the order-status-field branch October 30, 2025 00:27
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.

2 participants