Identical to Order except that status may be unknown: a broker status
this adapter cannot map is reported as unknown rather than asserted to be
working. Unknown is not terminal, so a later snapshot can still rescue the
row, and every consumer that gates on status === 'working' treats it as
untradable, which is the point.
The member is widened here rather than in OrderStatus because widening the
shared union is a change to src/trade/types.ts, deferred to the v2 contract
work that owns that file.
An order read from the book.
Identical to
Orderexcept thatstatusmay beunknown: a broker status this adapter cannot map is reported as unknown rather than asserted to be working. Unknown is not terminal, so a later snapshot can still rescue the row, and every consumer that gates onstatus === 'working'treats it as untradable, which is the point.The member is widened here rather than in
OrderStatusbecause widening the shared union is a change tosrc/trade/types.ts, deferred to the v2 contract work that owns that file.