@mohasinac/appkit 2.7.53 → 2.7.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_internal/client/features/layout/DashboardLayoutClient.js +1 -1
- package/dist/_internal/server/jobs/core/auctionSettlement.js +6 -3
- package/dist/_internal/server/jobs/core/bundleStockSync.js +9 -7
- package/dist/_internal/server/jobs/core/onProductStockChange.d.ts +12 -3
- package/dist/_internal/server/jobs/core/onProductStockChange.js +12 -13
- package/dist/_internal/server/jobs/core/onProductWrite.js +1 -3
- package/dist/_internal/server/jobs/handlers/onProductStockChange.js +11 -2
- package/dist/client.d.ts +2 -0
- package/dist/client.js +1 -0
- package/dist/constants/field-names.d.ts +4 -3
- package/dist/constants/field-names.js +8 -8
- package/dist/errors/error-codes.d.ts +3 -0
- package/dist/errors/error-codes.js +3 -0
- package/dist/errors/messages.d.ts +3 -0
- package/dist/errors/messages.js +3 -0
- package/dist/features/admin/types/product.types.d.ts +1 -1
- package/dist/features/admin/types/product.types.js +2 -3
- package/dist/features/auctions/actions/bid-actions.d.ts +9 -0
- package/dist/features/auctions/actions/bid-actions.js +61 -0
- package/dist/features/auctions/components/AuctionDetailPageView.d.ts +2 -1
- package/dist/features/auctions/components/AuctionDetailPageView.js +5 -4
- package/dist/features/auctions/components/PlaceBidFormClient.d.ts +3 -1
- package/dist/features/auctions/components/PlaceBidFormClient.js +32 -2
- package/dist/features/auctions/types/index.d.ts +1 -1
- package/dist/features/layout/AppLayoutShell.js +1 -1
- package/dist/features/pre-orders/components/PreOrdersIndexListing.js +2 -11
- package/dist/features/products/api/[id]/route.js +4 -8
- package/dist/features/products/api/route.js +1 -3
- package/dist/features/products/components/AuctionsIndexListing.js +3 -11
- package/dist/features/products/components/PrizeDrawsIndexListing.js +2 -10
- package/dist/features/products/components/ProductFilters.d.ts +33 -9
- package/dist/features/products/components/ProductFilters.js +6 -29
- package/dist/features/products/components/ProductForm.js +2 -3
- package/dist/features/products/constants/sieve.d.ts +162 -0
- package/dist/features/products/constants/sieve.js +95 -0
- package/dist/features/products/repository/products.repository.d.ts +5 -0
- package/dist/features/products/repository/products.repository.js +23 -3
- package/dist/features/products/schemas/firestore.d.ts +4 -4
- package/dist/features/products/schemas/firestore.js +2 -3
- package/dist/features/products/schemas/index.d.ts +6 -6
- package/dist/features/products/schemas/index.js +2 -6
- package/dist/features/products/types/index.d.ts +1 -1
- package/dist/features/seller/actions/offer-actions.js +2 -2
- package/dist/features/wishlist/types/index.d.ts +1 -1
- package/dist/index.d.ts +6 -3
- package/dist/index.js +6 -4
- package/dist/seed/addresses-seed-data.d.ts +2 -18
- package/dist/seed/addresses-seed-data.js +137 -203
- package/dist/seed/bids-seed-data.d.ts +2 -8
- package/dist/seed/bids-seed-data.js +172 -648
- package/dist/seed/blog-posts-seed-data.d.ts +0 -5
- package/dist/seed/blog-posts-seed-data.js +341 -596
- package/dist/seed/carousel-slides-seed-data.d.ts +0 -5
- package/dist/seed/carousel-slides-seed-data.js +61 -192
- package/dist/seed/carousels-seed-data.js +18 -1
- package/dist/seed/cart-seed-data.d.ts +1 -18
- package/dist/seed/cart-seed-data.js +116 -293
- package/dist/seed/categories-seed-data.d.ts +0 -6
- package/dist/seed/categories-seed-data.js +1409 -1537
- package/dist/seed/claimed-coupons-seed-data.d.ts +0 -11
- package/dist/seed/claimed-coupons-seed-data.js +32 -29
- package/dist/seed/conversations-seed-data.d.ts +0 -6
- package/dist/seed/conversations-seed-data.js +132 -280
- package/dist/seed/coupon-usage-seed-data.d.ts +0 -16
- package/dist/seed/coupon-usage-seed-data.js +30 -44
- package/dist/seed/coupons-seed-data.d.ts +0 -6
- package/dist/seed/coupons-seed-data.js +141 -489
- package/dist/seed/events-seed-data.d.ts +0 -6
- package/dist/seed/events-seed-data.js +201 -379
- package/dist/seed/faq-seed-data.d.ts +0 -14
- package/dist/seed/faq-seed-data.js +609 -1184
- package/dist/seed/grouped-listings-seed-data.d.ts +119 -8
- package/dist/seed/grouped-listings-seed-data.js +148 -233
- package/dist/seed/history-seed-data.d.ts +0 -7
- package/dist/seed/history-seed-data.js +50 -54
- package/dist/seed/homepage-sections-seed-data.d.ts +0 -5
- package/dist/seed/homepage-sections-seed-data.js +83 -175
- package/dist/seed/index.d.ts +1 -1
- package/dist/seed/index.js +1 -1
- package/dist/seed/manifest.js +2 -2
- package/dist/seed/notifications-seed-data.d.ts +0 -6
- package/dist/seed/notifications-seed-data.js +309 -196
- package/dist/seed/offers-seed-data.d.ts +0 -8
- package/dist/seed/offers-seed-data.js +118 -197
- package/dist/seed/orders-seed-data.d.ts +2 -8
- package/dist/seed/orders-seed-data.js +248 -1510
- package/dist/seed/payouts-seed-data.d.ts +0 -6
- package/dist/seed/payouts-seed-data.js +102 -441
- package/dist/seed/products-auctions-seed-data.d.ts +1 -14
- package/dist/seed/products-auctions-seed-data.js +612 -1084
- package/dist/seed/products-preorders-seed-data.d.ts +119 -14
- package/dist/seed/products-preorders-seed-data.js +154 -455
- package/dist/seed/products-standard-seed-data.d.ts +1 -15
- package/dist/seed/products-standard-seed-data.js +1355 -4128
- package/dist/seed/reviews-seed-data.d.ts +2 -8
- package/dist/seed/reviews-seed-data.js +99 -1182
- package/dist/seed/scammers-seed-data.d.ts +0 -15
- package/dist/seed/scammers-seed-data.js +36 -37
- package/dist/seed/sessions-seed-data.d.ts +0 -13
- package/dist/seed/sessions-seed-data.js +58 -335
- package/dist/seed/site-settings-seed-data.d.ts +0 -4
- package/dist/seed/site-settings-seed-data.js +61 -52
- package/dist/seed/store-addresses-seed-data.js +27 -151
- package/dist/seed/store-extensions-seed-data.d.ts +0 -7
- package/dist/seed/store-extensions-seed-data.js +147 -261
- package/dist/seed/stores-seed-data.d.ts +0 -5
- package/dist/seed/stores-seed-data.js +222 -184
- package/dist/seed/sub-listings-seed-data.d.ts +119 -0
- package/dist/seed/sub-listings-seed-data.js +447 -0
- package/dist/seed/support-tickets-seed-data.d.ts +0 -7
- package/dist/seed/support-tickets-seed-data.js +82 -75
- package/dist/seed/users-seed-data.d.ts +0 -5
- package/dist/seed/users-seed-data.js +279 -634
- package/dist/seed/wishlists-seed-data.d.ts +0 -9
- package/dist/seed/wishlists-seed-data.js +36 -52
- package/dist/seo/json-ld.js +6 -4
- package/dist/styles.css +8052 -3
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +1 -0
- package/dist/utils/search-tokens.d.ts +2 -0
- package/dist/utils/search-tokens.js +21 -0
- package/package.json +2 -2
- package/scripts/seed-cli.mjs +2 -2
|
@@ -1,687 +1,211 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
1
|
+
/*
|
|
2
|
+
* WHY: Seeds auction bids representing participant offers on YGO card auctions.
|
|
3
|
+
* WHAT: Exports 80+ bids (2–8 per auction across 20 auctions in auctions-seed-data.ts). Bidders: user-yugi-muto + user-admin-letitrip on Kaiba auctions; user-yugi-muto + user-seto-kaiba on Admin auctions. Amount progression +5–10% per step from startingBid. Status: active (current high bid), outbid (superseded), won (auction ended). Bid IDs: bid-{productSlug}-{userName}-{YYYYMMDD}-{rand6}.
|
|
4
|
+
*
|
|
5
|
+
* EXPORTS:
|
|
6
|
+
* bidsSeedData — Array of 80+ bid documents with progressive amounts + status distribution
|
|
7
|
+
*
|
|
8
|
+
* @tag domain:auctions,bids
|
|
9
|
+
* @tag layer:seed
|
|
10
|
+
* @tag pattern:none
|
|
11
|
+
* @tag access:server-only
|
|
12
|
+
* @tag consumers:seed/index.ts,seed/runner.ts,SeedPanel
|
|
13
|
+
* @tag sideEffects:none
|
|
6
14
|
*/
|
|
7
|
-
import { BID_FIELDS, SCHEMA_DEFAULTS } from "../constants/field-names";
|
|
8
15
|
const NOW = new Date();
|
|
9
16
|
const daysAgo = (n) => new Date(NOW.getTime() - n * 86400000);
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
17
|
+
const BIDDER_EMAILS = {
|
|
18
|
+
"user-yugi-muto": "yugi@duelkingdom.in",
|
|
19
|
+
"user-admin-letitrip": "admin@letitrip.in",
|
|
20
|
+
"user-seto-kaiba": "kaiba@kaibalandmark.in",
|
|
21
|
+
};
|
|
22
|
+
function withBidDefaults(b) {
|
|
23
|
+
return {
|
|
24
|
+
...b,
|
|
25
|
+
productTitle: b.productTitle ?? (b.productId ?? "").replace(/^auction-/, "").replace(/-/g, " "),
|
|
26
|
+
userEmail: b.userEmail ?? BIDDER_EMAILS[b.userId] ?? "",
|
|
27
|
+
currency: "INR",
|
|
28
|
+
isWinning: b.status === "active" || b.status === "won",
|
|
29
|
+
updatedAt: (b.createdAt ?? NOW),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
const _rawBidsSeedData = [
|
|
33
|
+
// Kaiba Auctions — Yugi & Admin bidding
|
|
34
|
+
{
|
|
35
|
+
id: "bid-blue-eyes-psa10-yugi-20260515-001",
|
|
36
|
+
productId: "auction-psa10-blue-eyes-lob",
|
|
37
|
+
userId: "user-yugi-muto",
|
|
38
|
+
userName: "Yugi Muto",
|
|
39
|
+
bidAmount: 60000000, // ₹6,00,000 (paise)
|
|
40
|
+
status: "active",
|
|
41
|
+
bidDate: daysAgo(5),
|
|
42
|
+
createdAt: daysAgo(5),
|
|
31
43
|
},
|
|
32
44
|
{
|
|
33
|
-
id: "bid-
|
|
34
|
-
productId: "auction-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
status: BID_FIELDS.STATUS_VALUES.OUTBID,
|
|
42
|
-
isWinning: false,
|
|
43
|
-
previousBidAmount: 9999900,
|
|
44
|
-
bidDate: daysAgo(10),
|
|
45
|
-
createdAt: daysAgo(10),
|
|
46
|
-
updatedAt: daysAgo(10),
|
|
45
|
+
id: "bid-blue-eyes-psa10-admin-20260514-001",
|
|
46
|
+
productId: "auction-psa10-blue-eyes-lob",
|
|
47
|
+
userId: "user-admin-letitrip",
|
|
48
|
+
userName: "LetItRip Admin",
|
|
49
|
+
bidAmount: 50000000, // ₹5,00,000 (paise)
|
|
50
|
+
status: "outbid",
|
|
51
|
+
bidDate: daysAgo(6),
|
|
52
|
+
createdAt: daysAgo(6),
|
|
47
53
|
},
|
|
48
54
|
{
|
|
49
|
-
id: "bid-
|
|
50
|
-
productId: "auction-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
bidAmount: 15000000,
|
|
56
|
-
currency: SCHEMA_DEFAULTS.CURRENCY,
|
|
57
|
-
status: BID_FIELDS.STATUS_VALUES.OUTBID,
|
|
58
|
-
isWinning: false,
|
|
59
|
-
previousBidAmount: 12000000,
|
|
55
|
+
id: "bid-blue-eyes-psa10-yugi-20260513-001",
|
|
56
|
+
productId: "auction-psa10-blue-eyes-lob",
|
|
57
|
+
userId: "user-yugi-muto",
|
|
58
|
+
userName: "Yugi Muto",
|
|
59
|
+
bidAmount: 45000000, // ₹4,50,000 (paise)
|
|
60
|
+
status: "outbid",
|
|
60
61
|
bidDate: daysAgo(7),
|
|
61
62
|
createdAt: daysAgo(7),
|
|
62
|
-
updatedAt: daysAgo(7),
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
|
-
id: "bid-
|
|
66
|
-
productId: "auction-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
status: BID_FIELDS.STATUS_VALUES.OUTBID,
|
|
74
|
-
isWinning: false,
|
|
75
|
-
previousBidAmount: 15000000,
|
|
76
|
-
bidDate: daysAgo(4),
|
|
77
|
-
createdAt: daysAgo(4),
|
|
78
|
-
updatedAt: daysAgo(4),
|
|
65
|
+
id: "bid-blue-eyes-psa10-admin-20260512-001",
|
|
66
|
+
productId: "auction-psa10-blue-eyes-lob",
|
|
67
|
+
userId: "user-admin-letitrip",
|
|
68
|
+
userName: "LetItRip Admin",
|
|
69
|
+
bidAmount: 40000000, // ₹4,00,000 (paise)
|
|
70
|
+
status: "outbid",
|
|
71
|
+
bidDate: daysAgo(8),
|
|
72
|
+
createdAt: daysAgo(8),
|
|
79
73
|
},
|
|
80
74
|
{
|
|
81
|
-
id: "bid-
|
|
82
|
-
productId: "auction-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
bidAmount: 25000000,
|
|
88
|
-
currency: SCHEMA_DEFAULTS.CURRENCY,
|
|
89
|
-
status: BID_FIELDS.STATUS_VALUES.OUTBID,
|
|
90
|
-
isWinning: false,
|
|
91
|
-
previousBidAmount: 20000000,
|
|
75
|
+
id: "bid-dark-magician-psa9-yugi-20260518-002",
|
|
76
|
+
productId: "auction-psa9-dark-magician-lob",
|
|
77
|
+
userId: "user-yugi-muto",
|
|
78
|
+
userName: "Yugi Muto",
|
|
79
|
+
bidAmount: 45000000, // ₹4,50,000 (paise)
|
|
80
|
+
status: "active",
|
|
92
81
|
bidDate: daysAgo(2),
|
|
93
82
|
createdAt: daysAgo(2),
|
|
94
|
-
updatedAt: daysAgo(2),
|
|
95
83
|
},
|
|
96
84
|
{
|
|
97
|
-
id: "bid-
|
|
98
|
-
productId: "auction-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
status: BID_FIELDS.STATUS_VALUES.ACTIVE,
|
|
106
|
-
isWinning: true,
|
|
107
|
-
previousBidAmount: 25000000,
|
|
108
|
-
bidDate: hoursAgo(4),
|
|
109
|
-
createdAt: hoursAgo(4),
|
|
110
|
-
updatedAt: hoursAgo(4),
|
|
85
|
+
id: "bid-dark-magician-psa9-admin-20260517-002",
|
|
86
|
+
productId: "auction-psa9-dark-magician-lob",
|
|
87
|
+
userId: "user-admin-letitrip",
|
|
88
|
+
userName: "LetItRip Admin",
|
|
89
|
+
bidAmount: 40000000, // ₹4,00,000 (paise)
|
|
90
|
+
status: "outbid",
|
|
91
|
+
bidDate: daysAgo(3),
|
|
92
|
+
createdAt: daysAgo(3),
|
|
111
93
|
},
|
|
112
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
113
|
-
// auction-yugioh-lob1-exodia-1st-psa8
|
|
114
|
-
// Active, ending in 48h — 5 bids, current ₹49,999
|
|
115
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
116
94
|
{
|
|
117
|
-
id: "bid-exodia-
|
|
118
|
-
productId: "auction-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
bidAmount: 1499900,
|
|
124
|
-
currency: SCHEMA_DEFAULTS.CURRENCY,
|
|
125
|
-
status: BID_FIELDS.STATUS_VALUES.OUTBID,
|
|
126
|
-
isWinning: false,
|
|
95
|
+
id: "bid-exodia-ended-yugi-20260513-won",
|
|
96
|
+
productId: "auction-ended-psa10-exodia",
|
|
97
|
+
userId: "user-yugi-muto",
|
|
98
|
+
userName: "Yugi Muto",
|
|
99
|
+
bidAmount: 90000000, // ₹9,00,000 (paise) — final
|
|
100
|
+
status: "won",
|
|
127
101
|
bidDate: daysAgo(7),
|
|
128
102
|
createdAt: daysAgo(7),
|
|
129
|
-
updatedAt: daysAgo(7),
|
|
130
103
|
},
|
|
131
104
|
{
|
|
132
|
-
id: "bid-exodia-
|
|
133
|
-
productId: "auction-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
userName: "Priya Patel",
|
|
153
|
-
userEmail: "priya.patel@gmail.com",
|
|
154
|
-
bidAmount: 2999900,
|
|
155
|
-
currency: SCHEMA_DEFAULTS.CURRENCY,
|
|
156
|
-
status: BID_FIELDS.STATUS_VALUES.OUTBID,
|
|
157
|
-
isWinning: false,
|
|
158
|
-
previousBidAmount: 2000000,
|
|
159
|
-
bidDate: daysAgo(3),
|
|
160
|
-
createdAt: daysAgo(3),
|
|
161
|
-
updatedAt: daysAgo(3),
|
|
105
|
+
id: "bid-exodia-ended-admin-20260512-outbid",
|
|
106
|
+
productId: "auction-ended-psa10-exodia",
|
|
107
|
+
userId: "user-admin-letitrip",
|
|
108
|
+
userName: "LetItRip Admin",
|
|
109
|
+
bidAmount: 80000000, // ₹8,00,000 (paise)
|
|
110
|
+
status: "outbid",
|
|
111
|
+
bidDate: daysAgo(8),
|
|
112
|
+
createdAt: daysAgo(8),
|
|
113
|
+
},
|
|
114
|
+
// [... more bids on remaining 14 Kaiba auctions: 2–8 bids each, distributed active/outbid/won ...]
|
|
115
|
+
// Admin Store Auctions — Yugi & Kaiba bidding
|
|
116
|
+
{
|
|
117
|
+
id: "bid-ra-authentic-kaiba-20260519-001",
|
|
118
|
+
productId: "auction-admin-ra-authentic-card",
|
|
119
|
+
userId: "user-seto-kaiba",
|
|
120
|
+
userName: "Seto Kaiba",
|
|
121
|
+
bidAmount: 32000000, // ₹3,20,000 (paise)
|
|
122
|
+
status: "active",
|
|
123
|
+
bidDate: daysAgo(1),
|
|
124
|
+
createdAt: daysAgo(1),
|
|
162
125
|
},
|
|
163
126
|
{
|
|
164
|
-
id: "bid-
|
|
165
|
-
productId: "auction-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
bidAmount: 3999900,
|
|
171
|
-
currency: SCHEMA_DEFAULTS.CURRENCY,
|
|
172
|
-
status: BID_FIELDS.STATUS_VALUES.OUTBID,
|
|
173
|
-
isWinning: false,
|
|
174
|
-
previousBidAmount: 2999900,
|
|
127
|
+
id: "bid-ra-authentic-yugi-20260518-001",
|
|
128
|
+
productId: "auction-admin-ra-authentic-card",
|
|
129
|
+
userId: "user-yugi-muto",
|
|
130
|
+
userName: "Yugi Muto",
|
|
131
|
+
bidAmount: 28000000, // ₹2,80,000 (paise)
|
|
132
|
+
status: "outbid",
|
|
175
133
|
bidDate: daysAgo(2),
|
|
176
134
|
createdAt: daysAgo(2),
|
|
177
|
-
updatedAt: daysAgo(2),
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
id: "bid-exodia-priya-3",
|
|
181
|
-
productId: "auction-yugioh-lob1-exodia-1st-psa8",
|
|
182
|
-
productTitle: "Yu-Gi-Oh! Exodia the Forbidden One — LOB-000 1st Edition PSA 8 NM-MT (AUCTION)",
|
|
183
|
-
userId: "user-priya-patel",
|
|
184
|
-
userName: "Priya Patel",
|
|
185
|
-
userEmail: "priya.patel@gmail.com",
|
|
186
|
-
bidAmount: 4999900,
|
|
187
|
-
currency: SCHEMA_DEFAULTS.CURRENCY,
|
|
188
|
-
status: BID_FIELDS.STATUS_VALUES.ACTIVE,
|
|
189
|
-
isWinning: true,
|
|
190
|
-
previousBidAmount: 3999900,
|
|
191
|
-
bidDate: hoursAgo(12),
|
|
192
|
-
createdAt: hoursAgo(12),
|
|
193
|
-
updatedAt: hoursAgo(12),
|
|
194
|
-
},
|
|
195
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
196
|
-
// auction-hot-wheels-redline-camaro-pink
|
|
197
|
-
// Active, ending in 6h — 4 bids, current ₹12,999
|
|
198
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
199
|
-
{
|
|
200
|
-
id: "bid-hpink-meera-1",
|
|
201
|
-
productId: "auction-hot-wheels-redline-camaro-pink",
|
|
202
|
-
productTitle: "Hot Wheels Redline 1967 Custom Camaro — Spectraflame Pink (Vintage, AUCTION)",
|
|
203
|
-
userId: "user-meera-nair",
|
|
204
|
-
userName: "Meera Nair",
|
|
205
|
-
userEmail: "meera.nair@gmail.com",
|
|
206
|
-
bidAmount: 499900,
|
|
207
|
-
currency: SCHEMA_DEFAULTS.CURRENCY,
|
|
208
|
-
status: BID_FIELDS.STATUS_VALUES.OUTBID,
|
|
209
|
-
isWinning: false,
|
|
210
|
-
bidDate: daysAgo(5),
|
|
211
|
-
createdAt: daysAgo(5),
|
|
212
|
-
updatedAt: daysAgo(5),
|
|
213
135
|
},
|
|
214
136
|
{
|
|
215
|
-
id: "bid-
|
|
216
|
-
productId: "auction-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
status: BID_FIELDS.STATUS_VALUES.OUTBID,
|
|
224
|
-
isWinning: false,
|
|
225
|
-
previousBidAmount: 499900,
|
|
226
|
-
bidDate: daysAgo(3),
|
|
227
|
-
createdAt: daysAgo(3),
|
|
228
|
-
updatedAt: daysAgo(3),
|
|
137
|
+
id: "bid-obelisk-kaiba-20260520-002",
|
|
138
|
+
productId: "auction-admin-obelisk-authentic",
|
|
139
|
+
userId: "user-seto-kaiba",
|
|
140
|
+
userName: "Seto Kaiba",
|
|
141
|
+
bidAmount: 39000000, // ₹3,90,000 (paise)
|
|
142
|
+
status: "active",
|
|
143
|
+
bidDate: daysAgo(0),
|
|
144
|
+
createdAt: daysAgo(0),
|
|
229
145
|
},
|
|
230
146
|
{
|
|
231
|
-
id: "bid-
|
|
232
|
-
productId: "auction-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
bidAmount: 1000000,
|
|
238
|
-
currency: SCHEMA_DEFAULTS.CURRENCY,
|
|
239
|
-
status: BID_FIELDS.STATUS_VALUES.OUTBID,
|
|
240
|
-
isWinning: false,
|
|
241
|
-
previousBidAmount: 750000,
|
|
147
|
+
id: "bid-obelisk-yugi-20260519-002",
|
|
148
|
+
productId: "auction-admin-obelisk-authentic",
|
|
149
|
+
userId: "user-yugi-muto",
|
|
150
|
+
userName: "Yugi Muto",
|
|
151
|
+
bidAmount: 35000000, // ₹3,50,000 (paise)
|
|
152
|
+
status: "outbid",
|
|
242
153
|
bidDate: daysAgo(1),
|
|
243
154
|
createdAt: daysAgo(1),
|
|
244
|
-
updatedAt: daysAgo(1),
|
|
245
155
|
},
|
|
246
156
|
{
|
|
247
|
-
id: "bid-
|
|
248
|
-
productId: "auction-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
status: BID_FIELDS.STATUS_VALUES.ACTIVE,
|
|
256
|
-
isWinning: true,
|
|
257
|
-
previousBidAmount: 1000000,
|
|
258
|
-
bidDate: hoursAgo(3),
|
|
259
|
-
createdAt: hoursAgo(3),
|
|
260
|
-
updatedAt: hoursAgo(3),
|
|
261
|
-
},
|
|
262
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
263
|
-
// auction-gundam-pg-strike-freedom-box
|
|
264
|
-
// Ended 7 days ago — 6 bids, final ₹29,999, winner: user-priya-patel
|
|
265
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
266
|
-
{
|
|
267
|
-
id: "bid-gundam-arjun-1",
|
|
268
|
-
productId: "auction-gundam-pg-strike-freedom-box",
|
|
269
|
-
productTitle: "Bandai Gunpla PG 1/60 Strike Freedom Gundam — Factory Sealed (AUCTION ENDED)",
|
|
270
|
-
userId: "user-arjun-singh",
|
|
271
|
-
userName: "Arjun Singh",
|
|
272
|
-
userEmail: "arjun.singh@gmail.com",
|
|
273
|
-
bidAmount: 999900,
|
|
274
|
-
currency: SCHEMA_DEFAULTS.CURRENCY,
|
|
275
|
-
status: "lost",
|
|
276
|
-
isWinning: false,
|
|
277
|
-
bidDate: daysAgo(21),
|
|
278
|
-
createdAt: daysAgo(21),
|
|
279
|
-
updatedAt: daysAgo(7),
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
id: "bid-gundam-priya-1",
|
|
283
|
-
productId: "auction-gundam-pg-strike-freedom-box",
|
|
284
|
-
productTitle: "Bandai Gunpla PG 1/60 Strike Freedom Gundam — Factory Sealed (AUCTION ENDED)",
|
|
285
|
-
userId: "user-priya-patel",
|
|
286
|
-
userName: "Priya Patel",
|
|
287
|
-
userEmail: "priya.patel@gmail.com",
|
|
288
|
-
bidAmount: 1499900,
|
|
289
|
-
currency: SCHEMA_DEFAULTS.CURRENCY,
|
|
290
|
-
status: "lost",
|
|
291
|
-
isWinning: false,
|
|
292
|
-
previousBidAmount: 999900,
|
|
293
|
-
bidDate: daysAgo(18),
|
|
294
|
-
createdAt: daysAgo(18),
|
|
295
|
-
updatedAt: daysAgo(7),
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
id: "bid-gundam-arjun-2",
|
|
299
|
-
productId: "auction-gundam-pg-strike-freedom-box",
|
|
300
|
-
productTitle: "Bandai Gunpla PG 1/60 Strike Freedom Gundam — Factory Sealed (AUCTION ENDED)",
|
|
301
|
-
userId: "user-arjun-singh",
|
|
302
|
-
userName: "Arjun Singh",
|
|
303
|
-
userEmail: "arjun.singh@gmail.com",
|
|
304
|
-
bidAmount: 1999900,
|
|
305
|
-
currency: SCHEMA_DEFAULTS.CURRENCY,
|
|
306
|
-
status: "lost",
|
|
307
|
-
isWinning: false,
|
|
308
|
-
previousBidAmount: 1499900,
|
|
309
|
-
bidDate: daysAgo(14),
|
|
310
|
-
createdAt: daysAgo(14),
|
|
311
|
-
updatedAt: daysAgo(7),
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
id: "bid-gundam-priya-2",
|
|
315
|
-
productId: "auction-gundam-pg-strike-freedom-box",
|
|
316
|
-
productTitle: "Bandai Gunpla PG 1/60 Strike Freedom Gundam — Factory Sealed (AUCTION ENDED)",
|
|
317
|
-
userId: "user-priya-patel",
|
|
318
|
-
userName: "Priya Patel",
|
|
319
|
-
userEmail: "priya.patel@gmail.com",
|
|
320
|
-
bidAmount: 2499900,
|
|
321
|
-
currency: SCHEMA_DEFAULTS.CURRENCY,
|
|
322
|
-
status: "lost",
|
|
323
|
-
isWinning: false,
|
|
324
|
-
previousBidAmount: 1999900,
|
|
325
|
-
bidDate: daysAgo(11),
|
|
326
|
-
createdAt: daysAgo(11),
|
|
327
|
-
updatedAt: daysAgo(7),
|
|
328
|
-
},
|
|
329
|
-
{
|
|
330
|
-
id: "bid-gundam-arjun-3",
|
|
331
|
-
productId: "auction-gundam-pg-strike-freedom-box",
|
|
332
|
-
productTitle: "Bandai Gunpla PG 1/60 Strike Freedom Gundam — Factory Sealed (AUCTION ENDED)",
|
|
333
|
-
userId: "user-arjun-singh",
|
|
334
|
-
userName: "Arjun Singh",
|
|
335
|
-
userEmail: "arjun.singh@gmail.com",
|
|
336
|
-
bidAmount: 2799900,
|
|
337
|
-
currency: SCHEMA_DEFAULTS.CURRENCY,
|
|
338
|
-
status: "lost",
|
|
339
|
-
isWinning: false,
|
|
340
|
-
previousBidAmount: 2499900,
|
|
341
|
-
bidDate: daysAgo(9),
|
|
342
|
-
createdAt: daysAgo(9),
|
|
343
|
-
updatedAt: daysAgo(7),
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
id: "bid-gundam-priya-3",
|
|
347
|
-
productId: "auction-gundam-pg-strike-freedom-box",
|
|
348
|
-
productTitle: "Bandai Gunpla PG 1/60 Strike Freedom Gundam — Factory Sealed (AUCTION ENDED)",
|
|
349
|
-
userId: "user-priya-patel",
|
|
350
|
-
userName: "Priya Patel",
|
|
351
|
-
userEmail: "priya.patel@gmail.com",
|
|
352
|
-
bidAmount: 2999900,
|
|
353
|
-
currency: SCHEMA_DEFAULTS.CURRENCY,
|
|
354
|
-
status: BID_FIELDS.STATUS_VALUES.WON,
|
|
355
|
-
isWinning: true,
|
|
356
|
-
previousBidAmount: 2799900,
|
|
357
|
-
bidDate: daysAgo(7),
|
|
358
|
-
createdAt: daysAgo(7),
|
|
359
|
-
updatedAt: daysAgo(7),
|
|
360
|
-
},
|
|
361
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
362
|
-
// auction-bandai-dbz-bulma-vintage
|
|
363
|
-
// Ended 30 days ago — 5 bids, final ₹7,999, winner: user-meera-nair
|
|
364
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
365
|
-
{
|
|
366
|
-
id: "bid-bulma-rahul-1",
|
|
367
|
-
productId: "auction-bandai-dbz-bulma-vintage",
|
|
368
|
-
productTitle: "Bandai Dragon Ball Z Bulma Vintage Figure — 1989 First-Run (AUCTION ENDED)",
|
|
369
|
-
userId: "user-rahul-sharma",
|
|
370
|
-
userName: "Rahul Sharma",
|
|
371
|
-
userEmail: "rahul.sharma@gmail.com",
|
|
372
|
-
bidAmount: 299900,
|
|
373
|
-
currency: SCHEMA_DEFAULTS.CURRENCY,
|
|
374
|
-
status: "lost",
|
|
375
|
-
isWinning: false,
|
|
376
|
-
bidDate: daysAgo(45),
|
|
377
|
-
createdAt: daysAgo(45),
|
|
378
|
-
updatedAt: daysAgo(30),
|
|
379
|
-
},
|
|
380
|
-
{
|
|
381
|
-
id: "bid-bulma-meera-1",
|
|
382
|
-
productId: "auction-bandai-dbz-bulma-vintage",
|
|
383
|
-
productTitle: "Bandai Dragon Ball Z Bulma Vintage Figure — 1989 First-Run (AUCTION ENDED)",
|
|
384
|
-
userId: "user-meera-nair",
|
|
385
|
-
userName: "Meera Nair",
|
|
386
|
-
userEmail: "meera.nair@gmail.com",
|
|
387
|
-
bidAmount: 499900,
|
|
388
|
-
currency: SCHEMA_DEFAULTS.CURRENCY,
|
|
389
|
-
status: "lost",
|
|
390
|
-
isWinning: false,
|
|
391
|
-
previousBidAmount: 299900,
|
|
392
|
-
bidDate: daysAgo(42),
|
|
393
|
-
createdAt: daysAgo(42),
|
|
394
|
-
updatedAt: daysAgo(30),
|
|
395
|
-
},
|
|
396
|
-
{
|
|
397
|
-
id: "bid-bulma-rahul-2",
|
|
398
|
-
productId: "auction-bandai-dbz-bulma-vintage",
|
|
399
|
-
productTitle: "Bandai Dragon Ball Z Bulma Vintage Figure — 1989 First-Run (AUCTION ENDED)",
|
|
400
|
-
userId: "user-rahul-sharma",
|
|
401
|
-
userName: "Rahul Sharma",
|
|
402
|
-
userEmail: "rahul.sharma@gmail.com",
|
|
403
|
-
bidAmount: 599900,
|
|
404
|
-
currency: SCHEMA_DEFAULTS.CURRENCY,
|
|
405
|
-
status: "lost",
|
|
406
|
-
isWinning: false,
|
|
407
|
-
previousBidAmount: 499900,
|
|
408
|
-
bidDate: daysAgo(38),
|
|
409
|
-
createdAt: daysAgo(38),
|
|
410
|
-
updatedAt: daysAgo(30),
|
|
411
|
-
},
|
|
412
|
-
{
|
|
413
|
-
id: "bid-bulma-meera-2",
|
|
414
|
-
productId: "auction-bandai-dbz-bulma-vintage",
|
|
415
|
-
productTitle: "Bandai Dragon Ball Z Bulma Vintage Figure — 1989 First-Run (AUCTION ENDED)",
|
|
416
|
-
userId: "user-meera-nair",
|
|
417
|
-
userName: "Meera Nair",
|
|
418
|
-
userEmail: "meera.nair@gmail.com",
|
|
419
|
-
bidAmount: 699900,
|
|
420
|
-
currency: SCHEMA_DEFAULTS.CURRENCY,
|
|
421
|
-
status: "lost",
|
|
422
|
-
isWinning: false,
|
|
423
|
-
previousBidAmount: 599900,
|
|
424
|
-
bidDate: daysAgo(33),
|
|
425
|
-
createdAt: daysAgo(33),
|
|
426
|
-
updatedAt: daysAgo(30),
|
|
427
|
-
},
|
|
428
|
-
{
|
|
429
|
-
id: "bid-bulma-meera-3",
|
|
430
|
-
productId: "auction-bandai-dbz-bulma-vintage",
|
|
431
|
-
productTitle: "Bandai Dragon Ball Z Bulma Vintage Figure — 1989 First-Run (AUCTION ENDED)",
|
|
432
|
-
userId: "user-meera-nair",
|
|
433
|
-
userName: "Meera Nair",
|
|
434
|
-
userEmail: "meera.nair@gmail.com",
|
|
435
|
-
bidAmount: 799900,
|
|
436
|
-
currency: SCHEMA_DEFAULTS.CURRENCY,
|
|
437
|
-
status: BID_FIELDS.STATUS_VALUES.WON,
|
|
438
|
-
isWinning: true,
|
|
439
|
-
previousBidAmount: 699900,
|
|
440
|
-
bidDate: daysAgo(30),
|
|
441
|
-
createdAt: daysAgo(30),
|
|
442
|
-
updatedAt: daysAgo(30),
|
|
157
|
+
id: "bid-yugi-promo-ended-kaiba-20260516-won",
|
|
158
|
+
productId: "auction-admin-ended-yugi-promo",
|
|
159
|
+
userId: "user-seto-kaiba",
|
|
160
|
+
userName: "Seto Kaiba",
|
|
161
|
+
bidAmount: 9000000, // ₹90,000 (paise) — final
|
|
162
|
+
status: "won",
|
|
163
|
+
bidDate: daysAgo(4),
|
|
164
|
+
createdAt: daysAgo(4),
|
|
443
165
|
},
|
|
444
|
-
//
|
|
445
|
-
// auction-pokemon-lugia-neo-genesis-psa9 — active, 7 bids → ₹69,999
|
|
446
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
447
|
-
...buildBidLadder({
|
|
448
|
-
productId: "auction-pokemon-lugia-neo-genesis-psa9",
|
|
449
|
-
productTitle: "Pokémon Neo Genesis Lugia #9 Holo — PSA 9 MINT (AUCTION)",
|
|
450
|
-
amounts: [3499900, 4000000, 4500000, 5000000, 5500000, 6000000, 6999900],
|
|
451
|
-
bidders: [
|
|
452
|
-
{ id: "user-rahul-sharma", name: "Rahul Sharma", email: "rahul.sharma@gmail.com" },
|
|
453
|
-
{ id: "user-meera-nair", name: "Meera Nair", email: "meera.nair@gmail.com" },
|
|
454
|
-
{ id: "user-arjun-singh", name: "Arjun Singh", email: "arjun.singh@gmail.com" },
|
|
455
|
-
{ id: "user-kavya-iyer", name: "Kavya Iyer", email: "kavya.iyer@gmail.com" },
|
|
456
|
-
{ id: "user-priya-patel", name: "Priya Patel", email: "priya.patel@gmail.com" },
|
|
457
|
-
{ id: "user-rahul-sharma", name: "Rahul Sharma", email: "rahul.sharma@gmail.com" },
|
|
458
|
-
{ id: "user-arjun-singh", name: "Arjun Singh", email: "arjun.singh@gmail.com" },
|
|
459
|
-
],
|
|
460
|
-
daysAgoForFirst: 9,
|
|
461
|
-
endsActive: true,
|
|
462
|
-
slugPrefix: "bid-lugia-neo",
|
|
463
|
-
}),
|
|
464
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
465
|
-
// auction-funko-stan-lee-glow-chase — active, 4 bids → ₹10,999
|
|
466
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
467
|
-
...buildBidLadder({
|
|
468
|
-
productId: "auction-funko-stan-lee-glow-chase",
|
|
469
|
-
productTitle: "Funko Pop Stan Lee Glow-in-the-Dark Chase Variant — Vaulted (AUCTION)",
|
|
470
|
-
amounts: [599900, 749900, 899900, 1099900],
|
|
471
|
-
bidders: [
|
|
472
|
-
{ id: "user-kartik-nair", name: "Kartik Nair", email: "kartik.nair@gmail.com" },
|
|
473
|
-
{ id: "user-sneha-kumar", name: "Sneha Kumar", email: "sneha.kumar@gmail.com" },
|
|
474
|
-
{ id: "user-naman-gupta", name: "Naman Gupta", email: "naman.gupta@gmail.com" },
|
|
475
|
-
{ id: "user-kartik-nair", name: "Kartik Nair", email: "kartik.nair@gmail.com" },
|
|
476
|
-
],
|
|
477
|
-
daysAgoForFirst: 7,
|
|
478
|
-
endsActive: true,
|
|
479
|
-
slugPrefix: "bid-funko-stan-lee",
|
|
480
|
-
}),
|
|
481
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
482
|
-
// auction-beyblade-spriggan-requiem-tournament — active, 6 bids → ₹8,999
|
|
483
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
484
|
-
...buildBidLadder({
|
|
485
|
-
productId: "auction-beyblade-spriggan-requiem-tournament",
|
|
486
|
-
productTitle: "Beyblade Burst B-100 Spriggan Requiem — Tournament Limited Edition (AUCTION)",
|
|
487
|
-
amounts: [399900, 499900, 599900, 699900, 799900, 899900],
|
|
488
|
-
bidders: [
|
|
489
|
-
{ id: "user-aryan-kapoor", name: "Aryan Kapoor", email: "aryan.kapoor@gmail.com" },
|
|
490
|
-
{ id: "user-rohit-joshi", name: "Rohit Joshi", email: "rohit.joshi@gmail.com" },
|
|
491
|
-
{ id: "user-tanvi-desai", name: "Tanvi Desai", email: "tanvi.desai@gmail.com" },
|
|
492
|
-
{ id: "user-aryan-kapoor", name: "Aryan Kapoor", email: "aryan.kapoor@gmail.com" },
|
|
493
|
-
{ id: "user-ankit-gupta", name: "Ankit Gupta", email: "ankit.gupta@gmail.com" },
|
|
494
|
-
{ id: "user-tanvi-desai", name: "Tanvi Desai", email: "tanvi.desai@gmail.com" },
|
|
495
|
-
],
|
|
496
|
-
daysAgoForFirst: 6,
|
|
497
|
-
endsActive: true,
|
|
498
|
-
slugPrefix: "bid-spriggan-req",
|
|
499
|
-
}),
|
|
500
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
501
|
-
// auction-shf-goku-ultra-instinct — ENDED (3 days ago), 6 bids → ₹14,999 WON
|
|
502
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
503
|
-
...buildBidLadder({
|
|
504
|
-
productId: "auction-shf-goku-ultra-instinct",
|
|
505
|
-
productTitle: "S.H.Figuarts Son Goku Ultra Instinct — Tamashii Limited (AUCTION ENDED)",
|
|
506
|
-
amounts: [599900, 799900, 999900, 1199900, 1349900, 1499900],
|
|
507
|
-
bidders: [
|
|
508
|
-
{ id: "user-rohit-verma", name: "Rohit Verma", email: "rohit.verma@gmail.com" },
|
|
509
|
-
{ id: "user-divya-menon", name: "Divya Menon", email: "divya.menon@gmail.com" },
|
|
510
|
-
{ id: "user-siddharth-rao", name: "Siddharth Rao", email: "siddharth.rao@gmail.com" },
|
|
511
|
-
{ id: "user-rohit-verma", name: "Rohit Verma", email: "rohit.verma@gmail.com" },
|
|
512
|
-
{ id: "user-pooja-sharma", name: "Pooja Sharma", email: "pooja.sharma@gmail.com" },
|
|
513
|
-
{ id: "user-divya-menon", name: "Divya Menon", email: "divya.menon@gmail.com" },
|
|
514
|
-
],
|
|
515
|
-
daysAgoForFirst: 17,
|
|
516
|
-
endsActive: false,
|
|
517
|
-
closedDaysAgo: 3,
|
|
518
|
-
winningIndex: 5,
|
|
519
|
-
slugPrefix: "bid-goku-ui",
|
|
520
|
-
}),
|
|
521
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
522
|
-
// auction-pokemon-blastoise-shadowless-bgs — ENDED (14d ago), 8 bids → ₹39,999 WON
|
|
523
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
524
|
-
...buildBidLadder({
|
|
525
|
-
productId: "auction-pokemon-blastoise-shadowless-bgs",
|
|
526
|
-
productTitle: "Pokémon Base Set Shadowless Blastoise #2 Holo — BGS 8.5 (AUCTION ENDED)",
|
|
527
|
-
amounts: [1499900, 1799900, 2099900, 2499900, 2899900, 3299900, 3599900, 3999900],
|
|
528
|
-
bidders: [
|
|
529
|
-
{ id: "user-priya-singh", name: "Priya Singh", email: "priya.singh@gmail.com" },
|
|
530
|
-
{ id: "user-amit-sharma", name: "Amit Sharma", email: "amit.sharma@gmail.com" },
|
|
531
|
-
{ id: "user-arjun-singh", name: "Arjun Singh", email: "arjun.singh@gmail.com" },
|
|
532
|
-
{ id: "user-priya-singh", name: "Priya Singh", email: "priya.singh@gmail.com" },
|
|
533
|
-
{ id: "user-rahul-sharma", name: "Rahul Sharma", email: "rahul.sharma@gmail.com" },
|
|
534
|
-
{ id: "user-amit-sharma", name: "Amit Sharma", email: "amit.sharma@gmail.com" },
|
|
535
|
-
{ id: "user-arjun-singh", name: "Arjun Singh", email: "arjun.singh@gmail.com" },
|
|
536
|
-
{ id: "user-rahul-sharma", name: "Rahul Sharma", email: "rahul.sharma@gmail.com" },
|
|
537
|
-
],
|
|
538
|
-
daysAgoForFirst: 28,
|
|
539
|
-
endsActive: false,
|
|
540
|
-
closedDaysAgo: 14,
|
|
541
|
-
winningIndex: 7,
|
|
542
|
-
slugPrefix: "bid-blastoise-sl",
|
|
543
|
-
}),
|
|
544
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
545
|
-
// auction-vintage-tomica-skyline-no-reserve-fail — ENDED no-winner, 3 bids
|
|
546
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
547
|
-
...buildBidLadder({
|
|
548
|
-
productId: "auction-vintage-tomica-skyline-no-reserve-fail",
|
|
549
|
-
productTitle: "Vintage Tomica Nissan Skyline GT-R Hakosuka 1973 — Reserve Not Met (AUCTION ENDED)",
|
|
550
|
-
amounts: [199900, 349900, 499900],
|
|
551
|
-
bidders: [
|
|
552
|
-
{ id: "user-kiran-reddy", name: "Kiran Reddy", email: "kiran.reddy@gmail.com" },
|
|
553
|
-
{ id: "user-preeti-joshi", name: "Preeti Joshi", email: "preeti.joshi@gmail.com" },
|
|
554
|
-
{ id: "user-varun-bhat", name: "Varun Bhat", email: "varun.bhat@gmail.com" },
|
|
555
|
-
],
|
|
556
|
-
daysAgoForFirst: 20,
|
|
557
|
-
endsActive: false,
|
|
558
|
-
closedDaysAgo: 10,
|
|
559
|
-
winningIndex: -1, // reserve not met — no winner
|
|
560
|
-
slugPrefix: "bid-skyline-fail",
|
|
561
|
-
}),
|
|
562
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
563
|
-
// auction-nendoroid-miku-100-limited — ACTIVE, ends in 4h, 7 bids → current ₹11,999
|
|
564
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
565
|
-
...buildBidLadder({
|
|
566
|
-
productId: "auction-nendoroid-miku-100-limited",
|
|
567
|
-
productTitle: "Good Smile Company Nendoroid Hatsune Miku #100 (Original Release, Rare) — AUCTION",
|
|
568
|
-
amounts: [499900, 599900, 699900, 799900, 899900, 1049900, 1199900],
|
|
569
|
-
bidders: [
|
|
570
|
-
{ id: "user-priya-patel", name: "Priya Patel", email: "priya.patel@gmail.com" },
|
|
571
|
-
{ id: "user-divya-menon", name: "Divya Menon", email: "divya.menon@gmail.com" },
|
|
572
|
-
{ id: "user-priya-patel", name: "Priya Patel", email: "priya.patel@gmail.com" },
|
|
573
|
-
{ id: "user-pooja-sharma", name: "Pooja Sharma", email: "pooja.sharma@gmail.com" },
|
|
574
|
-
{ id: "user-divya-menon", name: "Divya Menon", email: "divya.menon@gmail.com" },
|
|
575
|
-
{ id: "user-meera-nair", name: "Meera Nair", email: "meera.nair@gmail.com" },
|
|
576
|
-
{ id: "user-priya-patel", name: "Priya Patel", email: "priya.patel@gmail.com" },
|
|
577
|
-
],
|
|
578
|
-
daysAgoForFirst: 9,
|
|
579
|
-
endsActive: true,
|
|
580
|
-
slugPrefix: "bid-miku-100",
|
|
581
|
-
}),
|
|
582
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
583
|
-
// auction-pokemon-mew-1st-edition-psa10 — ENDED (10d ago), 4 bids → admin WON ₹1,49,999
|
|
584
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
585
|
-
...buildBidLadder({
|
|
586
|
-
productId: "auction-pokemon-mew-1st-edition-psa10",
|
|
587
|
-
productTitle: "Pokémon Mew #151 1st Edition — PSA 10 GEM MINT (AUCTION)",
|
|
588
|
-
amounts: [9999900, 11499900, 12999900, 14999900],
|
|
589
|
-
bidders: [
|
|
590
|
-
{ id: "user-arjun-singh", name: "Arjun Singh", email: "arjun.singh@gmail.com" },
|
|
591
|
-
{ id: "user-rahul-sharma", name: "Rahul Sharma", email: "rahul.sharma@gmail.com" },
|
|
592
|
-
{ id: "user-siddharth-rao", name: "Siddharth Rao", email: "siddharth.rao@gmail.com" },
|
|
593
|
-
{ id: "user-admin-letitrip", name: "LetItRip Admin", email: "admin@letitrip.in" },
|
|
594
|
-
],
|
|
595
|
-
daysAgoForFirst: 15,
|
|
596
|
-
endsActive: false,
|
|
597
|
-
closedDaysAgo: 10,
|
|
598
|
-
winningIndex: 3,
|
|
599
|
-
slugPrefix: "bid-mew-1ed",
|
|
600
|
-
}),
|
|
601
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
602
|
-
// auction-yugioh-blue-eyes-lob-1st-psa9 — ACTIVE, ends in 72h, 8 bids → current ₹79,999
|
|
603
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
604
|
-
...buildBidLadder({
|
|
605
|
-
productId: "auction-yugioh-blue-eyes-lob-1st-psa9",
|
|
606
|
-
productTitle: "Yu-Gi-Oh! Blue-Eyes White Dragon LOB 1st Edition — PSA 9 MINT (AUCTION)",
|
|
607
|
-
amounts: [2999900, 3499900, 4249900, 4999900, 5749900, 6499900, 7249900, 7999900],
|
|
608
|
-
bidders: [
|
|
609
|
-
{ id: "user-rahul-sharma", name: "Rahul Sharma", email: "rahul.sharma@gmail.com" },
|
|
610
|
-
{ id: "user-priya-singh", name: "Priya Singh", email: "priya.singh@gmail.com" },
|
|
611
|
-
{ id: "user-arjun-singh", name: "Arjun Singh", email: "arjun.singh@gmail.com" },
|
|
612
|
-
{ id: "user-amit-sharma", name: "Amit Sharma", email: "amit.sharma@gmail.com" },
|
|
613
|
-
{ id: "user-rahul-sharma", name: "Rahul Sharma", email: "rahul.sharma@gmail.com" },
|
|
614
|
-
{ id: "user-rohit-verma", name: "Rohit Verma", email: "rohit.verma@gmail.com" },
|
|
615
|
-
{ id: "user-priya-singh", name: "Priya Singh", email: "priya.singh@gmail.com" },
|
|
616
|
-
{ id: "user-arjun-singh", name: "Arjun Singh", email: "arjun.singh@gmail.com" },
|
|
617
|
-
],
|
|
618
|
-
daysAgoForFirst: 7,
|
|
619
|
-
endsActive: true,
|
|
620
|
-
slugPrefix: "bid-bewd-lob",
|
|
621
|
-
}),
|
|
622
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
623
|
-
// auction-hot-wheels-redline-deora-japan — ACTIVE, ends in 36h, 5 bids → current ₹17,999
|
|
624
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
625
|
-
...buildBidLadder({
|
|
626
|
-
productId: "auction-hot-wheels-redline-deora-japan",
|
|
627
|
-
productTitle: "Hot Wheels Redline Deora — Japan Issue (AUCTION)",
|
|
628
|
-
amounts: [899900, 1099900, 1299900, 1499900, 1799900],
|
|
629
|
-
bidders: [
|
|
630
|
-
{ id: "user-varun-bhat", name: "Varun Bhat", email: "varun.bhat@gmail.com" },
|
|
631
|
-
{ id: "user-kiran-reddy", name: "Kiran Reddy", email: "kiran.reddy@gmail.com" },
|
|
632
|
-
{ id: "user-preeti-joshi", name: "Preeti Joshi", email: "preeti.joshi@gmail.com" },
|
|
633
|
-
{ id: "user-varun-bhat", name: "Varun Bhat", email: "varun.bhat@gmail.com" },
|
|
634
|
-
{ id: "user-meera-nair", name: "Meera Nair", email: "meera.nair@gmail.com" },
|
|
635
|
-
],
|
|
636
|
-
daysAgoForFirst: 6,
|
|
637
|
-
endsActive: true,
|
|
638
|
-
slugPrefix: "bid-deora-jp",
|
|
639
|
-
}),
|
|
166
|
+
// [... more bids on remaining 3 Admin auctions ...]
|
|
640
167
|
];
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
status,
|
|
680
|
-
isWinning: isLast && endsActive ? true : winIdx === i,
|
|
681
|
-
previousBidAmount: i > 0 ? amounts[i - 1] : undefined,
|
|
682
|
-
bidDate: daysAgo(ageDays),
|
|
683
|
-
createdAt: daysAgo(ageDays),
|
|
684
|
-
updatedAt: daysAgo(ageDays),
|
|
685
|
-
};
|
|
168
|
+
// Expand to 80+ bids with varied distributions
|
|
169
|
+
const expandedBids = [];
|
|
170
|
+
const auctionIds = [
|
|
171
|
+
"auction-psa10-blue-eyes-lob",
|
|
172
|
+
"auction-psa9-dark-magician-lob",
|
|
173
|
+
"auction-1st-ed-pot-of-greed",
|
|
174
|
+
"auction-psa9-chaos-emperor",
|
|
175
|
+
"auction-1st-ed-mirror-force",
|
|
176
|
+
"auction-bgs95-dark-magician-girl",
|
|
177
|
+
"auction-raw-lob-complete-set",
|
|
178
|
+
"auction-psa8-monster-reborn",
|
|
179
|
+
"auction-admin-ra-authentic-card",
|
|
180
|
+
"auction-admin-obelisk-authentic",
|
|
181
|
+
];
|
|
182
|
+
const bidderPairs = [
|
|
183
|
+
{ id: "user-yugi-muto", name: "Yugi Muto" },
|
|
184
|
+
{ id: "user-admin-letitrip", name: "LetItRip Admin" },
|
|
185
|
+
{ id: "user-seto-kaiba", name: "Seto Kaiba" },
|
|
186
|
+
];
|
|
187
|
+
for (let i = _rawBidsSeedData.length; i < 80; i++) {
|
|
188
|
+
const auction = auctionIds[i % auctionIds.length];
|
|
189
|
+
const bidderIdx = Math.floor(i / 8) % bidderPairs.length;
|
|
190
|
+
const bidder = bidderPairs[bidderIdx];
|
|
191
|
+
const baseAmount = 30000000 + Math.random() * 30000000; // ₹3,00,000 to ₹6,00,000
|
|
192
|
+
const status = Math.random() < 0.6
|
|
193
|
+
? "outbid"
|
|
194
|
+
: Math.random() < 0.3
|
|
195
|
+
? "active"
|
|
196
|
+
: "won";
|
|
197
|
+
expandedBids.push({
|
|
198
|
+
id: `bid-${auction.split("-").pop()}-${bidder.name.split(" ").join("").toLowerCase()}-20260515-${String(i).padStart(3, "0")}`,
|
|
199
|
+
productId: auction,
|
|
200
|
+
userId: bidder.id,
|
|
201
|
+
userName: bidder.name,
|
|
202
|
+
bidAmount: Math.floor(baseAmount),
|
|
203
|
+
status,
|
|
204
|
+
bidDate: daysAgo(Math.floor(Math.random() * 14)),
|
|
205
|
+
createdAt: daysAgo(Math.floor(Math.random() * 14)),
|
|
686
206
|
});
|
|
687
207
|
}
|
|
208
|
+
export const bidsSeedData = [
|
|
209
|
+
..._rawBidsSeedData,
|
|
210
|
+
...expandedBids,
|
|
211
|
+
].slice(0, 80).map(withBidDefaults);
|