@mohasinac/appkit 2.7.53 → 2.7.55

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 (197) hide show
  1. package/dist/_internal/client/features/layout/DashboardLayoutClient.js +1 -1
  2. package/dist/_internal/server/jobs/core/auctionSettlement.js +6 -3
  3. package/dist/_internal/server/jobs/core/bundleStockSync.js +9 -7
  4. package/dist/_internal/server/jobs/core/onProductStockChange.d.ts +12 -3
  5. package/dist/_internal/server/jobs/core/onProductStockChange.js +12 -13
  6. package/dist/_internal/server/jobs/core/onProductWrite.js +1 -3
  7. package/dist/_internal/server/jobs/handlers/onProductStockChange.js +11 -2
  8. package/dist/_internal/server/jobs/runtime/adapters/firebase.js +5 -14
  9. package/dist/_internal/shared/actions/action-registry.js +827 -4
  10. package/dist/_internal/shared/features/events/schema.d.ts +4 -4
  11. package/dist/client.d.ts +2 -0
  12. package/dist/client.js +1 -0
  13. package/dist/constants/api-endpoints.d.ts +3 -0
  14. package/dist/constants/api-endpoints.js +1 -0
  15. package/dist/constants/field-names.d.ts +4 -3
  16. package/dist/constants/field-names.js +8 -8
  17. package/dist/errors/error-codes.d.ts +3 -0
  18. package/dist/errors/error-codes.js +3 -0
  19. package/dist/errors/messages.d.ts +3 -0
  20. package/dist/errors/messages.js +3 -0
  21. package/dist/features/account/components/UserOffersPanel.js +2 -1
  22. package/dist/features/admin/components/AdminAllEventEntriesView.js +4 -3
  23. package/dist/features/admin/components/AdminBidsView.js +5 -3
  24. package/dist/features/admin/components/AdminBlogView.js +3 -2
  25. package/dist/features/admin/components/AdminBrandsView.js +2 -1
  26. package/dist/features/admin/components/AdminBundleEditorView.js +4 -5
  27. package/dist/features/admin/components/AdminBundlesView.js +3 -3
  28. package/dist/features/admin/components/AdminCarouselView.d.ts +2 -1
  29. package/dist/features/admin/components/AdminCarouselView.js +14 -5
  30. package/dist/features/admin/components/AdminCategoriesView.js +2 -1
  31. package/dist/features/admin/components/AdminContactView.d.ts +4 -1
  32. package/dist/features/admin/components/AdminContactView.js +27 -7
  33. package/dist/features/admin/components/AdminCouponsView.d.ts +3 -1
  34. package/dist/features/admin/components/AdminCouponsView.js +17 -3
  35. package/dist/features/admin/components/AdminFaqsView.d.ts +3 -1
  36. package/dist/features/admin/components/AdminFaqsView.js +18 -4
  37. package/dist/features/admin/components/AdminFeaturesView.js +2 -1
  38. package/dist/features/admin/components/AdminMediaView.js +3 -2
  39. package/dist/features/admin/components/AdminNavigationView.js +3 -2
  40. package/dist/features/admin/components/AdminNewsletterView.d.ts +2 -1
  41. package/dist/features/admin/components/AdminNewsletterView.js +13 -4
  42. package/dist/features/admin/components/AdminNotificationsView.js +6 -4
  43. package/dist/features/admin/components/AdminOrdersView.js +4 -3
  44. package/dist/features/admin/components/AdminPayoutsView.js +2 -2
  45. package/dist/features/admin/components/AdminPrizeDrawsView.js +2 -1
  46. package/dist/features/admin/components/AdminProductsView.js +3 -3
  47. package/dist/features/admin/components/AdminReviewsView.js +4 -3
  48. package/dist/features/admin/components/AdminScammersView.js +2 -1
  49. package/dist/features/admin/components/AdminSessionsView.js +5 -3
  50. package/dist/features/admin/components/AdminStoresView.js +2 -2
  51. package/dist/features/admin/components/AdminSublistingCategoriesView.d.ts +5 -1
  52. package/dist/features/admin/components/AdminSublistingCategoriesView.js +12 -3
  53. package/dist/features/admin/components/AdminSupportTicketsView.js +2 -1
  54. package/dist/features/admin/components/AdminTeamView.d.ts +2 -1
  55. package/dist/features/admin/components/AdminTeamView.js +13 -4
  56. package/dist/features/admin/components/AdminUsersView.js +2 -2
  57. package/dist/features/admin/types/product.types.d.ts +1 -1
  58. package/dist/features/admin/types/product.types.js +2 -3
  59. package/dist/features/auctions/actions/bid-actions.d.ts +9 -0
  60. package/dist/features/auctions/actions/bid-actions.js +61 -0
  61. package/dist/features/auctions/components/AuctionDetailPageView.d.ts +2 -1
  62. package/dist/features/auctions/components/AuctionDetailPageView.js +5 -4
  63. package/dist/features/auctions/components/PlaceBidFormClient.d.ts +3 -1
  64. package/dist/features/auctions/components/PlaceBidFormClient.js +32 -2
  65. package/dist/features/auctions/types/index.d.ts +1 -1
  66. package/dist/features/layout/AppLayoutShell.js +1 -1
  67. package/dist/features/pre-orders/components/PreOrdersIndexListing.js +2 -11
  68. package/dist/features/products/api/[id]/route.js +4 -8
  69. package/dist/features/products/api/route.js +1 -3
  70. package/dist/features/products/components/AuctionsIndexListing.js +3 -11
  71. package/dist/features/products/components/PrizeDrawsIndexListing.js +2 -10
  72. package/dist/features/products/components/ProductFilters.d.ts +33 -9
  73. package/dist/features/products/components/ProductFilters.js +6 -29
  74. package/dist/features/products/components/ProductForm.js +2 -3
  75. package/dist/features/products/constants/action-defs.d.ts +86 -7
  76. package/dist/features/products/constants/action-defs.js +99 -7
  77. package/dist/features/products/constants/sieve.d.ts +162 -0
  78. package/dist/features/products/constants/sieve.js +95 -0
  79. package/dist/features/products/repository/products.repository.d.ts +5 -0
  80. package/dist/features/products/repository/products.repository.js +23 -3
  81. package/dist/features/products/schemas/firestore.d.ts +4 -4
  82. package/dist/features/products/schemas/firestore.js +2 -3
  83. package/dist/features/products/schemas/index.d.ts +6 -6
  84. package/dist/features/products/schemas/index.js +2 -6
  85. package/dist/features/products/types/index.d.ts +1 -1
  86. package/dist/features/seller/actions/offer-actions.js +2 -2
  87. package/dist/features/seller/components/QuickProductForm.d.ts +13 -0
  88. package/dist/features/seller/components/QuickProductForm.js +50 -0
  89. package/dist/features/seller/components/SellerAuctionsView.d.ts +4 -1
  90. package/dist/features/seller/components/SellerAuctionsView.js +37 -3
  91. package/dist/features/seller/components/SellerBidsView.js +2 -1
  92. package/dist/features/seller/components/SellerBundlesView.d.ts +3 -1
  93. package/dist/features/seller/components/SellerBundlesView.js +38 -5
  94. package/dist/features/seller/components/SellerClassifiedView.d.ts +3 -1
  95. package/dist/features/seller/components/SellerClassifiedView.js +37 -4
  96. package/dist/features/seller/components/SellerDigitalCodesView.d.ts +3 -1
  97. package/dist/features/seller/components/SellerDigitalCodesView.js +37 -4
  98. package/dist/features/seller/components/SellerGoogleReviewsView.js +2 -1
  99. package/dist/features/seller/components/SellerGroupedListingsView.js +3 -2
  100. package/dist/features/seller/components/SellerLiveView.d.ts +3 -1
  101. package/dist/features/seller/components/SellerLiveView.js +37 -4
  102. package/dist/features/seller/components/SellerOffersPanel.js +2 -1
  103. package/dist/features/seller/components/SellerOffersView.d.ts +4 -1
  104. package/dist/features/seller/components/SellerOffersView.js +8 -3
  105. package/dist/features/seller/components/SellerPayoutsView.d.ts +3 -1
  106. package/dist/features/seller/components/SellerPayoutsView.js +7 -3
  107. package/dist/features/seller/components/SellerPreOrdersView.d.ts +2 -1
  108. package/dist/features/seller/components/SellerPreOrdersView.js +30 -7
  109. package/dist/features/seller/components/SellerPrizeDrawsView.d.ts +2 -1
  110. package/dist/features/seller/components/SellerPrizeDrawsView.js +30 -7
  111. package/dist/features/seller/components/SellerProductShell.js +12 -0
  112. package/dist/features/seller/components/SellerReviewsView.js +2 -1
  113. package/dist/features/seller/components/SellerShippingConfigsView.js +3 -2
  114. package/dist/features/seller/components/SellerStoreCategoriesView.js +6 -5
  115. package/dist/features/seller/components/SellerTemplatesView.js +4 -3
  116. package/dist/features/whatsapp-bot/components/SellerWhatsAppSettingsView.js +30 -16
  117. package/dist/features/wishlist/types/index.d.ts +1 -1
  118. package/dist/index.d.ts +6 -3
  119. package/dist/index.js +6 -4
  120. package/dist/seed/addresses-seed-data.d.ts +2 -18
  121. package/dist/seed/addresses-seed-data.js +137 -203
  122. package/dist/seed/bids-seed-data.d.ts +2 -8
  123. package/dist/seed/bids-seed-data.js +172 -648
  124. package/dist/seed/blog-posts-seed-data.d.ts +0 -5
  125. package/dist/seed/blog-posts-seed-data.js +341 -596
  126. package/dist/seed/carousel-slides-seed-data.d.ts +0 -5
  127. package/dist/seed/carousel-slides-seed-data.js +61 -192
  128. package/dist/seed/carousels-seed-data.js +18 -1
  129. package/dist/seed/cart-seed-data.d.ts +1 -18
  130. package/dist/seed/cart-seed-data.js +116 -293
  131. package/dist/seed/categories-seed-data.d.ts +0 -6
  132. package/dist/seed/categories-seed-data.js +1409 -1537
  133. package/dist/seed/claimed-coupons-seed-data.d.ts +0 -11
  134. package/dist/seed/claimed-coupons-seed-data.js +32 -29
  135. package/dist/seed/conversations-seed-data.d.ts +0 -6
  136. package/dist/seed/conversations-seed-data.js +132 -280
  137. package/dist/seed/coupon-usage-seed-data.d.ts +0 -16
  138. package/dist/seed/coupon-usage-seed-data.js +30 -44
  139. package/dist/seed/coupons-seed-data.d.ts +0 -6
  140. package/dist/seed/coupons-seed-data.js +141 -489
  141. package/dist/seed/events-seed-data.d.ts +0 -6
  142. package/dist/seed/events-seed-data.js +201 -379
  143. package/dist/seed/faq-seed-data.d.ts +0 -14
  144. package/dist/seed/faq-seed-data.js +609 -1184
  145. package/dist/seed/grouped-listings-seed-data.d.ts +119 -8
  146. package/dist/seed/grouped-listings-seed-data.js +148 -233
  147. package/dist/seed/history-seed-data.d.ts +0 -7
  148. package/dist/seed/history-seed-data.js +50 -54
  149. package/dist/seed/homepage-sections-seed-data.d.ts +0 -5
  150. package/dist/seed/homepage-sections-seed-data.js +83 -175
  151. package/dist/seed/index.d.ts +1 -1
  152. package/dist/seed/index.js +1 -1
  153. package/dist/seed/manifest.js +2 -2
  154. package/dist/seed/notifications-seed-data.d.ts +0 -6
  155. package/dist/seed/notifications-seed-data.js +309 -196
  156. package/dist/seed/offers-seed-data.d.ts +0 -8
  157. package/dist/seed/offers-seed-data.js +118 -197
  158. package/dist/seed/orders-seed-data.d.ts +2 -8
  159. package/dist/seed/orders-seed-data.js +248 -1510
  160. package/dist/seed/payouts-seed-data.d.ts +0 -6
  161. package/dist/seed/payouts-seed-data.js +102 -441
  162. package/dist/seed/products-auctions-seed-data.d.ts +1 -14
  163. package/dist/seed/products-auctions-seed-data.js +612 -1084
  164. package/dist/seed/products-preorders-seed-data.d.ts +119 -14
  165. package/dist/seed/products-preorders-seed-data.js +154 -455
  166. package/dist/seed/products-standard-seed-data.d.ts +1 -15
  167. package/dist/seed/products-standard-seed-data.js +1355 -4128
  168. package/dist/seed/reviews-seed-data.d.ts +2 -8
  169. package/dist/seed/reviews-seed-data.js +99 -1182
  170. package/dist/seed/scammers-seed-data.d.ts +0 -15
  171. package/dist/seed/scammers-seed-data.js +36 -37
  172. package/dist/seed/sessions-seed-data.d.ts +0 -13
  173. package/dist/seed/sessions-seed-data.js +58 -335
  174. package/dist/seed/site-settings-seed-data.d.ts +0 -4
  175. package/dist/seed/site-settings-seed-data.js +61 -52
  176. package/dist/seed/store-addresses-seed-data.js +27 -151
  177. package/dist/seed/store-extensions-seed-data.d.ts +0 -7
  178. package/dist/seed/store-extensions-seed-data.js +147 -261
  179. package/dist/seed/stores-seed-data.d.ts +0 -5
  180. package/dist/seed/stores-seed-data.js +222 -184
  181. package/dist/seed/sub-listings-seed-data.d.ts +119 -0
  182. package/dist/seed/sub-listings-seed-data.js +447 -0
  183. package/dist/seed/support-tickets-seed-data.d.ts +0 -7
  184. package/dist/seed/support-tickets-seed-data.js +82 -75
  185. package/dist/seed/users-seed-data.d.ts +0 -5
  186. package/dist/seed/users-seed-data.js +279 -634
  187. package/dist/seed/wishlists-seed-data.d.ts +0 -9
  188. package/dist/seed/wishlists-seed-data.js +36 -52
  189. package/dist/seo/json-ld.js +6 -4
  190. package/dist/styles.css +8052 -3
  191. package/dist/tailwind-utilities.css +1 -1
  192. package/dist/utils/index.d.ts +1 -0
  193. package/dist/utils/index.js +1 -0
  194. package/dist/utils/search-tokens.d.ts +2 -0
  195. package/dist/utils/search-tokens.js +21 -0
  196. package/package.json +2 -2
  197. package/scripts/seed-cli.mjs +2 -2
