@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,7 +1,20 @@
1
+ /*
2
+ * WHY: Seeds the singleton site-settings doc for YGO marketplace.
3
+ * WHAT: 1 document — branding, SEO, features, legal, commissions, credentials, ad inventory.
4
+ *
5
+ * EXPORTS:
6
+ * siteSettingsSeedData — Partial<SiteSettingsDocument> for seed runner
7
+ *
8
+ * @tag domain:site-settings,admin
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
14
+ */
1
15
  import { getDefaultPhonePrefix, getSeedLocale } from "./seed-market-config";
2
16
  const _phonePrefix = getDefaultPhonePrefix();
3
17
  const _locale = getSeedLocale();
4
- // Dynamic date helpers
5
18
  const NOW = new Date();
6
19
  const daysAgo = (n) => new Date(NOW.getTime() - n * 86400000);
7
20
  const adPlacementsSeed = [
@@ -33,14 +46,11 @@ const adPlacementsSeed = [
33
46
  export const siteSettingsSeedData = {
34
47
  id: "global",
35
48
  siteName: "LetItRip",
36
- motto: "Indias #1 Collectibles Marketplace — Pokémon · Hot Wheels · Beyblade · Transformers",
49
+ motto: "India's #1 Yu-Gi-Oh! Collectibles Marketplace — Singles · Sealed · Graded Slabs · Accessories",
37
50
  announcementBar: {
38
51
  enabled: true,
39
- message: "🎉 Up to 25% off Pokémon non-holos + Free stadium with 2 Beyblade tops — See Events for codes",
52
+ message: "🎉 Up to 25% off LOB singles + Free deck box with 2 sealed booster boxes — See Events for codes",
40
53
  },
41
- // I7 — watermark applied by /api/media/[...slug] proxy. Defaults to text
42
- // "letitrip.in" at 30 % of target image width with 20 % opacity. Image mode
43
- // requires `imageUrl` to be a /media/<slug> proxy URL (never raw Storage).
44
54
  watermark: {
45
55
  type: "text",
46
56
  text: "letitrip.in",
@@ -97,64 +107,64 @@ export const siteSettingsSeedData = {
97
107
  replyTo: "support@letitrip.in",
98
108
  },
99
109
  seo: {
100
- defaultTitle: "LetItRip — Pokemon TCG, Hot Wheels, Beyblade, Transformers | India's Collectibles Marketplace",
101
- defaultDescription: "Shop rare anime figures, Nendoroids, Gunpla, Pok\u00e9mon TCG, and cosplay on India\u2019s premier otaku marketplace. Live auctions, pre-orders, and verified sellers.",
110
+ defaultTitle: "LetItRip — Yu-Gi-Oh! Singles, Sealed Booster Boxes, PSA Graded Slabs | India's YGO Marketplace",
111
+ defaultDescription: "Buy, sell, and auction Yu-Gi-Oh! trading cards on India's premier Duel Monsters marketplace. LOB 1st Edition, Blue-Eyes White Dragon, Dark Magician, Exodia — singles, sealed products, PSA/BGS/CGC graded slabs from verified sellers.",
102
112
  keywords: [
103
- "pokemon tcg india",
104
- "hot wheels treasure hunt",
105
- "beyblade burst",
106
- "transformers figures",
107
- "trading cards",
113
+ "yugioh cards india",
114
+ "yu-gi-oh tcg india",
115
+ "blue-eyes white dragon",
116
+ "dark magician",
117
+ "exodia the forbidden one",
118
+ "lob 1st edition",
119
+ "psa graded slabs",
120
+ "sealed booster box",
108
121
  "collectibles marketplace india",
109
- "live auction",
110
- "pre-orders",
111
- "graded cards psa",
112
- "base set charizard",
113
- "diecast cars india",
114
- "beyblade tops",
122
+ "live auction yugioh",
123
+ "pre-order konami",
124
+ "duel monsters cards",
115
125
  ],
116
- ogImage: "https://picsum.photos/seed/letitrip-collectibles-og/1200/630",
126
+ ogImage: "https://images.ygoprodeck.com/images/cards/cropped/46986414.jpg",
117
127
  },
118
128
  features: [
119
129
  {
120
130
  id: "feature_001",
121
131
  name: "Huge Catalogue",
122
- description: "1000+ Anime Figures & Collectibles",
132
+ description: "200+ Yu-Gi-Oh! Cards & Sealed Products",
123
133
  icon: "📦",
124
134
  enabled: true,
125
135
  },
126
136
  {
127
137
  id: "feature_002",
128
138
  name: "Fast Shipping",
129
- description: "Delivered in 3–5 Days Across India",
139
+ description: "Delivered in 3–7 Days Across India",
130
140
  icon: "🚚",
131
141
  enabled: true,
132
142
  },
133
143
  {
134
144
  id: "feature_003",
135
145
  name: "Authentic Only",
136
- description: "Verified Genuine Anime Merchandise",
146
+ description: "Verified Genuine Konami Products",
137
147
  icon: "✅",
138
148
  enabled: true,
139
149
  },
140
150
  {
141
151
  id: "feature_004",
142
152
  name: "Secure Payments",
143
- description: "Safe & Encrypted Transactions",
153
+ description: "Escrow-Protected Transactions",
144
154
  icon: "🔒",
145
155
  enabled: true,
146
156
  },
147
157
  {
148
158
  id: "feature_005",
149
159
  name: "Live Auctions",
150
- description: "Bid on Rare & Exclusive Figures",
160
+ description: "Bid on Rare & Graded YGO Cards",
151
161
  icon: "🏆",
152
162
  enabled: true,
153
163
  },
154
164
  {
155
165
  id: "feature_006",
156
166
  name: "Pre-Orders",
157
- description: "Reserve Upcoming Figure Releases",
167
+ description: "Reserve Upcoming Konami Set Releases",
158
168
  icon: "⏳",
159
169
  enabled: true,
160
170
  },
@@ -230,7 +240,7 @@ export const siteSettingsSeedData = {
230
240
  content: [
231
241
  {
232
242
  type: "text",
233
- text: "We offer free shipping on orders above ₹999. Standard delivery takes 3-5 business days...",
243
+ text: "We offer free shipping on orders above ₹999. Standard delivery takes 3-7 business days...",
234
244
  },
235
245
  ],
236
246
  },
@@ -238,7 +248,7 @@ export const siteSettingsSeedData = {
238
248
  }),
239
249
  },
240
250
  shipping: {
241
- estimatedDays: 5,
251
+ estimatedDays: 7,
242
252
  minOrderForFree: 999,
243
253
  },
244
254
  returns: {
@@ -246,18 +256,18 @@ export const siteSettingsSeedData = {
246
256
  },
247
257
  faq: {
248
258
  variables: {
249
- shippingDays: 5,
259
+ shippingDays: 7,
250
260
  minOrderValue: 999,
251
261
  returnWindow: 7,
252
262
  supportEmail: "support@letitrip.in",
253
263
  supportPhone: `${_phonePrefix}-9876543210`,
254
- codDeposit: 0.1, // 10%
264
+ codDeposit: 0.1,
255
265
  },
256
266
  },
257
267
  createdAt: daysAgo(799),
258
268
  updatedAt: daysAgo(29),
259
269
  navbarConfig: {
260
- hiddenNavItems: [], // show all nav items by default
270
+ hiddenNavItems: [],
261
271
  },
262
272
  footerConfig: {
263
273
  trustBar: {
@@ -281,8 +291,8 @@ export const siteSettingsSeedData = {
281
291
  },
282
292
  inventory: [
283
293
  {
284
- id: "ad-homepage-hero-anicon",
285
- name: "AniCon Hero Banner",
294
+ id: "ad-homepage-hero-ygo-drop",
295
+ name: "YGO Card Drop Hero Banner",
286
296
  provider: "manual",
287
297
  status: "active",
288
298
  placementIds: ["homepage-hero-banner"],
@@ -290,18 +300,18 @@ export const siteSettingsSeedData = {
290
300
  priority: 100,
291
301
  createdAt: daysAgo(20).toISOString(),
292
302
  updatedAt: daysAgo(2).toISOString(),
293
- updatedBy: "user-admin-user-admin",
303
+ updatedBy: "user-admin-letitrip",
294
304
  creative: {
295
- title: "AniCon 2026 Mega Drop",
296
- body: "Limited card drops and weekend-only collectibles.",
297
- imageUrl: "https://picsum.photos/seed/anicon-hero-ad/1200/300",
305
+ title: "LOB 1st Edition Mega Drop",
306
+ body: "Limited Legend of Blue Eyes singles and sealed packs — this weekend only.",
307
+ imageUrl: "https://images.ygoprodeck.com/images/cards/cropped/89631139.jpg",
298
308
  ctaLabel: "Explore Deals",
299
309
  ctaHref: "/promotions/deals",
300
310
  },
301
311
  },
302
312
  {
303
- id: "ad-listing-sidebar-boost",
304
- name: "Sidebar Seller Boost",
313
+ id: "ad-listing-sidebar-auction-boost",
314
+ name: "Sidebar Auction Boost",
305
315
  provider: "manual",
306
316
  status: "active",
307
317
  placementIds: ["listing-sidebar-top", "listing-sidebar-bottom"],
@@ -309,18 +319,18 @@ export const siteSettingsSeedData = {
309
319
  priority: 80,
310
320
  createdAt: daysAgo(12).toISOString(),
311
321
  updatedAt: daysAgo(1).toISOString(),
312
- updatedBy: "user-admin-user-admin",
322
+ updatedBy: "user-admin-letitrip",
313
323
  creative: {
314
- title: "Boosted Listings",
315
- body: "Promoted auctions ending this week.",
316
- imageUrl: "https://picsum.photos/seed/sidebar-ad-boost/600/300",
324
+ title: "Graded Slab Auctions",
325
+ body: "PSA 10 Blue-Eyes and Dark Magician auctions ending this week.",
326
+ imageUrl: "https://images.ygoprodeck.com/images/cards/cropped/46986414.jpg",
317
327
  ctaLabel: "View Auctions",
318
328
  ctaHref: "/auctions",
319
329
  },
320
330
  },
321
331
  {
322
- id: "ad-search-inline-spotlight",
323
- name: "Search Spotlight Slot",
332
+ id: "ad-search-inline-exodia",
333
+ name: "Search Spotlight — Exodia",
324
334
  provider: "manual",
325
335
  status: "scheduled",
326
336
  placementIds: ["search-inline"],
@@ -330,13 +340,13 @@ export const siteSettingsSeedData = {
330
340
  endAt: daysAgo(-10).toISOString(),
331
341
  createdAt: daysAgo(1).toISOString(),
332
342
  updatedAt: daysAgo(1).toISOString(),
333
- updatedBy: "user-admin-user-admin",
343
+ updatedBy: "user-admin-letitrip",
334
344
  creative: {
335
- title: "Search Spotlight",
336
- body: "Sponsored picks based on active search filters.",
337
- imageUrl: "https://picsum.photos/seed/search-spotlight-ad/960/240",
338
- ctaLabel: "Browse Sponsored",
339
- ctaHref: "/search/pokemon/tab/products/sort/relevance/page/1",
345
+ title: "Complete Your Exodia",
346
+ body: "All 5 Forbidden One pieces available — LOB to modern reprints.",
347
+ imageUrl: "https://images.ygoprodeck.com/images/cards/cropped/33396948.jpg",
348
+ ctaLabel: "Browse Exodia",
349
+ ctaHref: "/products?q=exodia",
340
350
  },
341
351
  },
342
352
  ],
@@ -374,7 +384,6 @@ export const siteSettingsSeedData = {
374
384
  seedPanel: true,
375
385
  adminCheckoutBypass: false,
376
386
  },
377
- // VA8 ⑧ Integrations — placeholder credentials (replace with real values in Firestore/admin panel)
378
387
  credentials: {
379
388
  razorpayKeyId: "rzp_test_PLACEHOLDER",
380
389
  razorpayKeySecret: "secret_PLACEHOLDER",
@@ -1,13 +1,21 @@
1
+ /*
2
+ * WHY: Seeds store pickup/warehouse addresses for YGO marketplace — 2 stores.
3
+ * WHAT: 5 addresses: 2 LetItRip Official (HQ + warehouse), 3 Kaiba Corp (HQ + pickup + storage).
4
+ *
5
+ * EXPORTS:
6
+ * StoreAddressSeedData (interface)
7
+ * storeAddressesSeedData — Array for seed runner
8
+ *
9
+ * @tag domain:stores,addresses
10
+ * @tag layer:seed
11
+ * @tag pattern:none
12
+ * @tag access:server-only
13
+ * @tag consumers:seed/index.ts,seed/runner.ts,SeedPanel
14
+ * @tag sideEffects:none
15
+ */
1
16
  import { getSeedLocale, getDefaultPhonePrefix } from "./seed-market-config";
2
17
  const _locale = getSeedLocale();
3
18
  const _phonePrefix = getDefaultPhonePrefix();
4
- /**
5
- * Store Addresses Seed Data
6
- *
7
- * Pickup/warehouse addresses for all 8 demo stores.
8
- * Addresses stored as subcollection: stores/{storeSlug}/addresses/{addressId}
9
- * All storeSlug values must match exactly the ids in stores-seed-data.ts.
10
- */
11
19
  const NOW = new Date();
12
20
  const daysAgo = (n) => new Date(NOW.getTime() - n * 86400000);
13
21
  export const storeAddressesSeedData = [
@@ -44,12 +52,12 @@ export const storeAddressesSeedData = [
44
52
  createdAt: daysAgo(350),
45
53
  updatedAt: daysAgo(30),
46
54
  },
47
- // ── store-pokemon-palace ──────────────────────────────────────────────────
55
+ // ── store-kaiba-corp-cards ────────────────────────────────────────────────
48
56
  {
49
- id: "saddr-pokemon-palace-main-001",
50
- storeSlug: "store-pokemon-palace",
51
- label: "Pokémon Palace HQ",
52
- fullName: "Aryan Kapoor",
57
+ id: "saddr-kaiba-corp-main-001",
58
+ storeSlug: "store-kaiba-corp-cards",
59
+ label: "Kaiba Corp Card Vault HQ",
60
+ fullName: "Seto Kaiba",
53
61
  phone: `${_phonePrefix}9876501001`,
54
62
  addressLine1: "Flat 4B, Andheri Collectibles Centre, Link Road",
55
63
  addressLine2: "Andheri West",
@@ -63,10 +71,10 @@ export const storeAddressesSeedData = [
63
71
  updatedAt: daysAgo(5),
64
72
  },
65
73
  {
66
- id: "saddr-pokemon-palace-pickup-002",
67
- storeSlug: "store-pokemon-palace",
74
+ id: "saddr-kaiba-corp-pickup-002",
75
+ storeSlug: "store-kaiba-corp-cards",
68
76
  label: "Local Pickup Point",
69
- fullName: "Aryan Kapoor",
77
+ fullName: "Seto Kaiba",
70
78
  phone: `${_phonePrefix}9876501001`,
71
79
  addressLine1: "Shop 12, Juhu Card Market, Juhu Tara Road",
72
80
  city: "Mumbai",
@@ -77,47 +85,12 @@ export const storeAddressesSeedData = [
77
85
  createdAt: daysAgo(300),
78
86
  updatedAt: daysAgo(10),
79
87
  },
80
- // ── store-cardgame-hub ────────────────────────────────────────────────────
81
- {
82
- id: "saddr-cardgame-hub-main-001",
83
- storeSlug: "store-cardgame-hub",
84
- label: "CardGame Hub Office",
85
- fullName: "Nisha Reddy",
86
- phone: `${_phonePrefix}9876502002`,
87
- addressLine1: "Plot 23, Banjara Hills TCG District, Road No. 12",
88
- addressLine2: "Near Banjara Hills Club",
89
- city: "Hyderabad",
90
- state: "Telangana",
91
- postalCode: "500034",
92
- country: _locale.countryName,
93
- isDefault: true,
94
- createdAt: daysAgo(350),
95
- updatedAt: daysAgo(3),
96
- },
97
- // ── store-diecast-depot ───────────────────────────────────────────────────
98
88
  {
99
- id: "saddr-diecast-depot-main-001",
100
- storeSlug: "store-diecast-depot",
101
- label: "Diecast Depot Store",
102
- fullName: "Vikram Mehta",
103
- phone: `${_phonePrefix}9876503003`,
104
- addressLine1: "Shop 7, Lajpat Nagar Collectors Market, Central Market",
105
- addressLine2: "Block A, Lajpat Nagar II",
106
- landmark: "Opposite Lajpat Nagar Metro Station",
107
- city: "New Delhi",
108
- state: "Delhi",
109
- postalCode: "110024",
110
- country: _locale.countryName,
111
- isDefault: true,
112
- createdAt: daysAgo(320),
113
- updatedAt: daysAgo(2),
114
- },
115
- {
116
- id: "saddr-diecast-depot-storage-002",
117
- storeSlug: "store-diecast-depot",
89
+ id: "saddr-kaiba-corp-storage-003",
90
+ storeSlug: "store-kaiba-corp-cards",
118
91
  label: "Climate-Controlled Storage",
119
- fullName: "Vikram Mehta",
120
- phone: `${_phonePrefix}9876503003`,
92
+ fullName: "Seto Kaiba",
93
+ phone: `${_phonePrefix}9876501001`,
121
94
  addressLine1: "Unit 14, Noida Industrial Estate, Sector 63",
122
95
  city: "Noida",
123
96
  state: "Uttar Pradesh",
@@ -127,101 +100,4 @@ export const storeAddressesSeedData = [
127
100
  createdAt: daysAgo(280),
128
101
  updatedAt: daysAgo(15),
129
102
  },
130
- // ── store-beyblade-arena ──────────────────────────────────────────────────
131
- {
132
- id: "saddr-beyblade-arena-main-001",
133
- storeSlug: "store-beyblade-arena",
134
- label: "Beyblade Arena Showroom",
135
- fullName: "Rohit Joshi",
136
- phone: `${_phonePrefix}9876504004`,
137
- addressLine1: "2nd Floor, FC Road Hobby Complex, Near Fergusson College",
138
- city: "Pune",
139
- state: "Maharashtra",
140
- postalCode: "411004",
141
- country: _locale.countryName,
142
- isDefault: true,
143
- createdAt: daysAgo(290),
144
- updatedAt: daysAgo(2),
145
- },
146
- // ── store-tokyo-toys-india ────────────────────────────────────────────────
147
- {
148
- id: "saddr-tokyo-toys-main-001",
149
- storeSlug: "store-tokyo-toys-india",
150
- label: "Tokyo Toys India Studio",
151
- fullName: "Priya Singh",
152
- phone: `${_phonePrefix}9876505005`,
153
- addressLine1: "Door 4B, Nungambakkam Anime Hub, Nungambakkam High Road",
154
- landmark: "Near Nungambakkam Metro Station",
155
- city: "Chennai",
156
- state: "Tamil Nadu",
157
- postalCode: "600034",
158
- country: _locale.countryName,
159
- isDefault: true,
160
- createdAt: daysAgo(260),
161
- updatedAt: daysAgo(1),
162
- },
163
- {
164
- id: "saddr-tokyo-toys-pickup-002",
165
- storeSlug: "store-tokyo-toys-india",
166
- label: "Local Pickup (T. Nagar)",
167
- fullName: "Priya Singh",
168
- phone: `${_phonePrefix}9876505005`,
169
- addressLine1: "Shop 8, T. Nagar Collectibles Row, Usman Road",
170
- city: "Chennai",
171
- state: "Tamil Nadu",
172
- postalCode: "600017",
173
- country: _locale.countryName,
174
- isDefault: false,
175
- createdAt: daysAgo(200),
176
- updatedAt: daysAgo(5),
177
- },
178
- // ── store-gundam-galaxy ───────────────────────────────────────────────────
179
- {
180
- id: "saddr-gundam-galaxy-main-001",
181
- storeSlug: "store-gundam-galaxy",
182
- label: "Gundam Galaxy Workshop",
183
- fullName: "Amit Sharma",
184
- phone: `${_phonePrefix}9876506006`,
185
- addressLine1: "3rd Floor, Koramangala Hobby Hub, 80 Feet Road",
186
- addressLine2: "Koramangala 4th Block",
187
- city: "Bengaluru",
188
- state: "Karnataka",
189
- postalCode: "560034",
190
- country: _locale.countryName,
191
- isDefault: true,
192
- createdAt: daysAgo(230),
193
- updatedAt: daysAgo(2),
194
- },
195
- // ── store-vintage-vault ───────────────────────────────────────────────────
196
- {
197
- id: "saddr-vintage-vault-main-001",
198
- storeSlug: "store-vintage-vault",
199
- label: "Vintage Vault Gallery",
200
- fullName: "Kavya Iyer",
201
- phone: `${_phonePrefix}9876507007`,
202
- addressLine1: "14, Park Street Antiques Lane, Park Street",
203
- landmark: "Near Park Street Metro",
204
- city: "Kolkata",
205
- state: "West Bengal",
206
- postalCode: "700016",
207
- country: _locale.countryName,
208
- isDefault: true,
209
- createdAt: daysAgo(200),
210
- updatedAt: daysAgo(3),
211
- },
212
- {
213
- id: "saddr-vintage-vault-storage-002",
214
- storeSlug: "store-vintage-vault",
215
- label: "Climate-Controlled Archive",
216
- fullName: "Kavya Iyer",
217
- phone: `${_phonePrefix}9876507007`,
218
- addressLine1: "Unit 3, Salt Lake City Collector Storage, Sector V",
219
- city: "Kolkata",
220
- state: "West Bengal",
221
- postalCode: "700091",
222
- country: _locale.countryName,
223
- isDefault: false,
224
- createdAt: daysAgo(180),
225
- updatedAt: daysAgo(10),
226
- },
227
103
  ];
@@ -1,10 +1,3 @@
1
- /**
2
- * S-STORE Extensions Seed Data
3
- *
4
- * Compact sample documents for the 11 new Tier S-STORE collections.
5
- * Used by SeedPanel ("Store" group). Full demo dataset rewrite ships
6
- * with S-STORE-11.
7
- */
8
1
  import type { AnalyticsAlertDocument, AnalyticsCardDocument, ItemRequestDocument, ListingTemplateDocument, ModerationQueueDocument, PayoutMethodDocument, ReportDocument, ShippingConfigDocument, StoreCategoryDocument, StoreGoogleConfigDocument, StoreWhatsAppConfigDocument } from "../features/store-extensions/schemas/firestore";
9
2
  export declare const payoutMethodsSeedData: Partial<PayoutMethodDocument>[];
10
3
  export declare const shippingConfigsSeedData: Partial<ShippingConfigDocument>[];