@mohasinac/appkit 2.7.11 → 2.7.12

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.
Files changed (141) hide show
  1. package/dist/_internal/server/jobs/core/assignSpinPrize.js +8 -7
  2. package/dist/_internal/server/jobs/core/bundleStockSync.js +11 -6
  3. package/dist/_internal/server/jobs/core/countersReconcile.js +3 -2
  4. package/dist/_internal/server/jobs/core/onProductStockChange.js +12 -7
  5. package/dist/_internal/server/jobs/core/onProductWrite.js +3 -2
  6. package/dist/_internal/server/jobs/core/prizeRevealClose.js +7 -5
  7. package/dist/_internal/server/jobs/core/prizeRevealExpiry.js +11 -6
  8. package/dist/_internal/server/jobs/core/prizeRevealOpen.js +13 -7
  9. package/dist/_internal/server/jobs/core/prizeRevealReminder.js +9 -4
  10. package/dist/_internal/server/jobs/core/triggerEventRaffle.js +3 -2
  11. package/dist/_internal/shared/features/blog/schema.d.ts +4 -4
  12. package/dist/_internal/shared/features/categories/bundle-schemas.d.ts +32 -32
  13. package/dist/_internal/shared/features/events/schema.d.ts +4 -4
  14. package/dist/_internal/shared/features/products/schema.d.ts +20 -20
  15. package/dist/_internal/shared/features/promotions/schema.d.ts +2 -2
  16. package/dist/_internal/shared/features/reviews/schema.d.ts +1 -1
  17. package/dist/constants/field-names.d.ts +813 -0
  18. package/dist/constants/field-names.js +918 -0
  19. package/dist/constants/sort.d.ts +7 -0
  20. package/dist/constants/sort.js +5 -0
  21. package/dist/constants/table-keys.d.ts +48 -0
  22. package/dist/constants/table-keys.js +46 -0
  23. package/dist/features/account/components/AddressesIndexListing.js +9 -6
  24. package/dist/features/admin/components/AdminAllEventEntriesView.js +4 -1
  25. package/dist/features/admin/components/AdminBidsView.js +4 -1
  26. package/dist/features/admin/components/AdminBlogView.js +9 -2
  27. package/dist/features/admin/components/AdminBrandsView.js +9 -2
  28. package/dist/features/admin/components/AdminCarouselView.js +4 -1
  29. package/dist/features/admin/components/AdminCartsView.js +4 -1
  30. package/dist/features/admin/components/AdminCategoriesView.js +9 -2
  31. package/dist/features/admin/components/AdminContactView.js +4 -1
  32. package/dist/features/admin/components/AdminCouponsView.js +4 -1
  33. package/dist/features/admin/components/AdminFaqsView.js +5 -1
  34. package/dist/features/admin/components/AdminFeaturesView.js +5 -2
  35. package/dist/features/admin/components/AdminHistoryView.js +5 -1
  36. package/dist/features/admin/components/AdminNewsletterView.js +4 -1
  37. package/dist/features/admin/components/AdminNotificationsView.js +4 -1
  38. package/dist/features/admin/components/AdminOrdersView.js +14 -12
  39. package/dist/features/admin/components/AdminPayoutsView.js +4 -1
  40. package/dist/features/admin/components/AdminPrizeDrawsView.js +4 -1
  41. package/dist/features/admin/components/AdminProductsView.js +14 -3
  42. package/dist/features/admin/components/AdminReturnRequestsView.js +4 -1
  43. package/dist/features/admin/components/AdminReviewsView.js +4 -1
  44. package/dist/features/admin/components/AdminScammersView.js +4 -1
  45. package/dist/features/admin/components/AdminSessionsView.js +4 -1
  46. package/dist/features/admin/components/AdminStoreAddressesView.js +5 -1
  47. package/dist/features/admin/components/AdminStoresView.js +10 -3
  48. package/dist/features/admin/components/AdminSublistingCategoriesView.js +4 -1
  49. package/dist/features/admin/components/AdminSupportTicketsView.js +4 -1
  50. package/dist/features/admin/components/AdminTeamView.js +4 -1
  51. package/dist/features/admin/components/AdminUsersView.js +9 -12
  52. package/dist/features/admin/components/AdminViewCards.d.ts +12 -0
  53. package/dist/features/admin/components/AdminViewCards.js +53 -0
  54. package/dist/features/admin/components/AdminWishlistsView.js +4 -1
  55. package/dist/features/auctions/repository/bid.repository.js +1 -6
  56. package/dist/features/auctions/schemas/index.d.ts +4 -4
  57. package/dist/features/blog/actions/blog-actions.d.ts +16 -16
  58. package/dist/features/blog/components/BlogFilters.d.ts +28 -28
  59. package/dist/features/blog/components/BlogFilters.js +18 -15
  60. package/dist/features/blog/components/BlogIndexListing.js +20 -16
  61. package/dist/features/blog/schemas/index.d.ts +10 -10
  62. package/dist/features/categories/components/CategoriesIndexListing.js +25 -21
  63. package/dist/features/categories/schemas/index.d.ts +2 -2
  64. package/dist/features/events/components/AdminEventsView.js +5 -1
  65. package/dist/features/events/components/EventFilters.d.ts +24 -24
  66. package/dist/features/events/components/EventFilters.js +16 -13
  67. package/dist/features/events/components/EventStatusBadge.js +1 -0
  68. package/dist/features/events/components/EventsIndexListing.js +31 -26
  69. package/dist/features/events/components/EventsListPageView.js +13 -10
  70. package/dist/features/events/schemas/firestore.d.ts +1 -0
  71. package/dist/features/events/schemas/firestore.js +1 -0
  72. package/dist/features/events/schemas/index.d.ts +1 -1
  73. package/dist/features/events/types/index.d.ts +1 -1
  74. package/dist/features/faq/actions/faq-actions.d.ts +10 -10
  75. package/dist/features/faq/schemas/index.d.ts +4 -4
  76. package/dist/features/orders/components/OrderFilters.d.ts +20 -20
  77. package/dist/features/orders/components/OrderFilters.js +33 -30
  78. package/dist/features/orders/repository/orders.repository.js +1 -15
  79. package/dist/features/orders/schemas/index.d.ts +2 -2
  80. package/dist/features/pre-orders/components/PreOrdersIndexListing.js +35 -31
  81. package/dist/features/pre-orders/schemas/index.d.ts +3 -3
  82. package/dist/features/products/components/AuctionsIndexListing.js +34 -30
  83. package/dist/features/products/components/BidHistory.d.ts +0 -1
  84. package/dist/features/products/components/BidHistory.js +1 -1
  85. package/dist/features/products/components/PrizeDrawsIndexListing.js +44 -40
  86. package/dist/features/products/components/ProductDetailPageView.js +1 -1
  87. package/dist/features/products/components/ProductFilters.d.ts +20 -20
  88. package/dist/features/products/components/ProductFilters.js +62 -59
  89. package/dist/features/products/components/ProductsIndexListing.js +28 -24
  90. package/dist/features/products/components/ProductsIndexPageView.js +18 -10
  91. package/dist/features/products/hooks/useProducts.js +2 -0
  92. package/dist/features/products/repository/products.repository.js +2 -22
  93. package/dist/features/products/schemas/index.d.ts +28 -28
  94. package/dist/features/products/schemas/product-features.validators.d.ts +12 -12
  95. package/dist/features/products/types/index.d.ts +2 -0
  96. package/dist/features/promotions/components/CouponsIndexListing.js +21 -17
  97. package/dist/features/promotions/schemas/index.d.ts +4 -4
  98. package/dist/features/reviews/components/ReviewDetailShell.js +6 -5
  99. package/dist/features/reviews/components/ReviewFilters.d.ts +16 -16
  100. package/dist/features/reviews/components/ReviewFilters.js +10 -7
  101. package/dist/features/reviews/components/ReviewsIndexListing.js +21 -17
  102. package/dist/features/reviews/components/ReviewsList.d.ts +5 -2
  103. package/dist/features/reviews/components/ReviewsList.js +11 -5
  104. package/dist/features/reviews/schemas/firestore.d.ts +1 -0
  105. package/dist/features/reviews/schemas/index.d.ts +8 -8
  106. package/dist/features/reviews/types/index.d.ts +1 -0
  107. package/dist/features/search/schemas/index.d.ts +2 -2
  108. package/dist/features/seller/components/SellerAuctionsView.js +5 -1
  109. package/dist/features/seller/components/SellerBidsView.js +4 -1
  110. package/dist/features/seller/components/SellerCouponsView.js +4 -1
  111. package/dist/features/seller/components/SellerOffersView.js +5 -1
  112. package/dist/features/seller/components/SellerOrdersView.js +4 -1
  113. package/dist/features/seller/components/SellerPayoutsView.js +5 -1
  114. package/dist/features/seller/components/SellerPreOrdersView.js +4 -1
  115. package/dist/features/seller/components/SellerPrizeDrawsView.js +4 -1
  116. package/dist/features/seller/components/SellerProductsView.js +4 -1
  117. package/dist/features/seller/schemas/index.d.ts +10 -10
  118. package/dist/features/stores/api/route.js +10 -1
  119. package/dist/features/stores/components/StoreReviewsListing.js +1 -1
  120. package/dist/features/stores/components/StoresIndexListing.js +24 -20
  121. package/dist/features/stores/schemas/firestore.d.ts +1 -0
  122. package/dist/features/stores/schemas/index.d.ts +4 -4
  123. package/dist/index.d.ts +8 -1
  124. package/dist/index.js +12 -1
  125. package/dist/react/hooks/useUrlTable.js +2 -1
  126. package/dist/seed/bids-seed-data.js +45 -44
  127. package/dist/seed/categories-seed-data.js +41 -40
  128. package/dist/seed/coupons-seed-data.js +41 -40
  129. package/dist/seed/products-auctions-seed-data.js +54 -53
  130. package/dist/seed/products-preorders-seed-data.js +25 -24
  131. package/dist/seed/products-prize-draws-seed-data.js +24 -23
  132. package/dist/seed/products-standard-seed-data.js +294 -293
  133. package/dist/seed/reviews-seed-data.js +61 -60
  134. package/dist/seed/scammers-seed-data.js +3 -2
  135. package/dist/seed/stores-seed-data.js +9 -8
  136. package/dist/seed/support-tickets-seed-data.js +13 -12
  137. package/dist/seed/users-seed-data.js +28 -27
  138. package/dist/tailwind-utilities.css +1 -1
  139. package/dist/utils/sieve-builder.d.ts +41 -0
  140. package/dist/utils/sieve-builder.js +66 -0
  141. package/package.json +1 -1
