Phase 3 and 4
This commit is contained in:
@@ -24,6 +24,17 @@ export interface Bid {
|
||||
createdAt: string;
|
||||
}
|
||||
|
||||
// Bid enriched with item summary — returned by GET /api/bidders/:id/bids
|
||||
export interface BidWithItem extends Bid {
|
||||
item: {
|
||||
title: string;
|
||||
lotNumber: string;
|
||||
state: string;
|
||||
currentHighBid: number | null;
|
||||
currentHighBidderId: string | null;
|
||||
};
|
||||
}
|
||||
|
||||
// Outbox entry stored in IndexedDB before network sync
|
||||
export interface OutboxBid {
|
||||
localId: string; // UUID generated client-side
|
||||
|
||||
Reference in New Issue
Block a user