@mohasinac/appkit 2.7.53 → 2.7.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_internal/client/features/layout/DashboardLayoutClient.js +1 -1
- package/dist/_internal/server/jobs/core/auctionSettlement.js +6 -3
- package/dist/_internal/server/jobs/core/bundleStockSync.js +9 -7
- package/dist/_internal/server/jobs/core/onProductStockChange.d.ts +12 -3
- package/dist/_internal/server/jobs/core/onProductStockChange.js +12 -13
- package/dist/_internal/server/jobs/core/onProductWrite.js +1 -3
- package/dist/_internal/server/jobs/handlers/onProductStockChange.js +11 -2
- package/dist/client.d.ts +2 -0
- package/dist/client.js +1 -0
- package/dist/constants/field-names.d.ts +4 -3
- package/dist/constants/field-names.js +8 -8
- package/dist/errors/error-codes.d.ts +3 -0
- package/dist/errors/error-codes.js +3 -0
- package/dist/errors/messages.d.ts +3 -0
- package/dist/errors/messages.js +3 -0
- package/dist/features/admin/types/product.types.d.ts +1 -1
- package/dist/features/admin/types/product.types.js +2 -3
- package/dist/features/auctions/actions/bid-actions.d.ts +9 -0
- package/dist/features/auctions/actions/bid-actions.js +61 -0
- package/dist/features/auctions/components/AuctionDetailPageView.d.ts +2 -1
- package/dist/features/auctions/components/AuctionDetailPageView.js +5 -4
- package/dist/features/auctions/components/PlaceBidFormClient.d.ts +3 -1
- package/dist/features/auctions/components/PlaceBidFormClient.js +32 -2
- package/dist/features/auctions/types/index.d.ts +1 -1
- package/dist/features/layout/AppLayoutShell.js +1 -1
- package/dist/features/pre-orders/components/PreOrdersIndexListing.js +2 -11
- package/dist/features/products/api/[id]/route.js +4 -8
- package/dist/features/products/api/route.js +1 -3
- package/dist/features/products/components/AuctionsIndexListing.js +3 -11
- package/dist/features/products/components/PrizeDrawsIndexListing.js +2 -10
- package/dist/features/products/components/ProductFilters.d.ts +33 -9
- package/dist/features/products/components/ProductFilters.js +6 -29
- package/dist/features/products/components/ProductForm.js +2 -3
- package/dist/features/products/constants/sieve.d.ts +162 -0
- package/dist/features/products/constants/sieve.js +95 -0
- package/dist/features/products/repository/products.repository.d.ts +5 -0
- package/dist/features/products/repository/products.repository.js +23 -3
- package/dist/features/products/schemas/firestore.d.ts +4 -4
- package/dist/features/products/schemas/firestore.js +2 -3
- package/dist/features/products/schemas/index.d.ts +6 -6
- package/dist/features/products/schemas/index.js +2 -6
- package/dist/features/products/types/index.d.ts +1 -1
- package/dist/features/seller/actions/offer-actions.js +2 -2
- package/dist/features/wishlist/types/index.d.ts +1 -1
- package/dist/index.d.ts +6 -3
- package/dist/index.js +6 -4
- package/dist/seed/addresses-seed-data.d.ts +2 -18
- package/dist/seed/addresses-seed-data.js +137 -203
- package/dist/seed/bids-seed-data.d.ts +2 -8
- package/dist/seed/bids-seed-data.js +172 -648
- package/dist/seed/blog-posts-seed-data.d.ts +0 -5
- package/dist/seed/blog-posts-seed-data.js +341 -596
- package/dist/seed/carousel-slides-seed-data.d.ts +0 -5
- package/dist/seed/carousel-slides-seed-data.js +61 -192
- package/dist/seed/carousels-seed-data.js +18 -1
- package/dist/seed/cart-seed-data.d.ts +1 -18
- package/dist/seed/cart-seed-data.js +116 -293
- package/dist/seed/categories-seed-data.d.ts +0 -6
- package/dist/seed/categories-seed-data.js +1409 -1537
- package/dist/seed/claimed-coupons-seed-data.d.ts +0 -11
- package/dist/seed/claimed-coupons-seed-data.js +32 -29
- package/dist/seed/conversations-seed-data.d.ts +0 -6
- package/dist/seed/conversations-seed-data.js +132 -280
- package/dist/seed/coupon-usage-seed-data.d.ts +0 -16
- package/dist/seed/coupon-usage-seed-data.js +30 -44
- package/dist/seed/coupons-seed-data.d.ts +0 -6
- package/dist/seed/coupons-seed-data.js +141 -489
- package/dist/seed/events-seed-data.d.ts +0 -6
- package/dist/seed/events-seed-data.js +201 -379
- package/dist/seed/faq-seed-data.d.ts +0 -14
- package/dist/seed/faq-seed-data.js +609 -1184
- package/dist/seed/grouped-listings-seed-data.d.ts +119 -8
- package/dist/seed/grouped-listings-seed-data.js +148 -233
- package/dist/seed/history-seed-data.d.ts +0 -7
- package/dist/seed/history-seed-data.js +50 -54
- package/dist/seed/homepage-sections-seed-data.d.ts +0 -5
- package/dist/seed/homepage-sections-seed-data.js +83 -175
- package/dist/seed/index.d.ts +1 -1
- package/dist/seed/index.js +1 -1
- package/dist/seed/manifest.js +2 -2
- package/dist/seed/notifications-seed-data.d.ts +0 -6
- package/dist/seed/notifications-seed-data.js +309 -196
- package/dist/seed/offers-seed-data.d.ts +0 -8
- package/dist/seed/offers-seed-data.js +118 -197
- package/dist/seed/orders-seed-data.d.ts +2 -8
- package/dist/seed/orders-seed-data.js +248 -1510
- package/dist/seed/payouts-seed-data.d.ts +0 -6
- package/dist/seed/payouts-seed-data.js +102 -441
- package/dist/seed/products-auctions-seed-data.d.ts +1 -14
- package/dist/seed/products-auctions-seed-data.js +612 -1084
- package/dist/seed/products-preorders-seed-data.d.ts +119 -14
- package/dist/seed/products-preorders-seed-data.js +154 -455
- package/dist/seed/products-standard-seed-data.d.ts +1 -15
- package/dist/seed/products-standard-seed-data.js +1355 -4128
- package/dist/seed/reviews-seed-data.d.ts +2 -8
- package/dist/seed/reviews-seed-data.js +99 -1182
- package/dist/seed/scammers-seed-data.d.ts +0 -15
- package/dist/seed/scammers-seed-data.js +36 -37
- package/dist/seed/sessions-seed-data.d.ts +0 -13
- package/dist/seed/sessions-seed-data.js +58 -335
- package/dist/seed/site-settings-seed-data.d.ts +0 -4
- package/dist/seed/site-settings-seed-data.js +61 -52
- package/dist/seed/store-addresses-seed-data.js +27 -151
- package/dist/seed/store-extensions-seed-data.d.ts +0 -7
- package/dist/seed/store-extensions-seed-data.js +147 -261
- package/dist/seed/stores-seed-data.d.ts +0 -5
- package/dist/seed/stores-seed-data.js +222 -184
- package/dist/seed/sub-listings-seed-data.d.ts +119 -0
- package/dist/seed/sub-listings-seed-data.js +447 -0
- package/dist/seed/support-tickets-seed-data.d.ts +0 -7
- package/dist/seed/support-tickets-seed-data.js +82 -75
- package/dist/seed/users-seed-data.d.ts +0 -5
- package/dist/seed/users-seed-data.js +279 -634
- package/dist/seed/wishlists-seed-data.d.ts +0 -9
- package/dist/seed/wishlists-seed-data.js +36 -52
- package/dist/seo/json-ld.js +6 -4
- package/dist/styles.css +8052 -3
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +1 -0
- package/dist/utils/search-tokens.d.ts +2 -0
- package/dist/utils/search-tokens.js +21 -0
- package/package.json +2 -2
- package/scripts/seed-cli.mjs +2 -2
|
@@ -1,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: "India
|
|
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
|
|
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 —
|
|
101
|
-
defaultDescription: "
|
|
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
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
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-
|
|
111
|
-
"
|
|
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://
|
|
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: "
|
|
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–
|
|
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
|
|
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: "
|
|
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 &
|
|
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
|
|
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-
|
|
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:
|
|
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:
|
|
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,
|
|
264
|
+
codDeposit: 0.1,
|
|
255
265
|
},
|
|
256
266
|
},
|
|
257
267
|
createdAt: daysAgo(799),
|
|
258
268
|
updatedAt: daysAgo(29),
|
|
259
269
|
navbarConfig: {
|
|
260
|
-
hiddenNavItems: [],
|
|
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-
|
|
285
|
-
name: "
|
|
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-
|
|
303
|
+
updatedBy: "user-admin-letitrip",
|
|
294
304
|
creative: {
|
|
295
|
-
title: "
|
|
296
|
-
body: "Limited
|
|
297
|
-
imageUrl: "https://
|
|
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
|
|
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-
|
|
322
|
+
updatedBy: "user-admin-letitrip",
|
|
313
323
|
creative: {
|
|
314
|
-
title: "
|
|
315
|
-
body: "
|
|
316
|
-
imageUrl: "https://
|
|
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-
|
|
323
|
-
name: "Search Spotlight
|
|
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-
|
|
343
|
+
updatedBy: "user-admin-letitrip",
|
|
334
344
|
creative: {
|
|
335
|
-
title: "
|
|
336
|
-
body: "
|
|
337
|
-
imageUrl: "https://
|
|
338
|
-
ctaLabel: "Browse
|
|
339
|
-
ctaHref: "/
|
|
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-
|
|
55
|
+
// ── store-kaiba-corp-cards ────────────────────────────────────────────────
|
|
48
56
|
{
|
|
49
|
-
id: "saddr-
|
|
50
|
-
storeSlug: "store-
|
|
51
|
-
label: "
|
|
52
|
-
fullName: "
|
|
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-
|
|
67
|
-
storeSlug: "store-
|
|
74
|
+
id: "saddr-kaiba-corp-pickup-002",
|
|
75
|
+
storeSlug: "store-kaiba-corp-cards",
|
|
68
76
|
label: "Local Pickup Point",
|
|
69
|
-
fullName: "
|
|
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-
|
|
100
|
-
storeSlug: "store-
|
|
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: "
|
|
120
|
-
phone: `${_phonePrefix}
|
|
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>[];
|