@@ -6,6 +6,7 @@
6
6
  * id === slug convention enforced throughout.
7
7
  * Prices in INR paise (₹1 = 100 paise).
8
8
  */
9
+ import { PRODUCT_FIELDS, SCHEMA_DEFAULTS } from "../constants/field-names";
9
10
  const NOW = new Date();
10
11
  const hoursAhead = (h) => new Date(NOW.getTime() + h * 3600000);
11
12
  const daysAhead = (n) => new Date(NOW.getTime() + n * 86400000);
@@ -32,7 +33,7 @@ const _rawProductsAuctionsSeedData = [
32
33
  auctionExtensionMinutes: 5,
33
34
  auctionShippingPaidBy: "winner",
34
35
  price: 9999900,
35
- currency: "INR",
36
+ currency: SCHEMA_DEFAULTS.CURRENCY,
36
37
  stockQuantity: 1,
37
38
  availableQuantity: 1,
38
39
  mainImage: "https://images.unsplash.com/photo-1578301978162-7aae4d755744?w=800&h=800&fit=crop",
@@ -41,7 +42,7 @@ const _rawProductsAuctionsSeedData = [
41
42
  "https://images.unsplash.com/photo-1607604276583-eef5d076aa5f?w=800&h=800&fit=crop",
42
43
  "https://images.unsplash.com/photo-1613771404784-3a5686aa2be3?w=800&h=800&fit=crop",
43
44
  ],
44
- status: "published",
45
+ status: PRODUCT_FIELDS.STATUS_VALUES.PUBLISHED,
45
46
  storeName: "Pokémon Palace",
46
47
  storeId: "store-pokemon-palace",
47
48
  featured: true,
@@ -99,7 +100,7 @@ const _rawProductsAuctionsSeedData = [
99
100
  auctionExtensionMinutes: 5,
100
101
  auctionShippingPaidBy: "winner",
101
102
  price: 1499900,
102
- currency: "INR",
103
+ currency: SCHEMA_DEFAULTS.CURRENCY,
103
104
  stockQuantity: 1,
104
105
  availableQuantity: 1,
105
106
  mainImage: "https://images.unsplash.com/photo-1612036782180-6f0b6cd846fe?w=800&h=800&fit=crop",
@@ -108,7 +109,7 @@ const _rawProductsAuctionsSeedData = [
108
109
  "https://images.unsplash.com/photo-1607604276583-eef5d076aa5f?w=800&h=800&fit=crop",
109
110
  "https://images.unsplash.com/photo-1578301978162-7aae4d755744?w=800&h=800&fit=crop",
110
111
  ],
111
- status: "published",
112
+ status: PRODUCT_FIELDS.STATUS_VALUES.PUBLISHED,
112
113
  storeName: "CardGame Hub",
113
114
  storeId: "store-cardgame-hub",
114
115
  featured: true,
@@ -166,7 +167,7 @@ const _rawProductsAuctionsSeedData = [
166
167
  auctionExtensionMinutes: 5,
167
168
  auctionShippingPaidBy: "winner",
168
169
  price: 499900,
169
- currency: "INR",
170
+ currency: SCHEMA_DEFAULTS.CURRENCY,
170
171
  stockQuantity: 1,
171
172
  availableQuantity: 1,
172
173
  mainImage: "https://images.unsplash.com/photo-1581235720704-06d3acfcb36f?w=800&h=800&fit=crop",
@@ -175,7 +176,7 @@ const _rawProductsAuctionsSeedData = [
175
176
  "https://images.unsplash.com/photo-1566576912321-d58ddd7a6088?w=800&h=800&fit=crop",
176
177
  "https://images.unsplash.com/photo-1603584173870-7f23fdae1b7a?w=800&h=800&fit=crop",
177
178
  ],
178
- status: "published",
179
+ status: PRODUCT_FIELDS.STATUS_VALUES.PUBLISHED,
179
180
  storeName: "Diecast Depot",
180
181
  storeId: "store-diecast-depot",
181
182
  featured: false,
@@ -191,7 +192,7 @@ const _rawProductsAuctionsSeedData = [
191
192
  "rare",
192
193
  "auction",
193
194
  ],
194
- condition: "used",
195
+ condition: PRODUCT_FIELDS.CONDITION_VALUES.USED,
195
196
  specifications: [
196
197
  { name: "Year", value: "1967" },
197
198
  { name: "Scale", value: "1:64" },
@@ -234,7 +235,7 @@ const _rawProductsAuctionsSeedData = [
234
235
  auctionExtensionMinutes: 5,
235
236
  auctionShippingPaidBy: "winner",
236
237
  price: 299900,
237
- currency: "INR",
238
+ currency: SCHEMA_DEFAULTS.CURRENCY,
238
239
  stockQuantity: 1,
239
240
  availableQuantity: 1,
240
241
  mainImage: "https://images.unsplash.com/photo-1555680202-c86f0e12f086?w=800&h=800&fit=crop",
@@ -243,7 +244,7 @@ const _rawProductsAuctionsSeedData = [
243
244
  "https://images.unsplash.com/photo-1612287230202-1ff1d85d1bdf?w=800&h=800&fit=crop",
244
245
  "https://images.unsplash.com/photo-1614108831137-558fffac9ead?w=800&h=800&fit=crop",
245
246
  ],
246
- status: "published",
247
+ status: PRODUCT_FIELDS.STATUS_VALUES.PUBLISHED,
247
248
  storeName: "Beyblade Arena",
248
249
  storeId: "store-beyblade-arena",
249
250
  featured: false,
@@ -258,7 +259,7 @@ const _rawProductsAuctionsSeedData = [
258
259
  "vintage",
259
260
  "upcoming-auction",
260
261
  ],
261
- condition: "new",
262
+ condition: PRODUCT_FIELDS.CONDITION_VALUES.NEW,
262
263
  specifications: [
263
264
  { name: "Product", value: "BB-10 Storm Pegasus Starter Set" },
264
265
  { name: "Generation", value: "Metal Fusion (2008)" },
@@ -298,7 +299,7 @@ const _rawProductsAuctionsSeedData = [
298
299
  autoExtendable: false,
299
300
  auctionShippingPaidBy: "winner",
300
301
  price: 999900,
301
- currency: "INR",
302
+ currency: SCHEMA_DEFAULTS.CURRENCY,
302
303
  stockQuantity: 0,
303
304
  availableQuantity: 0,
304
305
  mainImage: "https://images.unsplash.com/photo-1657664072470-99b02c2143f2?w=800&h=800&fit=crop",
@@ -307,7 +308,7 @@ const _rawProductsAuctionsSeedData = [
307
308
  "https://images.unsplash.com/photo-1608889825271-9696283b84bd?w=800&h=800&fit=crop",
308
309
  "https://images.unsplash.com/photo-1599420186946-7b6fb4e297f0?w=800&h=800&fit=crop",
309
310
  ],
310
- status: "sold",
311
+ status: PRODUCT_FIELDS.STATUS_VALUES.SOLD,
311
312
  storeName: "LetItRip Official",
312
313
  storeId: "store-letitrip-official",
313
314
  featured: false,
@@ -321,7 +322,7 @@ const _rawProductsAuctionsSeedData = [
321
322
  "auction",
322
323
  "ended",
323
324
  ],
324
- condition: "new",
325
+ condition: PRODUCT_FIELDS.CONDITION_VALUES.NEW,
325
326
  specifications: [
326
327
  { name: "Grade", value: "Perfect Grade (PG)" },
327
328
  { name: "Scale", value: "1/60" },
@@ -362,7 +363,7 @@ const _rawProductsAuctionsSeedData = [
362
363
  auctionExtensionMinutes: 5,
363
364
  auctionShippingPaidBy: "winner",
364
365
  price: 9999900,
365
- currency: "INR",
366
+ currency: SCHEMA_DEFAULTS.CURRENCY,
366
367
  stockQuantity: 1,
367
368
  availableQuantity: 1,
368
369
  mainImage: "https://images.unsplash.com/photo-1578301978162-7aae4d755744?w=800&h=800&fit=crop",
@@ -370,7 +371,7 @@ const _rawProductsAuctionsSeedData = [
370
371
  "https://images.unsplash.com/photo-1578301978162-7aae4d755744?w=800&h=800&fit=crop",
371
372
  "https://images.unsplash.com/photo-1613771404784-3a5686aa2be3?w=800&h=800&fit=crop",
372
373
  ],
373
- status: "published",
374
+ status: PRODUCT_FIELDS.STATUS_VALUES.PUBLISHED,
374
375
  storeName: "Pokémon Palace",
375
376
  storeId: "store-pokemon-palace",
376
377
  featured: false,
@@ -418,7 +419,7 @@ const _rawProductsAuctionsSeedData = [
418
419
  auctionExtensionMinutes: 5,
419
420
  auctionShippingPaidBy: "winner",
420
421
  price: 2999900,
421
- currency: "INR",
422
+ currency: SCHEMA_DEFAULTS.CURRENCY,
422
423
  stockQuantity: 1,
423
424
  availableQuantity: 1,
424
425
  mainImage: "https://images.unsplash.com/photo-1612036782180-6f0b6cd846fe?w=800&h=800&fit=crop",
@@ -426,7 +427,7 @@ const _rawProductsAuctionsSeedData = [
426
427
  "https://images.unsplash.com/photo-1612036782180-6f0b6cd846fe?w=800&h=800&fit=crop",
427
428
  "https://images.unsplash.com/photo-1607604276583-eef5d076aa5f?w=800&h=800&fit=crop",
428
429
  ],
429
- status: "published",
430
+ status: PRODUCT_FIELDS.STATUS_VALUES.PUBLISHED,
430
431
  storeName: "CardGame Hub",
431
432
  storeId: "store-cardgame-hub",
432
433
  featured: true,
@@ -474,7 +475,7 @@ const _rawProductsAuctionsSeedData = [
474
475
  auctionExtensionMinutes: 5,
475
476
  auctionShippingPaidBy: "winner",
476
477
  price: 899900,
477
- currency: "INR",
478
+ currency: SCHEMA_DEFAULTS.CURRENCY,
478
479
  stockQuantity: 1,
479
480
  availableQuantity: 1,
480
481
  mainImage: "https://images.unsplash.com/photo-1581235720704-06d3acfcb36f?w=800&h=800&fit=crop",
@@ -482,13 +483,13 @@ const _rawProductsAuctionsSeedData = [
482
483
  "https://images.unsplash.com/photo-1566576912321-d58ddd7a6088?w=800&h=800&fit=crop",
483
484
  "https://images.unsplash.com/photo-1603584173870-7f23fdae1b7a?w=800&h=800&fit=crop",
484
485
  ],
485
- status: "published",
486
+ status: PRODUCT_FIELDS.STATUS_VALUES.PUBLISHED,
486
487
  storeName: "Diecast Depot",
487
488
  storeId: "store-diecast-depot",
488
489
  featured: false,
489
490
  isPromoted: true,
490
491
  tags: ["hot-wheels", "redline", "1968", "deora", "copper", "spectraflame", "vintage", "rare", "auction"],
491
- condition: "used",
492
+ condition: PRODUCT_FIELDS.CONDITION_VALUES.USED,
492
493
  specifications: [
493
494
  { name: "Year", value: "1968" },
494
495
  { name: "Scale", value: "1:64" },
@@ -531,7 +532,7 @@ const _rawProductsAuctionsSeedData = [
531
532
  auctionExtensionMinutes: 5,
532
533
  auctionShippingPaidBy: "winner",
533
534
  price: 999900,
534
- currency: "INR",
535
+ currency: SCHEMA_DEFAULTS.CURRENCY,
535
536
  stockQuantity: 1,
536
537
  availableQuantity: 1,
537
538
  mainImage: "https://images.unsplash.com/photo-1657664072470-99b02c2143f2?w=800&h=800&fit=crop",
@@ -539,13 +540,13 @@ const _rawProductsAuctionsSeedData = [
539
540
  "https://images.unsplash.com/photo-1657664072470-99b02c2143f2?w=800&h=800&fit=crop",
540
541
  "https://images.unsplash.com/photo-1608889825271-9696283b84bd?w=800&h=800&fit=crop",
541
542
  ],
542
- status: "published",
543
+ status: PRODUCT_FIELDS.STATUS_VALUES.PUBLISHED,
543
544
  storeName: "Gundam Galaxy",
544
545
  storeId: "store-gundam-galaxy",
545
546
  featured: false,
546
547
  isPromoted: false,
547
548
  tags: ["gunpla", "perfect-grade", "pg", "astray-red-frame", "bandai", "factory-sealed", "upcoming-auction"],
548
- condition: "new",
549
+ condition: PRODUCT_FIELDS.CONDITION_VALUES.NEW,
549
550
  specifications: [
550
551
  { name: "Grade", value: "Perfect Grade (PG)" },
551
552
  { name: "Scale", value: "1/60" },
@@ -585,7 +586,7 @@ const _rawProductsAuctionsSeedData = [
585
586
  auctionExtensionMinutes: 5,
586
587
  auctionShippingPaidBy: "winner",
587
588
  price: 499900,
588
- currency: "INR",
589
+ currency: SCHEMA_DEFAULTS.CURRENCY,
589
590
  stockQuantity: 1,
590
591
  availableQuantity: 1,
591
592
  mainImage: "https://images.unsplash.com/photo-1608889825271-9696283b84bd?w=800&h=800&fit=crop",
@@ -593,13 +594,13 @@ const _rawProductsAuctionsSeedData = [
593
594
  "https://images.unsplash.com/photo-1578632767115-351597cf2477?w=800&h=800&fit=crop",
594
595
  "https://images.unsplash.com/photo-1608889825271-9696283b84bd?w=800&h=800&fit=crop",
595
596
  ],
596
- status: "published",
597
+ status: PRODUCT_FIELDS.STATUS_VALUES.PUBLISHED,
597
598
  storeName: "Tokyo Toys India",
598
599
  storeId: "store-tokyo-toys-india",
599
600
  featured: false,
600
601
  isPromoted: true,
601
602
  tags: ["nendoroid", "hatsune-miku", "#100", "original-2009", "rare", "good-smile", "vocaloid", "auction"],
602
- condition: "used",
603
+ condition: PRODUCT_FIELDS.CONDITION_VALUES.USED,
603
604
  specifications: [
604
605
  { name: "Nendoroid Number", value: "#100" },
605
606
  { name: "Character", value: "Hatsune Miku" },
@@ -640,7 +641,7 @@ const _rawProductsAuctionsSeedData = [
640
641
  autoExtendable: false,
641
642
  auctionShippingPaidBy: "winner",
642
643
  price: 299900,
643
- currency: "INR",
644
+ currency: SCHEMA_DEFAULTS.CURRENCY,
644
645
  stockQuantity: 0,
645
646
  availableQuantity: 0,
646
647
  mainImage: "https://images.unsplash.com/photo-1578632767115-351597cf2477?w=800&h=800&fit=crop",
@@ -649,7 +650,7 @@ const _rawProductsAuctionsSeedData = [
649
650
  "https://images.unsplash.com/photo-1560762484-813fc97650a0?w=800&h=800&fit=crop",
650
651
  "https://images.unsplash.com/photo-1608889825271-9696283b84bd?w=800&h=800&fit=crop",
651
652
  ],
652
- status: "sold",
653
+ status: PRODUCT_FIELDS.STATUS_VALUES.SOLD,
653
654
  storeName: "Diecast Depot",
654
655
  storeId: "store-diecast-depot",
655
656
  featured: false,
@@ -665,7 +666,7 @@ const _rawProductsAuctionsSeedData = [
665
666
  "auction",
666
667
  "ended",
667
668
  ],
668
- condition: "used",
669
+ condition: PRODUCT_FIELDS.CONDITION_VALUES.USED,
669
670
  specifications: [
670
671
  { name: "Character", value: "Bulma" },
671
672
  { name: "Series", value: "Dragon Ball Z" },
@@ -706,7 +707,7 @@ const _rawProductsAuctionsSeedData = [
706
707
  auctionExtensionMinutes: 5,
707
708
  auctionShippingPaidBy: "winner",
708
709
  price: 3499900,
709
- currency: "INR",
710
+ currency: SCHEMA_DEFAULTS.CURRENCY,
710
711
  stockQuantity: 1,
711
712
  availableQuantity: 1,
712
713
  mainImage: "https://images.unsplash.com/photo-1613771404784-3a5686aa2be3?w=800&h=800&fit=crop",
@@ -714,7 +715,7 @@ const _rawProductsAuctionsSeedData = [
714
715
  "https://images.unsplash.com/photo-1613771404784-3a5686aa2be3?w=800&h=800&fit=crop",
715
716
  "https://images.unsplash.com/photo-1578301978162-7aae4d755744?w=800&h=800&fit=crop",
716
717
  ],
717
- status: "published",
718
+ status: PRODUCT_FIELDS.STATUS_VALUES.PUBLISHED,
718
719
  storeName: "Pokémon Palace",
719
720
  storeId: "store-pokemon-palace",
720
721
  featured: false,
@@ -760,20 +761,20 @@ const _rawProductsAuctionsSeedData = [
760
761
  auctionExtensionMinutes: 5,
761
762
  auctionShippingPaidBy: "winner",
762
763
  price: 599900,
763
- currency: "INR",
764
+ currency: SCHEMA_DEFAULTS.CURRENCY,
764
765
  stockQuantity: 1,
765
766
  availableQuantity: 1,
766
767
  mainImage: "https://images.unsplash.com/photo-1608889825271-9696283b84bd?w=800&h=800&fit=crop",
767
768
  images: [
768
769
  "https://images.unsplash.com/photo-1608889825271-9696283b84bd?w=800&h=800&fit=crop",
769
770
  ],
770
- status: "published",
771
+ status: PRODUCT_FIELDS.STATUS_VALUES.PUBLISHED,
771
772
  storeName: "Tokyo Toys India",
772
773
  storeId: "store-tokyo-toys-india",
773
774
  featured: false,
774
775
  isPromoted: false,
775
776
  tags: ["funko", "stan-lee", "glow-chase", "vaulted", "marvel", "auction"],
776
- condition: "new",
777
+ condition: PRODUCT_FIELDS.CONDITION_VALUES.NEW,
777
778
  specifications: [
778
779
  { name: "Variant", value: "Glow-in-the-Dark Chase (1-in-6)" },
779
780
  { name: "Status", value: "Vaulted" },
@@ -813,7 +814,7 @@ const _rawProductsAuctionsSeedData = [
813
814
  auctionExtensionMinutes: 5,
814
815
  auctionShippingPaidBy: "winner",
815
816
  price: 399900,
816
- currency: "INR",
817
+ currency: SCHEMA_DEFAULTS.CURRENCY,
817
818
  stockQuantity: 1,
818
819
  availableQuantity: 1,
819
820
  mainImage: "https://images.unsplash.com/photo-1614108831137-558fffac9ead?w=800&h=800&fit=crop",
@@ -821,13 +822,13 @@ const _rawProductsAuctionsSeedData = [
821
822
  "https://images.unsplash.com/photo-1614108831137-558fffac9ead?w=800&h=800&fit=crop",
822
823
  "https://images.unsplash.com/photo-1555680202-c86f0e12f086?w=800&h=800&fit=crop",
823
824
  ],
824
- status: "published",
825
+ status: PRODUCT_FIELDS.STATUS_VALUES.PUBLISHED,
825
826
  storeName: "Beyblade Arena",
826
827
  storeId: "store-beyblade-arena",
827
828
  featured: true,
828
829
  isPromoted: false,
829
830
  tags: ["beyblade", "burst", "spriggan-requiem", "tournament", "limited", "auction"],
830
- condition: "new",
831
+ condition: PRODUCT_FIELDS.CONDITION_VALUES.NEW,
831
832
  specifications: [
832
833
  { name: "Product", value: "B-100 Spriggan Requiem Tournament" },
833
834
  { name: "Edition", value: "Tournament Limited (<500 made)" },
@@ -867,20 +868,20 @@ const _rawProductsAuctionsSeedData = [
867
868
  auctionExtensionMinutes: 10,
868
869
  auctionShippingPaidBy: "winner",
869
870
  price: 49999900,
870
- currency: "INR",
871
+ currency: SCHEMA_DEFAULTS.CURRENCY,
871
872
  stockQuantity: 1,
872
873
  availableQuantity: 1,
873
874
  mainImage: "https://images.unsplash.com/photo-1578301978162-7aae4d755744?w=800&h=800&fit=crop",
874
875
  images: [
875
876
  "https://images.unsplash.com/photo-1578301978162-7aae4d755744?w=800&h=800&fit=crop",
876
877
  ],
877
- status: "published",
878
+ status: PRODUCT_FIELDS.STATUS_VALUES.PUBLISHED,
878
879
  storeName: "Pokémon Palace",
879
880
  storeId: "store-pokemon-palace",
880
881
  featured: true,
881
882
  isPromoted: true,
882
883
  tags: ["pokemon", "trophy-pikachu", "worlds-2006", "promo", "ultra-rare", "upcoming-auction"],
883
- condition: "used",
884
+ condition: PRODUCT_FIELDS.CONDITION_VALUES.USED,
884
885
  specifications: [
885
886
  { name: "Card", value: "Trophy Pikachu (Worlds 2006 Staff Promo)" },
886
887
  { name: "Provenance", value: "Ex-WCS judge" },
@@ -919,7 +920,7 @@ const _rawProductsAuctionsSeedData = [
919
920
  auctionExtensionMinutes: 5,
920
921
  auctionShippingPaidBy: "winner",
921
922
  price: 1499900,
922
- currency: "INR",
923
+ currency: SCHEMA_DEFAULTS.CURRENCY,
923
924
  stockQuantity: 1,
924
925
  availableQuantity: 1,
925
926
  mainImage: "https://images.unsplash.com/photo-1566576912321-d58ddd7a6088?w=800&h=800&fit=crop",
@@ -927,13 +928,13 @@ const _rawProductsAuctionsSeedData = [
927
928
  "https://images.unsplash.com/photo-1566576912321-d58ddd7a6088?w=800&h=800&fit=crop",
928
929
  "https://images.unsplash.com/photo-1581235720704-06d3acfcb36f?w=800&h=800&fit=crop",
929
930
  ],
930
- status: "published",
931
+ status: PRODUCT_FIELDS.STATUS_VALUES.PUBLISHED,
931
932
  storeName: "Diecast Depot",
932
933
  storeId: "store-diecast-depot",
933
934
  featured: false,
934
935
  isPromoted: false,
935
936
  tags: ["hot-wheels", "super-treasure-hunt", "2024", "full-set", "upcoming-auction"],
936
- condition: "new",
937
+ condition: PRODUCT_FIELDS.CONDITION_VALUES.NEW,
937
938
  specifications: [
938
939
  { name: "Year", value: "2024" },
939
940
  { name: "Cars", value: "All 15 STH" },
@@ -972,20 +973,20 @@ const _rawProductsAuctionsSeedData = [
972
973
  autoExtendable: false,
973
974
  auctionShippingPaidBy: "winner",
974
975
  price: 599900,
975
- currency: "INR",
976
+ currency: SCHEMA_DEFAULTS.CURRENCY,
976
977
  stockQuantity: 0,
977
978
  availableQuantity: 0,
978
979
  mainImage: "https://images.unsplash.com/photo-1578632767115-351597cf2477?w=800&h=800&fit=crop",
979
980
  images: [
980
981
  "https://images.unsplash.com/photo-1578632767115-351597cf2477?w=800&h=800&fit=crop",
981
982
  ],
982
- status: "sold",
983
+ status: PRODUCT_FIELDS.STATUS_VALUES.SOLD,
983
984
  storeName: "Tokyo Toys India",
984
985
  storeId: "store-tokyo-toys-india",
985
986
  featured: false,
986
987
  isPromoted: false,
987
988
  tags: ["shfiguarts", "goku", "ultra-instinct", "dbz", "auction", "ended"],
988
- condition: "new",
989
+ condition: PRODUCT_FIELDS.CONDITION_VALUES.NEW,
989
990
  specifications: [
990
991
  { name: "Line", value: "S.H.Figuarts" },
991
992
  { name: "Character", value: "Goku Ultra Instinct" },
@@ -1021,14 +1022,14 @@ const _rawProductsAuctionsSeedData = [
1021
1022
  autoExtendable: false,
1022
1023
  auctionShippingPaidBy: "winner",
1023
1024
  price: 1499900,
1024
- currency: "INR",
1025
+ currency: SCHEMA_DEFAULTS.CURRENCY,
1025
1026
  stockQuantity: 0,
1026
1027
  availableQuantity: 0,
1027
1028
  mainImage: "https://images.unsplash.com/photo-1607604276583-eef5d076aa5f?w=800&h=800&fit=crop",
1028
1029
  images: [
1029
1030
  "https://images.unsplash.com/photo-1607604276583-eef5d076aa5f?w=800&h=800&fit=crop",
1030
1031
  ],
1031
- status: "sold",
1032
+ status: PRODUCT_FIELDS.STATUS_VALUES.SOLD,
1032
1033
  storeName: "Pokémon Palace",
1033
1034
  storeId: "store-pokemon-palace",
1034
1035
  featured: false,
@@ -1070,20 +1071,20 @@ const _rawProductsAuctionsSeedData = [
1070
1071
  autoExtendable: false,
1071
1072
  auctionShippingPaidBy: "winner",
1072
1073
  price: 199900,
1073
- currency: "INR",
1074
+ currency: SCHEMA_DEFAULTS.CURRENCY,
1074
1075
  stockQuantity: 1,
1075
1076
  availableQuantity: 1,
1076
1077
  mainImage: "https://images.unsplash.com/photo-1603584173870-7f23fdae1b7a?w=800&h=800&fit=crop",
1077
1078
  images: [
1078
1079
  "https://images.unsplash.com/photo-1603584173870-7f23fdae1b7a?w=800&h=800&fit=crop",
1079
1080
  ],
1080
- status: "draft",
1081
+ status: PRODUCT_FIELDS.STATUS_VALUES.DRAFT,
1081
1082
  storeName: "Diecast Depot",
1082
1083
  storeId: "store-diecast-depot",
1083
1084
  featured: false,
1084
1085
  isPromoted: false,
1085
1086
  tags: ["tomica", "skyline", "hakosuka", "vintage", "auction", "ended", "no-winner"],
1086
- condition: "used",
1087
+ condition: PRODUCT_FIELDS.CONDITION_VALUES.USED,
1087
1088
  specifications: [
1088
1089
  { name: "Year", value: "1973" },
1089
1090
  { name: "Reserve Price", value: "₹8,000 (NOT MET)" },
@@ -1119,14 +1120,14 @@ const _rawProductsAuctionsSeedData = [
1119
1120
  autoExtendable: false,
1120
1121
  auctionShippingPaidBy: "winner",
1121
1122
  price: 999900,
1122
- currency: "INR",
1123
+ currency: SCHEMA_DEFAULTS.CURRENCY,
1123
1124
  stockQuantity: 1,
1124
1125
  availableQuantity: 1,
1125
1126
  mainImage: "https://images.unsplash.com/photo-1612036782180-6f0b6cd846fe?w=800&h=800&fit=crop",
1126
1127
  images: [
1127
1128
  "https://images.unsplash.com/photo-1612036782180-6f0b6cd846fe?w=800&h=800&fit=crop",
1128
1129
  ],
1129
- status: "draft",
1130
+ status: PRODUCT_FIELDS.STATUS_VALUES.DRAFT,
1130
1131
  storeName: "CardGame Hub",
1131
1132
  storeId: "store-cardgame-hub",
1132
1133
  featured: false,
@@ -5,6 +5,7 @@
5
5
  * id === slug convention enforced throughout.
6
6
  * Prices in INR paise (₹1 = 100 paise).
7
7
  */
8
+ import { PRODUCT_FIELDS, SCHEMA_DEFAULTS } from "../constants/field-names";
8
9
  const NOW = new Date();
9
10
  const daysAhead = (n) => new Date(NOW.getTime() + n * 86400000);
10
11
  const daysAgo = (n) => new Date(NOW.getTime() - n * 86400000);
@@ -27,7 +28,7 @@ const _rawProductsPreOrdersSeedData = [
27
28
  preOrderProductionStatus: "in_production",
28
29
  preOrderCancellable: true,
29
30
  price: 499900,
30
- currency: "INR",
31
+ currency: SCHEMA_DEFAULTS.CURRENCY,
31
32
  stockQuantity: 100,
32
33
  availableQuantity: 63,
33
34
  mainImage: "https://images.unsplash.com/photo-1612287230202-1ff1d85d1bdf?w=800&h=800&fit=crop",
@@ -36,7 +37,7 @@ const _rawProductsPreOrdersSeedData = [
36
37
  "https://images.unsplash.com/photo-1555680202-c86f0e12f086?w=800&h=800&fit=crop",
37
38
  "https://images.unsplash.com/photo-1614108831137-558fffac9ead?w=800&h=800&fit=crop",
38
39
  ],
39
- status: "published",
40
+ status: PRODUCT_FIELDS.STATUS_VALUES.PUBLISHED,
40
41
  storeName: "Beyblade Arena",
41
42
  storeId: "store-beyblade-arena",
42
43
  featured: false,
@@ -49,7 +50,7 @@ const _rawProductsPreOrdersSeedData = [
49
50
  "takara-tomy",
50
51
  "booster",
51
52
  ],
52
- condition: "new",
53
+ condition: PRODUCT_FIELDS.CONDITION_VALUES.NEW,
53
54
  specifications: [
54
55
  { name: "Generation", value: "Beyblade X" },
55
56
  { name: "Product Code", value: "BX-10" },
@@ -89,7 +90,7 @@ const _rawProductsPreOrdersSeedData = [
89
90
  preOrderProductionStatus: "in_production",
90
91
  preOrderCancellable: true,
91
92
  price: 999900,
92
- currency: "INR",
93
+ currency: SCHEMA_DEFAULTS.CURRENCY,
93
94
  stockQuantity: 50,
94
95
  availableQuantity: 28,
95
96
  mainImage: "https://images.unsplash.com/photo-1607604276583-eef5d076aa5f?w=800&h=800&fit=crop",
@@ -98,7 +99,7 @@ const _rawProductsPreOrdersSeedData = [
98
99
  "https://images.unsplash.com/photo-1613771404784-3a5686aa2be3?w=800&h=800&fit=crop",
99
100
  "https://images.unsplash.com/photo-1578301978162-7aae4d755744?w=800&h=800&fit=crop",
100
101
  ],
101
- status: "published",
102
+ status: PRODUCT_FIELDS.STATUS_VALUES.PUBLISHED,
102
103
  storeName: "Pokémon Palace",
103
104
  storeId: "store-pokemon-palace",
104
105
  featured: true,
@@ -112,7 +113,7 @@ const _rawProductsPreOrdersSeedData = [
112
113
  "pre-order",
113
114
  "scarlet-violet",
114
115
  ],
115
- condition: "new",
116
+ condition: PRODUCT_FIELDS.CONDITION_VALUES.NEW,
116
117
  specifications: [
117
118
  { name: "Set", value: "Scarlet & Violet — Shrouded Fable" },
118
119
  { name: "Packs per Box", value: "36" },
@@ -152,7 +153,7 @@ const _rawProductsPreOrdersSeedData = [
152
153
  preOrderProductionStatus: "ready_to_ship",
153
154
  preOrderCancellable: false,
154
155
  price: 699900,
155
- currency: "INR",
156
+ currency: SCHEMA_DEFAULTS.CURRENCY,
156
157
  stockQuantity: 30,
157
158
  availableQuantity: 12,
158
159
  mainImage: "https://images.unsplash.com/photo-1560762484-813fc97650a0?w=800&h=800&fit=crop",
@@ -161,7 +162,7 @@ const _rawProductsPreOrdersSeedData = [
161
162
  "https://images.unsplash.com/photo-1578632767115-351597cf2477?w=800&h=800&fit=crop",
162
163
  "https://images.unsplash.com/photo-1608889825271-9696283b84bd?w=800&h=800&fit=crop",
163
164
  ],
164
- status: "published",
165
+ status: PRODUCT_FIELDS.STATUS_VALUES.PUBLISHED,
165
166
  storeName: "LetItRip Official",
166
167
  storeId: "store-letitrip-official",
167
168
  featured: false,
@@ -175,7 +176,7 @@ const _rawProductsPreOrdersSeedData = [
175
176
  "tamashii",
176
177
  "pre-order",
177
178
  ],
178
- condition: "new",
179
+ condition: PRODUCT_FIELDS.CONDITION_VALUES.NEW,
179
180
  specifications: [
180
181
  { name: "Character", value: "Broly" },
181
182
  { name: "Series", value: "Dragon Ball Super: Super Hero" },
@@ -215,7 +216,7 @@ const _rawProductsPreOrdersSeedData = [
215
216
  preOrderProductionStatus: "upcoming",
216
217
  preOrderCancellable: true,
217
218
  price: 1499900,
218
- currency: "INR",
219
+ currency: SCHEMA_DEFAULTS.CURRENCY,
219
220
  stockQuantity: 20,
220
221
  availableQuantity: 20,
221
222
  mainImage: "https://images.unsplash.com/photo-1657664072470-99b02c2143f2?w=800&h=800&fit=crop",
@@ -224,7 +225,7 @@ const _rawProductsPreOrdersSeedData = [
224
225
  "https://images.unsplash.com/photo-1608889825271-9696283b84bd?w=800&h=800&fit=crop",
225
226
  "https://images.unsplash.com/photo-1578632767115-351597cf2477?w=800&h=800&fit=crop",
226
227
  ],
227
- status: "published",
228
+ status: PRODUCT_FIELDS.STATUS_VALUES.PUBLISHED,
228
229
  storeName: "LetItRip Official",
229
230
  storeId: "store-letitrip-official",
230
231
  featured: true,
@@ -238,7 +239,7 @@ const _rawProductsPreOrdersSeedData = [
238
239
  "upcoming",
239
240
  "pre-order",
240
241
  ],
241
- condition: "new",
242
+ condition: PRODUCT_FIELDS.CONDITION_VALUES.NEW,
242
243
  specifications: [
243
244
  { name: "Grade", value: "Perfect Grade (PG)" },
244
245
  { name: "Scale", value: "1/60" },
@@ -278,7 +279,7 @@ const _rawProductsPreOrdersSeedData = [
278
279
  preOrderProductionStatus: "in_production",
279
280
  preOrderCancellable: true,
280
281
  price: 449900,
281
- currency: "INR",
282
+ currency: SCHEMA_DEFAULTS.CURRENCY,
282
283
  stockQuantity: 40,
283
284
  availableQuantity: 26,
284
285
  mainImage: "https://images.unsplash.com/photo-1613771404784-3a5686aa2be3?w=800&h=800&fit=crop",
@@ -286,13 +287,13 @@ const _rawProductsPreOrdersSeedData = [
286
287
  "https://images.unsplash.com/photo-1613771404784-3a5686aa2be3?w=800&h=800&fit=crop",
287
288
  "https://images.unsplash.com/photo-1607604276583-eef5d076aa5f?w=800&h=800&fit=crop",
288
289
  ],
289
- status: "published",
290
+ status: PRODUCT_FIELDS.STATUS_VALUES.PUBLISHED,
290
291
  storeName: "Pokémon Palace",
291
292
  storeId: "store-pokemon-palace",
292
293
  featured: false,
293
294
  isPromoted: false,
294
295
  tags: ["pokemon", "stellar-crown", "etb", "scarlet-violet", "pre-order", "sealed"],
295
- condition: "new",
296
+ condition: PRODUCT_FIELDS.CONDITION_VALUES.NEW,
296
297
  specifications: [
297
298
  { name: "Set", value: "Scarlet & Violet — Stellar Crown" },
298
299
  { name: "Contents", value: "9 packs, 65 sleeves, energy, accessories" },
@@ -331,7 +332,7 @@ const _rawProductsPreOrdersSeedData = [
331
332
  preOrderProductionStatus: "in_production",
332
333
  preOrderCancellable: true,
333
334
  price: 599900,
334
- currency: "INR",
335
+ currency: SCHEMA_DEFAULTS.CURRENCY,
335
336
  stockQuantity: 80,
336
337
  availableQuantity: 49,
337
338
  mainImage: "https://images.unsplash.com/photo-1612287230202-1ff1d85d1bdf?w=800&h=800&fit=crop",
@@ -339,13 +340,13 @@ const _rawProductsPreOrdersSeedData = [
339
340
  "https://images.unsplash.com/photo-1555680202-c86f0e12f086?w=800&h=800&fit=crop",
340
341
  "https://images.unsplash.com/photo-1612287230202-1ff1d85d1bdf?w=800&h=800&fit=crop",
341
342
  ],
342
- status: "published",
343
+ status: PRODUCT_FIELDS.STATUS_VALUES.PUBLISHED,
343
344
  storeName: "Beyblade Arena",
344
345
  storeId: "store-beyblade-arena",
345
346
  featured: false,
346
347
  isPromoted: true,
347
348
  tags: ["beyblade-x", "bx-20", "phoenix-wing", "takara-tomy", "pre-order", "second-wave"],
348
- condition: "new",
349
+ condition: PRODUCT_FIELDS.CONDITION_VALUES.NEW,
349
350
  specifications: [
350
351
  { name: "Generation", value: "Beyblade X" },
351
352
  { name: "Product Code", value: "BX-20" },
@@ -384,7 +385,7 @@ const _rawProductsPreOrdersSeedData = [
384
385
  preOrderProductionStatus: "in_production",
385
386
  preOrderCancellable: true,
386
387
  price: 399900,
387
- currency: "INR",
388
+ currency: SCHEMA_DEFAULTS.CURRENCY,
388
389
  stockQuantity: 25,
389
390
  availableQuantity: 16,
390
391
  mainImage: "https://images.unsplash.com/photo-1657664072470-99b02c2143f2?w=800&h=800&fit=crop",
@@ -392,13 +393,13 @@ const _rawProductsPreOrdersSeedData = [
392
393
  "https://images.unsplash.com/photo-1608889825271-9696283b84bd?w=800&h=800&fit=crop",
393
394
  "https://images.unsplash.com/photo-1657664072470-99b02c2143f2?w=800&h=800&fit=crop",
394
395
  ],
395
- status: "published",
396
+ status: PRODUCT_FIELDS.STATUS_VALUES.PUBLISHED,
396
397
  storeName: "Gundam Galaxy",
397
398
  storeId: "store-gundam-galaxy",
398
399
  featured: false,
399
400
  isPromoted: false,
400
401
  tags: ["gunpla", "real-grade", "rg", "hi-nu-gundam", "ver-ka", "bandai", "katoki", "pre-order", "fin-funnel"],
401
- condition: "new",
402
+ condition: PRODUCT_FIELDS.CONDITION_VALUES.NEW,
402
403
  specifications: [
403
404
  { name: "Grade", value: "Real Grade (RG)" },
404
405
  { name: "Scale", value: "1/144" },
@@ -437,7 +438,7 @@ const _rawProductsPreOrdersSeedData = [
437
438
  preOrderProductionStatus: "in_production",
438
439
  preOrderCancellable: false,
439
440
  price: 649900,
440
- currency: "INR",
441
+ currency: SCHEMA_DEFAULTS.CURRENCY,
441
442
  stockQuantity: 15,
442
443
  availableQuantity: 0,
443
444
  mainImage: "https://images.unsplash.com/photo-1581235720704-06d3acfcb36f?w=800&h=800&fit=crop",
@@ -446,7 +447,7 @@ const _rawProductsPreOrdersSeedData = [
446
447
  "https://images.unsplash.com/photo-1566576912321-d58ddd7a6088?w=800&h=800&fit=crop",
447
448
  "https://images.unsplash.com/photo-1603584173870-7f23fdae1b7a?w=800&h=800&fit=crop",
448
449
  ],
449
- status: "out_of_stock",
450
+ status: PRODUCT_FIELDS.STATUS_VALUES.OUT_OF_STOCK,
450
451
  storeName: "Diecast Depot",
451
452
  storeId: "store-diecast-depot",
452
453
  featured: false,
@@ -459,7 +460,7 @@ const _rawProductsPreOrdersSeedData = [
459
460
  "sold-out",
460
461
  "pre-order-closed",
461
462
  ],
462
- condition: "new",
463
+ condition: PRODUCT_FIELDS.CONDITION_VALUES.NEW,
463
464
  specifications: [
464
465
  { name: "Product", value: "RLC 2026 Annual Membership" },
465
466
  { name: "Status", value: "SOLD OUT — all 15 slots reserved" },