@mohasinac/appkit 4.53.0 → 4.53.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/.build-stamp.json +3 -3
- package/dist/_internal/client/scaffolds/AppShell.js +1 -1
- package/dist/_internal/client/theme/ThemeProvider.js +15 -1
- package/dist/_internal/server/features/auctions/og.d.ts +3 -1
- package/dist/_internal/server/features/auctions/og.js +3 -1
- package/dist/_internal/server/features/bundles/actions.js +1 -1
- package/dist/_internal/server/features/business-documents/download.d.ts +41 -0
- package/dist/_internal/server/features/business-documents/download.js +91 -0
- package/dist/_internal/server/features/categories/adapters.d.ts +1 -1
- package/dist/_internal/server/features/categories/adapters.js +10 -0
- package/dist/_internal/server/features/categories/price-guidance-resolve.d.ts +66 -0
- package/dist/_internal/server/features/categories/price-guidance-resolve.js +138 -0
- package/dist/_internal/server/features/checkout/actions.d.ts +14 -0
- package/dist/_internal/server/features/checkout/actions.js +106 -12
- package/dist/_internal/server/features/checkout/bundle-expansion.js +17 -0
- package/dist/_internal/server/features/checkout/data.d.ts +22 -0
- package/dist/_internal/server/features/checkout/group-rule-revalidation.d.ts +34 -0
- package/dist/_internal/server/features/checkout/group-rule-revalidation.js +124 -0
- package/dist/_internal/server/features/checkout/supplier-identity.d.ts +55 -0
- package/dist/_internal/server/features/checkout/supplier-identity.js +81 -0
- package/dist/_internal/server/features/classified/metadata.js +1 -1
- package/dist/_internal/server/features/classified/og.d.ts +3 -1
- package/dist/_internal/server/features/classified/og.js +3 -1
- package/dist/_internal/server/features/digital-code/metadata.js +1 -1
- package/dist/_internal/server/features/digital-code/og.d.ts +3 -1
- package/dist/_internal/server/features/digital-code/og.js +3 -1
- package/dist/_internal/server/features/digital-code/pool.d.ts +19 -4
- package/dist/_internal/server/features/digital-code/pool.js +19 -4
- package/dist/_internal/server/features/live/metadata.js +1 -1
- package/dist/_internal/server/features/live/og.d.ts +3 -1
- package/dist/_internal/server/features/live/og.js +3 -1
- package/dist/_internal/server/features/messages/actions.js +1 -1
- package/dist/_internal/server/features/parts/og.js +1 -1
- package/dist/_internal/server/features/pre-orders/og.d.ts +3 -1
- package/dist/_internal/server/features/pre-orders/og.js +3 -1
- package/dist/_internal/server/features/price-index/market.d.ts +57 -0
- package/dist/_internal/server/features/price-index/market.js +120 -0
- package/dist/_internal/server/features/price-index/search.d.ts +18 -0
- package/dist/_internal/server/features/price-index/search.js +47 -7
- package/dist/_internal/server/features/prize-draws/og.d.ts +3 -1
- package/dist/_internal/server/features/prize-draws/og.js +3 -1
- package/dist/_internal/server/features/products/group-members.d.ts +26 -0
- package/dist/_internal/server/features/products/group-members.js +7 -1
- package/dist/_internal/server/features/products/list-public.d.ts +12 -0
- package/dist/_internal/server/features/products/list-public.js +10 -1
- package/dist/_internal/server/features/products/listing-tab-counts.d.ts +25 -1
- package/dist/_internal/server/features/products/listing-tab-counts.js +128 -10
- package/dist/_internal/server/features/products/og.d.ts +3 -1
- package/dist/_internal/server/features/products/og.js +3 -1
- package/dist/_internal/server/features/search/scoped-sources.d.ts +26 -0
- package/dist/_internal/server/features/search/scoped-sources.js +252 -0
- package/dist/_internal/server/features/search/search-everything.d.ts +57 -0
- package/dist/_internal/server/features/search/search-everything.js +70 -20
- package/dist/_internal/server/features/seo/sitemap.js +6 -0
- package/dist/_internal/server/features/shared/listing-adapters.js +4 -2
- package/dist/_internal/server/features/sticker-trace/adapters.d.ts +11 -0
- package/dist/_internal/server/features/sticker-trace/adapters.js +1 -0
- package/dist/_internal/server/features/sticker-trace/promote-to-listings.d.ts +26 -0
- package/dist/_internal/server/features/sticker-trace/promote-to-listings.js +264 -0
- package/dist/_internal/server/features/sticker-trace/sheet-actions.d.ts +3 -1
- package/dist/_internal/server/features/sticker-trace/sheet-actions.js +32 -0
- package/dist/_internal/server/features/sticker-trace/storage.d.ts +20 -1
- package/dist/_internal/server/features/sticker-trace/storage.js +20 -1
- package/dist/_internal/server/features/stores/adapters.d.ts +1 -1
- package/dist/_internal/server/features/stores/adapters.js +16 -0
- package/dist/_internal/server/features/stores/index.d.ts +1 -0
- package/dist/_internal/server/features/stores/index.js +1 -0
- package/dist/_internal/server/features/stores/tabs.d.ts +30 -0
- package/dist/_internal/server/features/stores/tabs.js +124 -0
- package/dist/_internal/shared/checkout/rules/_defaults.js +0 -2
- package/dist/_internal/shared/checkout/rules/_limits.d.ts +14 -1
- package/dist/_internal/shared/checkout/rules/_limits.js +14 -1
- package/dist/_internal/shared/checkout/rules/_registry.js +2 -0
- package/dist/_internal/shared/checkout/rules/auction.rule.js +9 -1
- package/dist/_internal/shared/checkout/rules/bundle.rule.js +13 -0
- package/dist/_internal/shared/checkout/rules/index.d.ts +2 -0
- package/dist/_internal/shared/checkout/rules/index.js +9 -0
- package/dist/_internal/shared/checkout/rules/offer.rule.js +0 -1
- package/dist/_internal/shared/checkout/rules/payment-gate.d.ts +26 -0
- package/dist/_internal/shared/checkout/rules/payment-gate.js +133 -0
- package/dist/_internal/shared/checkout/rules/prize-draw.rule.js +29 -8
- package/dist/_internal/shared/checkout/rules/spares.rule.d.ts +16 -0
- package/dist/_internal/shared/checkout/rules/spares.rule.js +5 -0
- package/dist/_internal/shared/checkout/rules/types.d.ts +26 -2
- package/dist/_internal/shared/config/schema.d.ts +122 -0
- package/dist/_internal/shared/features/cart/schema.js +3 -2
- package/dist/_internal/shared/features/products/group-rules.d.ts +75 -0
- package/dist/_internal/shared/features/products/group-rules.js +142 -0
- package/dist/_internal/shared/listing-types/_registry.d.ts +24 -0
- package/dist/_internal/shared/listing-types/_registry.js +39 -1
- package/dist/_internal/shared/listing-types/art/config.d.ts +1 -0
- package/dist/_internal/shared/listing-types/art/config.js +2 -0
- package/dist/_internal/shared/listing-types/auction/config.d.ts +1 -0
- package/dist/_internal/shared/listing-types/auction/config.js +2 -0
- package/dist/_internal/shared/listing-types/availability.js +48 -0
- package/dist/_internal/shared/listing-types/capabilities.js +19 -0
- package/dist/_internal/shared/listing-types/classified/config.d.ts +1 -0
- package/dist/_internal/shared/listing-types/classified/config.js +2 -0
- package/dist/_internal/shared/listing-types/digital-code/config.d.ts +1 -0
- package/dist/_internal/shared/listing-types/digital-code/config.js +2 -0
- package/dist/_internal/shared/listing-types/feature-flags.js +1 -0
- package/dist/_internal/shared/listing-types/live/config.d.ts +1 -0
- package/dist/_internal/shared/listing-types/live/config.js +2 -0
- package/dist/_internal/shared/listing-types/pre-order/config.d.ts +1 -0
- package/dist/_internal/shared/listing-types/pre-order/config.js +2 -0
- package/dist/_internal/shared/listing-types/prize-draw/config.d.ts +1 -0
- package/dist/_internal/shared/listing-types/prize-draw/config.js +2 -0
- package/dist/_internal/shared/listing-types/spares/config.d.ts +74 -0
- package/dist/_internal/shared/listing-types/spares/config.js +60 -0
- package/dist/_internal/shared/listing-types/spares/ctas.d.ts +1 -0
- package/dist/_internal/shared/listing-types/spares/ctas.js +4 -0
- package/dist/_internal/shared/listing-types/spares/og.js +1 -0
- package/dist/_internal/shared/listing-types/spares/schema.d.ts +2 -0
- package/dist/_internal/shared/listing-types/spares/schema.js +3 -0
- package/dist/_internal/shared/listing-types/spares/seed-factory.d.ts +1 -0
- package/dist/_internal/shared/listing-types/spares/seed-factory.js +1 -0
- package/dist/_internal/shared/listing-types/standard/config.d.ts +1 -0
- package/dist/_internal/shared/listing-types/standard/config.js +2 -0
- package/dist/_internal/shared/listing-types/stickers/config.d.ts +1 -0
- package/dist/_internal/shared/listing-types/stickers/config.js +2 -0
- package/dist/_internal/shared/search/match.d.ts +11 -0
- package/dist/_internal/shared/search/match.js +30 -3
- package/dist/_internal/shared/search/to-groups.d.ts +52 -0
- package/dist/_internal/shared/search/to-groups.js +141 -0
- package/dist/client.d.ts +8 -2
- package/dist/client.js +4 -1
- package/dist/constants/api-endpoints.d.ts +46 -15
- package/dist/constants/api-endpoints.js +35 -5
- package/dist/constants/cache-invalidation.js +3 -1
- package/dist/constants/field-names.d.ts +6 -0
- package/dist/constants/field-names.js +6 -0
- package/dist/features/about/components/PolicyPageView.d.ts +22 -2
- package/dist/features/about/components/PolicyPageView.js +14 -2
- package/dist/features/about/components/PublicProfileView.js +2 -1
- package/dist/features/about/components/ShippingPolicyView.js +42 -2
- package/dist/features/account/components/NotificationBell.js +1 -1
- package/dist/features/account/hooks/useProfileStats.js +5 -1
- package/dist/features/addresses/repository/addresses.repository.d.ts +16 -0
- package/dist/features/addresses/repository/addresses.repository.js +21 -0
- package/dist/features/admin/actions/admin-actions.js +16 -1
- package/dist/features/admin/components/AdminCategoryEditorView.js +19 -2
- package/dist/features/admin/components/AdminNavigationView.js +1 -1
- package/dist/features/admin/components/AdminPageHeader.js +1 -1
- package/dist/features/admin/components/AdminProductEditorView.js +17 -2
- package/dist/features/admin/components/AdminSidebar.js +1 -1
- package/dist/features/admin/components/AdminSiteSettingsView.js +39 -8
- package/dist/features/admin/components/AdminSparesView.d.ts +12 -0
- package/dist/features/admin/components/AdminSparesView.js +30 -0
- package/dist/features/admin/components/AdminUsersView.js +9 -7
- package/dist/features/admin/components/index.d.ts +2 -0
- package/dist/features/admin/components/index.js +1 -0
- package/dist/features/admin/components/sections/adminSectionsTypes.js +7 -0
- package/dist/features/admin/constants/filter-tabs.d.ts +3 -0
- package/dist/features/admin/constants/filter-tabs.js +1 -0
- package/dist/features/admin/schemas/firestore.d.ts +26 -2
- package/dist/features/auctions/components/AuctionDetailPageView.js +12 -18
- package/dist/features/auth/repository/user.repository.d.ts +13 -0
- package/dist/features/auth/repository/user.repository.js +28 -0
- package/dist/features/auth/schemas/firestore.d.ts +2 -0
- package/dist/features/auth/schemas/firestore.js +2 -0
- package/dist/features/business-documents/repository/business-documents.repository.d.ts +58 -0
- package/dist/features/business-documents/repository/business-documents.repository.js +54 -0
- package/dist/features/business-documents/schemas/firestore.d.ts +105 -0
- package/dist/features/business-documents/schemas/firestore.js +75 -0
- package/dist/features/cart/actions/cart-actions.js +83 -6
- package/dist/features/cart/repository/cart.repository.js +32 -4
- package/dist/features/cart/schemas/firestore.d.ts +20 -0
- package/dist/features/cart/schemas/index.d.ts +2 -2
- package/dist/features/catalogue/components/PublicCatalogueItemDetailView.js +1 -1
- package/dist/features/categories/api/[id]/price-guidance/route.d.ts +42 -0
- package/dist/features/categories/api/[id]/price-guidance/route.js +90 -0
- package/dist/features/categories/components/BrandDetailPageView.js +32 -8
- package/dist/features/categories/components/BrandDetailTabs.d.ts +7 -1
- package/dist/features/categories/components/BrandDetailTabs.js +28 -3
- package/dist/features/categories/components/BundleCollage.js +3 -2
- package/dist/features/categories/components/BundleItemsPicker.js +3 -4
- package/dist/features/categories/components/CategoriesIndexListing.js +23 -8
- package/dist/features/categories/components/CategoryDetailPageView.js +157 -20
- package/dist/features/categories/components/CategoryDetailTabs.d.ts +7 -1
- package/dist/features/categories/components/CategoryDetailTabs.js +41 -7
- package/dist/features/categories/components/CategoryGrid.js +10 -1
- package/dist/features/categories/components/PriceGuidanceHint.d.ts +29 -0
- package/dist/features/categories/components/PriceGuidanceHint.js +61 -0
- package/dist/features/categories/components/SubcategoryCardRow.d.ts +27 -0
- package/dist/features/categories/components/SubcategoryCardRow.js +98 -0
- package/dist/features/categories/constants/category-tabs.d.ts +20 -25
- package/dist/features/categories/constants/category-tabs.js +22 -39
- package/dist/features/categories/repository/categories.repository.d.ts +12 -0
- package/dist/features/categories/repository/categories.repository.js +20 -0
- package/dist/features/categories/schemas/firestore.d.ts +22 -1
- package/dist/features/categories/schemas/firestore.js +10 -0
- package/dist/features/categories/schemas/index.d.ts +6 -0
- package/dist/features/categories/schemas/index.js +2 -0
- package/dist/features/categories/types/index.d.ts +8 -0
- package/dist/features/categories/utils/taxonomy-visual.d.ts +16 -3
- package/dist/features/categories/utils/taxonomy-visual.js +26 -10
- package/dist/features/classified/components/ClassifiedDetailPageView.js +14 -10
- package/dist/features/contact/components/ContactPageView.d.ts +33 -1
- package/dist/features/contact/components/ContactPageView.js +58 -28
- package/dist/features/digital-codes/components/DigitalCodeDetailPageView.js +14 -10
- package/dist/features/grouped/components/GroupedListingDetailView.js +9 -1
- package/dist/features/grouped/schemas/firestore.d.ts +5 -0
- package/dist/features/homepage/actions/homepage-section-actions.d.ts +3 -3
- package/dist/features/homepage/components/CollectionCardsSection.d.ts +28 -6
- package/dist/features/homepage/components/CollectionCardsSection.js +43 -8
- package/dist/features/homepage/components/HowItWorksSection.d.ts +23 -6
- package/dist/features/homepage/components/HowItWorksSection.js +4 -4
- package/dist/features/homepage/components/PromoGrid.d.ts +31 -2
- package/dist/features/homepage/components/PromoGrid.js +12 -3
- package/dist/features/homepage/components/TestimonialsCarousel.d.ts +34 -2
- package/dist/features/homepage/components/TestimonialsCarousel.js +1 -1
- package/dist/features/homepage/components/index.d.ts +0 -20
- package/dist/features/homepage/components/index.js +0 -11
- package/dist/features/homepage/index.d.ts +0 -2
- package/dist/features/homepage/index.js +0 -2
- package/dist/features/homepage/lib/section-renderer.d.ts +9 -0
- package/dist/features/homepage/lib/section-renderer.js +202 -58
- package/dist/features/homepage/repository/homepage-sections.repository.d.ts +35 -3
- package/dist/features/homepage/repository/homepage-sections.repository.js +58 -8
- package/dist/features/homepage/schemas/firestore.d.ts +106 -3
- package/dist/features/homepage/schemas/firestore.js +32 -2
- package/dist/features/homepage/schemas/index.d.ts +36 -7
- package/dist/features/homepage/schemas/index.js +39 -27
- package/dist/features/homepage/server.d.ts +0 -3
- package/dist/features/homepage/server.js +0 -3
- package/dist/features/homepage/types/index.d.ts +0 -47
- package/dist/features/homepage/types/index.js +49 -0
- package/dist/features/layout/AppLayoutShell.js +1 -1
- package/dist/features/layout/BottomNavItem.js +1 -1
- package/dist/features/layout/BottomSheet.js +1 -1
- package/dist/features/layout/TitleBarLayout.js +1 -1
- package/dist/features/live/components/LiveItemDetailPageView.js +14 -10
- package/dist/features/media/hooks/useMedia.js +17 -0
- package/dist/features/media/repository/media-assets.repository.d.ts +46 -0
- package/dist/features/media/repository/media-assets.repository.js +31 -0
- package/dist/features/media/trust-signals.d.ts +85 -0
- package/dist/features/media/trust-signals.js +126 -0
- package/dist/features/parts/components/PartDetailPageView.d.ts +14 -1
- package/dist/features/parts/components/PartDetailPageView.js +2 -2
- package/dist/features/parts/components/PartsIndexPageView.d.ts +11 -2
- package/dist/features/parts/components/PartsIndexPageView.js +2 -2
- package/dist/features/parts/components/PartsSearchBox.d.ts +9 -0
- package/dist/features/parts/components/PartsSearchBox.js +57 -0
- package/dist/features/parts/schemas/firestore.d.ts +149 -3
- package/dist/features/parts/schemas/firestore.js +184 -0
- package/dist/features/payments/repository/payout.repository.d.ts +15 -0
- package/dist/features/payments/repository/payout.repository.js +21 -0
- package/dist/features/pre-orders/components/PreOrderDetailPageView.js +12 -18
- package/dist/features/pre-orders/components/PreOrdersIndexListing.js +1 -1
- package/dist/features/price-index/components/PriceIndexToolView.d.ts +24 -1
- package/dist/features/price-index/components/PriceIndexToolView.js +299 -17
- package/dist/features/price-index/lookup-target.d.ts +48 -0
- package/dist/features/price-index/lookup-target.js +107 -0
- package/dist/features/products/components/AvailabilityScopeHint.d.ts +22 -0
- package/dist/features/products/components/AvailabilityScopeHint.js +27 -0
- package/dist/features/products/components/CompareOverlay.d.ts +20 -2
- package/dist/features/products/components/CompareOverlay.js +23 -3
- package/dist/features/products/components/CustomSectionTabContent.d.ts +31 -0
- package/dist/features/products/components/CustomSectionTabContent.js +29 -3
- package/dist/features/products/components/GroupMemberPicker.d.ts +19 -1
- package/dist/features/products/components/GroupMemberPicker.js +46 -8
- package/dist/features/products/components/GroupSettingsPanel.d.ts +11 -1
- package/dist/features/products/components/GroupSettingsPanel.js +92 -3
- package/dist/features/products/components/PrizeDrawDetailPageView.js +1 -1
- package/dist/features/products/components/PrizeDrawEntryActions.d.ts +15 -1
- package/dist/features/products/components/PrizeDrawEntryActions.js +70 -8
- package/dist/features/products/components/ProductDetailPageView.js +81 -17
- package/dist/features/products/components/ProductForm.d.ts +13 -1
- package/dist/features/products/components/ProductForm.js +16 -2
- package/dist/features/products/components/ProductsIndexListing.d.ts +16 -1
- package/dist/features/products/components/ProductsIndexListing.js +3 -3
- package/dist/features/products/components/ShowGroupSection.js +15 -2
- package/dist/features/products/components/SparesListView.d.ts +7 -0
- package/dist/features/products/components/SparesListView.js +39 -0
- package/dist/features/products/components/SublistingCarouselSection.js +2 -1
- package/dist/features/products/constants/action-defs.d.ts +1 -0
- package/dist/features/products/constants/action-defs.js +1 -0
- package/dist/features/products/repository/products.repository.d.ts +99 -0
- package/dist/features/products/repository/products.repository.js +240 -18
- package/dist/features/products/schemas/firestore.d.ts +97 -4
- package/dist/features/products/schemas/firestore.js +104 -0
- package/dist/features/products/schemas/index.d.ts +10 -19
- package/dist/features/products/schemas/index.js +23 -6
- package/dist/features/products/types/index.d.ts +45 -1
- package/dist/features/products/utils/group-member-image.d.ts +46 -0
- package/dist/features/products/utils/group-member-image.js +4 -0
- package/dist/features/products/utils/listing-badge-variant.js +4 -0
- package/dist/features/reviews/components/ReviewsList.js +1 -1
- package/dist/features/scams/components/ScamProfileView.js +1 -1
- package/dist/features/search/components/EntityTypeahead.d.ts +44 -0
- package/dist/features/search/components/EntityTypeahead.js +92 -0
- package/dist/features/search/components/Search.d.ts +12 -1
- package/dist/features/search/components/Search.js +47 -3
- package/dist/features/search/components/SearchFacetRail.d.ts +11 -0
- package/dist/features/search/components/SearchFacetRail.js +92 -0
- package/dist/features/search/components/SearchResultsClient.d.ts +33 -0
- package/dist/features/search/components/SearchResultsClient.js +103 -0
- package/dist/features/search/components/SearchResultsPageView.d.ts +15 -1
- package/dist/features/search/components/SearchResultsPageView.js +2 -2
- package/dist/features/search/components/index.d.ts +0 -6
- package/dist/features/search/components/index.js +0 -3
- package/dist/features/search/hooks/useNavSuggestions.d.ts +13 -0
- package/dist/features/search/hooks/useScopedSearch.d.ts +34 -0
- package/dist/features/search/hooks/useScopedSearch.js +114 -0
- package/dist/features/search/hooks/useSiteSearch.d.ts +26 -0
- package/dist/features/search/hooks/useSiteSearch.js +149 -0
- package/dist/features/search/index.d.ts +0 -4
- package/dist/features/search/index.js +0 -4
- package/dist/features/search/manifest.d.ts +12 -0
- package/dist/features/search/manifest.js +17 -2
- package/dist/features/search/server.d.ts +0 -3
- package/dist/features/search/server.js +0 -3
- package/dist/features/seller/components/SellerListingTypeView.d.ts +1 -1
- package/dist/features/seller/components/SellerListingTypeView.js +20 -0
- package/dist/features/seller/components/SellerPayoutSettingsView.js +35 -14
- package/dist/features/seller/components/SellerProductShell.d.ts +1 -1
- package/dist/features/seller/components/SellerProductShell.js +2 -1
- package/dist/features/seller/components/SellerProductsView.js +3 -2
- package/dist/features/seller/components/SellerSidebar.js +1 -1
- package/dist/features/seller/components/SellerSparesView.d.ts +17 -0
- package/dist/features/seller/components/SellerSparesView.js +6 -0
- package/dist/features/seller/components/index.d.ts +2 -0
- package/dist/features/seller/components/index.js +1 -0
- package/dist/features/shell/CommandPalette.js +1 -1
- package/dist/features/sticker-trace/schemas/firestore.d.ts +19 -0
- package/dist/features/stores/components/StoreAuctionsListing.js +2 -1
- package/dist/features/stores/components/StoreDetailLayoutView.d.ts +1 -1
- package/dist/features/stores/components/StoreDetailLayoutView.js +7 -82
- package/dist/features/stores/components/StoreHeader.js +1 -2
- package/dist/features/stores/components/StoreSparesPageView.d.ts +27 -0
- package/dist/features/stores/components/StoreSparesPageView.js +48 -0
- package/dist/features/stores/schemas/firestore.d.ts +19 -0
- package/dist/features/tester/seed-data/authored/buying__spares-and-groups.d.ts +2 -0
- package/dist/features/tester/seed-data/authored/buying__spares-and-groups.js +96 -0
- package/dist/features/tester/seed-data/authored/content-discovery__authenticity-checker.d.ts +2 -0
- package/dist/features/tester/seed-data/authored/content-discovery__authenticity-checker.js +392 -45
- package/dist/features/tester/seed-data/authored/content-discovery__category-tabs-franchise-bundles.js +54 -32
- package/dist/features/tester/seed-data/authored/content-discovery__parts-database.js +3 -2
- package/dist/features/tester/seed-data/authored/content-discovery__price-index-and-compare.d.ts +2 -0
- package/dist/features/tester/seed-data/authored/content-discovery__price-index-and-compare.js +73 -0
- package/dist/features/tester/seed-data/authored/content-discovery__site-wide-index.d.ts +2 -0
- package/dist/features/tester/seed-data/authored/content-discovery__site-wide-index.js +340 -0
- package/dist/features/tester/seed-data/authored/index.js +16 -0
- package/dist/features/tester/seed-data/authored/search-and-nav__header-search.d.ts +1 -0
- package/dist/features/tester/seed-data/authored/search-and-nav__header-search.js +57 -0
- package/dist/features/tester/seed-data/authored/selling__spares-and-group-editing.d.ts +2 -0
- package/dist/features/tester/seed-data/authored/selling__spares-and-group-editing.js +77 -0
- package/dist/features/tester/seed-data/authored/tools__sticker-promote-to-listings.d.ts +2 -0
- package/dist/features/tester/seed-data/authored/tools__sticker-promote-to-listings.js +58 -0
- package/dist/features/tester/seed-data/authored/tools__sticker-tracer.js +5 -4
- package/dist/features/tester/seed-data/tester-checklist-seed-data.js +384 -18
- package/dist/index.d.ts +17 -57
- package/dist/index.js +35 -96
- package/dist/next/routing/route-map.d.ts +42 -1
- package/dist/next/routing/route-map.js +45 -0
- package/dist/providers/db-firebase/base.repository.d.ts +22 -0
- package/dist/providers/db-firebase/base.repository.js +36 -0
- package/dist/schemas/registry.d.ts +15 -6
- package/dist/security/blind-index-tokens.d.ts +54 -0
- package/dist/security/blind-index-tokens.js +152 -0
- package/dist/security/index.d.ts +1 -1
- package/dist/security/index.js +1 -1
- package/dist/security/settings-encryption.d.ts +35 -0
- package/dist/security/settings-encryption.js +91 -0
- package/dist/seed/_helpers/brand-rows.js +38 -14
- package/dist/seed/_helpers/category-forest.js +73 -7
- package/dist/seed/_helpers/category-images-generated.d.ts +25 -6
- package/dist/seed/_helpers/category-images-generated.js +81 -6
- package/dist/seed/_helpers/category-models.d.ts +1 -1
- package/dist/seed/_helpers/category-models.js +7 -1
- package/dist/seed/_helpers/category-parts-glossary-map.js +8 -0
- package/dist/seed/_helpers/category-parts.d.ts +1 -1
- package/dist/seed/_helpers/category-parts.js +50 -2
- package/dist/seed/_helpers/character-features.d.ts +1 -1
- package/dist/seed/_helpers/character-features.js +2 -1
- package/dist/seed/_helpers/franchise-rows.js +10 -2
- package/dist/seed/_helpers/media.d.ts +47 -0
- package/dist/seed/_helpers/media.js +34 -0
- package/dist/seed/authenticity-knowledge-seed-data.d.ts +49 -5
- package/dist/seed/authenticity-knowledge-seed-data.js +10001 -549
- package/dist/seed/categories-seed-data.js +124 -20
- package/dist/seed/grouped-listings-seed-data.js +16 -0
- package/dist/seed/homepage-sections-seed-data.js +94 -5
- package/dist/seed/index.d.ts +2 -3
- package/dist/seed/index.js +2 -2
- package/dist/seed/manifest.js +3 -0
- package/dist/seed/media-assets-seed-data.d.ts +1 -1
- package/dist/seed/media-assets-seed-data.js +746 -196
- package/dist/seed/model-composition-seed-data.js +122 -6
- package/dist/seed/part-glossary-seed-data.d.ts +1 -1
- package/dist/seed/part-glossary-seed-data.js +37219 -463
- package/dist/seed/products-art-seed-data.js +7 -18
- package/dist/seed/products-auctions-seed-data.js +56 -47
- package/dist/seed/products-beyblade-x-seed-data.d.ts +2 -0
- package/dist/seed/products-beyblade-x-seed-data.js +476 -0
- package/dist/seed/products-catalogue-seed-data.d.ts +5 -5
- package/dist/seed/products-catalogue-seed-data.js +1500 -1240
- package/dist/seed/products-classifieds-seed-data.js +9 -27
- package/dist/seed/products-digital-codes-seed-data.js +9 -18
- package/dist/seed/products-live-items-seed-data.js +5 -13
- package/dist/seed/products-preorders-seed-data.js +67 -33
- package/dist/seed/products-prize-draws-seed-data.js +8 -17
- package/dist/seed/products-spares-seed-data.d.ts +2 -0
- package/dist/seed/products-spares-seed-data.js +368 -0
- package/dist/seed/products-standard-seed-data.js +39 -126
- package/dist/seed/products-stickers-seed-data.js +59 -15
- package/dist/seed/site-settings-seed-data.js +8 -0
- package/dist/seo/json-ld.d.ts +25 -0
- package/dist/seo/json-ld.js +28 -0
- package/dist/server-entry.d.ts +3 -1
- package/dist/server-entry.js +2 -2
- package/dist/server.d.ts +11 -9
- package/dist/server.js +35 -25
- package/dist/styles.css +202 -1
- package/dist/tailwind-input.css +31 -17
- package/dist/tailwind-utilities.css +1 -1
- package/dist/ui/components/Accordion.js +1 -1
- package/dist/ui/components/Breadcrumb.js +1 -1
- package/dist/ui/components/DetailPageGallery.js +0 -2
- package/dist/ui/components/DetailPageHero.js +0 -1
- package/dist/ui/components/DetailPageTabs.js +1 -1
- package/dist/ui/components/Divider.js +3 -3
- package/dist/ui/components/GatedPrice.js +5 -1
- package/dist/ui/components/HorizontalScroller.js +1 -1
- package/dist/ui/components/ListingLayout.js +3 -3
- package/dist/ui/components/MediaTabs.style.css +81 -0
- package/dist/ui/components/Pagination.js +1 -1
- package/dist/ui/components/PendingValue.d.ts +45 -0
- package/dist/ui/components/PendingValue.js +7 -0
- package/dist/ui/components/Radio.style.css +119 -0
- package/dist/ui/components/RatingDisplay.js +2 -2
- package/dist/ui/components/SettingsSection.js +0 -2
- package/dist/ui/components/SiteLogo.js +3 -0
- package/dist/ui/components/SiteMark.js +3 -0
- package/dist/ui/components/SortDropdown.js +1 -1
- package/dist/ui/components/SpecTable.d.ts +58 -0
- package/dist/ui/components/SpecTable.js +8 -0
- package/dist/ui/components/StarRating.js +1 -3
- package/dist/ui/components/SummaryCard.js +1 -1
- package/dist/ui/components/index.style.css +1 -0
- package/dist/ui/icons/icon-registry.d.ts +1 -0
- package/dist/ui/icons/icon-registry.js +9 -1
- package/dist/ui/index.d.ts +4 -0
- package/dist/ui/index.js +2 -0
- package/dist/utils/search-txt-query.d.ts +12 -0
- package/dist/utils/search-txt-query.js +12 -0
- package/package.json +1 -1
- package/scripts/dedupe-peer-deps.mjs +18 -0
- package/scripts/seed-cli.mjs +250 -35
- package/scripts/verify-css-build.mjs +118 -37
- package/dist/_internal/server/features/search/actions.d.ts +0 -7
- package/dist/_internal/server/features/search/actions.js +0 -21
- package/dist/_internal/server/features/search/data.d.ts +0 -15
- package/dist/_internal/server/features/search/data.js +0 -18
- package/dist/_internal/server/features/search/index.d.ts +0 -3
- package/dist/_internal/server/features/search/index.js +0 -2
- package/dist/features/homepage/api/[id]/route.d.ts +0 -23
- package/dist/features/homepage/api/[id]/route.js +0 -103
- package/dist/features/homepage/api/route.d.ts +0 -14
- package/dist/features/homepage/api/route.js +0 -140
- package/dist/features/homepage/api/sections/[id]/route.d.ts +0 -26
- package/dist/features/homepage/api/sections/[id]/route.js +0 -95
- package/dist/features/homepage/api/sections/route.d.ts +0 -13
- package/dist/features/homepage/api/sections/route.js +0 -82
- package/dist/features/homepage/components/AdvertisementBanner.d.ts +0 -14
- package/dist/features/homepage/components/AdvertisementBanner.js +0 -35
- package/dist/features/homepage/components/BeforeAfterCard.d.ts +0 -9
- package/dist/features/homepage/components/BeforeAfterCard.js +0 -73
- package/dist/features/homepage/components/FeaturedResultsSection.d.ts +0 -17
- package/dist/features/homepage/components/FeaturedResultsSection.js +0 -17
- package/dist/features/homepage/components/HeroBanner.d.ts +0 -7
- package/dist/features/homepage/components/HeroBanner.js +0 -43
- package/dist/features/homepage/components/HeroSection.d.ts +0 -7
- package/dist/features/homepage/components/HeroSection.js +0 -6
- package/dist/features/homepage/components/HomepageSkeleton.d.ts +0 -2
- package/dist/features/homepage/components/HomepageSkeleton.js +0 -21
- package/dist/features/homepage/components/HomepageView.d.ts +0 -25
- package/dist/features/homepage/components/HomepageView.js +0 -5
- package/dist/features/homepage/components/NewsletterBanner.d.ts +0 -23
- package/dist/features/homepage/components/NewsletterBanner.js +0 -37
- package/dist/features/homepage/components/SiteFeaturesSection.d.ts +0 -14
- package/dist/features/homepage/components/SiteFeaturesSection.js +0 -11
- package/dist/features/homepage/components/TrustBadges.d.ts +0 -6
- package/dist/features/homepage/components/TrustBadges.js +0 -46
- package/dist/features/homepage/components/TrustIndicatorsSection.d.ts +0 -12
- package/dist/features/homepage/components/TrustIndicatorsSection.js +0 -11
- package/dist/features/homepage/hooks/useHomepage.d.ts +0 -11
- package/dist/features/homepage/hooks/useHomepage.js +0 -17
- package/dist/features/homepage/hooks/useHomepageSections.d.ts +0 -2
- package/dist/features/homepage/hooks/useHomepageSections.js +0 -10
- package/dist/features/homepage/repository/homepage.repository.d.ts +0 -11
- package/dist/features/homepage/repository/homepage.repository.js +0 -25
- package/dist/features/search/actions/index.d.ts +0 -1
- package/dist/features/search/actions/index.js +0 -1
- package/dist/features/search/actions/search-actions.d.ts +0 -18
- package/dist/features/search/actions/search-actions.js +0 -43
- package/dist/features/search/api/route.d.ts +0 -22
- package/dist/features/search/api/route.js +0 -128
- package/dist/features/search/columns/index.d.ts +0 -17
- package/dist/features/search/columns/index.js +0 -49
- package/dist/features/search/components/SearchFiltersRow.d.ts +0 -22
- package/dist/features/search/components/SearchFiltersRow.js +0 -21
- package/dist/features/search/components/SearchResultsSection.d.ts +0 -53
- package/dist/features/search/components/SearchResultsSection.js +0 -35
- package/dist/features/search/components/SearchView.d.ts +0 -27
- package/dist/features/search/components/SearchView.js +0 -8
- package/dist/features/search/hooks/useSearch.d.ts +0 -21
- package/dist/features/search/hooks/useSearch.js +0 -33
- package/dist/features/search/repository/search.repository.d.ts +0 -14
- package/dist/features/search/repository/search.repository.js +0 -59
- package/dist/features/search/schemas/index.d.ts +0 -70
- package/dist/features/search/schemas/index.js +0 -36
- package/dist/features/search/types/index.d.ts +0 -48
- package/dist/features/stores/components/StoreScopedSearch.d.ts +0 -17
- package/dist/features/stores/components/StoreScopedSearch.js +0 -27
- package/dist/seed/defaults/homepage-sections.d.ts +0 -2
- package/dist/seed/defaults/homepage-sections.js +0 -60
- package/dist/seed/factories/homepage-section.factory.d.ts +0 -10
- package/dist/seed/factories/homepage-section.factory.js +0 -13
- /package/dist/{features/search/types/index.js → _internal/shared/listing-types/spares/og.d.ts} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -86,6 +86,8 @@ export { Scrim } from "./ui/components/Scrim";
|
|
|
86
86
|
export type { ScrimProps, ScrimDirection, ScrimIntensity } from "./ui/components/Scrim";
|
|
87
87
|
export { Kbd } from "./ui/components/Kbd";
|
|
88
88
|
export type { KbdProps, KbdSize, KbdTone } from "./ui/components/Kbd";
|
|
89
|
+
export { PendingValue } from "./ui/components/PendingValue";
|
|
90
|
+
export type { PendingValueProps } from "./ui/components/PendingValue";
|
|
89
91
|
export { Quote } from "./ui/components/Quote";
|
|
90
92
|
export type { QuoteProps, QuoteTone } from "./ui/components/Quote";
|
|
91
93
|
export { IconBox } from "./ui/components/IconBox";
|
|
@@ -447,13 +449,16 @@ export { applyRateLimit } from "./security/index";
|
|
|
447
449
|
export { buildCSP } from "./security/index";
|
|
448
450
|
export { canChangeRole } from "./security/index";
|
|
449
451
|
export { clearRateLimitStore } from "./security/index";
|
|
452
|
+
export { decryptBuffer } from "./security/index";
|
|
450
453
|
export { decryptSecret } from "./security/index";
|
|
454
|
+
export { encryptBuffer } from "./security/index";
|
|
451
455
|
export { encryptSecret } from "./security/index";
|
|
452
456
|
export { generateNonce } from "./security/index";
|
|
453
457
|
export { getRoleLevel } from "./security/index";
|
|
454
458
|
export { hasAllPermissions } from "./features/auth/permissions/constants";
|
|
455
459
|
export { hasAnyPermission } from "./features/auth/permissions/constants";
|
|
456
460
|
export { hasPermission } from "./features/auth/permissions/constants";
|
|
461
|
+
export { isBufferEncrypted } from "./security/index";
|
|
457
462
|
export { isSecretEncrypted } from "./security/index";
|
|
458
463
|
export { maskSecret } from "./security/index";
|
|
459
464
|
export { rateLimit } from "./security/index";
|
|
@@ -516,6 +521,8 @@ export { recordAdminAction } from "./_internal/server/features/audit-log/actions
|
|
|
516
521
|
export type { RecordAdminActionInput } from "./_internal/server/features/audit-log/actions";
|
|
517
522
|
export { AdminAuditActionValues, ADMIN_AUDIT_LOG_FIELDS, ADMIN_AUDIT_LOG_COLLECTION } from "./features/audit-log/schemas/firestore";
|
|
518
523
|
export type { AdminAuditAction, AdminAuditLogDocument } from "./features/audit-log/schemas/firestore";
|
|
524
|
+
export { BusinessDocumentKindValues, ALL_BUSINESS_DOCUMENT_KINDS, BUSINESS_DOCUMENT_KIND_LABELS, BUSINESS_DOCUMENT_FIELDS, BUSINESS_DOCUMENTS_COLLECTION, BUSINESS_DOCUMENTS_STORAGE_PREFIX, BUSINESS_DOCUMENT_ALLOWED_TYPES, } from "./features/business-documents/schemas/firestore";
|
|
525
|
+
export type { BusinessDocumentKind, BusinessDocumentDocument } from "./features/business-documents/schemas/firestore";
|
|
519
526
|
export { notificationRepository } from "./repositories/index";
|
|
520
527
|
export { offerRepository } from "./repositories/index";
|
|
521
528
|
export { orderRepository } from "./repositories/index";
|
|
@@ -567,7 +574,6 @@ export { CART_FIXTURES } from "./seed/index";
|
|
|
567
574
|
export { COUPON_FIXTURES } from "./seed/index";
|
|
568
575
|
export { DEFAULT_CATEGORIES } from "./seed/index";
|
|
569
576
|
export { DEFAULT_FAQS } from "./seed/index";
|
|
570
|
-
export { DEFAULT_HOMEPAGE_SECTIONS } from "./seed/index";
|
|
571
577
|
export { NOTIFICATION_FIXTURES } from "./seed/index";
|
|
572
578
|
export { PAYOUT_FIXTURES } from "./seed/index";
|
|
573
579
|
export { PRODUCT_FIXTURES } from "./seed/index";
|
|
@@ -612,7 +618,6 @@ export { makeFullPayout } from "./seed/index";
|
|
|
612
618
|
export { makeFullProduct } from "./seed/index";
|
|
613
619
|
export { makeFullStore } from "./seed/index";
|
|
614
620
|
export { makeFullUser } from "./seed/index";
|
|
615
|
-
export { makeHomepageSection } from "./seed/index";
|
|
616
621
|
export { makeNotification } from "./seed/index";
|
|
617
622
|
export { makeOrder } from "./seed/index";
|
|
618
623
|
export { makePayout } from "./seed/index";
|
|
@@ -630,6 +635,7 @@ export { payoutsSeedData } from "./seed/index";
|
|
|
630
635
|
export { shipmentsSeedData, shipmentLotsSeedData, shipmentItemsSeedData } from "./seed/index";
|
|
631
636
|
export { catalogueSeedData } from "./seed/index";
|
|
632
637
|
export { productsStandardSeedData } from "./seed/index";
|
|
638
|
+
export { productsBeybladeXSeedData } from "./seed/index";
|
|
633
639
|
export { productsAuctionsSeedData } from "./seed/index";
|
|
634
640
|
export { productsPreordersSeedData } from "./seed/index";
|
|
635
641
|
export { productsPrizeDrawsSeedData } from "./seed/index";
|
|
@@ -638,6 +644,7 @@ export { productsDigitalCodesSeedData } from "./seed/index";
|
|
|
638
644
|
export { productsLiveItemsSeedData } from "./seed/index";
|
|
639
645
|
export { productsArtSeedData } from "./seed/index";
|
|
640
646
|
export { productsStickersSeedData } from "./seed/index";
|
|
647
|
+
export { productsSparesSeedData } from "./seed/index";
|
|
641
648
|
export { registerSeedLocale } from "./seed/index";
|
|
642
649
|
export { reviewsSeedData } from "./seed/index";
|
|
643
650
|
export { seedForTest } from "./seed/index";
|
|
@@ -654,7 +661,6 @@ export { productsCatalogueSeedData, CATALOGUE_LISTING_COUNT, } from "./seed/inde
|
|
|
654
661
|
export { FRANCHISE_ROW_COUNT, FRANCHISE_SLUGS, FRANCHISE_BY_CATEGORY_ROOT, } from "./seed/index";
|
|
655
662
|
export type { CouponDiscountType } from "./seed/index";
|
|
656
663
|
export type { FirestoreIndexConfig } from "./seed/index";
|
|
657
|
-
export type { HomepageSectionType } from "./seed/index";
|
|
658
664
|
export type { NotificationType, NotificationRelatedType } from "./features/admin/schemas/firestore";
|
|
659
665
|
export { NOTIFICATION_TYPE_VALUES, NOTIFICATION_RELATED_TYPE_VALUES } from "./features/admin/schemas/firestore";
|
|
660
666
|
export type { PayoutStatus } from "./seed/index";
|
|
@@ -675,7 +681,6 @@ export type { SeedCollectionName } from "./seed/index";
|
|
|
675
681
|
export type { SeedConfig } from "./seed/index";
|
|
676
682
|
export type { SeedCouponDocument } from "./seed/index";
|
|
677
683
|
export type { SeedFaqDocument } from "./seed/index";
|
|
678
|
-
export type { SeedHomepageSectionDocument } from "./seed/index";
|
|
679
684
|
export type { SeedLocaleData } from "./seed/index";
|
|
680
685
|
export type { SeedNotificationDocument } from "./seed/index";
|
|
681
686
|
export type { SeedPayoutDocument } from "./seed/index";
|
|
@@ -1052,6 +1057,7 @@ export { AdminDigitalCodesView } from "./features/admin/index";
|
|
|
1052
1057
|
export { AdminLiveView } from "./features/admin/index";
|
|
1053
1058
|
export { AdminArtView } from "./features/admin/index";
|
|
1054
1059
|
export { AdminStickersView } from "./features/admin/index";
|
|
1060
|
+
export { AdminSparesView } from "./features/admin/index";
|
|
1055
1061
|
export type { AdminPrizeDrawsViewProps } from "./features/admin/index";
|
|
1056
1062
|
export { AdminProductsView } from "./features/admin/index";
|
|
1057
1063
|
export { AdminProductEditorView } from "./features/admin/index";
|
|
@@ -1855,35 +1861,24 @@ export { INPUT_BASE } from "./features/forms/index";
|
|
|
1855
1861
|
export { INPUT_DISABLED } from "./features/forms/index";
|
|
1856
1862
|
export { INPUT_ERROR } from "./features/forms/index";
|
|
1857
1863
|
export { INPUT_SUCCESS } from "./features/forms/index";
|
|
1858
|
-
export { AdvertisementBanner } from "./features/homepage/index";
|
|
1859
1864
|
export { AdSlot } from "./features/homepage/index";
|
|
1860
1865
|
export type { AdSlotProps } from "./features/homepage/index";
|
|
1861
1866
|
export { registerAdSlot, registerAdSlots, getAdSlot, getAllAdSlots, unregisterAdSlot, clearAdRegistry, setAdConsentGranted, isAdConsentGranted, isAdSlotRenderable, } from "./features/homepage/index";
|
|
1862
1867
|
export type { AdSlotId, AdProvider, AdSlotConfig } from "./features/homepage/index";
|
|
1863
1868
|
export type { MarketplaceHomepageViewProps, MarketplaceHomepageViewAdSlots, } from "./features/homepage/index";
|
|
1864
|
-
export { BeforeAfterCard } from "./features/homepage/index";
|
|
1865
1869
|
export { CharacterHotspot } from "./features/homepage/index";
|
|
1866
1870
|
export { CharacterHotspotForm } from "./features/homepage/index";
|
|
1867
1871
|
export { CustomerReviewsSection } from "./features/homepage/index";
|
|
1868
1872
|
export { FAQSection } from "./features/homepage/index";
|
|
1869
|
-
export { FeaturedResultsSection } from "./features/homepage/index";
|
|
1870
|
-
export { HeroBanner } from "./features/homepage/index";
|
|
1871
1873
|
export { HeroCarousel } from "./features/homepage/index";
|
|
1872
|
-
export { HeroSection } from "./features/homepage/index";
|
|
1873
|
-
export { HomepageSkeleton } from "./features/homepage/index";
|
|
1874
|
-
export { HomepageView } from "./features/homepage/index";
|
|
1875
1874
|
export { HowItWorksSection } from "./features/homepage/index";
|
|
1876
|
-
export { NewsletterBanner } from "./features/homepage/index";
|
|
1877
1875
|
export { NewsletterSection } from "./features/homepage/index";
|
|
1878
1876
|
export { PromoGrid } from "./features/homepage/index";
|
|
1879
1877
|
export { SectionCarousel } from "./features/homepage/index";
|
|
1880
1878
|
export { SecurityHighlightsSection } from "./features/homepage/index";
|
|
1881
|
-
export { SiteFeaturesSection } from "./features/homepage/index";
|
|
1882
1879
|
export { StatsCounterSection } from "./features/homepage/index";
|
|
1883
1880
|
export { TestimonialsCarousel } from "./features/homepage/index";
|
|
1884
|
-
export { TrustBadges } from "./features/homepage/index";
|
|
1885
1881
|
export { TrustFeaturesSection } from "./features/homepage/index";
|
|
1886
|
-
export { TrustIndicatorsSection } from "./features/homepage/index";
|
|
1887
1882
|
export { WelcomeSection } from "./features/homepage/index";
|
|
1888
1883
|
export { WhatsAppCommunitySection } from "./features/homepage/index";
|
|
1889
1884
|
export { useBlogArticles } from "./features/homepage/index";
|
|
@@ -1891,15 +1886,11 @@ export { useFeaturedAuctions } from "./features/homepage/index";
|
|
|
1891
1886
|
export { useFeaturedPreOrders } from "./features/homepage/index";
|
|
1892
1887
|
export { useFeaturedProducts } from "./features/homepage/index";
|
|
1893
1888
|
export { useHeroCarousel } from "./features/homepage/index";
|
|
1894
|
-
export { useHomepage } from "./features/homepage/index";
|
|
1895
1889
|
export { useHomepageReviews } from "./features/homepage/index";
|
|
1896
|
-
export { useHomepageSections } from "./features/homepage/index";
|
|
1897
1890
|
export { useNewsletter } from "./features/homepage/index";
|
|
1898
1891
|
export { useTopBrands } from "./features/homepage/index";
|
|
1899
1892
|
export { useTopCategories } from "./features/homepage/index";
|
|
1900
|
-
export type { AdvertisementBannerProps } from "./features/homepage/index";
|
|
1901
1893
|
export type { Banner } from "./features/homepage/index";
|
|
1902
|
-
export type { BeforeAfterCardProps } from "./features/homepage/index";
|
|
1903
1894
|
export type { BlogListResult } from "./features/homepage/index";
|
|
1904
1895
|
export type { CarouselSlide } from "./features/homepage/index";
|
|
1905
1896
|
export type { CarouselSlideCard } from "./features/homepage/index";
|
|
@@ -1910,44 +1901,28 @@ export type { CustomerReviewsSectionProps } from "./features/homepage/index";
|
|
|
1910
1901
|
export type { FAQItem } from "./features/homepage/index";
|
|
1911
1902
|
export type { FAQSectionProps } from "./features/homepage/index";
|
|
1912
1903
|
export type { FAQTab } from "./features/homepage/index";
|
|
1913
|
-
export type { FeaturedResultItem } from "./features/homepage/index";
|
|
1914
|
-
export type { FeaturedResultsSectionProps } from "./features/homepage/index";
|
|
1915
|
-
export type { HeroBannerProps } from "./features/homepage/index";
|
|
1916
1904
|
export type { HeroCarouselProps } from "./features/homepage/index";
|
|
1917
|
-
export type { HomepageData } from "./features/homepage/index";
|
|
1918
|
-
export type { HomepageSection } from "./features/homepage/index";
|
|
1919
|
-
export type { HomepageSectionContent } from "./features/homepage/index";
|
|
1920
|
-
export type { HomepageViewProps } from "./features/homepage/index";
|
|
1921
1905
|
export type { HotspotPin } from "./features/homepage/index";
|
|
1922
1906
|
export type { HowItWorksSectionProps } from "./features/homepage/index";
|
|
1923
1907
|
export type { HowItWorksStep } from "./features/homepage/index";
|
|
1924
|
-
export type { NewsletterBannerProps } from "./features/homepage/index";
|
|
1925
1908
|
export type { NewsletterSectionProps } from "./features/homepage/index";
|
|
1926
|
-
export type { PromoBanner } from "./features/homepage/index";
|
|
1927
1909
|
export type { PromoGridProps } from "./features/homepage/index";
|
|
1928
1910
|
export type { SectionCarouselProps } from "./features/homepage/index";
|
|
1929
1911
|
export type { SecurityHighlightItem } from "./features/homepage/index";
|
|
1930
1912
|
export type { SecurityHighlightsSectionProps } from "./features/homepage/index";
|
|
1931
|
-
export type { SiteFeatureItem } from "./features/homepage/index";
|
|
1932
|
-
export type { SiteFeaturesSectionProps } from "./features/homepage/index";
|
|
1933
1913
|
export type { StatsCounterSectionProps } from "./features/homepage/index";
|
|
1934
1914
|
export type { SubscribeNewsletterInput } from "./features/homepage/index";
|
|
1935
1915
|
export type { SubscribeNewsletterResult } from "./features/homepage/index";
|
|
1936
|
-
export type { Testimonial } from "./features/homepage/index";
|
|
1937
1916
|
export type { TestimonialsCarouselProps } from "./features/homepage/index";
|
|
1938
1917
|
export type { TrustBadge } from "./features/homepage/index";
|
|
1939
1918
|
export type { TrustBadgeIconKey } from "./features/homepage/index";
|
|
1940
|
-
export type { TrustBadgesProps } from "./features/homepage/index";
|
|
1941
1919
|
export type { TrustFeatureItem } from "./features/homepage/index";
|
|
1942
1920
|
export type { TrustFeaturesSectionProps } from "./features/homepage/index";
|
|
1943
|
-
export type { TrustIndicatorItem } from "./features/homepage/index";
|
|
1944
|
-
export type { TrustIndicatorsSectionProps } from "./features/homepage/index";
|
|
1945
1921
|
export type { UseHomepageReviewsOptions } from "./features/homepage/index";
|
|
1946
1922
|
export type { UseNewsletterOptions } from "./features/homepage/index";
|
|
1947
1923
|
export type { WelcomeSectionChip } from "./features/homepage/index";
|
|
1948
1924
|
export type { WelcomeSectionProps } from "./features/homepage/index";
|
|
1949
1925
|
export type { WhatsAppCommunitySectionProps } from "./features/homepage/index";
|
|
1950
|
-
export { HomepageSectionsRepository } from "./features/homepage/server";
|
|
1951
1926
|
export { carouselGET } from "./features/homepage/server";
|
|
1952
1927
|
export { carouselItemDELETE } from "./features/homepage/server";
|
|
1953
1928
|
export { carouselItemGET } from "./features/homepage/server";
|
|
@@ -1960,10 +1935,6 @@ export { deleteCarouselSlide } from "./features/homepage/server";
|
|
|
1960
1935
|
export { deleteHomepageSection } from "./features/homepage/server";
|
|
1961
1936
|
export { getCarouselSlideById } from "./features/homepage/server";
|
|
1962
1937
|
export { getHomepageSectionById } from "./features/homepage/server";
|
|
1963
|
-
export { homepageGET } from "./features/homepage/server";
|
|
1964
|
-
export { homepageSectionItemDELETE } from "./features/homepage/server";
|
|
1965
|
-
export { homepageSectionItemGET } from "./features/homepage/server";
|
|
1966
|
-
export { homepageSectionItemPATCH } from "./features/homepage/server";
|
|
1967
1938
|
export { listActiveCarouselSlides } from "./features/homepage/server";
|
|
1968
1939
|
export { listAllCarouselSlides } from "./features/homepage/server";
|
|
1969
1940
|
export { listEnabledHomepageSections } from "./features/homepage/server";
|
|
@@ -2387,6 +2358,7 @@ export type { ProductFiltersProps } from "./features/products/index";
|
|
|
2387
2358
|
export type { ProductFormProps } from "./features/products/index";
|
|
2388
2359
|
export type { ProductFormValue } from "./features/products/index";
|
|
2389
2360
|
export type { ProductImage } from "./features/products/index";
|
|
2361
|
+
export { toProductImages, productImageUrls, } from "./features/products/schemas/firestore";
|
|
2390
2362
|
export type { ProductInfoProps } from "./features/products/index";
|
|
2391
2363
|
export type { ProductItem } from "./features/products/index";
|
|
2392
2364
|
export type { ProductListParams } from "./features/products/index";
|
|
@@ -2556,34 +2528,18 @@ export { voteReviewHelpful } from "./features/reviews/server";
|
|
|
2556
2528
|
export type { CreateReviewActionInput } from "./features/reviews/server";
|
|
2557
2529
|
export type { UpdateReviewActionInput } from "./features/reviews/server";
|
|
2558
2530
|
export { Search } from "./features/search/index";
|
|
2559
|
-
export { SearchFiltersRow } from "./features/search/index";
|
|
2560
|
-
export { SearchResultsSection } from "./features/search/index";
|
|
2561
|
-
export { SearchView } from "./features/search/index";
|
|
2562
|
-
export { buildSearchResultColumns } from "./features/search/index";
|
|
2563
|
-
export { searchProductItemSchema } from "./features/search/index";
|
|
2564
|
-
export { searchQuerySchema } from "./features/search/index";
|
|
2565
|
-
export { searchResultAdminColumns } from "./features/search/index";
|
|
2566
2531
|
export { useNavSuggestions } from "./features/search/index";
|
|
2567
|
-
export { useSearch } from "./features/search/index";
|
|
2568
2532
|
export { useSearchIndex, ensureSearchIndex } from "./features/search/hooks/useSearchIndex";
|
|
2533
|
+
export { useSiteSearch } from "./features/search/hooks/useSiteSearch";
|
|
2534
|
+
export type { UseSiteSearchOptions, UseSiteSearchResult } from "./features/search/hooks/useSiteSearch";
|
|
2569
2535
|
export type { SearchIndexState, SearchIndexStatus, LoadedSearchIndex, UseSearchIndexOptions, } from "./features/search/hooks/useSearchIndex";
|
|
2570
2536
|
export type { NavSuggestionRecord } from "./features/search/index";
|
|
2571
|
-
export type { SearchCategoryOption } from "./features/search/index";
|
|
2572
2537
|
export type { SearchLabels } from "./features/search/index";
|
|
2573
2538
|
export type { SearchResourceType } from "./features/search/index";
|
|
2574
2539
|
export type { SearchResourceTypeOption } from "./features/search/index";
|
|
2575
|
-
export type { SearchProductItem } from "./features/search/index";
|
|
2576
2540
|
export type { SearchProps } from "./features/search/index";
|
|
2577
|
-
export type { SearchQuery } from "./features/search/index";
|
|
2578
2541
|
export type { SearchQuickLink } from "./features/search/index";
|
|
2579
|
-
export type { SearchResponse } from "./features/search/index";
|
|
2580
|
-
export type { SearchResultsSectionProps } from "./features/search/index";
|
|
2581
2542
|
export type { SearchRouterAdapter } from "./features/search/index";
|
|
2582
|
-
export type { SearchViewProps } from "./features/search/index";
|
|
2583
|
-
export { SearchRepository } from "./features/search/server";
|
|
2584
|
-
export { searchGET } from "./features/search/server";
|
|
2585
|
-
export { searchProducts } from "./features/search/server";
|
|
2586
|
-
export type { SearchProductsResult } from "./features/search/server";
|
|
2587
2543
|
export { OFFER_COLLECTION } from "./features/seller/index";
|
|
2588
2544
|
export { OFFER_FIELDS } from "./features/seller/index";
|
|
2589
2545
|
export { OFFER_INDEXED_FIELDS } from "./features/seller/index";
|
|
@@ -3081,6 +3037,8 @@ export { ALERT_METRIC_VALUES, ALERT_METRICS, isAlertMetric, alertMetricsForScope
|
|
|
3081
3037
|
export type { AlertMetric, AlertMetricDef, AlertMetricScope, AlertMetricUnit, } from "./features/store-extensions/constants/alert-metrics";
|
|
3082
3038
|
export { CategoryTemplatePicker, variantForCondition } from "./features/categories/components/CategoryTemplatePicker";
|
|
3083
3039
|
export type { CategoryTemplatePickerProps, CategoryTemplateApply } from "./features/categories/components/CategoryTemplatePicker";
|
|
3040
|
+
export { PriceGuidanceHint } from "./features/categories/components/PriceGuidanceHint";
|
|
3041
|
+
export type { PriceGuidanceHintProps } from "./features/categories/components/PriceGuidanceHint";
|
|
3084
3042
|
export { BrandInlineSelect } from "./features/seller/components/BrandInlineSelect";
|
|
3085
3043
|
export type { BrandInlineSelectProps } from "./features/seller/components/BrandInlineSelect";
|
|
3086
3044
|
export { SublistingInlineSelect } from "./features/seller/components/SublistingInlineSelect";
|
|
@@ -3166,6 +3124,8 @@ export { SellerArtView } from "./features/seller/components/SellerArtView";
|
|
|
3166
3124
|
export type { SellerArtViewProps } from "./features/seller/components/SellerArtView";
|
|
3167
3125
|
export { SellerStickersView } from "./features/seller/components/SellerStickersView";
|
|
3168
3126
|
export type { SellerStickersViewProps } from "./features/seller/components/SellerStickersView";
|
|
3127
|
+
export { SellerSparesView } from "./features/seller/components/SellerSparesView";
|
|
3128
|
+
export type { SellerSparesViewProps } from "./features/seller/components/SellerSparesView";
|
|
3169
3129
|
export { SellerDigitalCodesView } from "./features/seller/components/SellerDigitalCodesView";
|
|
3170
3130
|
export type { SellerDigitalCodesViewProps } from "./features/seller/components/SellerDigitalCodesView";
|
|
3171
3131
|
export { SellerLiveView } from "./features/seller/components/SellerLiveView";
|
package/dist/index.js
CHANGED
|
@@ -179,6 +179,9 @@ export { HorizontalRule } from "./ui/components/HorizontalRule.js";
|
|
|
179
179
|
export { Scrim } from "./ui/components/Scrim.js";
|
|
180
180
|
// Kbd — primitive for <kbd> (keyboard key affordance).
|
|
181
181
|
export { Kbd } from "./ui/components/Kbd.js";
|
|
182
|
+
// PendingValue — renders a value, or a visible [to be confirmed] marker when a
|
|
183
|
+
// statutory disclosure field has not been decided yet.
|
|
184
|
+
export { PendingValue } from "./ui/components/PendingValue.js";
|
|
182
185
|
// Quote — primitive for inline <q> + multi-line <blockquote> (via `block`).
|
|
183
186
|
export { Quote } from "./ui/components/Quote.js";
|
|
184
187
|
// IconBox — square-icon container (catalogue replacement for the recurrent
|
|
@@ -832,9 +835,15 @@ export { clearRateLimitStore } from "./security/index.js";
|
|
|
832
835
|
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
833
836
|
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
834
837
|
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
838
|
+
// decryptBuffer - Helper for decrypt buffer (binary enc:v1: envelope).
|
|
839
|
+
export { decryptBuffer } from "./security/index.js";
|
|
840
|
+
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
835
841
|
// decryptSecret - Helper for decrypt secret.
|
|
836
842
|
export { decryptSecret } from "./security/index.js";
|
|
837
843
|
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
844
|
+
// encryptBuffer - Helper for encrypt buffer (binary enc:v1: envelope).
|
|
845
|
+
export { encryptBuffer } from "./security/index.js";
|
|
846
|
+
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
838
847
|
// encryptSecret - Helper for encrypt secret.
|
|
839
848
|
export { encryptSecret } from "./security/index.js";
|
|
840
849
|
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
@@ -853,6 +862,9 @@ export { hasAnyPermission } from "./features/auth/permissions/constants.js";
|
|
|
853
862
|
// hasPermission - Model for has permission.
|
|
854
863
|
export { hasPermission } from "./features/auth/permissions/constants.js";
|
|
855
864
|
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
865
|
+
// isBufferEncrypted - Shared export for is buffer encrypted.
|
|
866
|
+
export { isBufferEncrypted } from "./security/index.js";
|
|
867
|
+
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
856
868
|
// isSecretEncrypted - Shared export for is secret encrypted.
|
|
857
869
|
export { isSecretEncrypted } from "./security/index.js";
|
|
858
870
|
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
@@ -1017,6 +1029,7 @@ export { jobsRepository, JobsRepository } from "./repositories/index.js";
|
|
|
1017
1029
|
export { adminAuditLogRepository, AdminAuditLogRepository } from "./repositories/index.js";
|
|
1018
1030
|
export { recordAdminAction } from "./_internal/server/features/audit-log/actions.js";
|
|
1019
1031
|
export { AdminAuditActionValues, ADMIN_AUDIT_LOG_FIELDS, ADMIN_AUDIT_LOG_COLLECTION } from "./features/audit-log/schemas/firestore.js";
|
|
1032
|
+
export { BusinessDocumentKindValues, ALL_BUSINESS_DOCUMENT_KINDS, BUSINESS_DOCUMENT_KIND_LABELS, BUSINESS_DOCUMENT_FIELDS, BUSINESS_DOCUMENTS_COLLECTION, BUSINESS_DOCUMENTS_STORAGE_PREFIX, BUSINESS_DOCUMENT_ALLOWED_TYPES, } from "./features/business-documents/schemas/firestore.js";
|
|
1020
1033
|
// [DB]-Database layer â€" uses firebase-admin or another server-side DB SDK; can only run in a trusted server environment.
|
|
1021
1034
|
// notificationRepository - Shared export for notification repository.
|
|
1022
1035
|
export { notificationRepository } from "./repositories/index.js";
|
|
@@ -1128,9 +1141,6 @@ export { DEFAULT_CATEGORIES } from "./seed/index.js";
|
|
|
1128
1141
|
// DEFAULT_FAQS - Constant used across modules.
|
|
1129
1142
|
export { DEFAULT_FAQS } from "./seed/index.js";
|
|
1130
1143
|
// [SERVER-ONLY]-Server-only â€" uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
|
|
1131
|
-
// DEFAULT_HOMEPAGE_SECTIONS - Constant used across modules.
|
|
1132
|
-
export { DEFAULT_HOMEPAGE_SECTIONS } from "./seed/index.js";
|
|
1133
|
-
// [SERVER-ONLY]-Server-only â€" uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
|
|
1134
1144
|
// NOTIFICATION_FIXTURES - Constant used across modules.
|
|
1135
1145
|
export { NOTIFICATION_FIXTURES } from "./seed/index.js";
|
|
1136
1146
|
// [SERVER-ONLY]-Server-only â€" uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
|
|
@@ -1261,9 +1271,6 @@ export { makeFullStore } from "./seed/index.js";
|
|
|
1261
1271
|
// makeFullUser - Shared export for make full user.
|
|
1262
1272
|
export { makeFullUser } from "./seed/index.js";
|
|
1263
1273
|
// [SERVER-ONLY]-Server-only â€" uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
|
|
1264
|
-
// makeHomepageSection - Shared export for make homepage section.
|
|
1265
|
-
export { makeHomepageSection } from "./seed/index.js";
|
|
1266
|
-
// [SERVER-ONLY]-Server-only â€" uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
|
|
1267
1274
|
// makeNotification - Shared export for make notification.
|
|
1268
1275
|
export { makeNotification } from "./seed/index.js";
|
|
1269
1276
|
// [SERVER-ONLY]-Server-only â€" uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
|
|
@@ -1311,6 +1318,8 @@ export { catalogueSeedData } from "./seed/index.js";
|
|
|
1311
1318
|
// [SERVER-ONLY]-Server-only â€" uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
|
|
1312
1319
|
// productsStandardSeedData - Seed data for standard (buy-now) product listings.
|
|
1313
1320
|
export { productsStandardSeedData } from "./seed/index.js";
|
|
1321
|
+
// productsBeybladeXSeedData - Real, wiki-verified Beyblade X listings under store-letitrip-official (4 tops, 1 stadium, 1 Product Group of 7).
|
|
1322
|
+
export { productsBeybladeXSeedData } from "./seed/index.js";
|
|
1314
1323
|
// 1,173-node taxonomy has a catalogue in it (967 of 968 leaves were empty).
|
|
1315
1324
|
// [SERVER-ONLY]-Server-only â€" uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
|
|
1316
1325
|
// productsAuctionsSeedData - Seed data for auction product listings.
|
|
@@ -1331,6 +1340,16 @@ export { productsLiveItemsSeedData } from "./seed/index.js";
|
|
|
1331
1340
|
export { productsArtSeedData } from "./seed/index.js";
|
|
1332
1341
|
// productsStickersSeedData - Seed data for stickers product listings (EMI/art-stickers session).
|
|
1333
1342
|
export { productsStickersSeedData } from "./seed/index.js";
|
|
1343
|
+
/*
|
|
1344
|
+
* productsSparesSeedData — loose components off disassembled items.
|
|
1345
|
+
*
|
|
1346
|
+
* 🛑 This OUTER barrel export is load-bearing and is the one most likely to be
|
|
1347
|
+
* skipped: `seed-cli.mjs` imports the BARE `@mohasinac/appkit` package, so it
|
|
1348
|
+
* resolves through here and NOT through `seed/index.ts`. Export from the inner
|
|
1349
|
+
* barrel only and the symbol exists, TypeScript is happy, and the loader still
|
|
1350
|
+
* prints `spares — no seed data, skipping` and exits 0 (Root Cause #90).
|
|
1351
|
+
*/
|
|
1352
|
+
export { productsSparesSeedData } from "./seed/index.js";
|
|
1334
1353
|
// [SERVER-ONLY]-Server-only â€" uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
|
|
1335
1354
|
// registerSeedLocale - Helper for register seed locale.
|
|
1336
1355
|
export { registerSeedLocale } from "./seed/index.js";
|
|
@@ -2082,6 +2101,7 @@ export { AdminLiveView } from "./features/admin/index.js";
|
|
|
2082
2101
|
// EMI/art-stickers session — admin listing views for art / stickers.
|
|
2083
2102
|
export { AdminArtView } from "./features/admin/index.js";
|
|
2084
2103
|
export { AdminStickersView } from "./features/admin/index.js";
|
|
2104
|
+
export { AdminSparesView } from "./features/admin/index.js";
|
|
2085
2105
|
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
2086
2106
|
// AdminProductsView - Component for admin products view.
|
|
2087
2107
|
export { AdminProductsView } from "./features/admin/index.js";
|
|
@@ -3555,18 +3575,11 @@ export { INPUT_ERROR } from "./features/forms/index.js";
|
|
|
3555
3575
|
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
3556
3576
|
// INPUT_SUCCESS - Constant used across modules.
|
|
3557
3577
|
export { INPUT_SUCCESS } from "./features/forms/index.js";
|
|
3558
|
-
// ./features/homepage/index
|
|
3559
|
-
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
3560
|
-
// AdvertisementBanner - Shared export for advertisement banner.
|
|
3561
|
-
export { AdvertisementBanner } from "./features/homepage/index.js";
|
|
3562
3578
|
// AdSlot - Ad placement slot renderer.
|
|
3563
3579
|
export { AdSlot } from "./features/homepage/index.js";
|
|
3564
3580
|
// Ad registry API
|
|
3565
3581
|
export { registerAdSlot, registerAdSlots, getAdSlot, getAllAdSlots, unregisterAdSlot, clearAdRegistry, setAdConsentGranted, isAdConsentGranted, isAdSlotRenderable, } from "./features/homepage/index.js";
|
|
3566
3582
|
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
3567
|
-
// BeforeAfterCard - Component for before after card.
|
|
3568
|
-
export { BeforeAfterCard } from "./features/homepage/index.js";
|
|
3569
|
-
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
3570
3583
|
// CharacterHotspot - Shared export for character hotspot.
|
|
3571
3584
|
export { CharacterHotspot } from "./features/homepage/index.js";
|
|
3572
3585
|
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
@@ -3579,31 +3592,13 @@ export { CustomerReviewsSection } from "./features/homepage/index.js";
|
|
|
3579
3592
|
// FAQSection - Shared export for faqsection.
|
|
3580
3593
|
export { FAQSection } from "./features/homepage/index.js";
|
|
3581
3594
|
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
3582
|
-
// FeaturedResultsSection - Shared export for featured results section.
|
|
3583
|
-
export { FeaturedResultsSection } from "./features/homepage/index.js";
|
|
3584
|
-
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
3585
|
-
// HeroBanner - Shared export for hero banner.
|
|
3586
|
-
export { HeroBanner } from "./features/homepage/index.js";
|
|
3587
|
-
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
3588
3595
|
// HeroCarousel - Shared export for hero carousel.
|
|
3589
3596
|
export { HeroCarousel } from "./features/homepage/index.js";
|
|
3590
3597
|
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
3591
|
-
// HeroSection - Shared export for hero section.
|
|
3592
|
-
export { HeroSection } from "./features/homepage/index.js";
|
|
3593
|
-
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
3594
|
-
// HomepageSkeleton - Shared export for homepage skeleton.
|
|
3595
|
-
export { HomepageSkeleton } from "./features/homepage/index.js";
|
|
3596
|
-
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
3597
|
-
// HomepageView - Component for homepage view.
|
|
3598
|
-
export { HomepageView } from "./features/homepage/index.js";
|
|
3599
|
-
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
3600
3598
|
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
3601
3599
|
// HowItWorksSection - Shared export for how it works section.
|
|
3602
3600
|
export { HowItWorksSection } from "./features/homepage/index.js";
|
|
3603
3601
|
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
3604
|
-
// NewsletterBanner - Shared export for newsletter banner.
|
|
3605
|
-
export { NewsletterBanner } from "./features/homepage/index.js";
|
|
3606
|
-
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
3607
3602
|
// NewsletterSection - Shared export for newsletter section.
|
|
3608
3603
|
export { NewsletterSection } from "./features/homepage/index.js";
|
|
3609
3604
|
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
@@ -3616,24 +3611,15 @@ export { SectionCarousel } from "./features/homepage/index.js";
|
|
|
3616
3611
|
// SecurityHighlightsSection - Shared export for security highlights section.
|
|
3617
3612
|
export { SecurityHighlightsSection } from "./features/homepage/index.js";
|
|
3618
3613
|
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
3619
|
-
// SiteFeaturesSection - Shared export for site features section.
|
|
3620
|
-
export { SiteFeaturesSection } from "./features/homepage/index.js";
|
|
3621
|
-
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
3622
3614
|
// StatsCounterSection - Shared export for stats counter section.
|
|
3623
3615
|
export { StatsCounterSection } from "./features/homepage/index.js";
|
|
3624
3616
|
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
3625
3617
|
// TestimonialsCarousel - Shared export for testimonials carousel.
|
|
3626
3618
|
export { TestimonialsCarousel } from "./features/homepage/index.js";
|
|
3627
3619
|
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
3628
|
-
// TrustBadges - Shared export for trust badges.
|
|
3629
|
-
export { TrustBadges } from "./features/homepage/index.js";
|
|
3630
|
-
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
3631
3620
|
// TrustFeaturesSection - Shared export for trust features section.
|
|
3632
3621
|
export { TrustFeaturesSection } from "./features/homepage/index.js";
|
|
3633
3622
|
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
3634
|
-
// TrustIndicatorsSection - Shared export for trust indicators section.
|
|
3635
|
-
export { TrustIndicatorsSection } from "./features/homepage/index.js";
|
|
3636
|
-
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
3637
3623
|
// WelcomeSection - Shared export for welcome section.
|
|
3638
3624
|
export { WelcomeSection } from "./features/homepage/index.js";
|
|
3639
3625
|
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
@@ -3655,15 +3641,9 @@ export { useFeaturedProducts } from "./features/homepage/index.js";
|
|
|
3655
3641
|
// useHeroCarousel - React hook for use hero carousel.
|
|
3656
3642
|
export { useHeroCarousel } from "./features/homepage/index.js";
|
|
3657
3643
|
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
3658
|
-
// useHomepage - React hook for use homepage.
|
|
3659
|
-
export { useHomepage } from "./features/homepage/index.js";
|
|
3660
|
-
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
3661
3644
|
// useHomepageReviews - React hook for use homepage reviews.
|
|
3662
3645
|
export { useHomepageReviews } from "./features/homepage/index.js";
|
|
3663
3646
|
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
3664
|
-
// useHomepageSections - React hook for use homepage sections.
|
|
3665
|
-
export { useHomepageSections } from "./features/homepage/index.js";
|
|
3666
|
-
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
3667
3647
|
// useNewsletter - React hook for use newsletter.
|
|
3668
3648
|
export { useNewsletter } from "./features/homepage/index.js";
|
|
3669
3649
|
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
@@ -3672,10 +3652,6 @@ export { useTopBrands } from "./features/homepage/index.js";
|
|
|
3672
3652
|
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
3673
3653
|
// useTopCategories - React hook for use top categories.
|
|
3674
3654
|
export { useTopCategories } from "./features/homepage/index.js";
|
|
3675
|
-
// ./features/homepage/server
|
|
3676
|
-
// [DB]-Database layer â€" uses firebase-admin or another server-side DB SDK; can only run in a trusted server environment.
|
|
3677
|
-
// HomepageSectionsRepository - Shared export for homepage sections repository.
|
|
3678
|
-
export { HomepageSectionsRepository } from "./features/homepage/server.js";
|
|
3679
3655
|
// [SERVER-ONLY]-Server-only â€" uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
|
|
3680
3656
|
// carouselGET - Shared export for carousel get.
|
|
3681
3657
|
export { carouselGET } from "./features/homepage/server.js";
|
|
@@ -3713,18 +3689,6 @@ export { getCarouselSlideById } from "./features/homepage/server.js";
|
|
|
3713
3689
|
// getHomepageSectionById - Helper for get homepage section by id.
|
|
3714
3690
|
export { getHomepageSectionById } from "./features/homepage/server.js";
|
|
3715
3691
|
// [SERVER-ONLY]-Server-only â€" uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
|
|
3716
|
-
// homepageGET - Shared export for homepage get.
|
|
3717
|
-
export { homepageGET } from "./features/homepage/server.js";
|
|
3718
|
-
// [SERVER-ONLY]-Server-only â€" uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
|
|
3719
|
-
// homepageSectionItemDELETE - Shared export for homepage section item delete.
|
|
3720
|
-
export { homepageSectionItemDELETE } from "./features/homepage/server.js";
|
|
3721
|
-
// [SERVER-ONLY]-Server-only â€" uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
|
|
3722
|
-
// homepageSectionItemGET - Shared export for homepage section item get.
|
|
3723
|
-
export { homepageSectionItemGET } from "./features/homepage/server.js";
|
|
3724
|
-
// [SERVER-ONLY]-Server-only â€" uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
|
|
3725
|
-
// homepageSectionItemPATCH - Shared export for homepage section item patch.
|
|
3726
|
-
export { homepageSectionItemPATCH } from "./features/homepage/server.js";
|
|
3727
|
-
// [SERVER-ONLY]-Server-only â€" uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
|
|
3728
3692
|
// listActiveCarouselSlides - Helper for list active carousel slides.
|
|
3729
3693
|
export { listActiveCarouselSlides } from "./features/homepage/server.js";
|
|
3730
3694
|
// [SERVER-ONLY]-Server-only â€" uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
|
|
@@ -4408,6 +4372,9 @@ export { useProducts } from "./features/products/index.js";
|
|
|
4408
4372
|
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
4409
4373
|
// useRelatedProducts - React hook for use related products.
|
|
4410
4374
|
export { useRelatedProducts } from "./features/products/index.js";
|
|
4375
|
+
// A6 — the `ProductImage[]` normaliser and its URL projection. Public because
|
|
4376
|
+
// consumer pages hand `images` to client shapes that still want `string[]`.
|
|
4377
|
+
export { toProductImages, productImageUrls, } from "./features/products/schemas/firestore.js";
|
|
4411
4378
|
// ./features/products/server
|
|
4412
4379
|
// [SERVER-ONLY]-Server-only â€" uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
|
|
4413
4380
|
// getFeaturedAuctions - Helper for get featured auctions.
|
|
@@ -4712,45 +4679,12 @@ export { voteReviewHelpful } from "./features/reviews/server.js";
|
|
|
4712
4679
|
// Search - Shared export for search.
|
|
4713
4680
|
export { Search } from "./features/search/index.js";
|
|
4714
4681
|
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
4715
|
-
// SearchFiltersRow - Shared export for search filters row.
|
|
4716
|
-
export { SearchFiltersRow } from "./features/search/index.js";
|
|
4717
|
-
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
4718
|
-
// SearchResultsSection - Shared export for search results section.
|
|
4719
|
-
export { SearchResultsSection } from "./features/search/index.js";
|
|
4720
|
-
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
4721
|
-
// SearchView - Component for search view.
|
|
4722
|
-
export { SearchView } from "./features/search/index.js";
|
|
4723
|
-
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
4724
|
-
// buildSearchResultColumns - Helper for build search result columns.
|
|
4725
|
-
export { buildSearchResultColumns } from "./features/search/index.js";
|
|
4726
|
-
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
4727
|
-
// searchProductItemSchema - Model for search product item schema.
|
|
4728
|
-
export { searchProductItemSchema } from "./features/search/index.js";
|
|
4729
|
-
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
4730
|
-
// searchQuerySchema - Model for search query schema.
|
|
4731
|
-
export { searchQuerySchema } from "./features/search/index.js";
|
|
4732
|
-
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
4733
|
-
// searchResultAdminColumns - Shared export for search result admin columns.
|
|
4734
|
-
export { searchResultAdminColumns } from "./features/search/index.js";
|
|
4735
|
-
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
4736
4682
|
// useNavSuggestions - React hook for use nav suggestions.
|
|
4737
4683
|
export { useNavSuggestions } from "./features/search/index.js";
|
|
4738
|
-
// [CLIENT-SSR]-Runs in both SSR and browser â€" React component or hook that does not depend on browser-only APIs.
|
|
4739
|
-
// useSearch - React hook for use search.
|
|
4740
|
-
export { useSearch } from "./features/search/index.js";
|
|
4741
4684
|
// [CLIENT]-Browser only. Fetches the public search artifact once per page session.
|
|
4742
4685
|
// Exported from the defining module, not the feature barrel — see client.ts.
|
|
4743
4686
|
export { useSearchIndex, ensureSearchIndex } from "./features/search/hooks/useSearchIndex.js";
|
|
4744
|
-
|
|
4745
|
-
// [DB]-Database layer â€" uses firebase-admin or another server-side DB SDK; can only run in a trusted server environment.
|
|
4746
|
-
// SearchRepository - Shared export for search repository.
|
|
4747
|
-
export { SearchRepository } from "./features/search/server.js";
|
|
4748
|
-
// [SERVER-ONLY]-Server-only â€" uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
|
|
4749
|
-
// searchGET - Shared export for search get.
|
|
4750
|
-
export { searchGET } from "./features/search/server.js";
|
|
4751
|
-
// [SERVER-ONLY]-Server-only â€" uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
|
|
4752
|
-
// searchProducts - Shared export for search products.
|
|
4753
|
-
export { searchProducts } from "./features/search/server.js";
|
|
4687
|
+
export { useSiteSearch } from "./features/search/hooks/useSiteSearch.js";
|
|
4754
4688
|
// ./features/seller/index
|
|
4755
4689
|
// [SCHEMA]-Schema / data-shape constant â€" Zod validator, default-value object, or Firestore collection/field name constant.
|
|
4756
4690
|
// OFFER_COLLECTION - Constant used across modules.
|
|
@@ -5530,6 +5464,10 @@ export { ALERT_METRIC_VALUES, ALERT_METRICS, isAlertMetric, alertMetricsForScope
|
|
|
5530
5464
|
// [CLIENT] CategoryTemplatePicker — the seller form's category description-template
|
|
5531
5465
|
// picker (C2c). Fills SellerProductShell's `renderTemplateSelector` slot.
|
|
5532
5466
|
export { CategoryTemplatePicker, variantForCondition } from "./features/categories/components/CategoryTemplatePicker.js";
|
|
5467
|
+
// [CLIENT] PriceGuidanceHint — the seller form's market-price hint, fills
|
|
5468
|
+
// ProductForm's `renderPriceGuidance` slot. Same reasoning as the sibling
|
|
5469
|
+
// above: seller-facing, never public (CLAUDE.md § "Guest price gating").
|
|
5470
|
+
export { PriceGuidanceHint } from "./features/categories/components/PriceGuidanceHint.js";
|
|
5533
5471
|
// [CLIENT] BrandInlineSelect â€" searchable brand selector with inline quick-create (default: allowCreate=true).
|
|
5534
5472
|
export { BrandInlineSelect } from "./features/seller/components/BrandInlineSelect.js";
|
|
5535
5473
|
// [CLIENT] SublistingInlineSelect â€" searchable sub-listing-category picker with optional admin quick-create.
|
|
@@ -5612,6 +5550,7 @@ export { SellerBundlesView } from "./features/seller/components/SellerBundlesVie
|
|
|
5612
5550
|
export { SellerClassifiedView } from "./features/seller/components/SellerClassifiedView.js";
|
|
5613
5551
|
export { SellerArtView } from "./features/seller/components/SellerArtView.js";
|
|
5614
5552
|
export { SellerStickersView } from "./features/seller/components/SellerStickersView.js";
|
|
5553
|
+
export { SellerSparesView } from "./features/seller/components/SellerSparesView.js";
|
|
5615
5554
|
export { SellerDigitalCodesView } from "./features/seller/components/SellerDigitalCodesView.js";
|
|
5616
5555
|
export { SellerLiveView } from "./features/seller/components/SellerLiveView.js";
|
|
5617
5556
|
// ── Central schema registry (W1) ──────────────────────────────────────────────
|