@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
|
@@ -1,22 +1,43 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Multi-Franchise Collectibles — Seed Data Bundle
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
* themed around the original Pokémon Base Set 151 cards.
|
|
4
|
+
* Covers: Pokémon TCG · Hot Wheels · Beyblade Burst · Transformers
|
|
6
5
|
*
|
|
7
6
|
* Collections covered:
|
|
8
|
-
* - categories
|
|
9
|
-
* - users
|
|
10
|
-
* - products
|
|
11
|
-
* -
|
|
7
|
+
* - categories (pokemonCategoriesSeedData)
|
|
8
|
+
* - users (pokemonUsersSeedData)
|
|
9
|
+
* - products (allProductsSeedData — all 4 franchises combined)
|
|
10
|
+
* - stores (pokemonStoresSeedData)
|
|
11
|
+
* - reviews (reviewsSeedData)
|
|
12
|
+
* - carouselSlides (pokemonCarouselSlidesSeedData)
|
|
12
13
|
* - homepageSections (pokemonHomepageSectionsSeedData)
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
14
|
+
* - carts (cartsSeedData)
|
|
15
|
+
* - bids (bidsSeedData)
|
|
16
|
+
* - wishlists (wishlistsSeedData)
|
|
17
|
+
* - blogPosts (blogPostsSeedData)
|
|
18
|
+
* - events (eventsSeedData)
|
|
19
|
+
* - eventEntries (eventEntriesSeedData)
|
|
20
|
+
* - addresses (addressesSeedData)
|
|
21
|
+
* - storeAddresses (storeAddressesSeedData)
|
|
22
|
+
* - coupons (pokemonCouponsSeedData)
|
|
17
23
|
*/
|
|
24
|
+
/** All products across all 4 franchises — use this as the `products` seed collection. */
|
|
25
|
+
export declare const allProductsSeedData: Partial<import("..").ProductDocument>[];
|
|
18
26
|
export { pokemonCategoriesSeedData } from "./pokemon-categories-seed-data";
|
|
19
27
|
export { pokemonUsersSeedData } from "./pokemon-users-seed-data";
|
|
20
28
|
export { pokemonProductsSeedData } from "./pokemon-products-seed-data";
|
|
29
|
+
export { hotWheelsProductsSeedData } from "./hot-wheels-seed-data";
|
|
30
|
+
export { beybladeProductsSeedData } from "./beyblade-seed-data";
|
|
31
|
+
export { transformersProductsSeedData } from "./transformers-seed-data";
|
|
32
|
+
export { pokemonStoresSeedData } from "./pokemon-stores-seed-data";
|
|
33
|
+
export { reviewsSeedData } from "./reviews-seed-data";
|
|
21
34
|
export { pokemonCarouselSlidesSeedData } from "./pokemon-carousel-slides-seed-data";
|
|
22
35
|
export { pokemonHomepageSectionsSeedData } from "./pokemon-homepage-sections-seed-data";
|
|
36
|
+
export { cartsSeedData } from "./cart-seed-data";
|
|
37
|
+
export { bidsSeedData } from "./bids-seed-data";
|
|
38
|
+
export { wishlistsSeedData } from "./wishlists-seed-data";
|
|
39
|
+
export { blogPostsSeedData } from "./blog-posts-seed-data";
|
|
40
|
+
export { eventsSeedData, eventEntriesSeedData } from "./events-seed-data";
|
|
41
|
+
export { addressesSeedData } from "./addresses-seed-data";
|
|
42
|
+
export { storeAddressesSeedData } from "./store-addresses-seed-data";
|
|
43
|
+
export { pokemonCouponsSeedData } from "./pokemon-coupons-seed-data";
|
|
@@ -1,22 +1,52 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Multi-Franchise Collectibles — Seed Data Bundle
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
* themed around the original Pokémon Base Set 151 cards.
|
|
4
|
+
* Covers: Pokémon TCG · Hot Wheels · Beyblade Burst · Transformers
|
|
6
5
|
*
|
|
7
6
|
* Collections covered:
|
|
8
|
-
* - categories
|
|
9
|
-
* - users
|
|
10
|
-
* - products
|
|
11
|
-
* -
|
|
7
|
+
* - categories (pokemonCategoriesSeedData)
|
|
8
|
+
* - users (pokemonUsersSeedData)
|
|
9
|
+
* - products (allProductsSeedData — all 4 franchises combined)
|
|
10
|
+
* - stores (pokemonStoresSeedData)
|
|
11
|
+
* - reviews (reviewsSeedData)
|
|
12
|
+
* - carouselSlides (pokemonCarouselSlidesSeedData)
|
|
12
13
|
* - homepageSections (pokemonHomepageSectionsSeedData)
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
14
|
+
* - carts (cartsSeedData)
|
|
15
|
+
* - bids (bidsSeedData)
|
|
16
|
+
* - wishlists (wishlistsSeedData)
|
|
17
|
+
* - blogPosts (blogPostsSeedData)
|
|
18
|
+
* - events (eventsSeedData)
|
|
19
|
+
* - eventEntries (eventEntriesSeedData)
|
|
20
|
+
* - addresses (addressesSeedData)
|
|
21
|
+
* - storeAddresses (storeAddressesSeedData)
|
|
22
|
+
* - coupons (pokemonCouponsSeedData)
|
|
17
23
|
*/
|
|
24
|
+
import { pokemonProductsSeedData } from "./pokemon-products-seed-data";
|
|
25
|
+
import { hotWheelsProductsSeedData } from "./hot-wheels-seed-data";
|
|
26
|
+
import { beybladeProductsSeedData } from "./beyblade-seed-data";
|
|
27
|
+
import { transformersProductsSeedData } from "./transformers-seed-data";
|
|
28
|
+
/** All products across all 4 franchises — use this as the `products` seed collection. */
|
|
29
|
+
export const allProductsSeedData = [
|
|
30
|
+
...pokemonProductsSeedData,
|
|
31
|
+
...hotWheelsProductsSeedData,
|
|
32
|
+
...beybladeProductsSeedData,
|
|
33
|
+
...transformersProductsSeedData,
|
|
34
|
+
];
|
|
18
35
|
export { pokemonCategoriesSeedData } from "./pokemon-categories-seed-data";
|
|
19
36
|
export { pokemonUsersSeedData } from "./pokemon-users-seed-data";
|
|
20
37
|
export { pokemonProductsSeedData } from "./pokemon-products-seed-data";
|
|
38
|
+
export { hotWheelsProductsSeedData } from "./hot-wheels-seed-data";
|
|
39
|
+
export { beybladeProductsSeedData } from "./beyblade-seed-data";
|
|
40
|
+
export { transformersProductsSeedData } from "./transformers-seed-data";
|
|
41
|
+
export { pokemonStoresSeedData } from "./pokemon-stores-seed-data";
|
|
42
|
+
export { reviewsSeedData } from "./reviews-seed-data";
|
|
21
43
|
export { pokemonCarouselSlidesSeedData } from "./pokemon-carousel-slides-seed-data";
|
|
22
44
|
export { pokemonHomepageSectionsSeedData } from "./pokemon-homepage-sections-seed-data";
|
|
45
|
+
export { cartsSeedData } from "./cart-seed-data";
|
|
46
|
+
export { bidsSeedData } from "./bids-seed-data";
|
|
47
|
+
export { wishlistsSeedData } from "./wishlists-seed-data";
|
|
48
|
+
export { blogPostsSeedData } from "./blog-posts-seed-data";
|
|
49
|
+
export { eventsSeedData, eventEntriesSeedData } from "./events-seed-data";
|
|
50
|
+
export { addressesSeedData } from "./addresses-seed-data";
|
|
51
|
+
export { storeAddressesSeedData } from "./store-addresses-seed-data";
|
|
52
|
+
export { pokemonCouponsSeedData } from "./pokemon-coupons-seed-data";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
* Store documents aligned with pokemonUsersSeedData seller identities.
|
|
2
|
+
* Multi-Franchise Collectibles — Stores Seed Data (5 stores)
|
|
3
|
+
* Pokémon TCG · Hot Wheels · Beyblade Burst · Transformers
|
|
5
4
|
*/
|
|
6
5
|
import type { StoreDocument } from "../features/stores/schemas";
|
|
7
6
|
export declare const pokemonStoresSeedData: Partial<StoreDocument>[];
|
|
@@ -1,78 +1,103 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
* Store documents aligned with pokemonUsersSeedData seller identities.
|
|
2
|
+
* Multi-Franchise Collectibles — Stores Seed Data (5 stores)
|
|
3
|
+
* Pokémon TCG · Hot Wheels · Beyblade Burst · Transformers
|
|
5
4
|
*/
|
|
6
5
|
const NOW = new Date();
|
|
7
6
|
const daysAgo = (n) => new Date(NOW.getTime() - n * 86400000);
|
|
8
7
|
export const pokemonStoresSeedData = [
|
|
8
|
+
// 1. Misty's Water Cards — Pokémon TCG Water-type
|
|
9
9
|
{
|
|
10
10
|
id: "store-mistys-water-cards",
|
|
11
|
-
storeSlug: "
|
|
11
|
+
storeSlug: "mistys-water-cards",
|
|
12
12
|
ownerId: "user-misty-water-gym-misty",
|
|
13
13
|
storeName: "Misty's Water Cards",
|
|
14
|
-
storeDescription: "Cerulean City specialty store for Water-type Base Set singles and graded collectibles.",
|
|
14
|
+
storeDescription: "Cerulean City specialty store for Water-type Base Set singles and graded collectibles. Blastoise, Lapras, Starmie, Gyarados — all grades available.",
|
|
15
15
|
storeCategory: "pokemon-cards",
|
|
16
16
|
storeLogoURL: "https://images.pokemontcg.io/base1/2_hires.png",
|
|
17
17
|
storeBannerURL: "https://images.pokemontcg.io/base1/14_hires.png",
|
|
18
18
|
status: "active",
|
|
19
|
-
bio: "Water-type specialist
|
|
19
|
+
bio: "Water-type specialist — Blastoise, Lapras, Starmie and more.",
|
|
20
20
|
location: "Cerulean City",
|
|
21
21
|
isPublic: true,
|
|
22
22
|
isVacationMode: false,
|
|
23
|
-
stats: {
|
|
24
|
-
totalProducts: 34,
|
|
25
|
-
itemsSold: 45,
|
|
26
|
-
totalReviews: 12,
|
|
27
|
-
averageRating: 4.8,
|
|
28
|
-
},
|
|
23
|
+
stats: { totalProducts: 40, itemsSold: 45, totalReviews: 12, averageRating: 4.8 },
|
|
29
24
|
createdAt: daysAgo(180),
|
|
30
25
|
updatedAt: daysAgo(2),
|
|
31
26
|
},
|
|
27
|
+
// 2. Surge's Electric Emporium — Pokémon TCG Electric-type
|
|
32
28
|
{
|
|
33
29
|
id: "store-surges-electric-emporium",
|
|
34
|
-
storeSlug: "
|
|
30
|
+
storeSlug: "surges-electric-emporium",
|
|
35
31
|
ownerId: "user-lt-surge-electric-surge",
|
|
36
32
|
storeName: "Surge's Electric Emporium",
|
|
37
|
-
storeDescription: "Vermilion City's Electric-type marketplace for Pikachu, Raichu and Zapdos collectors.",
|
|
33
|
+
storeDescription: "Vermilion City's Electric-type marketplace for Pikachu, Raichu, and Zapdos collectors. Uncommons to Holo Rares, all conditions available.",
|
|
38
34
|
storeCategory: "pokemon-cards",
|
|
39
35
|
storeLogoURL: "https://images.pokemontcg.io/base1/58_hires.png",
|
|
40
36
|
storeBannerURL: "https://images.pokemontcg.io/base1/16_hires.png",
|
|
41
37
|
status: "active",
|
|
42
|
-
bio: "Electric lineup deals
|
|
38
|
+
bio: "Electric lineup deals — from commons to holo rares.",
|
|
43
39
|
location: "Vermilion City",
|
|
44
40
|
isPublic: true,
|
|
45
41
|
isVacationMode: false,
|
|
46
|
-
stats: {
|
|
47
|
-
totalProducts: 33,
|
|
48
|
-
itemsSold: 70,
|
|
49
|
-
totalReviews: 22,
|
|
50
|
-
averageRating: 4.7,
|
|
51
|
-
},
|
|
42
|
+
stats: { totalProducts: 38, itemsSold: 70, totalReviews: 22, averageRating: 4.7 },
|
|
52
43
|
createdAt: daysAgo(200),
|
|
53
44
|
updatedAt: daysAgo(3),
|
|
54
45
|
},
|
|
46
|
+
// 3. Blaine's Fire Shoppe — Pokémon TCG Fire-type
|
|
55
47
|
{
|
|
56
48
|
id: "store-blaines-fire-shoppe",
|
|
57
|
-
storeSlug: "
|
|
49
|
+
storeSlug: "blaines-fire-shoppe",
|
|
58
50
|
ownerId: "user-blaine-fire-gym-blaine",
|
|
59
51
|
storeName: "Blaine's Fire Shoppe",
|
|
60
|
-
storeDescription: "Cinnabar Island
|
|
52
|
+
storeDescription: "Cinnabar Island's premier Fire-type card shop. Charizard, Arcanine, Ninetales, and Moltres in all conditions. Graded slabs available on request.",
|
|
61
53
|
storeCategory: "pokemon-cards",
|
|
62
54
|
storeLogoURL: "https://images.pokemontcg.io/base1/4_hires.png",
|
|
63
|
-
storeBannerURL: "https://images.pokemontcg.io/base1/
|
|
55
|
+
storeBannerURL: "https://images.pokemontcg.io/base1/12_hires.png",
|
|
64
56
|
status: "active",
|
|
65
|
-
bio: "Fire-type
|
|
57
|
+
bio: "Fire-type specialist — Charizard, Ninetales, Moltres and Arcanine.",
|
|
66
58
|
location: "Cinnabar Island",
|
|
67
59
|
isPublic: true,
|
|
68
60
|
isVacationMode: false,
|
|
69
|
-
stats: {
|
|
70
|
-
totalProducts: 34,
|
|
71
|
-
itemsSold: 120,
|
|
72
|
-
totalReviews: 40,
|
|
73
|
-
averageRating: 4.9,
|
|
74
|
-
},
|
|
61
|
+
stats: { totalProducts: 42, itemsSold: 38, totalReviews: 15, averageRating: 4.9 },
|
|
75
62
|
createdAt: daysAgo(220),
|
|
76
63
|
updatedAt: daysAgo(1),
|
|
77
64
|
},
|
|
65
|
+
// 4. Speed King Diecast — Hot Wheels + Transformers
|
|
66
|
+
{
|
|
67
|
+
id: "store-speed-king-diecast",
|
|
68
|
+
storeSlug: "speed-king-diecast",
|
|
69
|
+
ownerId: "user-speed-king-diecast",
|
|
70
|
+
storeName: "Speed King Diecast",
|
|
71
|
+
storeDescription: "India's largest Hot Wheels collector store. Basic mainline cars, premium Car Culture, Treasure Hunt and Super Treasure Hunt, track sets, and Transformers Studio Series figures. Worldwide shipping available.",
|
|
72
|
+
storeCategory: "hot-wheels",
|
|
73
|
+
storeLogoURL: "https://picsum.photos/seed/speedking-logo/200/200",
|
|
74
|
+
storeBannerURL: "https://picsum.photos/seed/speedking-banner/1200/400",
|
|
75
|
+
status: "active",
|
|
76
|
+
bio: "Treasure Hunts · Car Culture · Premium · Track Sets · Transformers",
|
|
77
|
+
location: "Mumbai, India",
|
|
78
|
+
isPublic: true,
|
|
79
|
+
isVacationMode: false,
|
|
80
|
+
stats: { totalProducts: 68, itemsSold: 215, totalReviews: 67, averageRating: 4.6 },
|
|
81
|
+
createdAt: daysAgo(90),
|
|
82
|
+
updatedAt: daysAgo(1),
|
|
83
|
+
},
|
|
84
|
+
// 5. Bladers Paradise — Beyblade Burst + some Transformers
|
|
85
|
+
{
|
|
86
|
+
id: "store-bladers-paradise",
|
|
87
|
+
storeSlug: "bladers-paradise",
|
|
88
|
+
ownerId: "user-bladers-paradise",
|
|
89
|
+
storeName: "Bladers Paradise",
|
|
90
|
+
storeDescription: "Your one-stop shop for Beyblade Burst tops, stadiums, launchers, and accessories. All Burst series — Classic, Turbo, GT, Superking, QuadDrive, and MCC. Let it rip!",
|
|
91
|
+
storeCategory: "beyblade-burst",
|
|
92
|
+
storeLogoURL: "https://picsum.photos/seed/bladers-logo/200/200",
|
|
93
|
+
storeBannerURL: "https://picsum.photos/seed/bladers-banner/1200/400",
|
|
94
|
+
status: "active",
|
|
95
|
+
bio: "Attack · Defense · Stamina · Balance · Stadiums · Launchers",
|
|
96
|
+
location: "Bangalore, India",
|
|
97
|
+
isPublic: true,
|
|
98
|
+
isVacationMode: false,
|
|
99
|
+
stats: { totalProducts: 52, itemsSold: 143, totalReviews: 48, averageRating: 4.5 },
|
|
100
|
+
createdAt: daysAgo(120),
|
|
101
|
+
updatedAt: daysAgo(2),
|
|
102
|
+
},
|
|
78
103
|
];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* Multi-Franchise Collectibles — Users Seed Data
|
|
3
|
+
* 1 admin + 5 sellers (store-permitted) + 10 active buyers + 2 banned = 18 users
|
|
4
4
|
*/
|
|
5
5
|
import type { UserDocument } from "../features/auth/schemas";
|
|
6
6
|
export declare const pokemonUsersSeedData: Partial<UserDocument>[];
|