@mohasinac/appkit 2.3.1 → 2.3.2
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/client.d.ts +12 -8
- package/dist/client.js +7 -4
- package/dist/constants/api-endpoints.d.ts +4 -0
- package/dist/constants/api-endpoints.js +2 -0
- package/dist/core/contact-submissions.repository.d.ts +32 -0
- package/dist/core/contact-submissions.repository.js +49 -0
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.js +1 -0
- package/dist/features/about/components/HowPayoutsWorkView.js +1 -1
- package/dist/features/account/components/AddressFilters.d.ts +5 -0
- package/dist/features/account/components/AddressFilters.js +20 -0
- package/dist/features/account/components/AddressesIndexListing.d.ts +6 -0
- package/dist/features/account/components/AddressesIndexListing.js +51 -0
- package/dist/features/account/components/UserSidebar.d.ts +7 -3
- package/dist/features/account/components/UserSidebar.js +55 -7
- package/dist/features/account/hooks/useAddresses.d.ts +7 -0
- package/dist/features/account/hooks/useAddresses.js +12 -1
- package/dist/features/admin/actions/admin-read-actions.d.ts +12 -0
- package/dist/features/admin/actions/admin-read-actions.js +18 -0
- package/dist/features/admin/components/AdminBlogView.js +26 -2
- package/dist/features/admin/components/AdminCarouselView.js +18 -2
- package/dist/features/admin/components/AdminCategoriesView.js +27 -2
- package/dist/features/admin/components/AdminContactView.d.ts +4 -0
- package/dist/features/admin/components/AdminContactView.js +50 -0
- package/dist/features/admin/components/AdminFaqsView.js +19 -2
- package/dist/features/admin/components/AdminListingScaffold.d.ts +11 -2
- package/dist/features/admin/components/AdminListingScaffold.js +14 -3
- package/dist/features/admin/components/AdminNewsletterView.d.ts +4 -0
- package/dist/features/admin/components/AdminNewsletterView.js +50 -0
- package/dist/features/admin/components/AdminProductsView.js +30 -2
- package/dist/features/admin/components/AdminReviewsView.js +26 -2
- package/dist/features/admin/components/AdminStoresView.js +17 -2
- package/dist/features/admin/components/AdminUsersView.js +27 -2
- package/dist/features/admin/components/DataTable.d.ts +2 -1
- package/dist/features/admin/components/DataTable.js +18 -4
- package/dist/features/admin/components/index.d.ts +6 -0
- package/dist/features/admin/components/index.js +3 -0
- package/dist/features/admin/hooks/useAdminListingData.d.ts +3 -1
- package/dist/features/admin/hooks/useAdminListingData.js +12 -7
- package/dist/features/admin/server.d.ts +3 -0
- package/dist/features/admin/server.js +2 -0
- package/dist/features/auctions/components/AuctionDetailPageView.js +93 -47
- package/dist/features/auctions/components/AuctionFilters.d.ts +8 -0
- package/dist/features/auctions/components/AuctionFilters.js +12 -0
- package/dist/features/auctions/components/AuctionsListView.d.ts +6 -1
- package/dist/features/auctions/components/AuctionsListView.js +37 -5
- package/dist/features/auctions/schemas/index.d.ts +4 -4
- package/dist/features/blog/components/BlogFeaturedCard.d.ts +1 -7
- package/dist/features/blog/components/BlogFeaturedCard.js +4 -5
- package/dist/features/blog/components/BlogFilters.js +2 -1
- package/dist/features/blog/components/BlogIndexListing.js +14 -9
- package/dist/features/blog/components/BlogIndexPageView.d.ts +6 -1
- package/dist/features/blog/components/BlogIndexPageView.js +10 -2
- package/dist/features/blog/components/BlogListView.d.ts +2 -1
- package/dist/features/blog/components/BlogListView.js +10 -3
- package/dist/features/categories/components/CategoriesIndexListing.d.ts +1 -1
- package/dist/features/categories/components/CategoriesIndexListing.js +41 -38
- package/dist/features/categories/components/CategoriesIndexPageView.d.ts +6 -1
- package/dist/features/categories/components/CategoriesIndexPageView.js +41 -2
- package/dist/features/categories/components/CategoryDetailPageView.js +13 -6
- package/dist/features/categories/components/CategoryDetailTabs.d.ts +5 -0
- package/dist/features/categories/components/CategoryDetailTabs.js +17 -0
- package/dist/features/categories/components/CategoryFilters.js +2 -1
- package/dist/features/categories/components/CategoryGrid.d.ts +2 -1
- package/dist/features/categories/components/CategoryGrid.js +8 -6
- package/dist/features/categories/components/CategoryProductsListing.js +22 -11
- package/dist/features/categories/components/index.d.ts +2 -0
- package/dist/features/categories/components/index.js +1 -0
- package/dist/features/categories/hooks/useCategories.d.ts +20 -0
- package/dist/features/categories/hooks/useCategories.js +50 -1
- package/dist/features/categories/hooks/useCategoryTree.d.ts +17 -0
- package/dist/features/categories/hooks/useCategoryTree.js +65 -0
- package/dist/features/events/components/AdminEventEditorView.d.ts +6 -0
- package/dist/features/events/components/AdminEventEditorView.js +203 -0
- package/dist/features/events/components/AdminEventsView.js +28 -2
- package/dist/features/events/components/EventCard.js +4 -2
- package/dist/features/events/components/EventFilters.js +2 -1
- package/dist/features/events/components/EventsIndexListing.js +40 -10
- package/dist/features/events/components/EventsListPageView.d.ts +6 -1
- package/dist/features/events/components/EventsListPageView.js +40 -7
- package/dist/features/events/components/index.d.ts +2 -0
- package/dist/features/events/components/index.js +1 -0
- package/dist/features/events/hooks/useEvents.js +2 -0
- package/dist/features/events/types/index.d.ts +1 -0
- package/dist/features/homepage/components/BlogArticlesSection.js +1 -1
- package/dist/features/homepage/components/EventsSection.js +1 -1
- package/dist/features/homepage/components/FeaturedAuctionsSection.js +1 -1
- package/dist/features/homepage/components/FeaturedPreOrdersSection.js +1 -1
- package/dist/features/homepage/components/FeaturedProductsSection.js +1 -1
- package/dist/features/homepage/components/FeaturedStoresSection.js +1 -1
- package/dist/features/homepage/components/HeroCarousel.js +1 -1
- package/dist/features/homepage/components/MarketplaceHomepageView.js +27 -17
- package/dist/features/homepage/components/SectionCarousel.js +4 -4
- package/dist/features/homepage/components/ShopByCategorySection.js +2 -2
- package/dist/features/homepage/schemas/firestore.d.ts +1 -1
- package/dist/features/homepage/schemas/firestore.js +2 -1
- package/dist/features/layout/AppLayoutShell.d.ts +6 -2
- package/dist/features/layout/AppLayoutShell.js +7 -3
- package/dist/features/pre-orders/components/MarketplacePreorderCard.d.ts +3 -1
- package/dist/features/pre-orders/components/MarketplacePreorderCard.js +6 -2
- package/dist/features/pre-orders/components/PreOrderDetailPageView.js +80 -12
- package/dist/features/pre-orders/components/PreOrderFilters.d.ts +8 -0
- package/dist/features/pre-orders/components/PreOrderFilters.js +21 -0
- package/dist/features/pre-orders/components/PreOrdersIndexListing.d.ts +2 -1
- package/dist/features/pre-orders/components/PreOrdersIndexListing.js +69 -10
- package/dist/features/pre-orders/components/PreOrdersListView.d.ts +6 -1
- package/dist/features/pre-orders/components/PreOrdersListView.js +26 -7
- package/dist/features/pre-orders/components/index.d.ts +2 -0
- package/dist/features/pre-orders/components/index.js +1 -0
- package/dist/features/products/components/AuctionsIndexListing.d.ts +2 -1
- package/dist/features/products/components/AuctionsIndexListing.js +61 -9
- package/dist/features/products/components/InteractiveProductCard.d.ts +2 -4
- package/dist/features/products/components/InteractiveProductCard.js +2 -2
- package/dist/features/products/components/ProductDetailPageView.d.ts +1 -1
- package/dist/features/products/components/ProductDetailPageView.js +116 -25
- package/dist/features/products/components/ProductFilters.d.ts +6 -11
- package/dist/features/products/components/ProductFilters.js +5 -3
- package/dist/features/products/components/ProductGrid.d.ts +8 -2
- package/dist/features/products/components/ProductGrid.js +20 -5
- package/dist/features/products/components/ProductTabsShell.d.ts +3 -11
- package/dist/features/products/components/ProductTabsShell.js +14 -14
- package/dist/features/products/components/ProductsIndexListing.js +73 -9
- package/dist/features/products/components/ProductsIndexPageView.d.ts +6 -1
- package/dist/features/products/components/ProductsIndexPageView.js +39 -6
- package/dist/features/products/components/RelatedProductsCarousel.d.ts +7 -0
- package/dist/features/products/components/RelatedProductsCarousel.js +11 -0
- package/dist/features/products/components/index.d.ts +1 -0
- package/dist/features/products/components/index.js +1 -0
- package/dist/features/products/hooks/useProducts.js +16 -0
- package/dist/features/products/repository/products.repository.d.ts +8 -0
- package/dist/features/products/repository/products.repository.js +2 -0
- package/dist/features/products/schemas/index.d.ts +8 -8
- package/dist/features/products/types/index.d.ts +12 -0
- package/dist/features/promotions/components/CouponsIndexListing.d.ts +9 -0
- package/dist/features/promotions/components/CouponsIndexListing.js +86 -0
- package/dist/features/promotions/components/PromotionsView.d.ts +11 -5
- package/dist/features/promotions/components/PromotionsView.js +6 -1
- package/dist/features/promotions/components/index.d.ts +4 -2
- package/dist/features/promotions/components/index.js +2 -1
- package/dist/features/reviews/components/ReviewDetailPageView.d.ts +4 -0
- package/dist/features/reviews/components/ReviewDetailPageView.js +20 -0
- package/dist/features/reviews/components/ReviewDetailShell.d.ts +7 -0
- package/dist/features/reviews/components/ReviewDetailShell.js +80 -0
- package/dist/features/reviews/components/ReviewFilters.d.ts +3 -3
- package/dist/features/reviews/components/ReviewFilters.js +5 -4
- package/dist/features/reviews/components/ReviewsIndexListing.d.ts +4 -3
- package/dist/features/reviews/components/ReviewsIndexListing.js +35 -51
- package/dist/features/reviews/components/ReviewsIndexPageView.d.ts +6 -1
- package/dist/features/reviews/components/ReviewsIndexPageView.js +49 -3
- package/dist/features/reviews/components/ReviewsList.js +9 -1
- package/dist/features/reviews/components/index.d.ts +1 -0
- package/dist/features/reviews/hooks/useReviews.js +15 -1
- package/dist/features/reviews/types/index.d.ts +6 -1
- package/dist/features/seller/components/SellerSidebar.d.ts +8 -4
- package/dist/features/seller/components/SellerSidebar.js +6 -4
- package/dist/features/seller/components/index.d.ts +30 -0
- package/dist/features/seller/components/index.js +17 -0
- package/dist/features/seller/hooks/useSellerStore.d.ts +2 -0
- package/dist/features/seller/hooks/useSellerStore.js +2 -0
- package/dist/features/seller/permission-map.d.ts +4 -2
- package/dist/features/seller/permission-map.js +16 -14
- package/dist/features/seller/schemas/index.d.ts +2 -2
- package/dist/features/stores/api/[storeSlug]/reviews/route.d.ts +1 -1
- package/dist/features/stores/api/[storeSlug]/reviews/route.js +24 -19
- package/dist/features/stores/components/InteractiveStoreCard.d.ts +0 -5
- package/dist/features/stores/components/InteractiveStoreCard.js +9 -9
- package/dist/features/stores/components/StoreAuctionsListing.js +27 -9
- package/dist/features/stores/components/StoreDetailLayoutView.js +2 -0
- package/dist/features/stores/components/StoreFilters.d.ts +5 -0
- package/dist/features/stores/components/StoreFilters.js +20 -0
- package/dist/features/stores/components/StoreHeader.js +2 -2
- package/dist/features/stores/components/StorePreOrdersListing.d.ts +5 -0
- package/dist/features/stores/components/StorePreOrdersListing.js +40 -0
- package/dist/features/stores/components/StorePreOrdersPageView.d.ts +4 -0
- package/dist/features/stores/components/StorePreOrdersPageView.js +21 -0
- package/dist/features/stores/components/StoreProductsListing.js +21 -11
- package/dist/features/stores/components/StoreReviewsListing.js +2 -7
- package/dist/features/stores/components/StoresIndexListing.js +42 -8
- package/dist/features/stores/components/StoresIndexPageView.d.ts +6 -1
- package/dist/features/stores/components/StoresIndexPageView.js +9 -2
- package/dist/features/stores/components/index.d.ts +3 -0
- package/dist/features/stores/components/index.js +1 -0
- package/dist/features/stores/hooks/useStores.d.ts +7 -1
- package/dist/features/stores/hooks/useStores.js +16 -3
- package/dist/features/stores/schemas/index.d.ts +2 -2
- package/dist/features/stores/types/index.d.ts +3 -0
- package/dist/features/wishlist/hooks/useGuestWishlist.d.ts +20 -0
- package/dist/features/wishlist/hooks/useGuestWishlist.js +49 -0
- package/dist/features/wishlist/hooks/useWishlistCount.d.ts +7 -0
- package/dist/features/wishlist/hooks/useWishlistCount.js +31 -0
- package/dist/features/wishlist/hooks/useWishlistWithGuest.d.ts +56 -0
- package/dist/features/wishlist/hooks/useWishlistWithGuest.js +57 -0
- package/dist/features/wishlist/index.d.ts +3 -0
- package/dist/features/wishlist/index.js +3 -0
- package/dist/features/wishlist/utils/guest-wishlist.d.ts +22 -0
- package/dist/features/wishlist/utils/guest-wishlist.js +70 -0
- package/dist/index.d.ts +50 -1
- package/dist/index.js +63 -1
- package/dist/next/routing/route-map.d.ts +70 -36
- package/dist/next/routing/route-map.js +30 -22
- package/dist/seed/addresses-seed-data.js +62 -261
- package/dist/seed/beyblade-seed-data.d.ts +7 -0
- package/dist/seed/beyblade-seed-data.js +947 -0
- package/dist/seed/bids-seed-data.d.ts +10 -2
- package/dist/seed/bids-seed-data.js +220 -1071
- package/dist/seed/blog-posts-seed-data.d.ts +2 -2
- package/dist/seed/blog-posts-seed-data.js +455 -117
- package/dist/seed/cart-seed-data.d.ts +9 -9
- package/dist/seed/cart-seed-data.js +73 -74
- package/dist/seed/coupons-seed-data.d.ts +3 -4
- package/dist/seed/coupons-seed-data.js +3 -509
- package/dist/seed/events-seed-data.d.ts +2 -2
- package/dist/seed/events-seed-data.js +315 -476
- package/dist/seed/faq-seed-data.d.ts +18 -41
- package/dist/seed/faq-seed-data.js +1059 -1172
- package/dist/seed/hot-wheels-seed-data.d.ts +7 -0
- package/dist/seed/hot-wheels-seed-data.js +1365 -0
- package/dist/seed/index.d.ts +6 -1
- package/dist/seed/index.js +6 -1
- package/dist/seed/pokemon-carousel-slides-seed-data.d.ts +4 -2
- package/dist/seed/pokemon-carousel-slides-seed-data.js +152 -268
- package/dist/seed/pokemon-categories-seed-data.d.ts +18 -21
- package/dist/seed/pokemon-categories-seed-data.js +424 -1004
- package/dist/seed/pokemon-coupons-seed-data.d.ts +6 -0
- package/dist/seed/pokemon-coupons-seed-data.js +465 -0
- package/dist/seed/pokemon-homepage-sections-seed-data.d.ts +3 -2
- package/dist/seed/pokemon-homepage-sections-seed-data.js +67 -289
- package/dist/seed/pokemon-products-seed-data.js +662 -0
- package/dist/seed/pokemon-seed-bundle.d.ts +32 -11
- package/dist/seed/pokemon-seed-bundle.js +41 -11
- package/dist/seed/pokemon-stores-seed-data.d.ts +2 -3
- package/dist/seed/pokemon-stores-seed-data.js +56 -31
- package/dist/seed/pokemon-users-seed-data.d.ts +2 -2
- package/dist/seed/pokemon-users-seed-data.js +245 -261
- package/dist/seed/reviews-seed-data.d.ts +17 -2
- package/dist/seed/reviews-seed-data.js +519 -483
- package/dist/seed/site-settings-seed-data.js +14 -14
- package/dist/seed/store-addresses-seed-data.js +68 -50
- package/dist/seed/transformers-seed-data.d.ts +7 -0
- package/dist/seed/transformers-seed-data.js +510 -0
- package/dist/seed/wishlists-seed-data.d.ts +5 -1
- package/dist/seed/wishlists-seed-data.js +82 -4
- package/dist/server.d.ts +1 -0
- package/dist/server.js +2 -0
- package/dist/tokens/index.d.ts +6 -0
- package/dist/tokens/index.js +2 -0
- package/dist/ui/components/BaseListingCard.js +24 -26
- package/dist/ui/components/BaseListingCard.style.css +5 -5
- package/dist/ui/components/HorizontalScroller.d.ts +1 -1
- package/dist/ui/components/HorizontalScroller.js +19 -5
- package/dist/ui/components/SideDrawer.style.css +3 -11
- package/dist/ui/rich-text/RichText.js +19 -1
- package/package.json +1 -1
|
@@ -2,25 +2,25 @@ import { getSeedLocale, getDefaultPhonePrefix } from "./seed-market-config";
|
|
|
2
2
|
const _locale = getSeedLocale();
|
|
3
3
|
const _phonePrefix = getDefaultPhonePrefix();
|
|
4
4
|
/**
|
|
5
|
-
* Addresses Seed Data
|
|
6
|
-
* Sample user addresses for development and testing
|
|
5
|
+
* Addresses Seed Data — Pokemon TCG Themed
|
|
7
6
|
*
|
|
7
|
+
* Sample user addresses for development and testing.
|
|
8
8
|
* Addresses stored as subcollection: users/{userId}/addresses/{addressId}
|
|
9
|
-
* All address documents mapped to users that exist in users-seed-data.ts.
|
|
9
|
+
* All address documents mapped to users that exist in pokemon-users-seed-data.ts.
|
|
10
10
|
*/
|
|
11
11
|
// --- Dynamic date helpers ---------------------------------------------------
|
|
12
12
|
const NOW = new Date();
|
|
13
13
|
const daysAgo = (n) => new Date(NOW.getTime() - n * 86400000);
|
|
14
14
|
export const addressesSeedData = [
|
|
15
15
|
// ============================================
|
|
16
|
-
//
|
|
16
|
+
// Ash Ketchum's Addresses
|
|
17
17
|
// ============================================
|
|
18
18
|
{
|
|
19
|
-
id: "addr-
|
|
20
|
-
userId: "user-
|
|
19
|
+
id: "addr-ash-home-1707400001",
|
|
20
|
+
userId: "user-ash-ketchum-pallet-ash",
|
|
21
21
|
label: "Home",
|
|
22
|
-
fullName: "
|
|
23
|
-
phone: `${_phonePrefix}
|
|
22
|
+
fullName: "Ash Ketchum",
|
|
23
|
+
phone: `${_phonePrefix}9111111111`,
|
|
24
24
|
addressLine1: "Flat 302, Crystal Towers",
|
|
25
25
|
addressLine2: "MG Road, Andheri East",
|
|
26
26
|
city: "Mumbai",
|
|
@@ -32,46 +32,29 @@ export const addressesSeedData = [
|
|
|
32
32
|
updatedAt: daysAgo(753),
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
|
-
id: "addr-
|
|
36
|
-
userId: "user-
|
|
37
|
-
label: "
|
|
38
|
-
fullName: "
|
|
39
|
-
phone: `${_phonePrefix}
|
|
40
|
-
addressLine1: "
|
|
41
|
-
addressLine2: "
|
|
42
|
-
city: "
|
|
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
43
|
state: "Maharashtra",
|
|
44
|
-
postalCode: "
|
|
44
|
+
postalCode: "411001",
|
|
45
45
|
country: _locale.countryName,
|
|
46
46
|
isDefault: false,
|
|
47
47
|
createdAt: daysAgo(738),
|
|
48
48
|
updatedAt: daysAgo(738),
|
|
49
49
|
},
|
|
50
|
-
{
|
|
51
|
-
id: "addr-john-parents-1707400003",
|
|
52
|
-
userId: "user-john-doe-johndoe",
|
|
53
|
-
label: "Parents' Home",
|
|
54
|
-
fullName: "Rakesh Doe",
|
|
55
|
-
phone: `${_phonePrefix}2066554433`,
|
|
56
|
-
addressLine1: "House No. 45, Sector 12",
|
|
57
|
-
addressLine2: "Near Central Park",
|
|
58
|
-
landmark: "Opposite State Bank",
|
|
59
|
-
city: "Pune",
|
|
60
|
-
state: "Maharashtra",
|
|
61
|
-
postalCode: "411038",
|
|
62
|
-
country: _locale.countryName,
|
|
63
|
-
isDefault: false,
|
|
64
|
-
createdAt: daysAgo(698),
|
|
65
|
-
updatedAt: daysAgo(698),
|
|
66
|
-
},
|
|
67
50
|
// ============================================
|
|
68
|
-
//
|
|
51
|
+
// Gary Oak's Addresses
|
|
69
52
|
// ============================================
|
|
70
53
|
{
|
|
71
|
-
id: "addr-
|
|
72
|
-
userId: "user-
|
|
54
|
+
id: "addr-gary-home-1707400004",
|
|
55
|
+
userId: "user-gary-oak-gary",
|
|
73
56
|
label: "Home",
|
|
74
|
-
fullName: "
|
|
57
|
+
fullName: "Gary Oak",
|
|
75
58
|
phone: `${_phonePrefix}9876543212`,
|
|
76
59
|
addressLine1: "Villa 23, Whitefield Gardens",
|
|
77
60
|
addressLine2: "Marathahalli",
|
|
@@ -84,13 +67,13 @@ export const addressesSeedData = [
|
|
|
84
67
|
updatedAt: daysAgo(729),
|
|
85
68
|
},
|
|
86
69
|
{
|
|
87
|
-
id: "addr-
|
|
88
|
-
userId: "user-
|
|
89
|
-
label: "
|
|
90
|
-
fullName: "
|
|
70
|
+
id: "addr-gary-research-1707400005",
|
|
71
|
+
userId: "user-gary-oak-gary",
|
|
72
|
+
label: "Research Lab",
|
|
73
|
+
fullName: "Gary Oak",
|
|
91
74
|
phone: `${_phonePrefix}9876543212`,
|
|
92
|
-
addressLine1: "
|
|
93
|
-
addressLine2: "
|
|
75
|
+
addressLine1: "Oak Pokemon Research Lab",
|
|
76
|
+
addressLine2: "Pallet Town Research District",
|
|
94
77
|
city: "Bangalore",
|
|
95
78
|
state: "Karnataka",
|
|
96
79
|
postalCode: "560103",
|
|
@@ -100,17 +83,17 @@ export const addressesSeedData = [
|
|
|
100
83
|
updatedAt: daysAgo(703),
|
|
101
84
|
},
|
|
102
85
|
// ============================================
|
|
103
|
-
//
|
|
86
|
+
// Brock's Addresses
|
|
104
87
|
// ============================================
|
|
105
88
|
{
|
|
106
|
-
id: "addr-
|
|
107
|
-
userId: "user-
|
|
108
|
-
label: "
|
|
109
|
-
fullName: "
|
|
89
|
+
id: "addr-brock-home-1707400006",
|
|
90
|
+
userId: "user-brock-pewter-brock",
|
|
91
|
+
label: "Gym",
|
|
92
|
+
fullName: "Brock",
|
|
110
93
|
phone: `${_phonePrefix}9876543213`,
|
|
111
|
-
addressLine1: "
|
|
112
|
-
addressLine2: "
|
|
113
|
-
landmark: "Near
|
|
94
|
+
addressLine1: "Pewter City Gym, MG Road",
|
|
95
|
+
addressLine2: "Rock Type District",
|
|
96
|
+
landmark: "Near Boulder Badge Museum",
|
|
114
97
|
city: "Bangalore",
|
|
115
98
|
state: "Karnataka",
|
|
116
99
|
postalCode: "560001",
|
|
@@ -120,10 +103,10 @@ export const addressesSeedData = [
|
|
|
120
103
|
updatedAt: daysAgo(688),
|
|
121
104
|
},
|
|
122
105
|
{
|
|
123
|
-
id: "addr-
|
|
124
|
-
userId: "user-
|
|
125
|
-
label: "
|
|
126
|
-
fullName: "
|
|
106
|
+
id: "addr-brock-home2-1707400007",
|
|
107
|
+
userId: "user-brock-pewter-brock",
|
|
108
|
+
label: "Family Home",
|
|
109
|
+
fullName: "Brock",
|
|
127
110
|
phone: `${_phonePrefix}9876543213`,
|
|
128
111
|
addressLine1: "56, Indiranagar 100ft Road",
|
|
129
112
|
addressLine2: "Near CMH Hospital",
|
|
@@ -136,17 +119,17 @@ export const addressesSeedData = [
|
|
|
136
119
|
updatedAt: daysAgo(423),
|
|
137
120
|
},
|
|
138
121
|
// ============================================
|
|
139
|
-
//
|
|
122
|
+
// Sabrina's Addresses
|
|
140
123
|
// ============================================
|
|
141
124
|
{
|
|
142
|
-
id: "addr-
|
|
143
|
-
userId: "user-
|
|
144
|
-
label: "
|
|
145
|
-
fullName: "
|
|
125
|
+
id: "addr-sabrina-home-1707400008",
|
|
126
|
+
userId: "user-sabrina-psychic-sabrina",
|
|
127
|
+
label: "Gym",
|
|
128
|
+
fullName: "Sabrina",
|
|
146
129
|
phone: `${_phonePrefix}9876543260`,
|
|
147
|
-
addressLine1: "
|
|
148
|
-
addressLine2: "
|
|
149
|
-
landmark: "Near
|
|
130
|
+
addressLine1: "Saffron City Gym",
|
|
131
|
+
addressLine2: "Psychic Street",
|
|
132
|
+
landmark: "Near Silph Co.",
|
|
150
133
|
city: "Hyderabad",
|
|
151
134
|
state: "Telangana",
|
|
152
135
|
postalCode: "500034",
|
|
@@ -155,33 +138,17 @@ export const addressesSeedData = [
|
|
|
155
138
|
createdAt: daysAgo(360),
|
|
156
139
|
updatedAt: daysAgo(360),
|
|
157
140
|
},
|
|
158
|
-
{
|
|
159
|
-
id: "addr-priya-work-1707400009",
|
|
160
|
-
userId: "user-priya-sharma-priya",
|
|
161
|
-
label: "Office",
|
|
162
|
-
fullName: "Priya Sharma",
|
|
163
|
-
phone: `${_phonePrefix}9876543260`,
|
|
164
|
-
addressLine1: "DLF Cyber City, Tower 11",
|
|
165
|
-
addressLine2: "HITEC City",
|
|
166
|
-
city: "Hyderabad",
|
|
167
|
-
state: "Telangana",
|
|
168
|
-
postalCode: "500081",
|
|
169
|
-
country: _locale.countryName,
|
|
170
|
-
isDefault: false,
|
|
171
|
-
createdAt: daysAgo(342),
|
|
172
|
-
updatedAt: daysAgo(342),
|
|
173
|
-
},
|
|
174
141
|
// ============================================
|
|
175
|
-
//
|
|
142
|
+
// Erika's Addresses
|
|
176
143
|
// ============================================
|
|
177
144
|
{
|
|
178
|
-
id: "addr-
|
|
179
|
-
userId: "user-
|
|
180
|
-
label: "
|
|
181
|
-
fullName: "
|
|
145
|
+
id: "addr-erika-home-1707400010",
|
|
146
|
+
userId: "user-erika-celadon-erika",
|
|
147
|
+
label: "Gym",
|
|
148
|
+
fullName: "Erika",
|
|
182
149
|
phone: `${_phonePrefix}9876543270`,
|
|
183
|
-
addressLine1: "
|
|
184
|
-
addressLine2: "
|
|
150
|
+
addressLine1: "Celadon City Gym",
|
|
151
|
+
addressLine2: "Grass Type Garden District",
|
|
185
152
|
city: "Ahmedabad",
|
|
186
153
|
state: "Gujarat",
|
|
187
154
|
postalCode: "380009",
|
|
@@ -190,34 +157,18 @@ export const addressesSeedData = [
|
|
|
190
157
|
createdAt: daysAgo(294),
|
|
191
158
|
updatedAt: daysAgo(294),
|
|
192
159
|
},
|
|
193
|
-
{
|
|
194
|
-
id: "addr-raj-business-1707400011",
|
|
195
|
-
userId: "user-raj-patel-rajpatel",
|
|
196
|
-
label: "Business",
|
|
197
|
-
fullName: "Raj Patel Enterprises",
|
|
198
|
-
phone: `${_phonePrefix}2712233445`,
|
|
199
|
-
addressLine1: "Shop 45, GIDC Industrial Estate",
|
|
200
|
-
addressLine2: "Phase 2, Vatva",
|
|
201
|
-
city: "Ahmedabad",
|
|
202
|
-
state: "Gujarat",
|
|
203
|
-
postalCode: "382445",
|
|
204
|
-
country: _locale.countryName,
|
|
205
|
-
isDefault: false,
|
|
206
|
-
createdAt: daysAgo(267),
|
|
207
|
-
updatedAt: daysAgo(267),
|
|
208
|
-
},
|
|
209
160
|
// ============================================
|
|
210
|
-
//
|
|
161
|
+
// Professor Oak's Addresses
|
|
211
162
|
// ============================================
|
|
212
163
|
{
|
|
213
|
-
id: "addr-
|
|
214
|
-
userId: "user-
|
|
215
|
-
label: "
|
|
216
|
-
fullName: "
|
|
164
|
+
id: "addr-oak-lab-1707400012",
|
|
165
|
+
userId: "user-professor-oak-prof",
|
|
166
|
+
label: "Lab",
|
|
167
|
+
fullName: "Professor Samuel Oak",
|
|
217
168
|
phone: `${_phonePrefix}9876543280`,
|
|
218
|
-
addressLine1: "
|
|
219
|
-
addressLine2: "
|
|
220
|
-
landmark: "Opposite
|
|
169
|
+
addressLine1: "Oak Pokemon Research Lab",
|
|
170
|
+
addressLine2: "North of Pallet Town",
|
|
171
|
+
landmark: "Opposite Pallet Town Entrance",
|
|
221
172
|
city: "Kochi",
|
|
222
173
|
state: "Kerala",
|
|
223
174
|
postalCode: "682001",
|
|
@@ -226,22 +177,6 @@ export const addressesSeedData = [
|
|
|
226
177
|
createdAt: daysAgo(221),
|
|
227
178
|
updatedAt: daysAgo(221),
|
|
228
179
|
},
|
|
229
|
-
{
|
|
230
|
-
id: "addr-meera-parents-1707400013",
|
|
231
|
-
userId: "user-vikram-nair-vikram",
|
|
232
|
-
label: "Parents",
|
|
233
|
-
fullName: "Suresh Nair",
|
|
234
|
-
phone: `${_phonePrefix}4842334455`,
|
|
235
|
-
addressLine1: "TC 25/1104, Pulimoodu",
|
|
236
|
-
addressLine2: "Near Padmatheertham",
|
|
237
|
-
city: "Thiruvananthapuram",
|
|
238
|
-
state: "Kerala",
|
|
239
|
-
postalCode: "695001",
|
|
240
|
-
country: _locale.countryName,
|
|
241
|
-
isDefault: false,
|
|
242
|
-
createdAt: daysAgo(180),
|
|
243
|
-
updatedAt: daysAgo(180),
|
|
244
|
-
},
|
|
245
180
|
// ============================================
|
|
246
181
|
// Moderator's Address
|
|
247
182
|
// ============================================
|
|
@@ -280,138 +215,4 @@ export const addressesSeedData = [
|
|
|
280
215
|
createdAt: daysAgo(799),
|
|
281
216
|
updatedAt: daysAgo(799),
|
|
282
217
|
},
|
|
283
|
-
// ============================================
|
|
284
|
-
// Jane Smith — Delhi address (matches her orders)
|
|
285
|
-
// ============================================
|
|
286
|
-
{
|
|
287
|
-
id: "addr-jane-delhi-1707400018",
|
|
288
|
-
userId: "user-jane-smith-janes",
|
|
289
|
-
label: "Delhi Flat",
|
|
290
|
-
fullName: "Jane Smith",
|
|
291
|
-
phone: `${_phonePrefix}9876543212`,
|
|
292
|
-
addressLine1: "Flat 7B, Lajpat Nagar II",
|
|
293
|
-
addressLine2: "Near Central Market",
|
|
294
|
-
city: "New Delhi",
|
|
295
|
-
state: "Delhi",
|
|
296
|
-
postalCode: "110024",
|
|
297
|
-
country: _locale.countryName,
|
|
298
|
-
isDefault: false,
|
|
299
|
-
createdAt: daysAgo(128),
|
|
300
|
-
updatedAt: daysAgo(128),
|
|
301
|
-
},
|
|
302
|
-
// ============================================
|
|
303
|
-
// Fashion Boutique's Business Address
|
|
304
|
-
// ============================================
|
|
305
|
-
{
|
|
306
|
-
id: "addr-fashion-boutique-biz-1707400019",
|
|
307
|
-
userId: "user-fashion-boutique-fashionb",
|
|
308
|
-
label: "Studio",
|
|
309
|
-
fullName: "Fashion Boutique",
|
|
310
|
-
phone: `${_phonePrefix}9876543240`,
|
|
311
|
-
addressLine1: "Studio 14, Linking Road",
|
|
312
|
-
addressLine2: "Bandra West",
|
|
313
|
-
city: "Mumbai",
|
|
314
|
-
state: "Maharashtra",
|
|
315
|
-
postalCode: "400050",
|
|
316
|
-
country: _locale.countryName,
|
|
317
|
-
isDefault: true,
|
|
318
|
-
createdAt: daysAgo(646),
|
|
319
|
-
updatedAt: daysAgo(646),
|
|
320
|
-
},
|
|
321
|
-
// ============================================
|
|
322
|
-
// Home Essentials' Warehouse Address
|
|
323
|
-
// ============================================
|
|
324
|
-
{
|
|
325
|
-
id: "addr-home-essentials-warehouse-1707400020",
|
|
326
|
-
userId: "user-home-essentials-homeesse",
|
|
327
|
-
label: "Warehouse",
|
|
328
|
-
fullName: "Home Essentials",
|
|
329
|
-
phone: `${_phonePrefix}9876543250`,
|
|
330
|
-
addressLine1: "Plot 22, RIICO Industrial Area",
|
|
331
|
-
addressLine2: "Sitapura",
|
|
332
|
-
city: "Jaipur",
|
|
333
|
-
state: "Rajasthan",
|
|
334
|
-
postalCode: "302022",
|
|
335
|
-
country: _locale.countryName,
|
|
336
|
-
isDefault: true,
|
|
337
|
-
createdAt: daysAgo(616),
|
|
338
|
-
updatedAt: daysAgo(616),
|
|
339
|
-
},
|
|
340
|
-
// ============================================
|
|
341
|
-
// Ananya Bose's Address
|
|
342
|
-
// ============================================
|
|
343
|
-
{
|
|
344
|
-
id: "addr-ananya-home-1707400021",
|
|
345
|
-
userId: "user-ananya-bose-ananya",
|
|
346
|
-
label: "Home",
|
|
347
|
-
fullName: "Ananya Bose",
|
|
348
|
-
phone: `${_phonePrefix}9876543291`,
|
|
349
|
-
addressLine1: "43, Lake Town, Block B",
|
|
350
|
-
addressLine2: "Near Bidhan Nagar",
|
|
351
|
-
city: "Kolkata",
|
|
352
|
-
state: "West Bengal",
|
|
353
|
-
postalCode: "700089",
|
|
354
|
-
country: _locale.countryName,
|
|
355
|
-
isDefault: true,
|
|
356
|
-
createdAt: daysAgo(145),
|
|
357
|
-
updatedAt: daysAgo(145),
|
|
358
|
-
},
|
|
359
|
-
// ============================================
|
|
360
|
-
// Pooja Mehta's Address
|
|
361
|
-
// ============================================
|
|
362
|
-
{
|
|
363
|
-
id: "addr-pooja-home-1707400022",
|
|
364
|
-
userId: "user-pooja-mehta-pooja",
|
|
365
|
-
label: "Home",
|
|
366
|
-
fullName: "Pooja Mehta",
|
|
367
|
-
phone: `${_phonePrefix}9876543292`,
|
|
368
|
-
addressLine1: "15, Pali Hill",
|
|
369
|
-
addressLine2: "Bandra West",
|
|
370
|
-
city: "Mumbai",
|
|
371
|
-
state: "Maharashtra",
|
|
372
|
-
postalCode: "400050",
|
|
373
|
-
country: _locale.countryName,
|
|
374
|
-
isDefault: true,
|
|
375
|
-
createdAt: daysAgo(119),
|
|
376
|
-
updatedAt: daysAgo(119),
|
|
377
|
-
},
|
|
378
|
-
// ============================================
|
|
379
|
-
// Ravi Kumar's Address
|
|
380
|
-
// ============================================
|
|
381
|
-
{
|
|
382
|
-
id: "addr-ravi-home-1707400023",
|
|
383
|
-
userId: "user-ravi-kumar-ravi",
|
|
384
|
-
label: "Home",
|
|
385
|
-
fullName: "Ravi Kumar",
|
|
386
|
-
phone: `${_phonePrefix}9876543293`,
|
|
387
|
-
addressLine1: "78, Sector 20, Chandigarh",
|
|
388
|
-
addressLine2: "",
|
|
389
|
-
landmark: "Near Elante Mall",
|
|
390
|
-
city: "Chandigarh",
|
|
391
|
-
state: "Punjab",
|
|
392
|
-
postalCode: "160020",
|
|
393
|
-
country: _locale.countryName,
|
|
394
|
-
isDefault: true,
|
|
395
|
-
createdAt: daysAgo(98),
|
|
396
|
-
updatedAt: daysAgo(98),
|
|
397
|
-
},
|
|
398
|
-
// ============================================
|
|
399
|
-
// Sneha Gupta's Address
|
|
400
|
-
// ============================================
|
|
401
|
-
{
|
|
402
|
-
id: "addr-sneha-home-1707400024",
|
|
403
|
-
userId: "user-sneha-gupta-sneha",
|
|
404
|
-
label: "Home",
|
|
405
|
-
fullName: "Sneha Gupta",
|
|
406
|
-
phone: `${_phonePrefix}9876543294`,
|
|
407
|
-
addressLine1: "32, Gomti Nagar, Sector 3",
|
|
408
|
-
addressLine2: "",
|
|
409
|
-
city: "Lucknow",
|
|
410
|
-
state: "Uttar Pradesh",
|
|
411
|
-
postalCode: "226010",
|
|
412
|
-
country: _locale.countryName,
|
|
413
|
-
isDefault: true,
|
|
414
|
-
createdAt: daysAgo(63),
|
|
415
|
-
updatedAt: daysAgo(63),
|
|
416
|
-
},
|
|
417
218
|
];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Beyblade Burst — Products Seed Data
|
|
3
|
+
* 20 general · 2 auctions · 2 pre-orders = 24 total
|
|
4
|
+
* Seller: Bladers Paradise (store-bladers-paradise)
|
|
5
|
+
*/
|
|
6
|
+
import type { ProductDocument } from "../features/products/schemas";
|
|
7
|
+
export declare const beybladeProductsSeedData: Partial<ProductDocument>[];
|