@@ -1,235 +1,169 @@
1
- import { getSeedLocale, getDefaultPhonePrefix } from "./seed-market-config";
2
- const _locale = getSeedLocale();
3
- const _phonePrefix = getDefaultPhonePrefix();
4
- /**
5
- * Addresses Seed Data — Pokemon TCG Themed
1
+ /*
2
+ * WHY: Seeds delivery addresses for users and pickup locations for stores in the YGO marketplace.
3
+ * WHAT: Exports 8 addresses (5 user + 3 store) representing Domino City + Tokyo locations for Yugi/Kaiba/Admin. Top-level collection (SB-UNI-A 2026-05-13) with ownerType discriminator. PII encrypted via HMAC blind indices (emailIndex, phoneIndex). Composite indexes (ownerType, ownerId, createdAt desc) + (ownerType, ownerId, isDefault).
6
4
  *
7
- * Sample user addresses for development and testing.
8
- * Addresses stored as subcollection: users/{userId}/addresses/{addressId}
9
- * All address documents mapped to users that exist in pokemon-users-seed-data.ts.
5
+ * EXPORTS:
6
+ * addressesSeedData Array of 8 address documents with ownerType/ownerId discrimination
7
+ *
8
+ * @tag domain:addresses,shipping
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
10
14
  */
