@mohasinac/appkit 2.7.27 → 2.7.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_internal/client/features/layout/DashboardLayoutClient.js +1 -1
- package/dist/_internal/server/features/checkout/actions.js +42 -35
- package/dist/_internal/server/features/classified/adapters.d.ts +21 -0
- package/dist/_internal/server/features/classified/adapters.js +24 -0
- package/dist/_internal/server/features/classified/index.d.ts +3 -0
- package/dist/_internal/server/features/classified/index.js +3 -0
- package/dist/_internal/server/features/classified/metadata.d.ts +8 -0
- package/dist/_internal/server/features/classified/metadata.js +43 -0
- package/dist/_internal/server/features/classified/og.d.ts +30 -0
- package/dist/_internal/server/features/classified/og.js +76 -0
- package/dist/_internal/server/features/digital-code/adapters.d.ts +21 -0
- package/dist/_internal/server/features/digital-code/adapters.js +29 -0
- package/dist/_internal/server/features/digital-code/index.d.ts +3 -0
- package/dist/_internal/server/features/digital-code/index.js +3 -0
- package/dist/_internal/server/features/digital-code/metadata.d.ts +8 -0
- package/dist/_internal/server/features/digital-code/metadata.js +36 -0
- package/dist/_internal/server/features/digital-code/og.d.ts +27 -0
- package/dist/_internal/server/features/digital-code/og.js +77 -0
- package/dist/_internal/server/features/live/adapters.d.ts +21 -0
- package/dist/_internal/server/features/live/adapters.js +34 -0
- package/dist/_internal/server/features/live/index.d.ts +3 -0
- package/dist/_internal/server/features/live/index.js +3 -0
- package/dist/_internal/server/features/live/metadata.d.ts +8 -0
- package/dist/_internal/server/features/live/metadata.js +39 -0
- package/dist/_internal/server/features/live/og.d.ts +27 -0
- package/dist/_internal/server/features/live/og.js +72 -0
- package/dist/_internal/server/features/promotions/actions.js +4 -3
- package/dist/_internal/server/jobs/core/onOrderCreate.js +19 -16
- package/dist/_internal/server/jobs/core/onOrderStatusChange.js +25 -22
- package/dist/_internal/server/jobs/core/onProductWrite.js +48 -58
- package/dist/_internal/shared/actions/action-registry.js +310 -8
- package/dist/_internal/shared/features/blog/schema.d.ts +4 -4
- package/dist/_internal/shared/features/brands/schema.d.ts +5 -5
- package/dist/_internal/shared/features/cart/schema.d.ts +18 -18
- package/dist/_internal/shared/features/categories/bundle-copy.d.ts +1 -1
- package/dist/_internal/shared/features/categories/bundle-schemas.d.ts +38 -38
- package/dist/_internal/shared/features/events/schema.d.ts +8 -8
- package/dist/_internal/shared/features/orders/schema.d.ts +8 -8
- package/dist/_internal/shared/features/products/schema.d.ts +42 -42
- package/dist/_internal/shared/features/promotions/schema.d.ts +4 -4
- package/dist/_internal/shared/features/reviews/schema.d.ts +1 -1
- package/dist/_internal/shared/media/limits.js +4 -3
- package/dist/client.d.ts +2 -0
- package/dist/client.js +1 -0
- package/dist/configs/next.js +4 -0
- package/dist/constants/table-keys.d.ts +6 -0
- package/dist/constants/table-keys.js +9 -0
- package/dist/core/hooks/useSyncManager.js +9 -8
- package/dist/features/about/components/FeesView.js +10 -7
- package/dist/features/about/components/HelpPageView.js +10 -1
- package/dist/features/about/components/HowAuctionsWorkView.js +10 -1
- package/dist/features/about/components/HowCheckoutWorksView.js +10 -1
- package/dist/features/about/components/HowOffersWorkView.js +10 -1
- package/dist/features/about/components/HowOrdersWorkView.js +10 -1
- package/dist/features/about/components/HowPayoutsWorkView.js +10 -1
- package/dist/features/about/components/HowPreOrdersWorkView.js +10 -1
- package/dist/features/about/components/HowReviewsWorkView.js +10 -1
- package/dist/features/about/components/PublicProfileView.js +44 -14
- package/dist/features/about/components/SecurityPrivacyView.js +7 -1
- package/dist/features/account/components/AddressesIndexListing.js +2 -2
- package/dist/features/account/components/NotificationBell.js +27 -16
- package/dist/features/account/components/NotificationPreferencesPanel.d.ts +9 -0
- package/dist/features/account/components/NotificationPreferencesPanel.js +91 -0
- package/dist/features/account/components/UserSidebar.js +4 -4
- package/dist/features/account/components/UserSupportView.js +16 -6
- package/dist/features/account/components/index.d.ts +2 -0
- package/dist/features/account/components/index.js +1 -0
- package/dist/features/account/schemas/index.d.ts +4 -4
- package/dist/features/account/types/index.d.ts +34 -0
- package/dist/features/admin/actions/admin-actions.js +4 -3
- package/dist/features/admin/actions/notification-actions.d.ts +24 -22
- package/dist/features/admin/actions/notification-actions.js +122 -22
- package/dist/features/admin/components/AdminAdEditorView.js +29 -15
- package/dist/features/admin/components/AdminAdsView.js +22 -28
- package/dist/features/admin/components/AdminAllEventEntriesView.js +6 -1
- package/dist/features/admin/components/AdminBidsView.js +10 -3
- package/dist/features/admin/components/AdminBlogEditorView.js +2 -2
- package/dist/features/admin/components/AdminBlogView.js +8 -3
- package/dist/features/admin/components/AdminBrandsView.js +7 -2
- package/dist/features/admin/components/AdminBundleEditorView.js +5 -2
- package/dist/features/admin/components/AdminCarouselEditorView.js +6 -3
- package/dist/features/admin/components/AdminCarouselView.js +13 -7
- package/dist/features/admin/components/AdminCategoriesView.js +8 -3
- package/dist/features/admin/components/AdminCategoryEditorView.js +2 -2
- package/dist/features/admin/components/AdminContactView.js +6 -1
- package/dist/features/admin/components/AdminCouponEditorView.js +8 -2
- package/dist/features/admin/components/AdminCouponsView.js +6 -1
- package/dist/features/admin/components/AdminEmployeeEditorView.js +12 -9
- package/dist/features/admin/components/AdminFaqEditorView.js +2 -2
- package/dist/features/admin/components/AdminFaqsView.js +7 -2
- package/dist/features/admin/components/AdminFeaturesView.js +4 -3
- package/dist/features/admin/components/AdminMediaView.js +9 -8
- package/dist/features/admin/components/AdminNavigationView.js +10 -17
- package/dist/features/admin/components/AdminNewsletterView.js +6 -1
- package/dist/features/admin/components/AdminNotificationsView.js +11 -3
- package/dist/features/admin/components/AdminOrdersView.js +6 -1
- package/dist/features/admin/components/AdminPayoutsView.js +10 -3
- package/dist/features/admin/components/AdminPrizeDrawsView.js +10 -3
- package/dist/features/admin/components/AdminProductsView.js +18 -12
- package/dist/features/admin/components/AdminReviewsView.js +33 -24
- package/dist/features/admin/components/AdminScammerEditorView.js +3 -2
- package/dist/features/admin/components/AdminScammersView.js +28 -26
- package/dist/features/admin/components/AdminSectionsView.js +112 -99
- package/dist/features/admin/components/AdminSessionsView.js +10 -3
- package/dist/features/admin/components/AdminSidebar.js +4 -4
- package/dist/features/admin/components/AdminSiteSettingsView.js +45 -4
- package/dist/features/admin/components/AdminStoresView.js +6 -1
- package/dist/features/admin/components/AdminSublistingCategoriesView.js +0 -1
- package/dist/features/admin/components/AdminSupportTicketDetailView.js +1 -1
- package/dist/features/admin/components/AdminSupportTicketsView.js +32 -34
- package/dist/features/admin/components/AdminTeamView.js +6 -1
- package/dist/features/admin/components/AdminUserEditorView.js +8 -15
- package/dist/features/admin/components/AdminUsersView.js +6 -1
- package/dist/features/admin/components/AdminViewCards.js +4 -3
- package/dist/features/admin/components/DashboardStats.js +2 -2
- package/dist/features/admin/components/DataTable.js +2 -2
- package/dist/features/admin/components/sections/adminSectionsTypes.js +4 -3
- package/dist/features/admin/repository/chat.repository.js +8 -8
- package/dist/features/admin/repository/site-settings.repository.d.ts +1 -0
- package/dist/features/admin/repository/site-settings.repository.js +11 -9
- package/dist/features/admin/schemas/firestore.d.ts +38 -0
- package/dist/features/admin/schemas/firestore.js +15 -0
- package/dist/features/auctions/components/AuctionDetailPageView.js +13 -19
- package/dist/features/auctions/components/MarketplaceAuctionCard.js +18 -9
- package/dist/features/auctions/components/MarketplaceAuctionGrid.js +3 -2
- package/dist/features/auctions/components/index.d.ts +0 -1
- package/dist/features/auctions/components/index.js +0 -1
- package/dist/features/auctions/schemas/index.d.ts +14 -14
- package/dist/features/auth/actions/realtime-token-actions.js +19 -4
- package/dist/features/auth/components/RegisterForm.js +8 -4
- package/dist/features/auth/consent-otp.d.ts +2 -0
- package/dist/features/auth/consent-otp.js +8 -0
- package/dist/features/auth/schemas/firestore.d.ts +2 -0
- package/dist/features/auth/schemas/firestore.js +18 -25
- package/dist/features/auth/schemas/index.d.ts +2 -2
- package/dist/features/before-after/api/[id]/route.js +8 -6
- package/dist/features/before-after/schemas/index.d.ts +2 -2
- package/dist/features/blog/actions/blog-actions.d.ts +3 -3
- package/dist/features/blog/components/BlogIndexListing.js +21 -2
- package/dist/features/blog/components/BlogPostForm.js +11 -5
- package/dist/features/blog/components/BlogPostView.js +10 -2
- package/dist/features/blog/schemas/index.d.ts +18 -18
- package/dist/features/cart/components/CartDrawer.js +3 -2
- package/dist/features/cart/repository/cart.repository.js +4 -3
- package/dist/features/cart/utils/pending-ops.d.ts +1 -1
- package/dist/features/categories/api/[id]/route.js +4 -3
- package/dist/features/categories/api/route.js +4 -3
- package/dist/features/categories/components/BrandDetailPageView.js +2 -2
- package/dist/features/categories/components/BrandDetailTabs.js +2 -2
- package/dist/features/categories/components/BundleCollage.d.ts +8 -0
- package/dist/features/categories/components/BundleCollage.js +50 -0
- package/dist/features/categories/components/BundleDetailView.js +2 -10
- package/dist/features/categories/components/BundleItemsPicker.js +20 -13
- package/dist/features/categories/components/CategoriesIndexListing.js +28 -9
- package/dist/features/categories/components/CategoryDetailPageView.js +2 -2
- package/dist/features/categories/components/CategoryDetailTabs.js +2 -2
- package/dist/features/categories/components/CategoryProductsListing.js +52 -13
- package/dist/features/categories/components/index.d.ts +2 -0
- package/dist/features/categories/components/index.js +1 -0
- package/dist/features/categories/schemas/index.d.ts +6 -6
- package/dist/features/checkout/actions/checkout-actions.js +4 -3
- package/dist/features/checkout/hooks/usePaymentCheckout.js +31 -22
- package/dist/features/classified/components/ClassifiedFilters.d.ts +8 -0
- package/dist/features/classified/components/ClassifiedFilters.js +19 -0
- package/dist/features/classified/components/ClassifiedIndexListing.d.ts +4 -0
- package/dist/features/classified/components/ClassifiedIndexListing.js +110 -0
- package/dist/features/classified/components/ClassifiedListView.d.ts +6 -0
- package/dist/features/classified/components/ClassifiedListView.js +43 -0
- package/dist/features/classified/components/index.d.ts +6 -0
- package/dist/features/classified/components/index.js +3 -0
- package/dist/features/collections/api/[slug]/route.js +16 -12
- package/dist/features/collections/schemas/index.d.ts +5 -5
- package/dist/features/consultation/api/[id]/route.js +12 -9
- package/dist/features/consultation/components/ConsultationForm.js +3 -2
- package/dist/features/consultation/schemas/index.d.ts +6 -6
- package/dist/features/contact/email.js +77 -116
- package/dist/features/copilot/components/AdminCopilotView.js +12 -2
- package/dist/features/corporate/api/[id]/route.js +12 -9
- package/dist/features/corporate/components/CorporateInquiryForm.js +2 -1
- package/dist/features/digital-codes/components/DigitalCodeFilters.d.ts +8 -0
- package/dist/features/digital-codes/components/DigitalCodeFilters.js +16 -0
- package/dist/features/digital-codes/components/DigitalCodesIndexListing.d.ts +4 -0
- package/dist/features/digital-codes/components/DigitalCodesIndexListing.js +107 -0
- package/dist/features/digital-codes/components/DigitalCodesListView.d.ts +6 -0
- package/dist/features/digital-codes/components/DigitalCodesListView.js +37 -0
- package/dist/features/digital-codes/components/index.d.ts +6 -0
- package/dist/features/digital-codes/components/index.js +3 -0
- package/dist/features/events/actions/event-actions.js +4 -3
- package/dist/features/events/components/AdminEventEditorView.js +3 -2
- package/dist/features/events/components/AdminEventsView.js +4 -2
- package/dist/features/events/components/EventPollWidget.js +5 -5
- package/dist/features/events/components/EventsIndexListing.js +2 -2
- package/dist/features/events/schemas/index.d.ts +20 -20
- package/dist/features/faq/actions/faq-actions.d.ts +8 -8
- package/dist/features/faq/components/ContactCTA.js +3 -1
- package/dist/features/faq/components/FAQAccordion.js +1 -1
- package/dist/features/faq/schemas/index.d.ts +4 -4
- package/dist/features/filters/AsyncFacetSection.d.ts +18 -0
- package/dist/features/filters/AsyncFacetSection.js +65 -0
- package/dist/features/forms/Checkbox.js +2 -2
- package/dist/features/forms/Input.js +2 -2
- package/dist/features/forms/Radio.js +5 -5
- package/dist/features/forms/Select.js +2 -2
- package/dist/features/forms/Slider.js +2 -2
- package/dist/features/forms/Textarea.js +2 -2
- package/dist/features/homepage/api/[id]/route.js +4 -3
- package/dist/features/homepage/api/sections/[id]/route.js +12 -9
- package/dist/features/homepage/components/AdSlot.js +2 -1
- package/dist/features/homepage/components/AdvertisementBanner.js +5 -3
- package/dist/features/homepage/components/BrandsSection.js +2 -2
- package/dist/features/homepage/components/CTABannerSection.js +2 -2
- package/dist/features/homepage/components/CharacterHotspot.d.ts +2 -2
- package/dist/features/homepage/components/CharacterHotspot.js +119 -157
- package/dist/features/homepage/components/CharacterHotspotForm.js +25 -20
- package/dist/features/homepage/components/CustomCardsSection.js +8 -6
- package/dist/features/homepage/components/FeaturedProductsSection.js +2 -2
- package/dist/features/homepage/components/GoogleReviewsSection.js +3 -3
- package/dist/features/homepage/components/HeroBanner.js +5 -4
- package/dist/features/homepage/components/HeroCarousel.js +13 -26
- package/dist/features/homepage/components/HowItWorksSection.js +4 -2
- package/dist/features/homepage/components/SocialFeedSection.js +2 -2
- package/dist/features/homepage/components/SocialPostCard.js +3 -2
- package/dist/features/homepage/lib/social-feed-fetcher.js +6 -3
- package/dist/features/layout/AppLayoutShell.d.ts +8 -2
- package/dist/features/layout/AppLayoutShell.js +54 -78
- package/dist/features/layout/BottomActions.js +43 -48
- package/dist/features/live/components/LiveItemFilters.d.ts +8 -0
- package/dist/features/live/components/LiveItemFilters.js +23 -0
- package/dist/features/live/components/LiveItemsIndexListing.d.ts +4 -0
- package/dist/features/live/components/LiveItemsIndexListing.js +108 -0
- package/dist/features/live/components/LiveItemsListView.d.ts +6 -0
- package/dist/features/live/components/LiveItemsListView.js +43 -0
- package/dist/features/live/components/index.d.ts +6 -0
- package/dist/features/live/components/index.js +3 -0
- package/dist/features/media/MediaLightbox.js +8 -14
- package/dist/features/media/types/index.d.ts +2 -2
- package/dist/features/media/upload/CameraCapture.js +2 -2
- package/dist/features/media/upload/ImageUpload.js +4 -2
- package/dist/features/media/upload/MediaUploadField.js +24 -8
- package/dist/features/media/upload/MediaUploadList.js +1 -1
- package/dist/features/orders/actions/order-actions.js +4 -3
- package/dist/features/orders/components/MarketplaceOrderCard.js +2 -1
- package/dist/features/orders/components/OrderFilters.js +12 -9
- package/dist/features/orders/schemas/index.d.ts +6 -6
- package/dist/features/pre-orders/api/[id]/route.js +12 -9
- package/dist/features/pre-orders/components/MarketplacePreorderCard.js +5 -4
- package/dist/features/pre-orders/components/PreOrderDetailPageView.js +27 -20
- package/dist/features/pre-orders/components/PreOrdersIndexListing.js +17 -52
- package/dist/features/pre-orders/components/PreorderCard.d.ts +0 -9
- package/dist/features/pre-orders/components/PreorderCard.js +2 -13
- package/dist/features/pre-orders/components/index.d.ts +1 -1
- package/dist/features/pre-orders/components/index.js +1 -1
- package/dist/features/pre-orders/schemas/index.d.ts +10 -10
- package/dist/features/products/api/[id]/route.js +9 -7
- package/dist/features/products/api/route.js +1 -1
- package/dist/features/products/columns/productTableColumns.js +2 -2
- package/dist/features/products/components/AuctionsIndexListing.js +15 -51
- package/dist/features/products/components/BidHistory.js +2 -2
- package/dist/features/products/components/CompareOverlay.js +3 -2
- package/dist/features/products/components/MakeOfferButton.js +20 -14
- package/dist/features/products/components/MarketplacePrizeDrawCard.js +2 -1
- package/dist/features/products/components/PrizeDrawCollage.d.ts +1 -15
- package/dist/features/products/components/PrizeDrawCollage.js +54 -14
- package/dist/features/products/components/PrizeDrawDetailPageView.js +2 -1
- package/dist/features/products/components/PrizeDrawEntryActions.js +2 -1
- package/dist/features/products/components/PrizeDrawItemsEditor.js +9 -7
- package/dist/features/products/components/PrizeDrawsIndexListing.js +18 -51
- package/dist/features/products/components/PrizeRevealModal.js +24 -14
- package/dist/features/products/components/ProductDetailPageView.js +2 -1
- package/dist/features/products/components/ProductFilters.js +8 -6
- package/dist/features/products/components/ProductForm.js +12 -10
- package/dist/features/products/components/ProductGalleryClient.js +2 -1
- package/dist/features/products/components/ProductGrid.js +11 -14
- package/dist/features/products/components/ProductsIndexListing.js +16 -52
- package/dist/features/products/components/ProductsIndexPageView.js +2 -2
- package/dist/features/products/schemas/index.d.ts +56 -56
- package/dist/features/products/schemas/product-features.validators.d.ts +14 -14
- package/dist/features/promotions/components/CouponsIndexListing.js +1 -1
- package/dist/features/promotions/schemas/index.d.ts +6 -6
- package/dist/features/reviews/actions/review-actions.js +6 -5
- package/dist/features/reviews/api/[id]/route.js +4 -3
- package/dist/features/reviews/components/ReviewDetailPageView.js +2 -2
- package/dist/features/reviews/components/ReviewDetailShell.js +6 -3
- package/dist/features/reviews/components/ReviewsIndexListing.js +2 -2
- package/dist/features/reviews/schemas/index.d.ts +6 -6
- package/dist/features/scams/components/ScamProfileView.js +19 -10
- package/dist/features/scams/components/ScamRegistryView.js +2 -1
- package/dist/features/search/components/Search.d.ts +1 -1
- package/dist/features/search/components/Search.js +56 -49
- package/dist/features/search/schemas/index.d.ts +5 -5
- package/dist/features/seller/actions/offer-actions.js +11 -9
- package/dist/features/seller/components/SellerAddressesView.js +6 -4
- package/dist/features/seller/components/SellerBidsView.js +2 -2
- package/dist/features/seller/components/SellerCouponsView.js +1 -1
- package/dist/features/seller/components/SellerOffersPanel.js +6 -1
- package/dist/features/seller/components/SellerOrdersView.js +1 -1
- package/dist/features/seller/components/SellerPayoutSettingsView.js +3 -3
- package/dist/features/seller/components/SellerPreOrdersView.js +5 -4
- package/dist/features/seller/components/SellerPrizeDrawsView.js +5 -4
- package/dist/features/seller/components/SellerProductShell.d.ts +19 -1
- package/dist/features/seller/components/SellerProductShell.js +75 -9
- package/dist/features/seller/components/SellerProductsView.js +10 -11
- package/dist/features/seller/components/SellerShippingView.js +3 -3
- package/dist/features/seller/components/SellerSidebar.js +10 -7
- package/dist/features/seller/components/SellerStorefrontView.js +3 -3
- package/dist/features/seller/schemas/index.d.ts +4 -4
- package/dist/features/shell/FormShell.js +2 -1
- package/dist/features/shell/QuickFormDrawer.js +4 -3
- package/dist/features/shell/StepForm.js +4 -3
- package/dist/features/stores/actions/store-query-actions.js +4 -3
- package/dist/features/stores/components/StoreAboutView.js +2 -1
- package/dist/features/stores/components/StoreAuctionsListing.js +43 -64
- package/dist/features/stores/components/StoreDetailLayoutView.js +2 -2
- package/dist/features/stores/components/StorePreOrdersListing.js +33 -57
- package/dist/features/stores/components/StoreProductsListing.js +16 -49
- package/dist/features/stores/components/StoresIndexListing.js +2 -2
- package/dist/features/stores/schemas/index.d.ts +2 -2
- package/dist/features/whatsapp-bot/components/SellerWhatsAppSettingsView.js +8 -7
- package/dist/features/wishlist/hooks/useGuestWishlist.d.ts +5 -5
- package/dist/features/wishlist/hooks/useWishlistWithGuest.d.ts +6 -6
- package/dist/features/wishlist/utils/guest-wishlist.d.ts +5 -5
- package/dist/index.d.ts +21 -3
- package/dist/index.js +1737 -1725
- package/dist/monitoring/server-logger.js +5 -9
- package/dist/next/api/apiHandler.js +56 -37
- package/dist/next/components/GlobalError.js +2 -1
- package/dist/next/routing/route-map.d.ts +27 -0
- package/dist/next/routing/route-map.js +10 -0
- package/dist/react/ErrorBoundary.js +2 -1
- package/dist/react/contexts/SessionContext.js +38 -28
- package/dist/react/hooks/useCamera.d.ts +1 -1
- package/dist/react/hooks/useCamera.js +8 -7
- package/dist/seed/site-settings-seed-data.js +6 -0
- package/dist/server-entry.d.ts +3 -0
- package/dist/server-entry.js +3 -0
- package/dist/server.d.ts +12 -0
- package/dist/server.js +15 -0
- package/dist/tailwind-utilities.css +1 -1
- package/dist/ui/DataTable.js +28 -7
- package/dist/ui/components/Button.d.ts +8 -1
- package/dist/ui/components/Button.js +47 -8
- package/dist/ui/components/CollageLightbox.d.ts +18 -0
- package/dist/ui/components/CollageLightbox.js +41 -0
- package/dist/ui/components/Dropdown.js +7 -6
- package/dist/ui/components/ImageLightbox.d.ts +7 -1
- package/dist/ui/components/ImageLightbox.js +15 -5
- package/dist/ui/components/PageLoader.js +4 -3
- package/dist/ui/components/PaginatedMultiSelect.d.ts +28 -0
- package/dist/ui/components/PaginatedMultiSelect.js +141 -0
- package/dist/ui/components/PaginatedMultiSelect.style.css +272 -0
- package/dist/ui/components/Semantic.js +1 -1
- package/dist/ui/components/SideDrawer.js +17 -15
- package/dist/ui/components/index.style.css +1 -0
- package/dist/ui/index.d.ts +2 -0
- package/dist/ui/index.js +1 -0
- package/dist/utils/number.formatter.js +5 -13
- package/dist/utils/string.formatter.js +21 -18
- package/dist/validation/schemas.d.ts +2 -2
- package/package.json +1 -1
|
@@ -68,6 +68,7 @@ export const ACTIONS = {
|
|
|
68
68
|
"add-to-cart": {
|
|
69
69
|
id: "product.add-to-cart",
|
|
70
70
|
label: "Add to cart",
|
|
71
|
+
ariaLabel: "Add to cart",
|
|
71
72
|
description: "Add a standard listing to the buyer's cart.",
|
|
72
73
|
kind: "primary",
|
|
73
74
|
listingTypeScope: ["standard", "pre-order", "prize-draw", "digital-code", "live"],
|
|
@@ -79,6 +80,41 @@ export const ACTIONS = {
|
|
|
79
80
|
kind: "primary",
|
|
80
81
|
listingTypeScope: ["standard", "pre-order"],
|
|
81
82
|
},
|
|
83
|
+
"add-to-wishlist": {
|
|
84
|
+
id: "product.add-to-wishlist",
|
|
85
|
+
label: "Save",
|
|
86
|
+
ariaLabel: "Add to wishlist",
|
|
87
|
+
description: "Bookmark this listing into the buyer's wishlist.",
|
|
88
|
+
kind: "ghost",
|
|
89
|
+
},
|
|
90
|
+
"remove-from-wishlist": {
|
|
91
|
+
id: "product.remove-from-wishlist",
|
|
92
|
+
label: "Saved",
|
|
93
|
+
ariaLabel: "Remove from wishlist",
|
|
94
|
+
description: "Remove this listing from the buyer's wishlist.",
|
|
95
|
+
kind: "ghost",
|
|
96
|
+
},
|
|
97
|
+
"share": {
|
|
98
|
+
id: "product.share",
|
|
99
|
+
label: "Share",
|
|
100
|
+
ariaLabel: "Share this listing",
|
|
101
|
+
description: "Open the native share sheet or copy the listing URL.",
|
|
102
|
+
kind: "ghost",
|
|
103
|
+
},
|
|
104
|
+
"compare": {
|
|
105
|
+
id: "product.compare",
|
|
106
|
+
label: "Compare",
|
|
107
|
+
ariaLabel: "Add to comparison",
|
|
108
|
+
description: "Add this listing to the side-by-side comparison panel.",
|
|
109
|
+
kind: "ghost",
|
|
110
|
+
},
|
|
111
|
+
"make-offer": {
|
|
112
|
+
id: "product.make-offer",
|
|
113
|
+
label: "Make an offer",
|
|
114
|
+
description: "Propose a price to the seller for a classified listing.",
|
|
115
|
+
kind: "secondary",
|
|
116
|
+
listingTypeScope: ["classified"],
|
|
117
|
+
},
|
|
82
118
|
},
|
|
83
119
|
AUCTION: {
|
|
84
120
|
"place-bid": {
|
|
@@ -95,9 +131,61 @@ export const ACTIONS = {
|
|
|
95
131
|
kind: "secondary",
|
|
96
132
|
listingTypeScope: ["auction"],
|
|
97
133
|
},
|
|
134
|
+
"watch": {
|
|
135
|
+
id: "auction.watch",
|
|
136
|
+
label: "Watch auction",
|
|
137
|
+
ariaLabel: "Watch this auction",
|
|
138
|
+
description: "Subscribe to bid activity and ending-soon alerts for this auction.",
|
|
139
|
+
kind: "ghost",
|
|
140
|
+
listingTypeScope: ["auction"],
|
|
141
|
+
},
|
|
142
|
+
"unwatch": {
|
|
143
|
+
id: "auction.unwatch",
|
|
144
|
+
label: "Watching",
|
|
145
|
+
ariaLabel: "Stop watching this auction",
|
|
146
|
+
description: "Unsubscribe from bid activity alerts for this auction.",
|
|
147
|
+
kind: "ghost",
|
|
148
|
+
listingTypeScope: ["auction"],
|
|
149
|
+
},
|
|
150
|
+
},
|
|
151
|
+
PRE_ORDER: {
|
|
152
|
+
"reserve-now": {
|
|
153
|
+
id: "pre-order.reserve-now",
|
|
154
|
+
label: "Reserve now",
|
|
155
|
+
description: "Lock in a pre-order reservation for this listing.",
|
|
156
|
+
kind: "primary",
|
|
157
|
+
listingTypeScope: ["pre-order"],
|
|
158
|
+
},
|
|
159
|
+
"cancel-reservation": {
|
|
160
|
+
id: "pre-order.cancel-reservation",
|
|
161
|
+
label: "Cancel reservation",
|
|
162
|
+
description: "Cancel the buyer's pre-order reservation.",
|
|
163
|
+
kind: "danger",
|
|
164
|
+
listingTypeScope: ["pre-order"],
|
|
165
|
+
confirmation: {
|
|
166
|
+
title: "Cancel reservation?",
|
|
167
|
+
body: "Your reservation will be released and the spot may be taken by another buyer.",
|
|
168
|
+
confirmLabel: "Cancel reservation",
|
|
169
|
+
confirmKind: "danger",
|
|
170
|
+
},
|
|
171
|
+
},
|
|
172
|
+
},
|
|
173
|
+
PRIZE_DRAW: {
|
|
174
|
+
"enter-draw": {
|
|
175
|
+
id: "prize-draw.enter-draw",
|
|
176
|
+
label: "Enter draw",
|
|
177
|
+
description: "Purchase an entry into the prize draw.",
|
|
178
|
+
kind: "primary",
|
|
179
|
+
listingTypeScope: ["prize-draw"],
|
|
180
|
+
},
|
|
181
|
+
"reveal-code": {
|
|
182
|
+
id: "prize-draw.reveal-code",
|
|
183
|
+
label: "Reveal code",
|
|
184
|
+
description: "Reveal the buyer's prize-draw redemption code.",
|
|
185
|
+
kind: "primary",
|
|
186
|
+
listingTypeScope: ["prize-draw"],
|
|
187
|
+
},
|
|
98
188
|
},
|
|
99
|
-
PRE_ORDER: {},
|
|
100
|
-
PRIZE_DRAW: {},
|
|
101
189
|
CLASSIFIED: {
|
|
102
190
|
"contact-seller": {
|
|
103
191
|
id: "classified.contact-seller",
|
|
@@ -107,8 +195,24 @@ export const ACTIONS = {
|
|
|
107
195
|
listingTypeScope: ["classified"],
|
|
108
196
|
},
|
|
109
197
|
},
|
|
110
|
-
DIGITAL_CODE: {
|
|
111
|
-
|
|
198
|
+
DIGITAL_CODE: {
|
|
199
|
+
"claim-code": {
|
|
200
|
+
id: "digital-code.claim-code",
|
|
201
|
+
label: "Claim code",
|
|
202
|
+
description: "Purchase and immediately reveal a digital code.",
|
|
203
|
+
kind: "primary",
|
|
204
|
+
listingTypeScope: ["digital-code"],
|
|
205
|
+
},
|
|
206
|
+
},
|
|
207
|
+
LIVE: {
|
|
208
|
+
"inquire": {
|
|
209
|
+
id: "live.inquire",
|
|
210
|
+
label: "Inquire",
|
|
211
|
+
description: "Open a conversation with the seller about a live-item listing.",
|
|
212
|
+
kind: "primary",
|
|
213
|
+
listingTypeScope: ["live"],
|
|
214
|
+
},
|
|
215
|
+
},
|
|
112
216
|
BUNDLE: {
|
|
113
217
|
"add-bundle-to-cart": {
|
|
114
218
|
id: "bundle.add-to-cart",
|
|
@@ -122,10 +226,165 @@ export const ACTIONS = {
|
|
|
122
226
|
CATEGORY: {},
|
|
123
227
|
BRAND: {},
|
|
124
228
|
SUBLISTING: {},
|
|
125
|
-
STORE: {
|
|
229
|
+
STORE: {
|
|
230
|
+
"follow": {
|
|
231
|
+
id: "store.follow",
|
|
232
|
+
label: "Follow",
|
|
233
|
+
ariaLabel: "Follow this store",
|
|
234
|
+
description: "Subscribe to new listing and sale notifications from this store.",
|
|
235
|
+
kind: "secondary",
|
|
236
|
+
},
|
|
237
|
+
"unfollow": {
|
|
238
|
+
id: "store.unfollow",
|
|
239
|
+
label: "Following",
|
|
240
|
+
ariaLabel: "Unfollow this store",
|
|
241
|
+
description: "Unsubscribe from this store's notifications.",
|
|
242
|
+
kind: "ghost",
|
|
243
|
+
},
|
|
244
|
+
"view-all": {
|
|
245
|
+
id: "store.view-all",
|
|
246
|
+
label: "View all",
|
|
247
|
+
ariaLabel: "View all listings from this store",
|
|
248
|
+
description: "Navigate to the full product listing for this store.",
|
|
249
|
+
kind: "link",
|
|
250
|
+
},
|
|
251
|
+
"edit-listing": {
|
|
252
|
+
id: "store.edit-listing",
|
|
253
|
+
label: "Edit",
|
|
254
|
+
ariaLabel: "Edit listing",
|
|
255
|
+
description: "Navigate to the edit form for this store listing.",
|
|
256
|
+
kind: "ghost",
|
|
257
|
+
permissions: ["seller", "admin"],
|
|
258
|
+
},
|
|
259
|
+
"delete-listing": {
|
|
260
|
+
id: "store.delete-listing",
|
|
261
|
+
label: "Delete",
|
|
262
|
+
ariaLabel: "Delete listing",
|
|
263
|
+
description: "Permanently delete this store listing.",
|
|
264
|
+
kind: "danger",
|
|
265
|
+
permissions: ["seller", "admin"],
|
|
266
|
+
confirmation: {
|
|
267
|
+
title: "Delete listing?",
|
|
268
|
+
body: "This listing will be permanently removed. This action cannot be undone.",
|
|
269
|
+
confirmLabel: "Delete listing",
|
|
270
|
+
confirmKind: "danger",
|
|
271
|
+
},
|
|
272
|
+
},
|
|
273
|
+
"publish-listing": {
|
|
274
|
+
id: "store.publish-listing",
|
|
275
|
+
label: "Publish",
|
|
276
|
+
description: "Make this listing visible to buyers.",
|
|
277
|
+
kind: "primary",
|
|
278
|
+
permissions: ["seller", "admin"],
|
|
279
|
+
},
|
|
280
|
+
"unpublish-listing": {
|
|
281
|
+
id: "store.unpublish-listing",
|
|
282
|
+
label: "Unpublish",
|
|
283
|
+
description: "Hide this listing from buyers.",
|
|
284
|
+
kind: "secondary",
|
|
285
|
+
permissions: ["seller", "admin"],
|
|
286
|
+
},
|
|
287
|
+
"mark-shipped": {
|
|
288
|
+
id: "store.mark-shipped",
|
|
289
|
+
label: "Mark as shipped",
|
|
290
|
+
description: "Update an order status to shipped and enter tracking info.",
|
|
291
|
+
kind: "primary",
|
|
292
|
+
permissions: ["seller", "admin"],
|
|
293
|
+
},
|
|
294
|
+
"request-payout": {
|
|
295
|
+
id: "store.request-payout",
|
|
296
|
+
label: "Request payout",
|
|
297
|
+
description: "Submit a payout request for available store earnings.",
|
|
298
|
+
kind: "primary",
|
|
299
|
+
permissions: ["seller"],
|
|
300
|
+
},
|
|
301
|
+
"save-changes": {
|
|
302
|
+
id: "store.save-changes",
|
|
303
|
+
label: "Save changes",
|
|
304
|
+
description: "Submit the store listing or settings form.",
|
|
305
|
+
kind: "primary",
|
|
306
|
+
permissions: ["seller", "admin"],
|
|
307
|
+
},
|
|
308
|
+
},
|
|
126
309
|
BLOG: {},
|
|
127
|
-
EVENT: {
|
|
128
|
-
|
|
310
|
+
EVENT: {
|
|
311
|
+
"register": {
|
|
312
|
+
id: "event.register",
|
|
313
|
+
label: "Register",
|
|
314
|
+
description: "Register to participate in this event.",
|
|
315
|
+
kind: "primary",
|
|
316
|
+
},
|
|
317
|
+
"cancel-registration": {
|
|
318
|
+
id: "event.cancel-registration",
|
|
319
|
+
label: "Cancel registration",
|
|
320
|
+
description: "Cancel participation in this event.",
|
|
321
|
+
kind: "danger",
|
|
322
|
+
confirmation: {
|
|
323
|
+
title: "Cancel registration?",
|
|
324
|
+
body: "Your spot will be released and you may not be able to re-register if it fills up.",
|
|
325
|
+
confirmLabel: "Yes, cancel",
|
|
326
|
+
confirmKind: "danger",
|
|
327
|
+
},
|
|
328
|
+
},
|
|
329
|
+
},
|
|
330
|
+
USER: {
|
|
331
|
+
"cancel-order": {
|
|
332
|
+
id: "user.cancel-order",
|
|
333
|
+
label: "Cancel Order",
|
|
334
|
+
description: "Cancel a pending or confirmed order.",
|
|
335
|
+
kind: "danger",
|
|
336
|
+
confirmation: {
|
|
337
|
+
title: "Cancel this order?",
|
|
338
|
+
body: "Your order will be cancelled. Refunds are processed within 5–7 business days.",
|
|
339
|
+
confirmLabel: "Cancel order",
|
|
340
|
+
confirmKind: "danger",
|
|
341
|
+
},
|
|
342
|
+
},
|
|
343
|
+
"request-return": {
|
|
344
|
+
id: "user.request-return",
|
|
345
|
+
label: "Request return",
|
|
346
|
+
description: "Raise a return request for a delivered order.",
|
|
347
|
+
kind: "secondary",
|
|
348
|
+
},
|
|
349
|
+
"save-settings": {
|
|
350
|
+
id: "user.save-settings",
|
|
351
|
+
label: "Save changes",
|
|
352
|
+
description: "Submit the user settings form.",
|
|
353
|
+
kind: "primary",
|
|
354
|
+
},
|
|
355
|
+
"send-verification-email": {
|
|
356
|
+
id: "user.send-verification-email",
|
|
357
|
+
label: "Send Verification Email",
|
|
358
|
+
description: "Send a verification link to the new email address.",
|
|
359
|
+
kind: "secondary",
|
|
360
|
+
},
|
|
361
|
+
"update-password": {
|
|
362
|
+
id: "user.update-password",
|
|
363
|
+
label: "Update Password",
|
|
364
|
+
description: "Submit the change-password form.",
|
|
365
|
+
kind: "secondary",
|
|
366
|
+
},
|
|
367
|
+
"delete-address": {
|
|
368
|
+
id: "user.delete-address",
|
|
369
|
+
label: "Delete address",
|
|
370
|
+
ariaLabel: "Delete address",
|
|
371
|
+
description: "Permanently remove a saved delivery address.",
|
|
372
|
+
kind: "danger",
|
|
373
|
+
confirmation: {
|
|
374
|
+
title: "Delete address?",
|
|
375
|
+
body: "This address will be removed and cannot be recovered.",
|
|
376
|
+
confirmLabel: "Delete",
|
|
377
|
+
confirmKind: "danger",
|
|
378
|
+
},
|
|
379
|
+
},
|
|
380
|
+
"set-default-address": {
|
|
381
|
+
id: "user.set-default-address",
|
|
382
|
+
label: "Set as default",
|
|
383
|
+
ariaLabel: "Set as default address",
|
|
384
|
+
description: "Mark this address as the default delivery address.",
|
|
385
|
+
kind: "ghost",
|
|
386
|
+
},
|
|
387
|
+
},
|
|
129
388
|
SELLER: {},
|
|
130
389
|
ADMIN: {},
|
|
131
390
|
CART: {
|
|
@@ -141,6 +400,25 @@ export const ACTIONS = {
|
|
|
141
400
|
confirmKind: "danger",
|
|
142
401
|
},
|
|
143
402
|
},
|
|
403
|
+
"remove-item": {
|
|
404
|
+
id: "cart.remove-item",
|
|
405
|
+
label: "Remove",
|
|
406
|
+
ariaLabel: "Remove item from cart",
|
|
407
|
+
description: "Remove a single line item from the cart.",
|
|
408
|
+
kind: "ghost",
|
|
409
|
+
},
|
|
410
|
+
"checkout": {
|
|
411
|
+
id: "cart.checkout",
|
|
412
|
+
label: "Proceed to checkout",
|
|
413
|
+
description: "Navigate from the cart page to the checkout flow.",
|
|
414
|
+
kind: "primary",
|
|
415
|
+
},
|
|
416
|
+
"continue-shopping": {
|
|
417
|
+
id: "cart.continue-shopping",
|
|
418
|
+
label: "Continue shopping",
|
|
419
|
+
description: "Navigate back from the cart to the product catalogue.",
|
|
420
|
+
kind: "ghost",
|
|
421
|
+
},
|
|
144
422
|
},
|
|
145
423
|
CHECKOUT: {
|
|
146
424
|
"place-order": {
|
|
@@ -150,7 +428,31 @@ export const ACTIONS = {
|
|
|
150
428
|
kind: "primary",
|
|
151
429
|
},
|
|
152
430
|
},
|
|
153
|
-
NAV: {
|
|
431
|
+
NAV: {
|
|
432
|
+
"sign-in": {
|
|
433
|
+
id: "nav.sign-in",
|
|
434
|
+
label: "Sign in",
|
|
435
|
+
description: "Navigate to the sign-in page.",
|
|
436
|
+
kind: "primary",
|
|
437
|
+
},
|
|
438
|
+
"sign-up": {
|
|
439
|
+
id: "nav.sign-up",
|
|
440
|
+
label: "Sign up",
|
|
441
|
+
description: "Navigate to the registration page.",
|
|
442
|
+
kind: "secondary",
|
|
443
|
+
},
|
|
444
|
+
"sign-out": {
|
|
445
|
+
id: "nav.sign-out",
|
|
446
|
+
label: "Sign out",
|
|
447
|
+
description: "End the current session.",
|
|
448
|
+
kind: "ghost",
|
|
449
|
+
confirmation: {
|
|
450
|
+
title: "Sign out?",
|
|
451
|
+
body: "You'll need to sign back in to access your account.",
|
|
452
|
+
confirmLabel: "Sign out",
|
|
453
|
+
},
|
|
454
|
+
},
|
|
455
|
+
},
|
|
154
456
|
MEDIA: {},
|
|
155
457
|
SUPPORT: {},
|
|
156
458
|
};
|
|
@@ -17,9 +17,9 @@ export declare const blogPostInputSchema: z.ZodObject<{
|
|
|
17
17
|
title: string;
|
|
18
18
|
content: string;
|
|
19
19
|
category: string;
|
|
20
|
+
slug: string;
|
|
20
21
|
tags: string[];
|
|
21
22
|
isFeatured: boolean;
|
|
22
|
-
slug: string;
|
|
23
23
|
youtubeId?: string | undefined;
|
|
24
24
|
coverImage?: string | undefined;
|
|
25
25
|
excerpt?: string | undefined;
|
|
@@ -31,9 +31,9 @@ export declare const blogPostInputSchema: z.ZodObject<{
|
|
|
31
31
|
category: string;
|
|
32
32
|
slug: string;
|
|
33
33
|
status?: "draft" | "published" | undefined;
|
|
34
|
+
youtubeId?: string | undefined;
|
|
34
35
|
tags?: string[] | undefined;
|
|
35
36
|
isFeatured?: boolean | undefined;
|
|
36
|
-
youtubeId?: string | undefined;
|
|
37
37
|
coverImage?: string | undefined;
|
|
38
38
|
excerpt?: string | undefined;
|
|
39
39
|
metaTitle?: string | undefined;
|
|
@@ -56,10 +56,10 @@ export declare const blogPostUpdateSchema: z.ZodObject<Omit<{
|
|
|
56
56
|
status?: "draft" | "published" | undefined;
|
|
57
57
|
title?: string | undefined;
|
|
58
58
|
content?: string | undefined;
|
|
59
|
+
youtubeId?: string | undefined;
|
|
59
60
|
category?: string | undefined;
|
|
60
61
|
tags?: string[] | undefined;
|
|
61
62
|
isFeatured?: boolean | undefined;
|
|
62
|
-
youtubeId?: string | undefined;
|
|
63
63
|
coverImage?: string | undefined;
|
|
64
64
|
excerpt?: string | undefined;
|
|
65
65
|
metaTitle?: string | undefined;
|
|
@@ -68,10 +68,10 @@ export declare const blogPostUpdateSchema: z.ZodObject<Omit<{
|
|
|
68
68
|
status?: "draft" | "published" | undefined;
|
|
69
69
|
title?: string | undefined;
|
|
70
70
|
content?: string | undefined;
|
|
71
|
+
youtubeId?: string | undefined;
|
|
71
72
|
category?: string | undefined;
|
|
72
73
|
tags?: string[] | undefined;
|
|
73
74
|
isFeatured?: boolean | undefined;
|
|
74
|
-
youtubeId?: string | undefined;
|
|
75
75
|
coverImage?: string | undefined;
|
|
76
76
|
excerpt?: string | undefined;
|
|
77
77
|
metaTitle?: string | undefined;
|
|
@@ -11,9 +11,9 @@ export declare const brandInputSchema: z.ZodObject<{
|
|
|
11
11
|
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
12
12
|
displayOrder: z.ZodDefault<z.ZodNumber>;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
slug: string;
|
|
14
15
|
name: string;
|
|
15
16
|
isActive: boolean;
|
|
16
|
-
slug: string;
|
|
17
17
|
displayOrder: number;
|
|
18
18
|
country?: string | undefined;
|
|
19
19
|
description?: string | undefined;
|
|
@@ -22,11 +22,11 @@ export declare const brandInputSchema: z.ZodObject<{
|
|
|
22
22
|
bannerURL?: string | undefined;
|
|
23
23
|
founded?: number | undefined;
|
|
24
24
|
}, {
|
|
25
|
-
name: string;
|
|
26
25
|
slug: string;
|
|
26
|
+
name: string;
|
|
27
27
|
country?: string | undefined;
|
|
28
|
-
isActive?: boolean | undefined;
|
|
29
28
|
description?: string | undefined;
|
|
29
|
+
isActive?: boolean | undefined;
|
|
30
30
|
website?: string | undefined;
|
|
31
31
|
displayOrder?: number | undefined;
|
|
32
32
|
logoURL?: string | undefined;
|
|
@@ -46,9 +46,9 @@ export declare const brandUpdateSchema: z.ZodObject<Omit<{
|
|
|
46
46
|
displayOrder: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
47
47
|
}, "slug">, "strip", z.ZodTypeAny, {
|
|
48
48
|
country?: string | undefined;
|
|
49
|
+
description?: string | undefined;
|
|
49
50
|
name?: string | undefined;
|
|
50
51
|
isActive?: boolean | undefined;
|
|
51
|
-
description?: string | undefined;
|
|
52
52
|
website?: string | undefined;
|
|
53
53
|
displayOrder?: number | undefined;
|
|
54
54
|
logoURL?: string | undefined;
|
|
@@ -56,9 +56,9 @@ export declare const brandUpdateSchema: z.ZodObject<Omit<{
|
|
|
56
56
|
founded?: number | undefined;
|
|
57
57
|
}, {
|
|
58
58
|
country?: string | undefined;
|
|
59
|
+
description?: string | undefined;
|
|
59
60
|
name?: string | undefined;
|
|
60
61
|
isActive?: boolean | undefined;
|
|
61
|
-
description?: string | undefined;
|
|
62
62
|
website?: string | undefined;
|
|
63
63
|
displayOrder?: number | undefined;
|
|
64
64
|
logoURL?: string | undefined;
|
|
@@ -15,26 +15,26 @@ export declare const addToCartSchema: z.ZodObject<{
|
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
16
|
currency: string;
|
|
17
17
|
storeId: string;
|
|
18
|
+
listingType: "standard" | "auction" | "pre-order" | "prize-draw";
|
|
19
|
+
price: number;
|
|
20
|
+
storeName: string;
|
|
18
21
|
productId: string;
|
|
19
22
|
quantity: number;
|
|
20
23
|
productTitle: string;
|
|
21
24
|
productImage: string;
|
|
22
|
-
price: number;
|
|
23
|
-
storeName: string;
|
|
24
|
-
listingType: "auction" | "standard" | "pre-order" | "prize-draw";
|
|
25
25
|
offerId?: string | undefined;
|
|
26
26
|
lockedPrice?: number | undefined;
|
|
27
27
|
isOffer?: boolean | undefined;
|
|
28
28
|
}, {
|
|
29
29
|
storeId: string;
|
|
30
|
+
listingType: "standard" | "auction" | "pre-order" | "prize-draw";
|
|
31
|
+
price: number;
|
|
30
32
|
productId: string;
|
|
31
33
|
productTitle: string;
|
|
32
|
-
price: number;
|
|
33
|
-
listingType: "auction" | "standard" | "pre-order" | "prize-draw";
|
|
34
34
|
currency?: string | undefined;
|
|
35
|
+
storeName?: string | undefined;
|
|
35
36
|
quantity?: number | undefined;
|
|
36
37
|
productImage?: string | undefined;
|
|
37
|
-
storeName?: string | undefined;
|
|
38
38
|
offerId?: string | undefined;
|
|
39
39
|
lockedPrice?: number | undefined;
|
|
40
40
|
isOffer?: boolean | undefined;
|
|
@@ -73,26 +73,26 @@ export declare const mergeGuestCartSchema: z.ZodObject<{
|
|
|
73
73
|
}, "strip", z.ZodTypeAny, {
|
|
74
74
|
currency: string;
|
|
75
75
|
storeId: string;
|
|
76
|
+
listingType: "standard" | "auction" | "pre-order" | "prize-draw";
|
|
77
|
+
price: number;
|
|
78
|
+
storeName: string;
|
|
76
79
|
productId: string;
|
|
77
80
|
quantity: number;
|
|
78
81
|
productTitle: string;
|
|
79
82
|
productImage: string;
|
|
80
|
-
price: number;
|
|
81
|
-
storeName: string;
|
|
82
|
-
listingType: "auction" | "standard" | "pre-order" | "prize-draw";
|
|
83
83
|
offerId?: string | undefined;
|
|
84
84
|
lockedPrice?: number | undefined;
|
|
85
85
|
isOffer?: boolean | undefined;
|
|
86
86
|
}, {
|
|
87
87
|
storeId: string;
|
|
88
|
+
listingType: "standard" | "auction" | "pre-order" | "prize-draw";
|
|
89
|
+
price: number;
|
|
88
90
|
productId: string;
|
|
89
91
|
productTitle: string;
|
|
90
|
-
price: number;
|
|
91
|
-
listingType: "auction" | "standard" | "pre-order" | "prize-draw";
|
|
92
92
|
currency?: string | undefined;
|
|
93
|
+
storeName?: string | undefined;
|
|
93
94
|
quantity?: number | undefined;
|
|
94
95
|
productImage?: string | undefined;
|
|
95
|
-
storeName?: string | undefined;
|
|
96
96
|
offerId?: string | undefined;
|
|
97
97
|
lockedPrice?: number | undefined;
|
|
98
98
|
isOffer?: boolean | undefined;
|
|
@@ -101,13 +101,13 @@ export declare const mergeGuestCartSchema: z.ZodObject<{
|
|
|
101
101
|
guestItems: {
|
|
102
102
|
currency: string;
|
|
103
103
|
storeId: string;
|
|
104
|
+
listingType: "standard" | "auction" | "pre-order" | "prize-draw";
|
|
105
|
+
price: number;
|
|
106
|
+
storeName: string;
|
|
104
107
|
productId: string;
|
|
105
108
|
quantity: number;
|
|
106
109
|
productTitle: string;
|
|
107
110
|
productImage: string;
|
|
108
|
-
price: number;
|
|
109
|
-
storeName: string;
|
|
110
|
-
listingType: "auction" | "standard" | "pre-order" | "prize-draw";
|
|
111
111
|
offerId?: string | undefined;
|
|
112
112
|
lockedPrice?: number | undefined;
|
|
113
113
|
isOffer?: boolean | undefined;
|
|
@@ -115,14 +115,14 @@ export declare const mergeGuestCartSchema: z.ZodObject<{
|
|
|
115
115
|
}, {
|
|
116
116
|
guestItems: {
|
|
117
117
|
storeId: string;
|
|
118
|
+
listingType: "standard" | "auction" | "pre-order" | "prize-draw";
|
|
119
|
+
price: number;
|
|
118
120
|
productId: string;
|
|
119
121
|
productTitle: string;
|
|
120
|
-
price: number;
|
|
121
|
-
listingType: "auction" | "standard" | "pre-order" | "prize-draw";
|
|
122
122
|
currency?: string | undefined;
|
|
123
|
+
storeName?: string | undefined;
|
|
123
124
|
quantity?: number | undefined;
|
|
124
125
|
productImage?: string | undefined;
|
|
125
|
-
storeName?: string | undefined;
|
|
126
126
|
offerId?: string | undefined;
|
|
127
127
|
lockedPrice?: number | undefined;
|
|
128
128
|
isOffer?: boolean | undefined;
|
|
@@ -69,7 +69,7 @@ export declare const BUNDLE_COPY: {
|
|
|
69
69
|
};
|
|
70
70
|
readonly adminEditor: {
|
|
71
71
|
readonly loading: "Loading bundle…";
|
|
72
|
-
readonly saveButton: (saving: boolean, isEdit: boolean) => "
|
|
72
|
+
readonly saveButton: (saving: boolean, isEdit: boolean) => "Save changes" | "Saving…" | "Create bundle";
|
|
73
73
|
readonly deleteButton: (deleting: boolean) => "Deleting…" | "Delete bundle";
|
|
74
74
|
readonly deleteConfirm: "Delete this bundle? This action cannot be undone.";
|
|
75
75
|
readonly fields: {
|