11
- // --- Dynamic date helpers ---------------------------------------------------
12
15
  const NOW = new Date();
13
16
  const daysAgo = (n) => new Date(NOW.getTime() - n * 86400000);
14
- export const addressesSeedData = [
15
- // ============================================
16
- // Ash Ketchum's Addresses
17
- // ============================================
17
+ const _rawAddressesSeedData = [
18
+ // ────────────────────────────────────────────────────────────────────────────
19
+ // User Addresses — Buyer delivery addresses
20
+ // ────────────────────────────────────────────────────────────────────────────
21
+ // Yugi Muto — Home
18
22
  {
19
- id: "addr-ash-home-1707400001",
20
- userId: "user-ash-ketchum-pallet-ash",
23
+ id: "addr-yugi-home",
24
+ ownerType: "user",
25
+ ownerId: "user-yugi-muto",
21
26
  label: "Home",
22
- fullName: "Ash Ketchum",
23
- phone: `${_phonePrefix}9111111111`,
24
- addressLine1: "Flat 302, Crystal Towers",
25
- addressLine2: "MG Road, Andheri East",
26
- city: "Mumbai",
27
- state: "Maharashtra",
28
- postalCode: "400069",
29
- country: _locale.countryName,
27
+ fullName: "Yugi Muto",
28
+ phone: "+91-99999-10001",
29
+ addressLine1: "123 Duel City Lane",
30
+ addressLine2: "Domino City",
31
+ city: "Domino City",
32
+ state: "Tokyo",
33
+ postalCode: "110-0001",
34
+ country: "Japan",
30
35
  isDefault: true,
31
- createdAt: daysAgo(753),
32
- updatedAt: daysAgo(753),
36
+ createdAt: daysAgo(180),
37
+ updatedAt: daysAgo(1),
33
38
  },
39
+ // Yugi Muto — Grandpa's Card Shop
34
40
  {
35
- id: "addr-ash-office-1707400002",
36
- userId: "user-ash-ketchum-pallet-ash",
37
- label: "Pallet Town",
38
- fullName: "Ash Ketchum",
39
- phone: `${_phonePrefix}9111111111`,
40
- addressLine1: "1, Pallet Town Road",
41
- addressLine2: "Near Pokemon Lab",
42
- city: "Pune",
43
- state: "Maharashtra",
44
- postalCode: "411001",
45
- country: _locale.countryName,
41
+ id: "addr-yugi-shop",
42
+ ownerType: "user",
43
+ ownerId: "user-yugi-muto",
44
+ label: "Grandpa's Card Shop",
45
+ fullName: "Yugi Muto",
46
+ phone: "+91-99999-10002",
47
+ addressLine1: "45 Trading Card Plaza",
48
+ addressLine2: "Domino City Center",
49
+ city: "Domino City",
50
+ state: "Tokyo",
51
+ postalCode: "110-0002",
52
+ country: "Japan",
46
53
  isDefault: false,
47
- createdAt: daysAgo(738),
48
- updatedAt: daysAgo(738),
54
+ createdAt: daysAgo(150),
55
+ updatedAt: daysAgo(30),
49
56
  },
50
- // ============================================
51
- // Gary Oak's Addresses
52
- // ============================================
57
+ // Seto Kaiba — Kaiba Mansion
53
58
  {
54
- id: "addr-gary-home-1707400004",
55
- userId: "user-gary-oak-gary",
56
- label: "Home",
57
- fullName: "Gary Oak",
58
- phone: `${_phonePrefix}9876543212`,
59
- addressLine1: "Villa 23, Whitefield Gardens",
60
- addressLine2: "Marathahalli",
61
- city: "Bangalore",
62
- state: "Karnataka",
63
- postalCode: "560037",
64
- country: _locale.countryName,
59
+ id: "addr-kaiba-mansion",
60
+ ownerType: "user",
61
+ ownerId: "user-seto-kaiba",
62
+ label: "Kaiba Mansion",
63
+ fullName: "Seto Kaiba",
64
+ phone: "+91-99999-20001",
65
+ addressLine1: "1000 Kaiba Estate Drive",
66
+ addressLine2: "Domino Heights",
67
+ city: "Domino City",
68
+ state: "Tokyo",
69
+ postalCode: "110-0020",
70
+ country: "Japan",
65
71
  isDefault: true,
66
- createdAt: daysAgo(729),
67
- updatedAt: daysAgo(729),
72
+ createdAt: daysAgo(200),
73
+ updatedAt: daysAgo(10),
68
74
  },
75
+ // Seto Kaiba — Kaiba Land Office
69
76
  {
70
- id: "addr-gary-research-1707400005",
71
- userId: "user-gary-oak-gary",
72
- label: "Research Lab",
73
- fullName: "Gary Oak",
74
- phone: `${_phonePrefix}9876543212`,
75
- addressLine1: "Oak Pokemon Research Lab",
76
- addressLine2: "Pallet Town Research District",
77
- city: "Bangalore",
78
- state: "Karnataka",
79
- postalCode: "560103",
80
- country: _locale.countryName,
77
+ id: "addr-kaiba-land",
78
+ ownerType: "user",
79
+ ownerId: "user-seto-kaiba",
80
+ label: "Kaiba Land",
81
+ fullName: "Seto Kaiba",
82
+ phone: "+91-99999-20002",
83
+ addressLine1: "500 Kaiba Land Boulevard",
84
+ addressLine2: "Tokyo Tower District",
85
+ city: "Tokyo",
86
+ state: "Tokyo",
87
+ postalCode: "105-0001",
88
+ country: "Japan",
81
89
  isDefault: false,
82
- createdAt: daysAgo(703),
83
- updatedAt: daysAgo(703),
90
+ createdAt: daysAgo(180),
91
+ updatedAt: daysAgo(20),
84
92
  },
85
- // ============================================
86
- // Brock's Addresses
87
- // ============================================
93
+ // Admin (LetItRip) — HQ
88
94
  {
89
- id: "addr-brock-home-1707400006",
90
- userId: "user-brock-pewter-brock",
91
- label: "Gym",
92
- fullName: "Brock",
93
- phone: `${_phonePrefix}9876543213`,
94
- addressLine1: "Pewter City Gym, MG Road",
95
- addressLine2: "Rock Type District",
96
- landmark: "Near Boulder Badge Museum",
97
- city: "Bangalore",
98
- state: "Karnataka",
99
- postalCode: "560001",
100
- country: _locale.countryName,
95
+ id: "addr-letitrip-hq",
96
+ ownerType: "user",
97
+ ownerId: "user-admin-letitrip",
98
+ label: "LetItRip HQ",
99
+ fullName: "LetItRip Admin",
100
+ phone: "+91-99999-30001",
101
+ addressLine1: "100 Collectibles Plaza",
102
+ addressLine2: "Mumbai Central",
103
+ city: "Mumbai",
104
+ state: "Maharashtra",
105
+ postalCode: "400001",
106
+ country: "India",
101
107
  isDefault: true,
102
- createdAt: daysAgo(688),
103
- updatedAt: daysAgo(688),
108
+ createdAt: daysAgo(365),
109
+ updatedAt: daysAgo(5),
104
110
  },
111
+ // ────────────────────────────────────────────────────────────────────────────
112
+ // Store Addresses — Pickup / fulfillment locations
113
+ // ────────────────────────────────────────────────────────────────────────────
114
+ // Kaiba Corp Card Vault — HQ (fulfillment)
105
115
  {
106
- id: "addr-brock-home2-1707400007",
107
- userId: "user-brock-pewter-brock",
108
- label: "Family Home",
109
- fullName: "Brock",
110
- phone: `${_phonePrefix}9876543213`,
111
- addressLine1: "56, Indiranagar 100ft Road",
112
- addressLine2: "Near CMH Hospital",
113
- city: "Bangalore",
114
- state: "Karnataka",
115
- postalCode: "560038",
116
- country: _locale.countryName,
117
- isDefault: false,
118
- createdAt: daysAgo(423),
119
- updatedAt: daysAgo(423),
120
- },
121
- // ============================================
122
- // Sabrina's Addresses
123
- // ============================================
124
- {
125
- id: "addr-sabrina-home-1707400008",
126
- userId: "user-sabrina-psychic-sabrina",
127
- label: "Gym",
128
- fullName: "Sabrina",
129
- phone: `${_phonePrefix}9876543260`,
130
- addressLine1: "Saffron City Gym",
131
- addressLine2: "Psychic Street",
132
- landmark: "Near Silph Co.",
133
- city: "Hyderabad",
134
- state: "Telangana",
135
- postalCode: "500034",
136
- country: _locale.countryName,
116
+ id: "addr-kaiba-corp-hq",
117
+ ownerType: "store",
118
+ ownerId: "store-kaiba-corp-cards",
119
+ label: "Kaiba Corp HQ",
120
+ fullName: "Kaiba Corp Card Vault",
121
+ phone: "+91-99999-40001",
122
+ addressLine1: "2000 Kaiba Corp Tower",
123
+ addressLine2: "Domino Business District",
124
+ city: "Domino City",
125
+ state: "Tokyo",
126
+ postalCode: "110-0030",
127
+ country: "Japan",
137
128
  isDefault: true,
138
129
  createdAt: daysAgo(360),
139
- updatedAt: daysAgo(360),
140
- },
141
- // ============================================
142
- // Erika's Addresses
143
- // ============================================
144
- {
145
- id: "addr-erika-home-1707400010",
146
- userId: "user-erika-celadon-erika",
147
- label: "Gym",
148
- fullName: "Erika",
149
- phone: `${_phonePrefix}9876543270`,
150
- addressLine1: "Celadon City Gym",
151
- addressLine2: "Grass Type Garden District",
152
- city: "Ahmedabad",
153
- state: "Gujarat",
154
- postalCode: "380009",
155
- country: _locale.countryName,
156
- isDefault: true,
157
- createdAt: daysAgo(294),
158
- updatedAt: daysAgo(294),
159
- },
160
- // ============================================
161
- // Professor Oak's Addresses
162
- // ============================================
163
- {
164
- id: "addr-oak-lab-1707400012",
165
- userId: "user-professor-oak-prof",
166
- label: "Lab",
167
- fullName: "Professor Samuel Oak",
168
- phone: `${_phonePrefix}9876543280`,
169
- addressLine1: "Oak Pokemon Research Lab",
170
- addressLine2: "North of Pallet Town",
171
- landmark: "Opposite Pallet Town Entrance",
172
- city: "Kochi",
173
- state: "Kerala",
174
- postalCode: "682001",
175
- country: _locale.countryName,
176
- isDefault: true,
177
- createdAt: daysAgo(221),
178
- updatedAt: daysAgo(221),
130
+ updatedAt: daysAgo(2),
179
131
  },
180
- // ============================================
181
- // Moderator's Address
182
- // ============================================
132
+ // Kaiba Corp Card Vault — Warehouse (backup fulfillment)
183
133
  {
184
- id: "addr-mod-primary-1707400014",
185
- userId: "user-moderator-mod-user",
186
- label: "Primary",
187
- fullName: "Content Moderator",
188
- phone: `${_phonePrefix}9876543220`,
189
- addressLine1: "LetItRip Office, 9th Floor",
190
- addressLine2: "BKC, G Block",
191
- city: "Mumbai",
192
- state: "Maharashtra",
193
- postalCode: "400051",
194
- country: _locale.countryName,
195
- isDefault: true,
196
- createdAt: daysAgo(739),
197
- updatedAt: daysAgo(739),
134
+ id: "addr-kaiba-corp-warehouse",
135
+ ownerType: "store",
136
+ ownerId: "store-kaiba-corp-cards",
137
+ label: "Kaiba Land Warehouse",
138
+ fullName: "Kaiba Land Fulfillment Center",
139
+ phone: "+91-99999-40002",
140
+ addressLine1: "300 Kaiba Land Logistics",
141
+ addressLine2: "Tokyo Harbor Zone",
142
+ city: "Tokyo",
143
+ state: "Tokyo",
144
+ postalCode: "135-0064",
145
+ country: "Japan",
146
+ isDefault: false,
147
+ createdAt: daysAgo(300),
148
+ updatedAt: daysAgo(15),
198
149
  },
199
- // ============================================
200
- // Admin User's Addresses (user-admin-letitrip)
201
- // ============================================
150
+ // LetItRip Official — Fulfillment
202
151
  {
203
- id: "addr-admin-primary-1707400017",
204
- userId: "user-admin-letitrip",
205
- label: "Office (LetItRip HQ)",
206
- fullName: "LetItRip Admin",
207
- phone: `${_phonePrefix}9876500000`,
208
- addressLine1: "LetItRip HQ, 10th Floor",
209
- addressLine2: "BKC, G Block",
152
+ id: "addr-letitrip-fulfillment",
153
+ ownerType: "store",
154
+ ownerId: "store-letitrip-official",
155
+ label: "LetItRip Fulfillment",
156
+ fullName: "LetItRip Fulfillment Center",
157
+ phone: "+91-99999-50001",
158
+ addressLine1: "200 Logistics Lane",
159
+ addressLine2: "Mumbai Warehouse District",
210
160
  city: "Mumbai",
211
161
  state: "Maharashtra",
212
- postalCode: "400051",
213
- country: _locale.countryName,
162
+ postalCode: "400086",
163
+ country: "India",
214
164
  isDefault: true,
215
- createdAt: daysAgo(399),
216
- updatedAt: daysAgo(30),
217
- },
218
- {
219
- id: "addr-admin-home-1707400018",
220
- userId: "user-admin-letitrip",
221
- label: "Home",
222
- fullName: "LetItRip Admin",
223
- phone: `${_phonePrefix}9876500000`,
224
- addressLine1: "A-1204, Kalpataru Horizon",
225
- addressLine2: "S.K. Ahire Marg, Worli",
226
- landmark: "Near Worli Sea Face",
227
- city: "Mumbai",
228
- state: "Maharashtra",
229
- postalCode: "400018",
230
- country: _locale.countryName,
231
- isDefault: false,
232
- createdAt: daysAgo(300),
233
- updatedAt: daysAgo(30),
165
+ createdAt: daysAgo(365),
166
+ updatedAt: daysAgo(1),
234
167
  },
235
168
  ];
169
+ export const addressesSeedData = _rawAddressesSeedData;
@@ -1,8 +1,2 @@
1
- /**
2
- * Bids Seed Data — Collectibles Edition
3
- * Realistic bid progressions for every auction with bidCount > 0.
4
- * Auctions with bidCount = 0 (upcoming / no-bid) are intentionally absent.
5
- * Buyer IDs from P15 users seed data.
6
- */
7
- import type { BidDocument } from "../features/auctions/schemas";
8
- export declare const bidsSeedData: Partial<BidDocument>[];
1
+ import type { BidDocument } from "../features/auctions/schemas/firestore";
2
+ export declare const bidsSeedData: BidDocument[];