@mohasinac/appkit 2.2.0 → 2.3.0
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/README.md +79 -31
- package/dist/index.d.ts +3124 -1
- package/dist/index.js +5836 -1
- package/package.json +67 -87
- package/dist/cli/index.d.ts +0 -38
- package/dist/cli/index.js +0 -177
- package/dist/client.d.ts +0 -15
- package/dist/client.js +0 -15
- package/dist/constants/api-endpoint-resolver.d.ts +0 -34
- package/dist/constants/api-endpoint-resolver.js +0 -38
- package/dist/constants/api-endpoints.d.ts +0 -388
- package/dist/constants/api-endpoints.js +0 -342
- package/dist/constants/cache-invalidation.d.ts +0 -18
- package/dist/constants/cache-invalidation.js +0 -33
- package/dist/constants/index.d.ts +0 -14
- package/dist/constants/index.js +0 -14
- package/dist/contracts/auth.d.ts +0 -58
- package/dist/contracts/auth.js +0 -2
- package/dist/contracts/client-auth.d.ts +0 -22
- package/dist/contracts/client-auth.js +0 -17
- package/dist/contracts/client-payment-gateway.d.ts +0 -65
- package/dist/contracts/client-payment-gateway.js +0 -25
- package/dist/contracts/client-realtime.d.ts +0 -24
- package/dist/contracts/client-realtime.js +0 -18
- package/dist/contracts/client-session.d.ts +0 -37
- package/dist/contracts/client-session.js +0 -22
- package/dist/contracts/config.d.ts +0 -53
- package/dist/contracts/config.js +0 -2
- package/dist/contracts/email.d.ts +0 -30
- package/dist/contracts/email.js +0 -2
- package/dist/contracts/extend.d.ts +0 -270
- package/dist/contracts/extend.js +0 -75
- package/dist/contracts/feature.d.ts +0 -53
- package/dist/contracts/feature.js +0 -2
- package/dist/contracts/field-ops.d.ts +0 -31
- package/dist/contracts/field-ops.js +0 -35
- package/dist/contracts/form.d.ts +0 -89
- package/dist/contracts/form.js +0 -80
- package/dist/contracts/index.d.ts +0 -32
- package/dist/contracts/index.js +0 -13
- package/dist/contracts/infra.d.ts +0 -43
- package/dist/contracts/infra.js +0 -2
- package/dist/contracts/payment.d.ts +0 -39
- package/dist/contracts/payment.js +0 -2
- package/dist/contracts/registry.d.ts +0 -26
- package/dist/contracts/registry.js +0 -14
- package/dist/contracts/repository.d.ts +0 -127
- package/dist/contracts/repository.js +0 -28
- package/dist/contracts/search.d.ts +0 -44
- package/dist/contracts/search.js +0 -2
- package/dist/contracts/shipping.d.ts +0 -64
- package/dist/contracts/shipping.js +0 -2
- package/dist/contracts/storage.d.ts +0 -27
- package/dist/contracts/storage.js +0 -2
- package/dist/contracts/style.d.ts +0 -23
- package/dist/contracts/style.js +0 -2
- package/dist/contracts/table.d.ts +0 -104
- package/dist/contracts/table.js +0 -68
- package/dist/core/CacheManager.d.ts +0 -31
- package/dist/core/CacheManager.js +0 -63
- package/dist/core/EventBus.d.ts +0 -27
- package/dist/core/EventBus.js +0 -75
- package/dist/core/Logger.d.ts +0 -60
- package/dist/core/Logger.js +0 -153
- package/dist/core/Queue.d.ts +0 -43
- package/dist/core/Queue.js +0 -92
- package/dist/core/StorageManager.d.ts +0 -36
- package/dist/core/StorageManager.js +0 -159
- package/dist/core/baseline-resolver.d.ts +0 -52
- package/dist/core/baseline-resolver.js +0 -74
- package/dist/core/browser.d.ts +0 -18
- package/dist/core/browser.js +0 -9
- package/dist/core/copilot-log.repository.d.ts +0 -44
- package/dist/core/copilot-log.repository.js +0 -61
- package/dist/core/hooks/useSiteSettings.d.ts +0 -1
- package/dist/core/hooks/useSiteSettings.js +0 -11
- package/dist/core/index.d.ts +0 -34
- package/dist/core/index.js +0 -21
- package/dist/core/integration-keys.d.ts +0 -30
- package/dist/core/integration-keys.js +0 -55
- package/dist/core/mutation-events.d.ts +0 -147
- package/dist/core/mutation-events.js +0 -193
- package/dist/core/newsletter-actions.d.ts +0 -20
- package/dist/core/newsletter-actions.js +0 -28
- package/dist/core/newsletter.repository.d.ts +0 -55
- package/dist/core/newsletter.repository.js +0 -109
- package/dist/core/server-action.d.ts +0 -114
- package/dist/core/server-action.js +0 -119
- package/dist/core/site-config.d.ts +0 -33
- package/dist/core/site-config.js +0 -74
- package/dist/core/unit-of-work.d.ts +0 -32
- package/dist/core/unit-of-work.js +0 -114
- package/dist/errors/api-error.d.ts +0 -4
- package/dist/errors/api-error.js +0 -6
- package/dist/errors/authentication-error.d.ts +0 -4
- package/dist/errors/authentication-error.js +0 -6
- package/dist/errors/authorization-error.d.ts +0 -4
- package/dist/errors/authorization-error.js +0 -6
- package/dist/errors/base-error.d.ts +0 -14
- package/dist/errors/base-error.js +0 -22
- package/dist/errors/database-error.d.ts +0 -4
- package/dist/errors/database-error.js +0 -6
- package/dist/errors/error-codes.d.ts +0 -43
- package/dist/errors/error-codes.js +0 -93
- package/dist/errors/error-handler.d.ts +0 -16
- package/dist/errors/error-handler.js +0 -57
- package/dist/errors/index.d.ts +0 -11
- package/dist/errors/index.js +0 -15
- package/dist/errors/messages.d.ts +0 -469
- package/dist/errors/messages.js +0 -503
- package/dist/errors/not-found-error.d.ts +0 -4
- package/dist/errors/not-found-error.js +0 -6
- package/dist/errors/validation-error.d.ts +0 -4
- package/dist/errors/validation-error.js +0 -6
- package/dist/features/about/components/AboutView.d.ts +0 -38
- package/dist/features/about/components/AboutView.js +0 -5
- package/dist/features/about/index.d.ts +0 -2
- package/dist/features/about/index.js +0 -1
- package/dist/features/account/actions/address-actions.d.ts +0 -7
- package/dist/features/account/actions/address-actions.js +0 -24
- package/dist/features/account/actions/index.d.ts +0 -1
- package/dist/features/account/actions/index.js +0 -1
- package/dist/features/account/address-validation.d.ts +0 -20
- package/dist/features/account/address-validation.js +0 -35
- package/dist/features/account/api/[userId]/addresses/route.d.ts +0 -21
- package/dist/features/account/api/[userId]/addresses/route.js +0 -91
- package/dist/features/account/api/[userId]/route.d.ts +0 -23
- package/dist/features/account/api/[userId]/route.js +0 -67
- package/dist/features/account/columns/index.d.ts +0 -17
- package/dist/features/account/columns/index.js +0 -39
- package/dist/features/account/components/AddressBook.d.ts +0 -39
- package/dist/features/account/components/AddressBook.js +0 -14
- package/dist/features/account/components/AddressForm.d.ts +0 -39
- package/dist/features/account/components/AddressForm.js +0 -55
- package/dist/features/account/components/AddressSelectorCreate.d.ts +0 -16
- package/dist/features/account/components/AddressSelectorCreate.js +0 -40
- package/dist/features/account/components/BecomeSellerView.d.ts +0 -17
- package/dist/features/account/components/BecomeSellerView.js +0 -5
- package/dist/features/account/components/ChatList.d.ts +0 -14
- package/dist/features/account/components/ChatList.js +0 -10
- package/dist/features/account/components/ChatWindow.d.ts +0 -17
- package/dist/features/account/components/ChatWindow.js +0 -6
- package/dist/features/account/components/MessagesView.d.ts +0 -16
- package/dist/features/account/components/MessagesView.js +0 -5
- package/dist/features/account/components/NotificationBell.d.ts +0 -32
- package/dist/features/account/components/NotificationBell.js +0 -80
- package/dist/features/account/components/OrderDetailView.d.ts +0 -18
- package/dist/features/account/components/OrderDetailView.js +0 -12
- package/dist/features/account/components/ProfileView.d.ts +0 -12
- package/dist/features/account/components/ProfileView.js +0 -5
- package/dist/features/account/components/UserAccountHubView.d.ts +0 -13
- package/dist/features/account/components/UserAccountHubView.js +0 -5
- package/dist/features/account/components/UserAddressesView.d.ts +0 -13
- package/dist/features/account/components/UserAddressesView.js +0 -5
- package/dist/features/account/components/UserNotificationsView.d.ts +0 -15
- package/dist/features/account/components/UserNotificationsView.js +0 -12
- package/dist/features/account/components/UserOffersView.d.ts +0 -10
- package/dist/features/account/components/UserOffersView.js +0 -5
- package/dist/features/account/components/UserOrderTrackView.d.ts +0 -16
- package/dist/features/account/components/UserOrderTrackView.js +0 -8
- package/dist/features/account/components/UserOrdersView.d.ts +0 -12
- package/dist/features/account/components/UserOrdersView.js +0 -5
- package/dist/features/account/components/UserSettingsView.d.ts +0 -15
- package/dist/features/account/components/UserSettingsView.js +0 -12
- package/dist/features/account/components/index.d.ts +0 -34
- package/dist/features/account/components/index.js +0 -17
- package/dist/features/account/constants/addresses.d.ts +0 -13
- package/dist/features/account/constants/addresses.js +0 -43
- package/dist/features/account/hooks/useAccount.d.ts +0 -13
- package/dist/features/account/hooks/useAccount.js +0 -19
- package/dist/features/account/hooks/useAddressForm.d.ts +0 -24
- package/dist/features/account/hooks/useAddressForm.js +0 -58
- package/dist/features/account/hooks/useAddressSelector.d.ts +0 -25
- package/dist/features/account/hooks/useAddressSelector.js +0 -30
- package/dist/features/account/hooks/useAddresses.d.ts +0 -59
- package/dist/features/account/hooks/useAddresses.js +0 -73
- package/dist/features/account/hooks/useNotifications.d.ts +0 -23
- package/dist/features/account/hooks/useNotifications.js +0 -31
- package/dist/features/account/hooks/useProfile.d.ts +0 -25
- package/dist/features/account/hooks/useProfile.js +0 -24
- package/dist/features/account/hooks/useProfileStats.d.ts +0 -6
- package/dist/features/account/hooks/useProfileStats.js +0 -21
- package/dist/features/account/hooks/usePublicProfile.d.ts +0 -78
- package/dist/features/account/hooks/usePublicProfile.js +0 -51
- package/dist/features/account/index.d.ts +0 -15
- package/dist/features/account/index.js +0 -15
- package/dist/features/account/manifest.d.ts +0 -2
- package/dist/features/account/manifest.js +0 -27
- package/dist/features/account/messages/en.json +0 -12
- package/dist/features/account/repository/account.repository.d.ts +0 -11
- package/dist/features/account/repository/account.repository.js +0 -20
- package/dist/features/account/repository/address.repository.d.ts +0 -17
- package/dist/features/account/repository/address.repository.js +0 -185
- package/dist/features/account/schemas/firestore.d.ts +0 -48
- package/dist/features/account/schemas/firestore.js +0 -59
- package/dist/features/account/schemas/index.d.ts +0 -198
- package/dist/features/account/schemas/index.js +0 -51
- package/dist/features/account/server.d.ts +0 -9
- package/dist/features/account/server.js +0 -9
- package/dist/features/account/types/index.d.ts +0 -83
- package/dist/features/account/types/index.js +0 -2
- package/dist/features/admin/actions/admin-actions.d.ts +0 -35
- package/dist/features/admin/actions/admin-actions.js +0 -174
- package/dist/features/admin/actions/admin-coupon-actions.d.ts +0 -17
- package/dist/features/admin/actions/admin-coupon-actions.js +0 -87
- package/dist/features/admin/actions/admin-read-actions.d.ts +0 -105
- package/dist/features/admin/actions/admin-read-actions.js +0 -172
- package/dist/features/admin/actions/chat-actions.d.ts +0 -29
- package/dist/features/admin/actions/chat-actions.js +0 -97
- package/dist/features/admin/actions/index.d.ts +0 -6
- package/dist/features/admin/actions/index.js +0 -6
- package/dist/features/admin/actions/notification-actions.d.ts +0 -31
- package/dist/features/admin/actions/notification-actions.js +0 -42
- package/dist/features/admin/actions/site-settings-actions.d.ts +0 -8
- package/dist/features/admin/actions/site-settings-actions.js +0 -16
- package/dist/features/admin/api/bids/route.d.ts +0 -14
- package/dist/features/admin/api/bids/route.js +0 -53
- package/dist/features/admin/api/coupons/route.d.ts +0 -14
- package/dist/features/admin/api/coupons/route.js +0 -53
- package/dist/features/admin/api/products/route.d.ts +0 -14
- package/dist/features/admin/api/products/route.js +0 -54
- package/dist/features/admin/api/reviews/route.d.ts +0 -14
- package/dist/features/admin/api/reviews/route.js +0 -53
- package/dist/features/admin/components/AdminAnalyticsView.d.ts +0 -29
- package/dist/features/admin/components/AdminAnalyticsView.js +0 -15
- package/dist/features/admin/components/AdminBidsView.d.ts +0 -4
- package/dist/features/admin/components/AdminBidsView.js +0 -5
- package/dist/features/admin/components/AdminBlogView.d.ts +0 -4
- package/dist/features/admin/components/AdminBlogView.js +0 -5
- package/dist/features/admin/components/AdminCarouselView.d.ts +0 -9
- package/dist/features/admin/components/AdminCarouselView.js +0 -5
- package/dist/features/admin/components/AdminCategoriesView.d.ts +0 -9
- package/dist/features/admin/components/AdminCategoriesView.js +0 -5
- package/dist/features/admin/components/AdminCouponsView.d.ts +0 -4
- package/dist/features/admin/components/AdminCouponsView.js +0 -5
- package/dist/features/admin/components/AdminDashboardView.d.ts +0 -16
- package/dist/features/admin/components/AdminDashboardView.js +0 -11
- package/dist/features/admin/components/AdminFaqsView.d.ts +0 -4
- package/dist/features/admin/components/AdminFaqsView.js +0 -5
- package/dist/features/admin/components/AdminFeatureFlagsView.d.ts +0 -9
- package/dist/features/admin/components/AdminFeatureFlagsView.js +0 -5
- package/dist/features/admin/components/AdminFilterBar.d.ts +0 -65
- package/dist/features/admin/components/AdminFilterBar.js +0 -22
- package/dist/features/admin/components/AdminMediaView.d.ts +0 -9
- package/dist/features/admin/components/AdminMediaView.js +0 -5
- package/dist/features/admin/components/AdminNavigationView.d.ts +0 -9
- package/dist/features/admin/components/AdminNavigationView.js +0 -5
- package/dist/features/admin/components/AdminOrdersView.d.ts +0 -4
- package/dist/features/admin/components/AdminOrdersView.js +0 -5
- package/dist/features/admin/components/AdminPageHeader.d.ts +0 -53
- package/dist/features/admin/components/AdminPageHeader.js +0 -12
- package/dist/features/admin/components/AdminPayoutsView.d.ts +0 -4
- package/dist/features/admin/components/AdminPayoutsView.js +0 -5
- package/dist/features/admin/components/AdminProductsView.d.ts +0 -4
- package/dist/features/admin/components/AdminProductsView.js +0 -5
- package/dist/features/admin/components/AdminReviewsView.d.ts +0 -7
- package/dist/features/admin/components/AdminReviewsView.js +0 -5
- package/dist/features/admin/components/AdminSectionsView.d.ts +0 -9
- package/dist/features/admin/components/AdminSectionsView.js +0 -5
- package/dist/features/admin/components/AdminSessionsManager.d.ts +0 -9
- package/dist/features/admin/components/AdminSessionsManager.js +0 -5
- package/dist/features/admin/components/AdminSidebar.d.ts +0 -9
- package/dist/features/admin/components/AdminSidebar.js +0 -6
- package/dist/features/admin/components/AdminSiteView.d.ts +0 -10
- package/dist/features/admin/components/AdminSiteView.js +0 -5
- package/dist/features/admin/components/AdminStoresView.d.ts +0 -4
- package/dist/features/admin/components/AdminStoresView.js +0 -5
- package/dist/features/admin/components/AdminTopBar.d.ts +0 -8
- package/dist/features/admin/components/AdminTopBar.js +0 -8
- package/dist/features/admin/components/AdminUsersView.d.ts +0 -4
- package/dist/features/admin/components/AdminUsersView.js +0 -5
- package/dist/features/admin/components/DashboardStats.d.ts +0 -8
- package/dist/features/admin/components/DashboardStats.js +0 -21
- package/dist/features/admin/components/DataTable.d.ts +0 -19
- package/dist/features/admin/components/DataTable.js +0 -7
- package/dist/features/admin/components/DemoSeedView.d.ts +0 -11
- package/dist/features/admin/components/DemoSeedView.js +0 -5
- package/dist/features/admin/components/DrawerFormFooter.d.ts +0 -54
- package/dist/features/admin/components/DrawerFormFooter.js +0 -6
- package/dist/features/admin/components/QuickActionsPanel.d.ts +0 -15
- package/dist/features/admin/components/QuickActionsPanel.js +0 -6
- package/dist/features/admin/components/analytics/AdminAnalyticsCharts.d.ts +0 -17
- package/dist/features/admin/components/analytics/AdminAnalyticsCharts.js +0 -33
- package/dist/features/admin/components/analytics/AdminStatCard.d.ts +0 -8
- package/dist/features/admin/components/analytics/AdminStatCard.js +0 -6
- package/dist/features/admin/components/analytics/AdminTopProductsTable.d.ts +0 -16
- package/dist/features/admin/components/analytics/AdminTopProductsTable.js +0 -6
- package/dist/features/admin/components/analytics/index.d.ts +0 -3
- package/dist/features/admin/components/analytics/index.js +0 -3
- package/dist/features/admin/components/index.d.ts +0 -62
- package/dist/features/admin/components/index.js +0 -32
- package/dist/features/admin/hooks/useAdmin.d.ts +0 -9
- package/dist/features/admin/hooks/useAdmin.js +0 -14
- package/dist/features/admin/hooks/useChat.d.ts +0 -24
- package/dist/features/admin/hooks/useChat.js +0 -97
- package/dist/features/admin/index.d.ts +0 -8
- package/dist/features/admin/index.js +0 -7
- package/dist/features/admin/manifest.d.ts +0 -2
- package/dist/features/admin/manifest.js +0 -13
- package/dist/features/admin/messages/en.json +0 -13
- package/dist/features/admin/permission-map.d.ts +0 -3
- package/dist/features/admin/permission-map.js +0 -24
- package/dist/features/admin/repository/chat.repository.d.ts +0 -70
- package/dist/features/admin/repository/chat.repository.js +0 -216
- package/dist/features/admin/repository/notification.repository.d.ts +0 -64
- package/dist/features/admin/repository/notification.repository.js +0 -225
- package/dist/features/admin/repository/site-settings.repository.d.ts +0 -118
- package/dist/features/admin/repository/site-settings.repository.js +0 -214
- package/dist/features/admin/schemas/firestore.d.ts +0 -311
- package/dist/features/admin/schemas/firestore.js +0 -246
- package/dist/features/admin/schemas/index.d.ts +0 -1
- package/dist/features/admin/schemas/index.js +0 -1
- package/dist/features/admin/server.d.ts +0 -15
- package/dist/features/admin/server.js +0 -14
- package/dist/features/admin/types/index.d.ts +0 -61
- package/dist/features/admin/types/index.js +0 -1
- package/dist/features/admin/types/product.types.d.ts +0 -78
- package/dist/features/admin/types/product.types.js +0 -13
- package/dist/features/auctions/actions/bid-actions.d.ts +0 -22
- package/dist/features/auctions/actions/bid-actions.js +0 -106
- package/dist/features/auctions/actions/index.d.ts +0 -1
- package/dist/features/auctions/actions/index.js +0 -1
- package/dist/features/auctions/api/route.d.ts +0 -14
- package/dist/features/auctions/api/route.js +0 -67
- package/dist/features/auctions/columns/index.d.ts +0 -14
- package/dist/features/auctions/columns/index.js +0 -63
- package/dist/features/auctions/components/AuctionCard.d.ts +0 -26
- package/dist/features/auctions/components/AuctionCard.js +0 -35
- package/dist/features/auctions/components/MarketplaceAuctionCard.d.ts +0 -56
- package/dist/features/auctions/components/MarketplaceAuctionCard.js +0 -112
- package/dist/features/auctions/components/MarketplaceAuctionGrid.d.ts +0 -22
- package/dist/features/auctions/components/MarketplaceAuctionGrid.js +0 -37
- package/dist/features/auctions/components/index.d.ts +0 -3
- package/dist/features/auctions/components/index.js +0 -3
- package/dist/features/auctions/hooks/useAuctions.d.ts +0 -50
- package/dist/features/auctions/hooks/useAuctions.js +0 -93
- package/dist/features/auctions/hooks/usePlaceBid.d.ts +0 -24
- package/dist/features/auctions/hooks/usePlaceBid.js +0 -29
- package/dist/features/auctions/hooks/useRealtimeBids.d.ts +0 -38
- package/dist/features/auctions/hooks/useRealtimeBids.js +0 -66
- package/dist/features/auctions/index.d.ts +0 -8
- package/dist/features/auctions/index.js +0 -8
- package/dist/features/auctions/manifest.d.ts +0 -2
- package/dist/features/auctions/manifest.js +0 -17
- package/dist/features/auctions/messages/en.json +0 -18
- package/dist/features/auctions/repository/auctions.repository.d.ts +0 -12
- package/dist/features/auctions/repository/auctions.repository.js +0 -42
- package/dist/features/auctions/repository/bid.repository.d.ts +0 -145
- package/dist/features/auctions/repository/bid.repository.js +0 -370
- package/dist/features/auctions/schemas/firestore.d.ts +0 -48
- package/dist/features/auctions/schemas/firestore.js +0 -50
- package/dist/features/auctions/schemas/index.d.ts +0 -155
- package/dist/features/auctions/schemas/index.js +0 -64
- package/dist/features/auctions/server.d.ts +0 -10
- package/dist/features/auctions/server.js +0 -10
- package/dist/features/auctions/types/index.d.ts +0 -73
- package/dist/features/auctions/types/index.js +0 -1
- package/dist/features/auth/actions/index.d.ts +0 -2
- package/dist/features/auth/actions/index.js +0 -2
- package/dist/features/auth/actions/profile-actions.d.ts +0 -27
- package/dist/features/auth/actions/profile-actions.js +0 -50
- package/dist/features/auth/actions/realtime-token-actions.d.ts +0 -11
- package/dist/features/auth/actions/realtime-token-actions.js +0 -31
- package/dist/features/auth/api/route.d.ts +0 -22
- package/dist/features/auth/api/route.js +0 -48
- package/dist/features/auth/auth-helpers.d.ts +0 -14
- package/dist/features/auth/auth-helpers.js +0 -68
- package/dist/features/auth/components/AuthStatusPanel.d.ts +0 -10
- package/dist/features/auth/components/AuthStatusPanel.js +0 -22
- package/dist/features/auth/components/ForgotPasswordView.d.ts +0 -18
- package/dist/features/auth/components/ForgotPasswordView.js +0 -15
- package/dist/features/auth/components/Guards.d.ts +0 -86
- package/dist/features/auth/components/Guards.js +0 -91
- package/dist/features/auth/components/LoginForm.d.ts +0 -36
- package/dist/features/auth/components/LoginForm.js +0 -18
- package/dist/features/auth/components/RegisterForm.d.ts +0 -36
- package/dist/features/auth/components/RegisterForm.js +0 -27
- package/dist/features/auth/components/ResetPasswordView.d.ts +0 -23
- package/dist/features/auth/components/ResetPasswordView.js +0 -22
- package/dist/features/auth/components/SocialAuthButtons.d.ts +0 -8
- package/dist/features/auth/components/SocialAuthButtons.js +0 -6
- package/dist/features/auth/components/VerifyEmailView.d.ts +0 -20
- package/dist/features/auth/components/VerifyEmailView.js +0 -8
- package/dist/features/auth/components/index.d.ts +0 -14
- package/dist/features/auth/components/index.js +0 -8
- package/dist/features/auth/consent-otp.d.ts +0 -52
- package/dist/features/auth/consent-otp.js +0 -120
- package/dist/features/auth/hooks/useAuth.d.ts +0 -81
- package/dist/features/auth/hooks/useAuth.js +0 -164
- package/dist/features/auth/hooks/useAuthEvent.d.ts +0 -22
- package/dist/features/auth/hooks/useAuthEvent.js +0 -31
- package/dist/features/auth/hooks/useLogout.d.ts +0 -16
- package/dist/features/auth/hooks/useLogout.js +0 -22
- package/dist/features/auth/hooks/useRBAC.d.ts +0 -38
- package/dist/features/auth/hooks/useRBAC.js +0 -80
- package/dist/features/auth/index.d.ts +0 -10
- package/dist/features/auth/index.js +0 -10
- package/dist/features/auth/manifest.d.ts +0 -2
- package/dist/features/auth/manifest.js +0 -21
- package/dist/features/auth/messages/en.json +0 -13
- package/dist/features/auth/repository/index.d.ts +0 -4
- package/dist/features/auth/repository/index.js +0 -4
- package/dist/features/auth/repository/session.repository.d.ts +0 -44
- package/dist/features/auth/repository/session.repository.js +0 -246
- package/dist/features/auth/repository/sms-counter.repository.d.ts +0 -15
- package/dist/features/auth/repository/sms-counter.repository.js +0 -54
- package/dist/features/auth/repository/token.repository.d.ts +0 -38
- package/dist/features/auth/repository/token.repository.js +0 -186
- package/dist/features/auth/repository/user.repository.d.ts +0 -46
- package/dist/features/auth/repository/user.repository.js +0 -233
- package/dist/features/auth/schemas/firestore.d.ts +0 -351
- package/dist/features/auth/schemas/firestore.js +0 -272
- package/dist/features/auth/schemas/index.d.ts +0 -72
- package/dist/features/auth/schemas/index.js +0 -41
- package/dist/features/auth/server.d.ts +0 -21
- package/dist/features/auth/server.js +0 -21
- package/dist/features/auth/token-helpers.d.ts +0 -7
- package/dist/features/auth/token-helpers.js +0 -37
- package/dist/features/auth/token-store.d.ts +0 -39
- package/dist/features/auth/token-store.js +0 -120
- package/dist/features/auth/types/index.d.ts +0 -30
- package/dist/features/auth/types/index.js +0 -1
- package/dist/features/before-after/api/[id]/route.d.ts +0 -26
- package/dist/features/before-after/api/[id]/route.js +0 -88
- package/dist/features/before-after/api/route.d.ts +0 -13
- package/dist/features/before-after/api/route.js +0 -79
- package/dist/features/before-after/columns/index.d.ts +0 -17
- package/dist/features/before-after/columns/index.js +0 -50
- package/dist/features/before-after/components/BeforeAfterGallery.d.ts +0 -7
- package/dist/features/before-after/components/BeforeAfterGallery.js +0 -8
- package/dist/features/before-after/components/BeforeAfterSlider.d.ts +0 -7
- package/dist/features/before-after/components/BeforeAfterSlider.js +0 -27
- package/dist/features/before-after/components/index.d.ts +0 -2
- package/dist/features/before-after/components/index.js +0 -2
- package/dist/features/before-after/hooks/useBeforeAfter.d.ts +0 -15
- package/dist/features/before-after/hooks/useBeforeAfter.js +0 -25
- package/dist/features/before-after/index.d.ts +0 -6
- package/dist/features/before-after/index.js +0 -6
- package/dist/features/before-after/manifest.d.ts +0 -2
- package/dist/features/before-after/manifest.js +0 -10
- package/dist/features/before-after/messages/en.json +0 -8
- package/dist/features/before-after/repository/before-after.repository.d.ts +0 -13
- package/dist/features/before-after/repository/before-after.repository.js +0 -36
- package/dist/features/before-after/schemas/index.d.ts +0 -48
- package/dist/features/before-after/schemas/index.js +0 -24
- package/dist/features/before-after/server.d.ts +0 -7
- package/dist/features/before-after/server.js +0 -7
- package/dist/features/before-after/types/index.d.ts +0 -18
- package/dist/features/before-after/types/index.js +0 -1
- package/dist/features/blog/actions/blog-actions.d.ts +0 -302
- package/dist/features/blog/actions/blog-actions.js +0 -119
- package/dist/features/blog/actions/index.d.ts +0 -1
- package/dist/features/blog/actions/index.js +0 -1
- package/dist/features/blog/api/[slug]/route.d.ts +0 -23
- package/dist/features/blog/api/[slug]/route.js +0 -40
- package/dist/features/blog/api/route.d.ts +0 -12
- package/dist/features/blog/api/route.js +0 -64
- package/dist/features/blog/columns/index.d.ts +0 -27
- package/dist/features/blog/columns/index.js +0 -54
- package/dist/features/blog/components/BlogFeaturedCard.d.ts +0 -17
- package/dist/features/blog/components/BlogFeaturedCard.js +0 -24
- package/dist/features/blog/components/BlogFilters.d.ts +0 -106
- package/dist/features/blog/components/BlogFilters.js +0 -67
- package/dist/features/blog/components/BlogListView.d.ts +0 -29
- package/dist/features/blog/components/BlogListView.js +0 -38
- package/dist/features/blog/components/BlogPostForm.d.ts +0 -56
- package/dist/features/blog/components/BlogPostForm.js +0 -24
- package/dist/features/blog/components/BlogPostView.d.ts +0 -32
- package/dist/features/blog/components/BlogPostView.js +0 -39
- package/dist/features/blog/components/index.d.ts +0 -9
- package/dist/features/blog/components/index.js +0 -5
- package/dist/features/blog/hooks/useBlog.d.ts +0 -27
- package/dist/features/blog/hooks/useBlog.js +0 -51
- package/dist/features/blog/index.d.ts +0 -6
- package/dist/features/blog/index.js +0 -6
- package/dist/features/blog/manifest.d.ts +0 -2
- package/dist/features/blog/manifest.js +0 -14
- package/dist/features/blog/messages/en.json +0 -14
- package/dist/features/blog/repository/blog.repository.d.ts +0 -79
- package/dist/features/blog/repository/blog.repository.js +0 -130
- package/dist/features/blog/schemas/firestore.d.ts +0 -87
- package/dist/features/blog/schemas/firestore.js +0 -99
- package/dist/features/blog/schemas/index.d.ts +0 -207
- package/dist/features/blog/schemas/index.js +0 -71
- package/dist/features/blog/server.d.ts +0 -11
- package/dist/features/blog/server.js +0 -10
- package/dist/features/blog/types/index.d.ts +0 -47
- package/dist/features/blog/types/index.js +0 -1
- package/dist/features/cart/actions/cart-actions.d.ts +0 -16
- package/dist/features/cart/actions/cart-actions.js +0 -52
- package/dist/features/cart/actions/index.d.ts +0 -1
- package/dist/features/cart/actions/index.js +0 -1
- package/dist/features/cart/api/[id]/route.d.ts +0 -21
- package/dist/features/cart/api/[id]/route.js +0 -62
- package/dist/features/cart/api/route.d.ts +0 -13
- package/dist/features/cart/api/route.js +0 -79
- package/dist/features/cart/columns/index.d.ts +0 -17
- package/dist/features/cart/columns/index.js +0 -53
- package/dist/features/cart/components/CartDrawer.d.ts +0 -27
- package/dist/features/cart/components/CartDrawer.js +0 -14
- package/dist/features/cart/components/CartSummary.d.ts +0 -19
- package/dist/features/cart/components/CartSummary.js +0 -5
- package/dist/features/cart/components/CartView.d.ts +0 -17
- package/dist/features/cart/components/CartView.js +0 -7
- package/dist/features/cart/components/CheckoutAddressStep.d.ts +0 -20
- package/dist/features/cart/components/CheckoutAddressStep.js +0 -12
- package/dist/features/cart/components/CheckoutOtpModal.d.ts +0 -15
- package/dist/features/cart/components/CheckoutOtpModal.js +0 -12
- package/dist/features/cart/components/CheckoutSuccessView.d.ts +0 -12
- package/dist/features/cart/components/CheckoutSuccessView.js +0 -9
- package/dist/features/cart/components/CheckoutView.d.ts +0 -15
- package/dist/features/cart/components/CheckoutView.js +0 -18
- package/dist/features/cart/components/index.d.ts +0 -13
- package/dist/features/cart/components/index.js +0 -7
- package/dist/features/cart/hooks/useAddToCart.d.ts +0 -27
- package/dist/features/cart/hooks/useAddToCart.js +0 -52
- package/dist/features/cart/hooks/useCart.d.ts +0 -17
- package/dist/features/cart/hooks/useCart.js +0 -24
- package/dist/features/cart/hooks/useCartCount.d.ts +0 -7
- package/dist/features/cart/hooks/useCartCount.js +0 -19
- package/dist/features/cart/hooks/useCartQuery.d.ts +0 -8
- package/dist/features/cart/hooks/useCartQuery.js +0 -11
- package/dist/features/cart/hooks/useCheckoutReadQueries.d.ts +0 -14
- package/dist/features/cart/hooks/useCheckoutReadQueries.js +0 -18
- package/dist/features/cart/hooks/useGuestCart.d.ts +0 -18
- package/dist/features/cart/hooks/useGuestCart.js +0 -32
- package/dist/features/cart/hooks/useGuestCartMerge.d.ts +0 -15
- package/dist/features/cart/hooks/useGuestCartMerge.js +0 -50
- package/dist/features/cart/hooks/useOrder.d.ts +0 -13
- package/dist/features/cart/hooks/useOrder.js +0 -24
- package/dist/features/cart/index.d.ts +0 -14
- package/dist/features/cart/index.js +0 -14
- package/dist/features/cart/manifest.d.ts +0 -2
- package/dist/features/cart/manifest.js +0 -10
- package/dist/features/cart/messages/en.json +0 -10
- package/dist/features/cart/repository/cart.repository.d.ts +0 -23
- package/dist/features/cart/repository/cart.repository.js +0 -210
- package/dist/features/cart/schemas/firestore.d.ts +0 -83
- package/dist/features/cart/schemas/firestore.js +0 -36
- package/dist/features/cart/schemas/index.d.ts +0 -184
- package/dist/features/cart/schemas/index.js +0 -35
- package/dist/features/cart/server.d.ts +0 -8
- package/dist/features/cart/server.js +0 -8
- package/dist/features/cart/types/index.d.ts +0 -27
- package/dist/features/cart/types/index.js +0 -1
- package/dist/features/cart/utils/guest-cart.d.ts +0 -26
- package/dist/features/cart/utils/guest-cart.js +0 -83
- package/dist/features/categories/actions/category-actions.d.ts +0 -17
- package/dist/features/categories/actions/category-actions.js +0 -63
- package/dist/features/categories/actions/index.d.ts +0 -1
- package/dist/features/categories/actions/index.js +0 -1
- package/dist/features/categories/api/[id]/route.d.ts +0 -23
- package/dist/features/categories/api/[id]/route.js +0 -98
- package/dist/features/categories/api/route.d.ts +0 -19
- package/dist/features/categories/api/route.js +0 -200
- package/dist/features/categories/columns/index.d.ts +0 -15
- package/dist/features/categories/columns/index.js +0 -38
- package/dist/features/categories/components/BreadcrumbTrail.d.ts +0 -47
- package/dist/features/categories/components/BreadcrumbTrail.js +0 -36
- package/dist/features/categories/components/CategoriesListView.d.ts +0 -31
- package/dist/features/categories/components/CategoriesListView.js +0 -27
- package/dist/features/categories/components/CategoryFilters.d.ts +0 -68
- package/dist/features/categories/components/CategoryFilters.js +0 -75
- package/dist/features/categories/components/CategoryForm.d.ts +0 -24
- package/dist/features/categories/components/CategoryForm.js +0 -42
- package/dist/features/categories/components/CategoryGrid.d.ts +0 -14
- package/dist/features/categories/components/CategoryGrid.js +0 -14
- package/dist/features/categories/components/CategoryProductsView.d.ts +0 -49
- package/dist/features/categories/components/CategoryProductsView.js +0 -21
- package/dist/features/categories/components/CategorySelectorCreate.d.ts +0 -17
- package/dist/features/categories/components/CategorySelectorCreate.js +0 -57
- package/dist/features/categories/components/CategorySortSelect.d.ts +0 -9
- package/dist/features/categories/components/CategorySortSelect.js +0 -8
- package/dist/features/categories/components/CategoryTableColumns.d.ts +0 -30
- package/dist/features/categories/components/CategoryTableColumns.js +0 -54
- package/dist/features/categories/components/CategoryTree.d.ts +0 -15
- package/dist/features/categories/components/CategoryTree.js +0 -49
- package/dist/features/categories/components/ConcernCard.d.ts +0 -8
- package/dist/features/categories/components/ConcernCard.js +0 -5
- package/dist/features/categories/components/ConcernGrid.d.ts +0 -8
- package/dist/features/categories/components/ConcernGrid.js +0 -8
- package/dist/features/categories/components/index.d.ts +0 -22
- package/dist/features/categories/components/index.js +0 -12
- package/dist/features/categories/hooks/useCategories.d.ts +0 -26
- package/dist/features/categories/hooks/useCategories.js +0 -50
- package/dist/features/categories/hooks/useCategorySelector.d.ts +0 -26
- package/dist/features/categories/hooks/useCategorySelector.js +0 -42
- package/dist/features/categories/index.d.ts +0 -7
- package/dist/features/categories/index.js +0 -7
- package/dist/features/categories/manifest.d.ts +0 -2
- package/dist/features/categories/manifest.js +0 -20
- package/dist/features/categories/messages/en.json +0 -14
- package/dist/features/categories/repository/categories.repository.d.ts +0 -31
- package/dist/features/categories/repository/categories.repository.js +0 -399
- package/dist/features/categories/schemas/firestore.d.ts +0 -140
- package/dist/features/categories/schemas/firestore.js +0 -189
- package/dist/features/categories/schemas/index.d.ts +0 -207
- package/dist/features/categories/schemas/index.js +0 -67
- package/dist/features/categories/server.d.ts +0 -10
- package/dist/features/categories/server.js +0 -10
- package/dist/features/categories/types/index.d.ts +0 -80
- package/dist/features/categories/types/index.js +0 -13
- package/dist/features/checkout/actions/checkout-actions.d.ts +0 -14
- package/dist/features/checkout/actions/checkout-actions.js +0 -91
- package/dist/features/checkout/actions/index.d.ts +0 -1
- package/dist/features/checkout/actions/index.js +0 -1
- package/dist/features/checkout/components/CheckoutStepper.d.ts +0 -10
- package/dist/features/checkout/components/CheckoutStepper.js +0 -15
- package/dist/features/checkout/components/index.d.ts +0 -1
- package/dist/features/checkout/components/index.js +0 -1
- package/dist/features/checkout/hooks/useCheckout.d.ts +0 -9
- package/dist/features/checkout/hooks/useCheckout.js +0 -24
- package/dist/features/checkout/hooks/useCheckoutApi.d.ts +0 -74
- package/dist/features/checkout/hooks/useCheckoutApi.js +0 -48
- package/dist/features/checkout/hooks/usePaymentCheckout.d.ts +0 -78
- package/dist/features/checkout/hooks/usePaymentCheckout.js +0 -178
- package/dist/features/checkout/index.d.ts +0 -8
- package/dist/features/checkout/index.js +0 -7
- package/dist/features/checkout/manifest.d.ts +0 -2
- package/dist/features/checkout/manifest.js +0 -17
- package/dist/features/checkout/messages/en.json +0 -10
- package/dist/features/checkout/repository/failed-checkout.repository.d.ts +0 -18
- package/dist/features/checkout/repository/failed-checkout.repository.js +0 -29
- package/dist/features/checkout/schemas/firestore.d.ts +0 -33
- package/dist/features/checkout/schemas/firestore.js +0 -6
- package/dist/features/checkout/schemas/index.d.ts +0 -1
- package/dist/features/checkout/schemas/index.js +0 -1
- package/dist/features/checkout/server.d.ts +0 -8
- package/dist/features/checkout/server.js +0 -8
- package/dist/features/checkout/types/index.d.ts +0 -46
- package/dist/features/checkout/types/index.js +0 -2
- package/dist/features/cms/index.d.ts +0 -1
- package/dist/features/cms/index.js +0 -5
- package/dist/features/collections/api/[slug]/route.d.ts +0 -26
- package/dist/features/collections/api/[slug]/route.js +0 -102
- package/dist/features/collections/api/route.d.ts +0 -13
- package/dist/features/collections/api/route.js +0 -79
- package/dist/features/collections/columns/index.d.ts +0 -17
- package/dist/features/collections/columns/index.js +0 -55
- package/dist/features/collections/components/CollectionCard.d.ts +0 -12
- package/dist/features/collections/components/CollectionCard.js +0 -9
- package/dist/features/collections/components/index.d.ts +0 -1
- package/dist/features/collections/components/index.js +0 -1
- package/dist/features/collections/hooks/useCollections.d.ts +0 -7
- package/dist/features/collections/hooks/useCollections.js +0 -34
- package/dist/features/collections/index.d.ts +0 -6
- package/dist/features/collections/index.js +0 -6
- package/dist/features/collections/manifest.d.ts +0 -2
- package/dist/features/collections/manifest.js +0 -16
- package/dist/features/collections/messages/en.json +0 -10
- package/dist/features/collections/repository/collections.repository.d.ts +0 -8
- package/dist/features/collections/repository/collections.repository.js +0 -16
- package/dist/features/collections/schemas/index.d.ts +0 -76
- package/dist/features/collections/schemas/index.js +0 -34
- package/dist/features/collections/server.d.ts +0 -7
- package/dist/features/collections/server.js +0 -7
- package/dist/features/collections/types/index.d.ts +0 -25
- package/dist/features/collections/types/index.js +0 -1
- package/dist/features/consultation/api/[id]/route.d.ts +0 -26
- package/dist/features/consultation/api/[id]/route.js +0 -88
- package/dist/features/consultation/api/route.d.ts +0 -13
- package/dist/features/consultation/api/route.js +0 -79
- package/dist/features/consultation/columns/index.d.ts +0 -17
- package/dist/features/consultation/columns/index.js +0 -54
- package/dist/features/consultation/components/ConsultationForm.d.ts +0 -8
- package/dist/features/consultation/components/ConsultationForm.js +0 -51
- package/dist/features/consultation/components/index.d.ts +0 -1
- package/dist/features/consultation/components/index.js +0 -1
- package/dist/features/consultation/hooks/useBookConsultation.d.ts +0 -8
- package/dist/features/consultation/hooks/useBookConsultation.js +0 -16
- package/dist/features/consultation/index.d.ts +0 -6
- package/dist/features/consultation/index.js +0 -6
- package/dist/features/consultation/manifest.d.ts +0 -2
- package/dist/features/consultation/manifest.js +0 -12
- package/dist/features/consultation/messages/en.json +0 -25
- package/dist/features/consultation/repository/consultations.repository.d.ts +0 -12
- package/dist/features/consultation/repository/consultations.repository.js +0 -28
- package/dist/features/consultation/schemas/index.d.ts +0 -87
- package/dist/features/consultation/schemas/index.js +0 -47
- package/dist/features/consultation/server.d.ts +0 -7
- package/dist/features/consultation/server.js +0 -7
- package/dist/features/consultation/types/index.d.ts +0 -33
- package/dist/features/consultation/types/index.js +0 -1
- package/dist/features/contact/components/ContactForm.d.ts +0 -32
- package/dist/features/contact/components/ContactForm.js +0 -58
- package/dist/features/contact/components/ContactInfoSidebar.d.ts +0 -20
- package/dist/features/contact/components/ContactInfoSidebar.js +0 -6
- package/dist/features/contact/components/index.d.ts +0 -4
- package/dist/features/contact/components/index.js +0 -2
- package/dist/features/contact/email.d.ts +0 -61
- package/dist/features/contact/email.js +0 -345
- package/dist/features/contact/hooks/useContactSubmit.d.ts +0 -4
- package/dist/features/contact/hooks/useContactSubmit.js +0 -7
- package/dist/features/contact/index.d.ts +0 -2
- package/dist/features/contact/index.js +0 -2
- package/dist/features/contact/server.d.ts +0 -7
- package/dist/features/contact/server.js +0 -7
- package/dist/features/copilot/components/AdminCopilotView.d.ts +0 -21
- package/dist/features/copilot/components/AdminCopilotView.js +0 -29
- package/dist/features/copilot/components/index.d.ts +0 -2
- package/dist/features/copilot/components/index.js +0 -1
- package/dist/features/copilot/hooks/useCopilotChat.d.ts +0 -22
- package/dist/features/copilot/hooks/useCopilotChat.js +0 -57
- package/dist/features/copilot/hooks/useCopilotFeedback.d.ts +0 -15
- package/dist/features/copilot/hooks/useCopilotFeedback.js +0 -16
- package/dist/features/copilot/index.d.ts +0 -3
- package/dist/features/copilot/index.js +0 -3
- package/dist/features/corporate/api/[id]/route.d.ts +0 -26
- package/dist/features/corporate/api/[id]/route.js +0 -88
- package/dist/features/corporate/api/route.d.ts +0 -13
- package/dist/features/corporate/api/route.js +0 -79
- package/dist/features/corporate/columns/index.d.ts +0 -17
- package/dist/features/corporate/columns/index.js +0 -54
- package/dist/features/corporate/components/CorporateInquiryForm.d.ts +0 -7
- package/dist/features/corporate/components/CorporateInquiryForm.js +0 -36
- package/dist/features/corporate/components/index.d.ts +0 -1
- package/dist/features/corporate/components/index.js +0 -1
- package/dist/features/corporate/hooks/useSubmitCorporateInquiry.d.ts +0 -8
- package/dist/features/corporate/hooks/useSubmitCorporateInquiry.js +0 -16
- package/dist/features/corporate/index.d.ts +0 -6
- package/dist/features/corporate/index.js +0 -6
- package/dist/features/corporate/manifest.d.ts +0 -2
- package/dist/features/corporate/manifest.js +0 -12
- package/dist/features/corporate/messages/en.json +0 -26
- package/dist/features/corporate/repository/corporate.repository.d.ts +0 -12
- package/dist/features/corporate/repository/corporate.repository.js +0 -28
- package/dist/features/corporate/schemas/index.d.ts +0 -95
- package/dist/features/corporate/schemas/index.js +0 -50
- package/dist/features/corporate/server.d.ts +0 -7
- package/dist/features/corporate/server.js +0 -7
- package/dist/features/corporate/types/index.d.ts +0 -37
- package/dist/features/corporate/types/index.js +0 -1
- package/dist/features/cron/firebase-adapters.d.ts +0 -70
- package/dist/features/cron/firebase-adapters.js +0 -68
- package/dist/features/cron/index.d.ts +0 -5
- package/dist/features/cron/index.js +0 -7
- package/dist/features/cron/jobs/auction-expiry.job.d.ts +0 -27
- package/dist/features/cron/jobs/auction-expiry.job.js +0 -38
- package/dist/features/cron/jobs/preorder-reminder.job.d.ts +0 -14
- package/dist/features/cron/jobs/preorder-reminder.job.js +0 -40
- package/dist/features/cron/registry.d.ts +0 -45
- package/dist/features/cron/registry.js +0 -86
- package/dist/features/cron/types.d.ts +0 -66
- package/dist/features/cron/types.js +0 -9
- package/dist/features/events/actions/event-actions.d.ts +0 -92
- package/dist/features/events/actions/event-actions.js +0 -253
- package/dist/features/events/actions/index.d.ts +0 -1
- package/dist/features/events/actions/index.js +0 -1
- package/dist/features/events/api/[id]/route.d.ts +0 -24
- package/dist/features/events/api/[id]/route.js +0 -83
- package/dist/features/events/api/route.d.ts +0 -12
- package/dist/features/events/api/route.js +0 -88
- package/dist/features/events/columns/index.d.ts +0 -22
- package/dist/features/events/columns/index.js +0 -41
- package/dist/features/events/components/AdminEventEntriesView.d.ts +0 -17
- package/dist/features/events/components/AdminEventEntriesView.js +0 -10
- package/dist/features/events/components/AdminEventsView.d.ts +0 -11
- package/dist/features/events/components/AdminEventsView.js +0 -5
- package/dist/features/events/components/EventBanner.d.ts +0 -13
- package/dist/features/events/components/EventBanner.js +0 -48
- package/dist/features/events/components/EventCard.d.ts +0 -13
- package/dist/features/events/components/EventCard.js +0 -21
- package/dist/features/events/components/EventDetailView.d.ts +0 -15
- package/dist/features/events/components/EventDetailView.js +0 -11
- package/dist/features/events/components/EventFilters.d.ts +0 -105
- package/dist/features/events/components/EventFilters.js +0 -73
- package/dist/features/events/components/EventFormDrawer.d.ts +0 -22
- package/dist/features/events/components/EventFormDrawer.js +0 -6
- package/dist/features/events/components/EventLeaderboard.d.ts +0 -23
- package/dist/features/events/components/EventLeaderboard.js +0 -18
- package/dist/features/events/components/EventParticipateView.d.ts +0 -19
- package/dist/features/events/components/EventParticipateView.js +0 -13
- package/dist/features/events/components/EventStatusBadge.d.ts +0 -7
- package/dist/features/events/components/EventStatusBadge.js +0 -12
- package/dist/features/events/components/EventsListView.d.ts +0 -16
- package/dist/features/events/components/EventsListView.js +0 -21
- package/dist/features/events/components/index.d.ts +0 -19
- package/dist/features/events/components/index.js +0 -11
- package/dist/features/events/hooks/useBulkEvent.d.ts +0 -19
- package/dist/features/events/hooks/useBulkEvent.js +0 -36
- package/dist/features/events/hooks/useEvent.d.ts +0 -43
- package/dist/features/events/hooks/useEvent.js +0 -55
- package/dist/features/events/hooks/useEvents.d.ts +0 -27
- package/dist/features/events/hooks/useEvents.js +0 -38
- package/dist/features/events/index.d.ts +0 -8
- package/dist/features/events/index.js +0 -8
- package/dist/features/events/manifest.d.ts +0 -2
- package/dist/features/events/manifest.js +0 -24
- package/dist/features/events/messages/en.json +0 -28
- package/dist/features/events/repository/event-entry.repository.d.ts +0 -17
- package/dist/features/events/repository/event-entry.repository.js +0 -115
- package/dist/features/events/repository/events.repository.d.ts +0 -18
- package/dist/features/events/repository/events.repository.js +0 -128
- package/dist/features/events/schemas/firestore.d.ts +0 -115
- package/dist/features/events/schemas/firestore.js +0 -77
- package/dist/features/events/schemas/index.d.ts +0 -383
- package/dist/features/events/schemas/index.js +0 -87
- package/dist/features/events/server.d.ts +0 -11
- package/dist/features/events/server.js +0 -11
- package/dist/features/events/types/index.d.ts +0 -133
- package/dist/features/events/types/index.js +0 -1
- package/dist/features/faq/actions/faq-actions.d.ts +0 -191
- package/dist/features/faq/actions/faq-actions.js +0 -103
- package/dist/features/faq/actions/index.d.ts +0 -1
- package/dist/features/faq/actions/index.js +0 -1
- package/dist/features/faq/api/route.d.ts +0 -11
- package/dist/features/faq/api/route.js +0 -50
- package/dist/features/faq/columns/index.d.ts +0 -15
- package/dist/features/faq/columns/index.js +0 -47
- package/dist/features/faq/components/ContactCTA.d.ts +0 -16
- package/dist/features/faq/components/ContactCTA.js +0 -6
- package/dist/features/faq/components/FAQAccordion.d.ts +0 -20
- package/dist/features/faq/components/FAQAccordion.js +0 -17
- package/dist/features/faq/components/FAQCategorySidebar.d.ts +0 -24
- package/dist/features/faq/components/FAQCategorySidebar.js +0 -15
- package/dist/features/faq/components/FAQHelpfulButtons.d.ts +0 -19
- package/dist/features/faq/components/FAQHelpfulButtons.js +0 -46
- package/dist/features/faq/components/FAQPageContent.d.ts +0 -54
- package/dist/features/faq/components/FAQPageContent.js +0 -67
- package/dist/features/faq/components/FAQSortDropdown.d.ts +0 -13
- package/dist/features/faq/components/FAQSortDropdown.js +0 -11
- package/dist/features/faq/components/RelatedFAQs.d.ts +0 -10
- package/dist/features/faq/components/RelatedFAQs.js +0 -9
- package/dist/features/faq/components/index.d.ts +0 -9
- package/dist/features/faq/components/index.js +0 -7
- package/dist/features/faq/hooks/useFAQs.d.ts +0 -22
- package/dist/features/faq/hooks/useFAQs.js +0 -42
- package/dist/features/faq/hooks/useFaqList.d.ts +0 -194
- package/dist/features/faq/hooks/useFaqList.js +0 -35
- package/dist/features/faq/hooks/useFaqVote.d.ts +0 -14
- package/dist/features/faq/hooks/useFaqVote.js +0 -10
- package/dist/features/faq/index.d.ts +0 -8
- package/dist/features/faq/index.js +0 -8
- package/dist/features/faq/manifest.d.ts +0 -2
- package/dist/features/faq/manifest.js +0 -10
- package/dist/features/faq/messages/en.json +0 -14
- package/dist/features/faq/repository/faqs.repository.d.ts +0 -43
- package/dist/features/faq/repository/faqs.repository.js +0 -300
- package/dist/features/faq/schemas/firestore.d.ts +0 -63
- package/dist/features/faq/schemas/firestore.js +0 -115
- package/dist/features/faq/schemas/index.d.ts +0 -157
- package/dist/features/faq/schemas/index.js +0 -62
- package/dist/features/faq/server.d.ts +0 -9
- package/dist/features/faq/server.js +0 -9
- package/dist/features/faq/types/index.d.ts +0 -52
- package/dist/features/faq/types/index.js +0 -1
- package/dist/features/filters/FilterFacetSection.d.ts +0 -23
- package/dist/features/filters/FilterFacetSection.js +0 -39
- package/dist/features/filters/FilterPanel.d.ts +0 -61
- package/dist/features/filters/FilterPanel.js +0 -40
- package/dist/features/filters/RangeFilter.d.ts +0 -23
- package/dist/features/filters/RangeFilter.js +0 -28
- package/dist/features/filters/SwitchFilter.d.ts +0 -12
- package/dist/features/filters/SwitchFilter.js +0 -19
- package/dist/features/filters/filterUtils.d.ts +0 -11
- package/dist/features/filters/filterUtils.js +0 -13
- package/dist/features/filters/index.d.ts +0 -10
- package/dist/features/filters/index.js +0 -6
- package/dist/features/forms/Checkbox.d.ts +0 -8
- package/dist/features/forms/Checkbox.js +0 -15
- package/dist/features/forms/Form.d.ts +0 -25
- package/dist/features/forms/Form.js +0 -38
- package/dist/features/forms/Input.d.ts +0 -10
- package/dist/features/forms/Input.js +0 -23
- package/dist/features/forms/Radio.d.ts +0 -17
- package/dist/features/forms/Radio.js +0 -19
- package/dist/features/forms/Select.d.ts +0 -13
- package/dist/features/forms/Select.js +0 -8
- package/dist/features/forms/Slider.d.ts +0 -20
- package/dist/features/forms/Slider.js +0 -22
- package/dist/features/forms/Textarea.d.ts +0 -8
- package/dist/features/forms/Textarea.js +0 -15
- package/dist/features/forms/Toggle.d.ts +0 -15
- package/dist/features/forms/Toggle.js +0 -48
- package/dist/features/forms/index.d.ts +0 -17
- package/dist/features/forms/index.js +0 -11
- package/dist/features/forms/utils.d.ts +0 -10
- package/dist/features/forms/utils.js +0 -13
- package/dist/features/homepage/actions/carousel-actions.d.ts +0 -37
- package/dist/features/homepage/actions/carousel-actions.js +0 -54
- package/dist/features/homepage/actions/homepage-section-actions.d.ts +0 -46
- package/dist/features/homepage/actions/homepage-section-actions.js +0 -55
- package/dist/features/homepage/actions/index.d.ts +0 -2
- package/dist/features/homepage/actions/index.js +0 -2
- package/dist/features/homepage/api/[id]/route.d.ts +0 -23
- package/dist/features/homepage/api/[id]/route.js +0 -100
- package/dist/features/homepage/api/carousel/[id]/route.d.ts +0 -23
- package/dist/features/homepage/api/carousel/[id]/route.js +0 -122
- package/dist/features/homepage/api/carousel/route.d.ts +0 -15
- package/dist/features/homepage/api/carousel/route.js +0 -154
- package/dist/features/homepage/api/route.d.ts +0 -14
- package/dist/features/homepage/api/route.js +0 -136
- package/dist/features/homepage/api/sections/[id]/route.d.ts +0 -26
- package/dist/features/homepage/api/sections/[id]/route.js +0 -88
- package/dist/features/homepage/api/sections/route.d.ts +0 -13
- package/dist/features/homepage/api/sections/route.js +0 -79
- package/dist/features/homepage/components/AdvertisementBanner.d.ts +0 -13
- package/dist/features/homepage/components/AdvertisementBanner.js +0 -23
- package/dist/features/homepage/components/BeforeAfterCard.d.ts +0 -10
- package/dist/features/homepage/components/BeforeAfterCard.js +0 -54
- package/dist/features/homepage/components/CharacterHotspot.d.ts +0 -24
- package/dist/features/homepage/components/CharacterHotspot.js +0 -373
- package/dist/features/homepage/components/CharacterHotspotForm.d.ts +0 -26
- package/dist/features/homepage/components/CharacterHotspotForm.js +0 -309
- package/dist/features/homepage/components/CustomerReviewsSection.d.ts +0 -13
- package/dist/features/homepage/components/CustomerReviewsSection.js +0 -14
- package/dist/features/homepage/components/FAQSection.d.ts +0 -26
- package/dist/features/homepage/components/FAQSection.js +0 -20
- package/dist/features/homepage/components/FeaturedResultsSection.d.ts +0 -17
- package/dist/features/homepage/components/FeaturedResultsSection.js +0 -18
- package/dist/features/homepage/components/HeroBanner.d.ts +0 -7
- package/dist/features/homepage/components/HeroBanner.js +0 -93
- package/dist/features/homepage/components/HeroCarousel.d.ts +0 -12
- package/dist/features/homepage/components/HeroCarousel.js +0 -157
- package/dist/features/homepage/components/HeroSection.d.ts +0 -7
- package/dist/features/homepage/components/HeroSection.js +0 -12
- package/dist/features/homepage/components/HomepageSkeleton.d.ts +0 -2
- package/dist/features/homepage/components/HomepageSkeleton.js +0 -14
- package/dist/features/homepage/components/HomepageView.d.ts +0 -25
- package/dist/features/homepage/components/HomepageView.js +0 -5
- package/dist/features/homepage/components/HowItWorksInfoView.d.ts +0 -36
- package/dist/features/homepage/components/HowItWorksInfoView.js +0 -8
- package/dist/features/homepage/components/HowItWorksSection.d.ts +0 -23
- package/dist/features/homepage/components/HowItWorksSection.js +0 -36
- package/dist/features/homepage/components/NewsletterBanner.d.ts +0 -22
- package/dist/features/homepage/components/NewsletterBanner.js +0 -34
- package/dist/features/homepage/components/NewsletterSection.d.ts +0 -10
- package/dist/features/homepage/components/NewsletterSection.js +0 -8
- package/dist/features/homepage/components/PromoGrid.d.ts +0 -9
- package/dist/features/homepage/components/PromoGrid.js +0 -35
- package/dist/features/homepage/components/SectionCarousel.d.ts +0 -75
- package/dist/features/homepage/components/SectionCarousel.js +0 -39
- package/dist/features/homepage/components/SecurityHighlightsSection.d.ts +0 -21
- package/dist/features/homepage/components/SecurityHighlightsSection.js +0 -36
- package/dist/features/homepage/components/SiteFeaturesSection.d.ts +0 -13
- package/dist/features/homepage/components/SiteFeaturesSection.js +0 -9
- package/dist/features/homepage/components/StatsCounterSection.d.ts +0 -14
- package/dist/features/homepage/components/StatsCounterSection.js +0 -32
- package/dist/features/homepage/components/TestimonialsCarousel.d.ts +0 -9
- package/dist/features/homepage/components/TestimonialsCarousel.js +0 -30
- package/dist/features/homepage/components/TrustBadges.d.ts +0 -5
- package/dist/features/homepage/components/TrustBadges.js +0 -54
- package/dist/features/homepage/components/TrustFeaturesSection.d.ts +0 -16
- package/dist/features/homepage/components/TrustFeaturesSection.js +0 -41
- package/dist/features/homepage/components/TrustIndicatorsSection.d.ts +0 -11
- package/dist/features/homepage/components/TrustIndicatorsSection.js +0 -9
- package/dist/features/homepage/components/WelcomeSection.d.ts +0 -20
- package/dist/features/homepage/components/WelcomeSection.js +0 -12
- package/dist/features/homepage/components/WhatsAppCommunitySection.d.ts +0 -15
- package/dist/features/homepage/components/WhatsAppCommunitySection.js +0 -21
- package/dist/features/homepage/components/index.d.ts +0 -52
- package/dist/features/homepage/components/index.js +0 -27
- package/dist/features/homepage/hooks/useBlogArticles.d.ts +0 -12
- package/dist/features/homepage/hooks/useBlogArticles.js +0 -31
- package/dist/features/homepage/hooks/useFeaturedAuctions.d.ts +0 -2
- package/dist/features/homepage/hooks/useFeaturedAuctions.js +0 -26
- package/dist/features/homepage/hooks/useFeaturedPreOrders.d.ts +0 -2
- package/dist/features/homepage/hooks/useFeaturedPreOrders.js +0 -26
- package/dist/features/homepage/hooks/useFeaturedProducts.d.ts +0 -4
- package/dist/features/homepage/hooks/useFeaturedProducts.js +0 -32
- package/dist/features/homepage/hooks/useHeroCarousel.d.ts +0 -9
- package/dist/features/homepage/hooks/useHeroCarousel.js +0 -17
- package/dist/features/homepage/hooks/useHomepage.d.ts +0 -11
- package/dist/features/homepage/hooks/useHomepage.js +0 -18
- package/dist/features/homepage/hooks/useHomepageReviews.d.ts +0 -7
- package/dist/features/homepage/hooks/useHomepageReviews.js +0 -16
- package/dist/features/homepage/hooks/useHomepageSections.d.ts +0 -2
- package/dist/features/homepage/hooks/useHomepageSections.js +0 -11
- package/dist/features/homepage/hooks/useNewsletter.d.ts +0 -14
- package/dist/features/homepage/hooks/useNewsletter.js +0 -10
- package/dist/features/homepage/hooks/useTopBrands.d.ts +0 -2
- package/dist/features/homepage/hooks/useTopBrands.js +0 -12
- package/dist/features/homepage/hooks/useTopCategories.d.ts +0 -4
- package/dist/features/homepage/hooks/useTopCategories.js +0 -13
- package/dist/features/homepage/index.d.ts +0 -13
- package/dist/features/homepage/index.js +0 -13
- package/dist/features/homepage/manifest.d.ts +0 -2
- package/dist/features/homepage/manifest.js +0 -14
- package/dist/features/homepage/messages/en.json +0 -6
- package/dist/features/homepage/repository/carousel.repository.d.ts +0 -101
- package/dist/features/homepage/repository/carousel.repository.js +0 -252
- package/dist/features/homepage/repository/homepage-sections.repository.d.ts +0 -27
- package/dist/features/homepage/repository/homepage-sections.repository.js +0 -174
- package/dist/features/homepage/repository/homepage.repository.d.ts +0 -11
- package/dist/features/homepage/repository/homepage.repository.js +0 -25
- package/dist/features/homepage/schemas/firestore.d.ts +0 -251
- package/dist/features/homepage/schemas/firestore.js +0 -83
- package/dist/features/homepage/schemas/index.d.ts +0 -1
- package/dist/features/homepage/schemas/index.js +0 -1
- package/dist/features/homepage/server.d.ts +0 -10
- package/dist/features/homepage/server.js +0 -10
- package/dist/features/homepage/types/index.d.ts +0 -163
- package/dist/features/homepage/types/index.js +0 -1
- package/dist/features/layout/AutoBreadcrumbs.d.ts +0 -15
- package/dist/features/layout/AutoBreadcrumbs.js +0 -84
- package/dist/features/layout/BackToTop.d.ts +0 -16
- package/dist/features/layout/BackToTop.js +0 -26
- package/dist/features/layout/BottomActions.d.ts +0 -1
- package/dist/features/layout/BottomActions.js +0 -153
- package/dist/features/layout/BottomActionsContext.d.ts +0 -107
- package/dist/features/layout/BottomActionsContext.js +0 -114
- package/dist/features/layout/BottomNavItem.d.ts +0 -28
- package/dist/features/layout/BottomNavItem.js +0 -28
- package/dist/features/layout/BottomNavLayout.d.ts +0 -14
- package/dist/features/layout/BottomNavLayout.js +0 -12
- package/dist/features/layout/BottomNavbar.d.ts +0 -46
- package/dist/features/layout/BottomNavbar.js +0 -19
- package/dist/features/layout/BottomSheet.d.ts +0 -29
- package/dist/features/layout/BottomSheet.js +0 -40
- package/dist/features/layout/Breadcrumbs.d.ts +0 -26
- package/dist/features/layout/Breadcrumbs.js +0 -25
- package/dist/features/layout/DashboardNavContext.d.ts +0 -19
- package/dist/features/layout/DashboardNavContext.js +0 -36
- package/dist/features/layout/FooterLayout.d.ts +0 -39
- package/dist/features/layout/FooterLayout.js +0 -12
- package/dist/features/layout/LayoutClient.d.ts +0 -11
- package/dist/features/layout/LayoutClient.js +0 -7
- package/dist/features/layout/ListingLayout.d.ts +0 -35
- package/dist/features/layout/ListingLayout.js +0 -104
- package/dist/features/layout/LocaleSwitcher.d.ts +0 -22
- package/dist/features/layout/LocaleSwitcher.js +0 -12
- package/dist/features/layout/MainNavbar.d.ts +0 -32
- package/dist/features/layout/MainNavbar.js +0 -29
- package/dist/features/layout/NavItem.d.ts +0 -19
- package/dist/features/layout/NavItem.js +0 -35
- package/dist/features/layout/NavbarLayout.d.ts +0 -27
- package/dist/features/layout/NavbarLayout.js +0 -23
- package/dist/features/layout/SidebarLayout.d.ts +0 -24
- package/dist/features/layout/SidebarLayout.js +0 -29
- package/dist/features/layout/TitleBar.d.ts +0 -18
- package/dist/features/layout/TitleBar.js +0 -19
- package/dist/features/layout/TitleBarLayout.d.ts +0 -48
- package/dist/features/layout/TitleBarLayout.js +0 -17
- package/dist/features/layout/hooks/useBottomActions.d.ts +0 -7
- package/dist/features/layout/hooks/useBottomActions.js +0 -28
- package/dist/features/layout/index.d.ts +0 -41
- package/dist/features/layout/index.js +0 -23
- package/dist/features/loyalty/api/admin/loyalty/grant/route.d.ts +0 -12
- package/dist/features/loyalty/api/admin/loyalty/grant/route.js +0 -36
- package/dist/features/loyalty/api/balance/route.d.ts +0 -12
- package/dist/features/loyalty/api/balance/route.js +0 -39
- package/dist/features/loyalty/api/earn/route.d.ts +0 -12
- package/dist/features/loyalty/api/earn/route.js +0 -36
- package/dist/features/loyalty/api/history/route.d.ts +0 -12
- package/dist/features/loyalty/api/history/route.js +0 -56
- package/dist/features/loyalty/api/redeem/route.d.ts +0 -12
- package/dist/features/loyalty/api/redeem/route.js +0 -36
- package/dist/features/loyalty/columns/index.d.ts +0 -17
- package/dist/features/loyalty/columns/index.js +0 -40
- package/dist/features/loyalty/components/CoinsDisplay.d.ts +0 -11
- package/dist/features/loyalty/components/CoinsDisplay.js +0 -9
- package/dist/features/loyalty/components/index.d.ts +0 -1
- package/dist/features/loyalty/components/index.js +0 -1
- package/dist/features/loyalty/hooks/useLoyaltyBalance.d.ts +0 -4
- package/dist/features/loyalty/hooks/useLoyaltyBalance.js +0 -18
- package/dist/features/loyalty/index.d.ts +0 -6
- package/dist/features/loyalty/index.js +0 -6
- package/dist/features/loyalty/manifest.d.ts +0 -2
- package/dist/features/loyalty/manifest.js +0 -16
- package/dist/features/loyalty/messages/en.json +0 -19
- package/dist/features/loyalty/repository/loyalty.repository.d.ts +0 -8
- package/dist/features/loyalty/repository/loyalty.repository.js +0 -22
- package/dist/features/loyalty/schemas/index.d.ts +0 -85
- package/dist/features/loyalty/schemas/index.js +0 -40
- package/dist/features/loyalty/server.d.ts +0 -7
- package/dist/features/loyalty/server.js +0 -7
- package/dist/features/loyalty/types/index.d.ts +0 -31
- package/dist/features/loyalty/types/index.js +0 -1
- package/dist/features/loyalty/types/loyalty-config.d.ts +0 -7
- package/dist/features/loyalty/types/loyalty-config.js +0 -1
- package/dist/features/loyalty/types/loyalty-math.d.ts +0 -9
- package/dist/features/loyalty/types/loyalty-math.js +0 -27
- package/dist/features/media/AvatarUpload.d.ts +0 -22
- package/dist/features/media/AvatarUpload.js +0 -133
- package/dist/features/media/MediaAvatar.d.ts +0 -12
- package/dist/features/media/MediaAvatar.js +0 -13
- package/dist/features/media/MediaImage.d.ts +0 -28
- package/dist/features/media/MediaImage.js +0 -35
- package/dist/features/media/MediaLightbox.d.ts +0 -32
- package/dist/features/media/MediaLightbox.js +0 -245
- package/dist/features/media/MediaVideo.d.ts +0 -22
- package/dist/features/media/MediaVideo.js +0 -38
- package/dist/features/media/components/MediaSlider.d.ts +0 -10
- package/dist/features/media/components/MediaSlider.js +0 -12
- package/dist/features/media/finalize.d.ts +0 -11
- package/dist/features/media/finalize.js +0 -70
- package/dist/features/media/hooks/useMedia.d.ts +0 -198
- package/dist/features/media/hooks/useMedia.js +0 -78
- package/dist/features/media/index.d.ts +0 -30
- package/dist/features/media/index.js +0 -21
- package/dist/features/media/messages/en.json +0 -63
- package/dist/features/media/modals/ImageCropModal.d.ts +0 -16
- package/dist/features/media/modals/ImageCropModal.js +0 -99
- package/dist/features/media/modals/VideoThumbnailSelector.d.ts +0 -10
- package/dist/features/media/modals/VideoThumbnailSelector.js +0 -51
- package/dist/features/media/modals/VideoTrimModal.d.ts +0 -11
- package/dist/features/media/modals/VideoTrimModal.js +0 -73
- package/dist/features/media/server.d.ts +0 -2
- package/dist/features/media/server.js +0 -2
- package/dist/features/media/types/index.d.ts +0 -29
- package/dist/features/media/types/index.js +0 -43
- package/dist/features/media/upload/CameraCapture.d.ts +0 -8
- package/dist/features/media/upload/CameraCapture.js +0 -59
- package/dist/features/media/upload/ImageUpload.d.ts +0 -14
- package/dist/features/media/upload/ImageUpload.js +0 -132
- package/dist/features/media/upload/MediaUploadField.d.ts +0 -31
- package/dist/features/media/upload/MediaUploadField.js +0 -204
- package/dist/features/media/upload/MediaUploadList.d.ts +0 -26
- package/dist/features/media/upload/MediaUploadList.js +0 -104
- package/dist/features/orders/actions/index.d.ts +0 -2
- package/dist/features/orders/actions/index.js +0 -2
- package/dist/features/orders/actions/order-actions.d.ts +0 -16
- package/dist/features/orders/actions/order-actions.js +0 -46
- package/dist/features/orders/actions/refund-actions.d.ts +0 -16
- package/dist/features/orders/actions/refund-actions.js +0 -88
- package/dist/features/orders/api/track/[trackingId]/route.d.ts +0 -17
- package/dist/features/orders/api/track/[trackingId]/route.js +0 -30
- package/dist/features/orders/columns/index.d.ts +0 -15
- package/dist/features/orders/columns/index.js +0 -34
- package/dist/features/orders/components/MarketplaceOrderCard.d.ts +0 -37
- package/dist/features/orders/components/MarketplaceOrderCard.js +0 -52
- package/dist/features/orders/components/OrderFilters.d.ts +0 -82
- package/dist/features/orders/components/OrderFilters.js +0 -106
- package/dist/features/orders/components/OrdersList.d.ts +0 -18
- package/dist/features/orders/components/OrdersList.js +0 -37
- package/dist/features/orders/components/index.d.ts +0 -4
- package/dist/features/orders/components/index.js +0 -3
- package/dist/features/orders/hooks/useOrders.d.ts +0 -32
- package/dist/features/orders/hooks/useOrders.js +0 -57
- package/dist/features/orders/index.d.ts +0 -7
- package/dist/features/orders/index.js +0 -7
- package/dist/features/orders/manifest.d.ts +0 -2
- package/dist/features/orders/manifest.js +0 -18
- package/dist/features/orders/messages/en.json +0 -15
- package/dist/features/orders/repository/orders.repository.d.ts +0 -188
- package/dist/features/orders/repository/orders.repository.js +0 -300
- package/dist/features/orders/schemas/firestore.d.ts +0 -129
- package/dist/features/orders/schemas/firestore.js +0 -96
- package/dist/features/orders/schemas/index.d.ts +0 -217
- package/dist/features/orders/schemas/index.js +0 -76
- package/dist/features/orders/server.d.ts +0 -9
- package/dist/features/orders/server.js +0 -10
- package/dist/features/orders/types/index.d.ts +0 -69
- package/dist/features/orders/types/index.js +0 -2
- package/dist/features/orders/utils/order-splitter.d.ts +0 -14
- package/dist/features/orders/utils/order-splitter.js +0 -29
- package/dist/features/payments/columns/index.d.ts +0 -17
- package/dist/features/payments/columns/index.js +0 -45
- package/dist/features/payments/hooks/usePaymentEvent.d.ts +0 -17
- package/dist/features/payments/hooks/usePaymentEvent.js +0 -26
- package/dist/features/payments/hooks/usePayments.d.ts +0 -10
- package/dist/features/payments/hooks/usePayments.js +0 -19
- package/dist/features/payments/index.d.ts +0 -6
- package/dist/features/payments/index.js +0 -6
- package/dist/features/payments/manifest.d.ts +0 -2
- package/dist/features/payments/manifest.js +0 -12
- package/dist/features/payments/messages/en.json +0 -11
- package/dist/features/payments/repository/payments.repository.d.ts +0 -15
- package/dist/features/payments/repository/payments.repository.js +0 -36
- package/dist/features/payments/repository/payout.repository.d.ts +0 -111
- package/dist/features/payments/repository/payout.repository.js +0 -202
- package/dist/features/payments/schemas/firestore.d.ts +0 -74
- package/dist/features/payments/schemas/firestore.js +0 -65
- package/dist/features/payments/schemas/index.d.ts +0 -77
- package/dist/features/payments/schemas/index.js +0 -67
- package/dist/features/payments/server.d.ts +0 -8
- package/dist/features/payments/server.js +0 -8
- package/dist/features/payments/types/index.d.ts +0 -36
- package/dist/features/payments/types/index.js +0 -2
- package/dist/features/pre-orders/api/[id]/route.d.ts +0 -26
- package/dist/features/pre-orders/api/[id]/route.js +0 -88
- package/dist/features/pre-orders/api/[slug]/route.d.ts +0 -16
- package/dist/features/pre-orders/api/[slug]/route.js +0 -41
- package/dist/features/pre-orders/api/admin/[id]/route.d.ts +0 -21
- package/dist/features/pre-orders/api/admin/[id]/route.js +0 -65
- package/dist/features/pre-orders/api/admin/route.d.ts +0 -12
- package/dist/features/pre-orders/api/admin/route.js +0 -56
- package/dist/features/pre-orders/api/route.d.ts +0 -13
- package/dist/features/pre-orders/api/route.js +0 -77
- package/dist/features/pre-orders/columns/index.d.ts +0 -17
- package/dist/features/pre-orders/columns/index.js +0 -68
- package/dist/features/pre-orders/components/MarketplacePreorderCard.d.ts +0 -24
- package/dist/features/pre-orders/components/MarketplacePreorderCard.js +0 -53
- package/dist/features/pre-orders/components/PreOrderBadge.d.ts +0 -14
- package/dist/features/pre-orders/components/PreOrderBadge.js +0 -17
- package/dist/features/pre-orders/components/PreorderCard.d.ts +0 -12
- package/dist/features/pre-orders/components/PreorderCard.js +0 -27
- package/dist/features/pre-orders/components/index.d.ts +0 -2
- package/dist/features/pre-orders/components/index.js +0 -2
- package/dist/features/pre-orders/hooks/usePreOrders.d.ts +0 -7
- package/dist/features/pre-orders/hooks/usePreOrders.js +0 -34
- package/dist/features/pre-orders/index.d.ts +0 -6
- package/dist/features/pre-orders/index.js +0 -6
- package/dist/features/pre-orders/manifest.d.ts +0 -2
- package/dist/features/pre-orders/manifest.js +0 -17
- package/dist/features/pre-orders/messages/en.json +0 -13
- package/dist/features/pre-orders/repository/pre-orders.repository.d.ts +0 -14
- package/dist/features/pre-orders/repository/pre-orders.repository.js +0 -44
- package/dist/features/pre-orders/repository/preorders.repository.d.ts +0 -8
- package/dist/features/pre-orders/repository/preorders.repository.js +0 -21
- package/dist/features/pre-orders/schemas/index.d.ts +0 -79
- package/dist/features/pre-orders/schemas/index.js +0 -27
- package/dist/features/pre-orders/server.d.ts +0 -8
- package/dist/features/pre-orders/server.js +0 -8
- package/dist/features/pre-orders/types/index.d.ts +0 -29
- package/dist/features/pre-orders/types/index.js +0 -12
- package/dist/features/products/actions/index.d.ts +0 -1
- package/dist/features/products/actions/index.js +0 -1
- package/dist/features/products/actions/product-actions.d.ts +0 -26
- package/dist/features/products/actions/product-actions.js +0 -111
- package/dist/features/products/api/[id]/route.d.ts +0 -29
- package/dist/features/products/api/[id]/route.js +0 -137
- package/dist/features/products/api/route.d.ts +0 -19
- package/dist/features/products/api/route.js +0 -214
- package/dist/features/products/columns/index.d.ts +0 -64
- package/dist/features/products/columns/index.js +0 -85
- package/dist/features/products/columns/productTableColumns.d.ts +0 -27
- package/dist/features/products/columns/productTableColumns.js +0 -88
- package/dist/features/products/components/AuctionDetailView.d.ts +0 -13
- package/dist/features/products/components/AuctionDetailView.js +0 -9
- package/dist/features/products/components/AuctionsView.d.ts +0 -6
- package/dist/features/products/components/AuctionsView.js +0 -5
- package/dist/features/products/components/BidHistory.d.ts +0 -28
- package/dist/features/products/components/BidHistory.js +0 -18
- package/dist/features/products/components/BuyBar.d.ts +0 -21
- package/dist/features/products/components/BuyBar.js +0 -20
- package/dist/features/products/components/InteractiveProductCard.d.ts +0 -19
- package/dist/features/products/components/InteractiveProductCard.js +0 -18
- package/dist/features/products/components/MakeOfferForm.d.ts +0 -20
- package/dist/features/products/components/MakeOfferForm.js +0 -8
- package/dist/features/products/components/PlaceBidForm.d.ts +0 -20
- package/dist/features/products/components/PlaceBidForm.js +0 -6
- package/dist/features/products/components/PreOrderDetailView.d.ts +0 -14
- package/dist/features/products/components/PreOrderDetailView.js +0 -9
- package/dist/features/products/components/PreOrdersView.d.ts +0 -6
- package/dist/features/products/components/PreOrdersView.js +0 -5
- package/dist/features/products/components/ProductDetailView.d.ts +0 -11
- package/dist/features/products/components/ProductDetailView.js +0 -9
- package/dist/features/products/components/ProductFeatureBadges.d.ts +0 -32
- package/dist/features/products/components/ProductFeatureBadges.js +0 -103
- package/dist/features/products/components/ProductFilters.d.ts +0 -90
- package/dist/features/products/components/ProductFilters.js +0 -105
- package/dist/features/products/components/ProductForm.d.ts +0 -47
- package/dist/features/products/components/ProductForm.js +0 -120
- package/dist/features/products/components/ProductGrid.d.ts +0 -69
- package/dist/features/products/components/ProductGrid.js +0 -92
- package/dist/features/products/components/ProductInfo.d.ts +0 -20
- package/dist/features/products/components/ProductInfo.js +0 -4
- package/dist/features/products/components/ProductTabs.d.ts +0 -21
- package/dist/features/products/components/ProductTabs.js +0 -22
- package/dist/features/products/components/ProductsView.d.ts +0 -6
- package/dist/features/products/components/ProductsView.js +0 -5
- package/dist/features/products/components/RelatedProducts.d.ts +0 -16
- package/dist/features/products/components/RelatedProducts.js +0 -12
- package/dist/features/products/components/index.d.ts +0 -34
- package/dist/features/products/components/index.js +0 -18
- package/dist/features/products/hooks/useBrands.d.ts +0 -9
- package/dist/features/products/hooks/useBrands.js +0 -15
- package/dist/features/products/hooks/useProductDetail.d.ts +0 -15
- package/dist/features/products/hooks/useProductDetail.js +0 -29
- package/dist/features/products/hooks/useProducts.d.ts +0 -43
- package/dist/features/products/hooks/useProducts.js +0 -67
- package/dist/features/products/hooks/useRelatedProducts.d.ts +0 -2
- package/dist/features/products/hooks/useRelatedProducts.js +0 -17
- package/dist/features/products/index.d.ts +0 -10
- package/dist/features/products/index.js +0 -10
- package/dist/features/products/manifest.d.ts +0 -2
- package/dist/features/products/manifest.js +0 -16
- package/dist/features/products/messages/en.json +0 -11
- package/dist/features/products/repository/products.repository.d.ts +0 -213
- package/dist/features/products/repository/products.repository.js +0 -300
- package/dist/features/products/schemas/firestore.d.ts +0 -125
- package/dist/features/products/schemas/firestore.js +0 -149
- package/dist/features/products/schemas/index.d.ts +0 -400
- package/dist/features/products/schemas/index.js +0 -173
- package/dist/features/products/server.d.ts +0 -10
- package/dist/features/products/server.js +0 -10
- package/dist/features/products/types/index.d.ts +0 -122
- package/dist/features/products/types/index.js +0 -1
- package/dist/features/products/utils/listing-type.d.ts +0 -2
- package/dist/features/products/utils/listing-type.js +0 -9
- package/dist/features/promotions/actions/coupon-actions.d.ts +0 -28
- package/dist/features/promotions/actions/coupon-actions.js +0 -23
- package/dist/features/promotions/actions/index.d.ts +0 -3
- package/dist/features/promotions/actions/index.js +0 -3
- package/dist/features/promotions/actions/promotions-actions.d.ts +0 -18
- package/dist/features/promotions/actions/promotions-actions.js +0 -37
- package/dist/features/promotions/actions/seller-coupon-actions.d.ts +0 -41
- package/dist/features/promotions/actions/seller-coupon-actions.js +0 -92
- package/dist/features/promotions/api/route.d.ts +0 -21
- package/dist/features/promotions/api/route.js +0 -85
- package/dist/features/promotions/columns/index.d.ts +0 -12
- package/dist/features/promotions/columns/index.js +0 -45
- package/dist/features/promotions/components/CouponCard.d.ts +0 -16
- package/dist/features/promotions/components/CouponCard.js +0 -20
- package/dist/features/promotions/components/PromotionsView.d.ts +0 -43
- package/dist/features/promotions/components/PromotionsView.js +0 -10
- package/dist/features/promotions/components/index.d.ts +0 -3
- package/dist/features/promotions/components/index.js +0 -2
- package/dist/features/promotions/hooks/useCouponValidate.d.ts +0 -22
- package/dist/features/promotions/hooks/useCouponValidate.js +0 -10
- package/dist/features/promotions/hooks/usePromotions.d.ts +0 -21
- package/dist/features/promotions/hooks/usePromotions.js +0 -49
- package/dist/features/promotions/index.d.ts +0 -7
- package/dist/features/promotions/index.js +0 -7
- package/dist/features/promotions/manifest.d.ts +0 -2
- package/dist/features/promotions/manifest.js +0 -14
- package/dist/features/promotions/messages/en.json +0 -20
- package/dist/features/promotions/repository/coupons.repository.d.ts +0 -224
- package/dist/features/promotions/repository/coupons.repository.js +0 -539
- package/dist/features/promotions/repository/promotions.repository.d.ts +0 -14
- package/dist/features/promotions/repository/promotions.repository.js +0 -43
- package/dist/features/promotions/schemas/firestore.d.ts +0 -105
- package/dist/features/promotions/schemas/firestore.js +0 -124
- package/dist/features/promotions/schemas/index.d.ts +0 -117
- package/dist/features/promotions/schemas/index.js +0 -58
- package/dist/features/promotions/server.d.ts +0 -10
- package/dist/features/promotions/server.js +0 -10
- package/dist/features/promotions/types/index.d.ts +0 -51
- package/dist/features/promotions/types/index.js +0 -2
- package/dist/features/reviews/actions/index.d.ts +0 -1
- package/dist/features/reviews/actions/index.js +0 -1
- package/dist/features/reviews/actions/review-actions.d.ts +0 -40
- package/dist/features/reviews/actions/review-actions.js +0 -182
- package/dist/features/reviews/api/[id]/route.d.ts +0 -23
- package/dist/features/reviews/api/[id]/route.js +0 -109
- package/dist/features/reviews/api/route.d.ts +0 -21
- package/dist/features/reviews/api/route.js +0 -171
- package/dist/features/reviews/columns/index.d.ts +0 -15
- package/dist/features/reviews/columns/index.js +0 -44
- package/dist/features/reviews/components/ReviewFilters.d.ts +0 -74
- package/dist/features/reviews/components/ReviewFilters.js +0 -60
- package/dist/features/reviews/components/ReviewModal.d.ts +0 -11
- package/dist/features/reviews/components/ReviewModal.js +0 -25
- package/dist/features/reviews/components/ReviewSummary.d.ts +0 -16
- package/dist/features/reviews/components/ReviewSummary.js +0 -20
- package/dist/features/reviews/components/ReviewsList.d.ts +0 -15
- package/dist/features/reviews/components/ReviewsList.js +0 -25
- package/dist/features/reviews/components/ReviewsListView.d.ts +0 -31
- package/dist/features/reviews/components/ReviewsListView.js +0 -16
- package/dist/features/reviews/components/index.d.ts +0 -10
- package/dist/features/reviews/components/index.js +0 -5
- package/dist/features/reviews/hooks/useCreateReview.d.ts +0 -12
- package/dist/features/reviews/hooks/useCreateReview.js +0 -20
- package/dist/features/reviews/hooks/useReviews.d.ts +0 -34
- package/dist/features/reviews/hooks/useReviews.js +0 -49
- package/dist/features/reviews/index.d.ts +0 -7
- package/dist/features/reviews/index.js +0 -7
- package/dist/features/reviews/manifest.d.ts +0 -2
- package/dist/features/reviews/manifest.js +0 -10
- package/dist/features/reviews/messages/en.json +0 -10
- package/dist/features/reviews/repository/reviews.repository.d.ts +0 -103
- package/dist/features/reviews/repository/reviews.repository.js +0 -214
- package/dist/features/reviews/schemas/firestore.d.ts +0 -67
- package/dist/features/reviews/schemas/firestore.js +0 -59
- package/dist/features/reviews/schemas/index.d.ts +0 -183
- package/dist/features/reviews/schemas/index.js +0 -68
- package/dist/features/reviews/server.d.ts +0 -10
- package/dist/features/reviews/server.js +0 -10
- package/dist/features/reviews/types/index.d.ts +0 -62
- package/dist/features/reviews/types/index.js +0 -1
- 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 -79
- package/dist/features/search/columns/index.d.ts +0 -17
- package/dist/features/search/columns/index.js +0 -49
- package/dist/features/search/components/Search.d.ts +0 -41
- package/dist/features/search/components/Search.js +0 -263
- 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 -36
- package/dist/features/search/components/SearchView.d.ts +0 -29
- package/dist/features/search/components/SearchView.js +0 -8
- package/dist/features/search/components/index.d.ts +0 -8
- package/dist/features/search/components/index.js +0 -4
- package/dist/features/search/hooks/useNavSuggestions.d.ts +0 -11
- package/dist/features/search/hooks/useNavSuggestions.js +0 -32
- package/dist/features/search/hooks/useSearch.d.ts +0 -21
- package/dist/features/search/hooks/useSearch.js +0 -34
- package/dist/features/search/index.d.ts +0 -7
- package/dist/features/search/index.js +0 -7
- package/dist/features/search/manifest.d.ts +0 -2
- package/dist/features/search/manifest.js +0 -10
- package/dist/features/search/messages/en.json +0 -15
- 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 -34
- package/dist/features/search/server.d.ts +0 -5
- package/dist/features/search/server.js +0 -5
- package/dist/features/search/types/index.d.ts +0 -46
- package/dist/features/search/types/index.js +0 -2
- package/dist/features/seller/actions/index.d.ts +0 -2
- package/dist/features/seller/actions/index.js +0 -2
- package/dist/features/seller/actions/offer-actions.d.ts +0 -32
- package/dist/features/seller/actions/offer-actions.js +0 -266
- package/dist/features/seller/actions/seller-actions.d.ts +0 -172
- package/dist/features/seller/actions/seller-actions.js +0 -480
- package/dist/features/seller/api/coupons/route.d.ts +0 -17
- package/dist/features/seller/api/coupons/route.js +0 -47
- package/dist/features/seller/api/offers/route.d.ts +0 -17
- package/dist/features/seller/api/offers/route.js +0 -63
- package/dist/features/seller/api/products/route.d.ts +0 -17
- package/dist/features/seller/api/products/route.js +0 -64
- package/dist/features/seller/api/store/route.d.ts +0 -17
- package/dist/features/seller/api/store/route.js +0 -34
- package/dist/features/seller/columns/index.d.ts +0 -22
- package/dist/features/seller/columns/index.js +0 -73
- package/dist/features/seller/components/SellerAddressesView.d.ts +0 -13
- package/dist/features/seller/components/SellerAddressesView.js +0 -5
- package/dist/features/seller/components/SellerAnalyticsView.d.ts +0 -13
- package/dist/features/seller/components/SellerAnalyticsView.js +0 -17
- package/dist/features/seller/components/SellerAuctionsView.d.ts +0 -6
- package/dist/features/seller/components/SellerAuctionsView.js +0 -5
- package/dist/features/seller/components/SellerCouponsView.d.ts +0 -6
- package/dist/features/seller/components/SellerCouponsView.js +0 -5
- package/dist/features/seller/components/SellerCreateProductView.d.ts +0 -11
- package/dist/features/seller/components/SellerCreateProductView.js +0 -5
- package/dist/features/seller/components/SellerDashboardView.d.ts +0 -14
- package/dist/features/seller/components/SellerDashboardView.js +0 -11
- package/dist/features/seller/components/SellerEditProductView.d.ts +0 -11
- package/dist/features/seller/components/SellerEditProductView.js +0 -5
- package/dist/features/seller/components/SellerGuideView.d.ts +0 -12
- package/dist/features/seller/components/SellerGuideView.js +0 -5
- package/dist/features/seller/components/SellerOffersView.d.ts +0 -4
- package/dist/features/seller/components/SellerOffersView.js +0 -5
- package/dist/features/seller/components/SellerOrdersView.d.ts +0 -4
- package/dist/features/seller/components/SellerOrdersView.js +0 -5
- package/dist/features/seller/components/SellerPayoutHistoryTable.d.ts +0 -14
- package/dist/features/seller/components/SellerPayoutHistoryTable.js +0 -10
- package/dist/features/seller/components/SellerPayoutSettingsView.d.ts +0 -11
- package/dist/features/seller/components/SellerPayoutSettingsView.js +0 -5
- package/dist/features/seller/components/SellerPayoutStats.d.ts +0 -8
- package/dist/features/seller/components/SellerPayoutStats.js +0 -9
- package/dist/features/seller/components/SellerPayoutsView.d.ts +0 -18
- package/dist/features/seller/components/SellerPayoutsView.js +0 -11
- package/dist/features/seller/components/SellerProductsView.d.ts +0 -6
- package/dist/features/seller/components/SellerProductsView.js +0 -5
- package/dist/features/seller/components/SellerShippingView.d.ts +0 -12
- package/dist/features/seller/components/SellerShippingView.js +0 -5
- package/dist/features/seller/components/SellerSidebar.d.ts +0 -16
- package/dist/features/seller/components/SellerSidebar.js +0 -11
- package/dist/features/seller/components/SellerStatCard.d.ts +0 -14
- package/dist/features/seller/components/SellerStatCard.js +0 -5
- package/dist/features/seller/components/SellerStoreSetupView.d.ts +0 -12
- package/dist/features/seller/components/SellerStoreSetupView.js +0 -8
- package/dist/features/seller/components/SellerStoreView.d.ts +0 -8
- package/dist/features/seller/components/SellerStoreView.js +0 -8
- package/dist/features/seller/components/SellerStorefrontView.d.ts +0 -13
- package/dist/features/seller/components/SellerStorefrontView.js +0 -10
- package/dist/features/seller/components/SellersListView.d.ts +0 -4
- package/dist/features/seller/components/SellersListView.js +0 -5
- package/dist/features/seller/components/analytics/SellerAnalyticsStats.d.ts +0 -14
- package/dist/features/seller/components/analytics/SellerAnalyticsStats.js +0 -9
- package/dist/features/seller/components/analytics/SellerRevenueChart.d.ts +0 -13
- package/dist/features/seller/components/analytics/SellerRevenueChart.js +0 -28
- package/dist/features/seller/components/analytics/SellerTopProducts.d.ts +0 -17
- package/dist/features/seller/components/analytics/SellerTopProducts.js +0 -6
- package/dist/features/seller/components/analytics/index.d.ts +0 -3
- package/dist/features/seller/components/analytics/index.js +0 -3
- package/dist/features/seller/components/index.d.ts +0 -44
- package/dist/features/seller/components/index.js +0 -23
- package/dist/features/seller/hooks/useBecomeSeller.d.ts +0 -12
- package/dist/features/seller/hooks/useBecomeSeller.js +0 -26
- package/dist/features/seller/hooks/useSellerPayouts.d.ts +0 -25
- package/dist/features/seller/hooks/useSellerPayouts.js +0 -42
- package/dist/features/seller/hooks/useSellerStore.d.ts +0 -28
- package/dist/features/seller/hooks/useSellerStore.js +0 -48
- package/dist/features/seller/hooks/useSellerStorefront.d.ts +0 -16
- package/dist/features/seller/hooks/useSellerStorefront.js +0 -57
- package/dist/features/seller/index.d.ts +0 -10
- package/dist/features/seller/index.js +0 -10
- package/dist/features/seller/manifest.d.ts +0 -2
- package/dist/features/seller/manifest.js +0 -74
- package/dist/features/seller/messages/en.json +0 -32
- package/dist/features/seller/permission-map.d.ts +0 -3
- package/dist/features/seller/permission-map.js +0 -15
- package/dist/features/seller/repository/offer.repository.d.ts +0 -66
- package/dist/features/seller/repository/offer.repository.js +0 -210
- package/dist/features/seller/repository/seller.repository.d.ts +0 -22
- package/dist/features/seller/repository/seller.repository.js +0 -72
- package/dist/features/seller/schemas/firestore.d.ts +0 -76
- package/dist/features/seller/schemas/firestore.js +0 -57
- package/dist/features/seller/schemas/index.d.ts +0 -244
- package/dist/features/seller/schemas/index.js +0 -100
- package/dist/features/seller/server.d.ts +0 -13
- package/dist/features/seller/server.js +0 -13
- package/dist/features/seller/types/index.d.ts +0 -147
- package/dist/features/seller/types/index.js +0 -2
- package/dist/features/stores/actions/index.d.ts +0 -2
- package/dist/features/stores/actions/index.js +0 -2
- package/dist/features/stores/actions/store-address-actions.d.ts +0 -11
- package/dist/features/stores/actions/store-address-actions.js +0 -54
- package/dist/features/stores/actions/store-query-actions.d.ts +0 -34
- package/dist/features/stores/actions/store-query-actions.js +0 -113
- package/dist/features/stores/api/[storeSlug]/auctions/route.d.ts +0 -23
- package/dist/features/stores/api/[storeSlug]/auctions/route.js +0 -92
- package/dist/features/stores/api/[storeSlug]/products/route.d.ts +0 -23
- package/dist/features/stores/api/[storeSlug]/products/route.js +0 -97
- package/dist/features/stores/api/[storeSlug]/reviews/route.d.ts +0 -23
- package/dist/features/stores/api/[storeSlug]/reviews/route.js +0 -101
- package/dist/features/stores/api/[storeSlug]/route.d.ts +0 -21
- package/dist/features/stores/api/[storeSlug]/route.js +0 -66
- package/dist/features/stores/api/route.d.ts +0 -12
- package/dist/features/stores/api/route.js +0 -101
- package/dist/features/stores/columns/index.d.ts +0 -16
- package/dist/features/stores/columns/index.js +0 -45
- package/dist/features/stores/components/InteractiveStoreCard.d.ts +0 -20
- package/dist/features/stores/components/InteractiveStoreCard.js +0 -16
- package/dist/features/stores/components/StoreAboutView.d.ts +0 -21
- package/dist/features/stores/components/StoreAboutView.js +0 -12
- package/dist/features/stores/components/StoreAddressSelectorCreate.d.ts +0 -16
- package/dist/features/stores/components/StoreAddressSelectorCreate.js +0 -40
- package/dist/features/stores/components/StoreAuctionsView.d.ts +0 -17
- package/dist/features/stores/components/StoreAuctionsView.js +0 -5
- package/dist/features/stores/components/StoreHeader.d.ts +0 -15
- package/dist/features/stores/components/StoreHeader.js +0 -8
- package/dist/features/stores/components/StoreNavTabs.d.ts +0 -15
- package/dist/features/stores/components/StoreNavTabs.js +0 -14
- package/dist/features/stores/components/StoreProductsView.d.ts +0 -30
- package/dist/features/stores/components/StoreProductsView.js +0 -11
- package/dist/features/stores/components/StoreReviewsView.d.ts +0 -17
- package/dist/features/stores/components/StoreReviewsView.js +0 -9
- package/dist/features/stores/components/StoresListView.d.ts +0 -19
- package/dist/features/stores/components/StoresListView.js +0 -24
- package/dist/features/stores/components/index.d.ts +0 -16
- package/dist/features/stores/components/index.js +0 -9
- package/dist/features/stores/hooks/useStoreAddressSelector.d.ts +0 -23
- package/dist/features/stores/hooks/useStoreAddressSelector.js +0 -30
- package/dist/features/stores/hooks/useStores.d.ts +0 -58
- package/dist/features/stores/hooks/useStores.js +0 -96
- package/dist/features/stores/index.d.ts +0 -7
- package/dist/features/stores/index.js +0 -7
- package/dist/features/stores/manifest.d.ts +0 -2
- package/dist/features/stores/manifest.js +0 -35
- package/dist/features/stores/messages/en.json +0 -21
- package/dist/features/stores/repository/store-address.repository.d.ts +0 -55
- package/dist/features/stores/repository/store-address.repository.js +0 -188
- package/dist/features/stores/repository/store.repository.d.ts +0 -67
- package/dist/features/stores/repository/store.repository.js +0 -181
- package/dist/features/stores/repository/stores.repository.d.ts +0 -11
- package/dist/features/stores/repository/stores.repository.js +0 -34
- package/dist/features/stores/schemas/firestore.d.ts +0 -117
- package/dist/features/stores/schemas/firestore.js +0 -109
- package/dist/features/stores/schemas/index.d.ts +0 -85
- package/dist/features/stores/schemas/index.js +0 -48
- package/dist/features/stores/server.d.ts +0 -15
- package/dist/features/stores/server.js +0 -15
- package/dist/features/stores/types/index.d.ts +0 -102
- package/dist/features/stores/types/index.js +0 -2
- package/dist/features/whatsapp-bot/api/send-status/route.d.ts +0 -12
- package/dist/features/whatsapp-bot/api/send-status/route.js +0 -36
- package/dist/features/whatsapp-bot/api/webhook/route.d.ts +0 -12
- package/dist/features/whatsapp-bot/api/webhook/route.js +0 -41
- package/dist/features/whatsapp-bot/components/WhatsAppChatButton.d.ts +0 -8
- package/dist/features/whatsapp-bot/components/WhatsAppChatButton.js +0 -7
- package/dist/features/whatsapp-bot/components/index.d.ts +0 -1
- package/dist/features/whatsapp-bot/components/index.js +0 -1
- package/dist/features/whatsapp-bot/helpers/whatsapp.d.ts +0 -21
- package/dist/features/whatsapp-bot/helpers/whatsapp.js +0 -125
- package/dist/features/whatsapp-bot/index.d.ts +0 -3
- package/dist/features/whatsapp-bot/index.js +0 -3
- package/dist/features/whatsapp-bot/manifest.d.ts +0 -2
- package/dist/features/whatsapp-bot/manifest.js +0 -13
- package/dist/features/whatsapp-bot/messages/en.json +0 -7
- package/dist/features/whatsapp-bot/server.d.ts +0 -7
- package/dist/features/whatsapp-bot/server.js +0 -7
- package/dist/features/whatsapp-bot/types/index.d.ts +0 -50
- package/dist/features/whatsapp-bot/types/index.js +0 -1
- package/dist/features/wishlist/actions/index.d.ts +0 -1
- package/dist/features/wishlist/actions/index.js +0 -1
- package/dist/features/wishlist/actions/wishlist-actions.d.ts +0 -20
- package/dist/features/wishlist/actions/wishlist-actions.js +0 -29
- package/dist/features/wishlist/columns/index.d.ts +0 -17
- package/dist/features/wishlist/columns/index.js +0 -42
- package/dist/features/wishlist/components/WishlistPage.d.ts +0 -16
- package/dist/features/wishlist/components/WishlistPage.js +0 -17
- package/dist/features/wishlist/components/WishlistToggleButton.d.ts +0 -12
- package/dist/features/wishlist/components/WishlistToggleButton.js +0 -21
- package/dist/features/wishlist/components/WishlistView.d.ts +0 -33
- package/dist/features/wishlist/components/WishlistView.js +0 -41
- package/dist/features/wishlist/components/index.d.ts +0 -4
- package/dist/features/wishlist/components/index.js +0 -3
- package/dist/features/wishlist/hooks/useUserWishlist.d.ts +0 -187
- package/dist/features/wishlist/hooks/useUserWishlist.js +0 -17
- package/dist/features/wishlist/hooks/useWishlist.d.ts +0 -16
- package/dist/features/wishlist/hooks/useWishlist.js +0 -23
- package/dist/features/wishlist/hooks/useWishlistToggle.d.ts +0 -10
- package/dist/features/wishlist/hooks/useWishlistToggle.js +0 -32
- package/dist/features/wishlist/index.d.ts +0 -9
- package/dist/features/wishlist/index.js +0 -8
- package/dist/features/wishlist/manifest.d.ts +0 -2
- package/dist/features/wishlist/manifest.js +0 -12
- package/dist/features/wishlist/messages/en.json +0 -7
- package/dist/features/wishlist/repository/user-wishlist.repository.d.ts +0 -14
- package/dist/features/wishlist/repository/user-wishlist.repository.js +0 -91
- package/dist/features/wishlist/repository/wishlist.repository.d.ts +0 -13
- package/dist/features/wishlist/repository/wishlist.repository.js +0 -31
- package/dist/features/wishlist/schemas/index.d.ts +0 -46
- package/dist/features/wishlist/schemas/index.js +0 -24
- package/dist/features/wishlist/server.d.ts +0 -9
- package/dist/features/wishlist/server.js +0 -9
- package/dist/features/wishlist/types/index.d.ts +0 -16
- package/dist/features/wishlist/types/index.js +0 -1
- package/dist/http/ApiClient.d.ts +0 -59
- package/dist/http/ApiClient.js +0 -149
- package/dist/http/api-handler.d.ts +0 -33
- package/dist/http/api-handler.js +0 -89
- package/dist/http/index.d.ts +0 -9
- package/dist/http/index.js +0 -8
- package/dist/instrumentation/index.d.ts +0 -64
- package/dist/instrumentation/index.js +0 -55
- package/dist/monitoring/analytics.d.ts +0 -79
- package/dist/monitoring/analytics.js +0 -171
- package/dist/monitoring/browser.d.ts +0 -10
- package/dist/monitoring/browser.js +0 -6
- package/dist/monitoring/cache-metrics.d.ts +0 -24
- package/dist/monitoring/cache-metrics.js +0 -83
- package/dist/monitoring/client-logger.d.ts +0 -29
- package/dist/monitoring/client-logger.js +0 -127
- package/dist/monitoring/error-tracking.d.ts +0 -50
- package/dist/monitoring/error-tracking.js +0 -54
- package/dist/monitoring/index.d.ts +0 -12
- package/dist/monitoring/index.js +0 -7
- package/dist/monitoring/performance.d.ts +0 -31
- package/dist/monitoring/performance.js +0 -34
- package/dist/monitoring/runtime.d.ts +0 -17
- package/dist/monitoring/runtime.js +0 -28
- package/dist/monitoring/server-logger.d.ts +0 -37
- package/dist/monitoring/server-logger.js +0 -289
- package/dist/next/ErrorBoundary.d.ts +0 -19
- package/dist/next/ErrorBoundary.js +0 -35
- package/dist/next/IAuthVerifier.d.ts +0 -54
- package/dist/next/IAuthVerifier.js +0 -23
- package/dist/next/api/api-response.d.ts +0 -29
- package/dist/next/api/api-response.js +0 -31
- package/dist/next/api/apiHandler.d.ts +0 -48
- package/dist/next/api/apiHandler.js +0 -87
- package/dist/next/api/errorHandler.d.ts +0 -57
- package/dist/next/api/errorHandler.js +0 -72
- package/dist/next/api/routeHandler.d.ts +0 -60
- package/dist/next/api/routeHandler.js +0 -113
- package/dist/next/cache-middleware.d.ts +0 -35
- package/dist/next/cache-middleware.js +0 -77
- package/dist/next/components/ErrorView.d.ts +0 -13
- package/dist/next/components/ErrorView.js +0 -32
- package/dist/next/components/GlobalError.d.ts +0 -7
- package/dist/next/components/GlobalError.js +0 -43
- package/dist/next/components/NotFoundView.d.ts +0 -28
- package/dist/next/components/NotFoundView.js +0 -25
- package/dist/next/components/UnauthorizedView.d.ts +0 -28
- package/dist/next/components/UnauthorizedView.js +0 -22
- package/dist/next/index.d.ts +0 -35
- package/dist/next/index.js +0 -30
- package/dist/next/middleware/chain.d.ts +0 -47
- package/dist/next/middleware/chain.js +0 -80
- package/dist/next/middleware/index.d.ts +0 -6
- package/dist/next/middleware/index.js +0 -3
- package/dist/next/middleware/pii-redactor.d.ts +0 -32
- package/dist/next/middleware/pii-redactor.js +0 -82
- package/dist/next/middleware/pii-scrubber.d.ts +0 -11
- package/dist/next/middleware/pii-scrubber.js +0 -43
- package/dist/next/middleware/types.d.ts +0 -18
- package/dist/next/middleware/types.js +0 -1
- package/dist/next/request-helpers.d.ts +0 -25
- package/dist/next/request-helpers.js +0 -52
- package/dist/next/routing/route-map.d.ts +0 -272
- package/dist/next/routing/route-map.js +0 -202
- package/dist/providers/auth-firebase/browser-stub.d.ts +0 -24
- package/dist/providers/auth-firebase/browser-stub.js +0 -28
- package/dist/providers/auth-firebase/helpers.d.ts +0 -83
- package/dist/providers/auth-firebase/helpers.js +0 -205
- package/dist/providers/auth-firebase/index.d.ts +0 -11
- package/dist/providers/auth-firebase/index.js +0 -16
- package/dist/providers/auth-firebase/provider.d.ts +0 -8
- package/dist/providers/auth-firebase/provider.js +0 -118
- package/dist/providers/auth-firebase/session.d.ts +0 -19
- package/dist/providers/auth-firebase/session.js +0 -86
- package/dist/providers/db-firebase/admin-app-lite.d.ts +0 -6
- package/dist/providers/db-firebase/admin-app-lite.js +0 -50
- package/dist/providers/db-firebase/admin-auth-lite.d.ts +0 -5
- package/dist/providers/db-firebase/admin-auth-lite.js +0 -10
- package/dist/providers/db-firebase/admin-storage-lite.d.ts +0 -6
- package/dist/providers/db-firebase/admin-storage-lite.js +0 -11
- package/dist/providers/db-firebase/admin.d.ts +0 -29
- package/dist/providers/db-firebase/admin.js +0 -163
- package/dist/providers/db-firebase/base.d.ts +0 -44
- package/dist/providers/db-firebase/base.js +0 -180
- package/dist/providers/db-firebase/base.repository.d.ts +0 -34
- package/dist/providers/db-firebase/base.repository.js +0 -235
- package/dist/providers/db-firebase/browser-stub.d.ts +0 -37
- package/dist/providers/db-firebase/browser-stub.js +0 -56
- package/dist/providers/db-firebase/client-config.d.ts +0 -22
- package/dist/providers/db-firebase/client-config.js +0 -30
- package/dist/providers/db-firebase/field-ops.d.ts +0 -7
- package/dist/providers/db-firebase/field-ops.js +0 -13
- package/dist/providers/db-firebase/helpers.d.ts +0 -23
- package/dist/providers/db-firebase/helpers.js +0 -67
- package/dist/providers/db-firebase/index.d.ts +0 -31
- package/dist/providers/db-firebase/index.js +0 -42
- package/dist/providers/db-firebase/realtime.d.ts +0 -43
- package/dist/providers/db-firebase/realtime.js +0 -122
- package/dist/providers/db-firebase/rtdb-paths.d.ts +0 -12
- package/dist/providers/db-firebase/rtdb-paths.js +0 -12
- package/dist/providers/db-firebase/sieve.d.ts +0 -76
- package/dist/providers/db-firebase/sieve.js +0 -83
- package/dist/providers/email-resend/index.d.ts +0 -15
- package/dist/providers/email-resend/index.js +0 -14
- package/dist/providers/email-resend/provider.d.ts +0 -43
- package/dist/providers/email-resend/provider.js +0 -75
- package/dist/providers/firebase-client/auth.d.ts +0 -12
- package/dist/providers/firebase-client/auth.js +0 -30
- package/dist/providers/firebase-client/index.d.ts +0 -9
- package/dist/providers/firebase-client/index.js +0 -9
- package/dist/providers/firebase-client/realtime.d.ts +0 -18
- package/dist/providers/firebase-client/realtime.js +0 -39
- package/dist/providers/payment-razorpay/index.d.ts +0 -93
- package/dist/providers/payment-razorpay/index.js +0 -206
- package/dist/providers/shipping-shiprocket/index.d.ts +0 -272
- package/dist/providers/shipping-shiprocket/index.js +0 -148
- package/dist/providers/shipping-shiprocket/shiprocket-provider.d.ts +0 -46
- package/dist/providers/shipping-shiprocket/shiprocket-provider.js +0 -152
- package/dist/providers/storage-firebase/client.d.ts +0 -56
- package/dist/providers/storage-firebase/client.js +0 -141
- package/dist/providers/storage-firebase/index.d.ts +0 -16
- package/dist/providers/storage-firebase/index.js +0 -16
- package/dist/providers/storage-firebase/provider.d.ts +0 -23
- package/dist/providers/storage-firebase/provider.js +0 -103
- package/dist/react/ErrorBoundary.d.ts +0 -31
- package/dist/react/ErrorBoundary.js +0 -68
- package/dist/react/contexts/SessionContext.d.ts +0 -80
- package/dist/react/contexts/SessionContext.js +0 -350
- package/dist/react/contexts/ThemeContext.d.ts +0 -14
- package/dist/react/contexts/ThemeContext.js +0 -65
- package/dist/react/contexts/index.d.ts +0 -4
- package/dist/react/contexts/index.js +0 -2
- package/dist/react/hooks/useBreakpoint.d.ts +0 -29
- package/dist/react/hooks/useBreakpoint.js +0 -37
- package/dist/react/hooks/useBulkAction.d.ts +0 -65
- package/dist/react/hooks/useBulkAction.js +0 -69
- package/dist/react/hooks/useBulkSelection.d.ts +0 -40
- package/dist/react/hooks/useBulkSelection.js +0 -58
- package/dist/react/hooks/useCamera.d.ts +0 -34
- package/dist/react/hooks/useCamera.js +0 -147
- package/dist/react/hooks/useClickOutside.d.ts +0 -37
- package/dist/react/hooks/useClickOutside.js +0 -57
- package/dist/react/hooks/useContainerGrid.d.ts +0 -39
- package/dist/react/hooks/useContainerGrid.js +0 -47
- package/dist/react/hooks/useCountdown.d.ts +0 -26
- package/dist/react/hooks/useCountdown.js +0 -49
- package/dist/react/hooks/useGesture.d.ts +0 -51
- package/dist/react/hooks/useGesture.js +0 -181
- package/dist/react/hooks/useKeyPress.d.ts +0 -48
- package/dist/react/hooks/useKeyPress.js +0 -62
- package/dist/react/hooks/useLongPress.d.ts +0 -26
- package/dist/react/hooks/useLongPress.js +0 -55
- package/dist/react/hooks/useMediaQuery.d.ts +0 -17
- package/dist/react/hooks/useMediaQuery.js +0 -34
- package/dist/react/hooks/useMessage.d.ts +0 -11
- package/dist/react/hooks/useMessage.js +0 -45
- package/dist/react/hooks/usePendingFilters.d.ts +0 -58
- package/dist/react/hooks/usePendingFilters.js +0 -79
- package/dist/react/hooks/usePendingTable.d.ts +0 -49
- package/dist/react/hooks/usePendingTable.js +0 -45
- package/dist/react/hooks/usePullToRefresh.d.ts +0 -38
- package/dist/react/hooks/usePullToRefresh.js +0 -82
- package/dist/react/hooks/useRealtimeEvent.d.ts +0 -53
- package/dist/react/hooks/useRealtimeEvent.js +0 -124
- package/dist/react/hooks/useSwipe.d.ts +0 -55
- package/dist/react/hooks/useSwipe.js +0 -165
- package/dist/react/hooks/useUnsavedChanges.d.ts +0 -44
- package/dist/react/hooks/useUnsavedChanges.js +0 -55
- package/dist/react/hooks/useUrlTable.d.ts +0 -31
- package/dist/react/hooks/useUrlTable.js +0 -137
- package/dist/react/hooks/useVisibleItems.d.ts +0 -37
- package/dist/react/hooks/useVisibleItems.js +0 -59
- package/dist/react/index.d.ts +0 -50
- package/dist/react/index.js +0 -47
- package/dist/react/useModalStack.d.ts +0 -33
- package/dist/react/useModalStack.js +0 -61
- package/dist/repositories/index.d.ts +0 -38
- package/dist/repositories/index.js +0 -40
- package/dist/security/authorization.d.ts +0 -24
- package/dist/security/authorization.js +0 -73
- package/dist/security/browser.d.ts +0 -7
- package/dist/security/browser.js +0 -5
- package/dist/security/csp.d.ts +0 -16
- package/dist/security/csp.js +0 -44
- package/dist/security/index.d.ts +0 -11
- package/dist/security/index.js +0 -8
- package/dist/security/pii-encrypt.d.ts +0 -121
- package/dist/security/pii-encrypt.js +0 -351
- package/dist/security/pii-redact.d.ts +0 -20
- package/dist/security/pii-redact.js +0 -129
- package/dist/security/pii-schemas.d.ts +0 -38
- package/dist/security/pii-schemas.js +0 -62
- package/dist/security/rate-limit.d.ts +0 -70
- package/dist/security/rate-limit.js +0 -107
- package/dist/security/rbac/Can.d.ts +0 -31
- package/dist/security/rbac/Can.js +0 -24
- package/dist/security/rbac/default-roles.d.ts +0 -2
- package/dist/security/rbac/default-roles.js +0 -83
- package/dist/security/rbac/hook.d.ts +0 -20
- package/dist/security/rbac/hook.js +0 -30
- package/dist/security/rbac/index.d.ts +0 -8
- package/dist/security/rbac/index.js +0 -6
- package/dist/security/rbac/middleware.d.ts +0 -51
- package/dist/security/rbac/middleware.js +0 -51
- package/dist/security/rbac/resolver.d.ts +0 -5
- package/dist/security/rbac/resolver.js +0 -38
- package/dist/security/rbac/server.d.ts +0 -24
- package/dist/security/rbac/server.js +0 -42
- package/dist/security/rbac/types.d.ts +0 -22
- package/dist/security/rbac/types.js +0 -2
- package/dist/security/settings-encryption.d.ts +0 -5
- package/dist/security/settings-encryption.js +0 -48
- package/dist/seed/actions/demo-seed-actions.d.ts +0 -31
- package/dist/seed/actions/demo-seed-actions.js +0 -36
- package/dist/seed/actions/index.d.ts +0 -1
- package/dist/seed/actions/index.js +0 -1
- package/dist/seed/addresses-seed-data.d.ts +0 -19
- package/dist/seed/addresses-seed-data.js +0 -418
- package/dist/seed/bids-seed-data.d.ts +0 -7
- package/dist/seed/bids-seed-data.js +0 -1168
- package/dist/seed/blog-posts-seed-data.d.ts +0 -7
- package/dist/seed/blog-posts-seed-data.js +0 -215
- package/dist/seed/carousel-slides-seed-data.d.ts +0 -7
- package/dist/seed/carousel-slides-seed-data.js +0 -283
- package/dist/seed/cart-seed-data.d.ts +0 -20
- package/dist/seed/cart-seed-data.js +0 -179
- package/dist/seed/categories-seed-data.d.ts +0 -7
- package/dist/seed/categories-seed-data.js +0 -1220
- package/dist/seed/coupons-seed-data.d.ts +0 -7
- package/dist/seed/coupons-seed-data.js +0 -508
- package/dist/seed/defaults/categories.d.ts +0 -2
- package/dist/seed/defaults/categories.js +0 -12
- package/dist/seed/defaults/faqs.d.ts +0 -2
- package/dist/seed/defaults/faqs.js +0 -40
- package/dist/seed/defaults/homepage-sections.d.ts +0 -2
- package/dist/seed/defaults/homepage-sections.js +0 -59
- package/dist/seed/events-seed-data.d.ts +0 -8
- package/dist/seed/events-seed-data.js +0 -662
- package/dist/seed/factories/address.factory.d.ts +0 -21
- package/dist/seed/factories/address.factory.js +0 -44
- package/dist/seed/factories/bid.factory.d.ts +0 -15
- package/dist/seed/factories/bid.factory.js +0 -33
- package/dist/seed/factories/blog-post.factory.d.ts +0 -15
- package/dist/seed/factories/blog-post.factory.js +0 -22
- package/dist/seed/factories/carousel.factory.d.ts +0 -11
- package/dist/seed/factories/carousel.factory.js +0 -16
- package/dist/seed/factories/cart.factory.d.ts +0 -26
- package/dist/seed/factories/cart.factory.js +0 -35
- package/dist/seed/factories/category.factory.d.ts +0 -11
- package/dist/seed/factories/category.factory.js +0 -16
- package/dist/seed/factories/coupon.factory.d.ts +0 -21
- package/dist/seed/factories/coupon.factory.js +0 -43
- package/dist/seed/factories/faq.factory.d.ts +0 -10
- package/dist/seed/factories/faq.factory.js +0 -15
- package/dist/seed/factories/homepage-section.factory.d.ts +0 -9
- package/dist/seed/factories/homepage-section.factory.js +0 -13
- package/dist/seed/factories/notification.factory.d.ts +0 -17
- package/dist/seed/factories/notification.factory.js +0 -39
- package/dist/seed/factories/order.factory.d.ts +0 -20
- package/dist/seed/factories/order.factory.js +0 -20
- package/dist/seed/factories/payout.factory.d.ts +0 -21
- package/dist/seed/factories/payout.factory.js +0 -38
- package/dist/seed/factories/product.factory.d.ts +0 -27
- package/dist/seed/factories/product.factory.js +0 -111
- package/dist/seed/factories/review.factory.d.ts +0 -14
- package/dist/seed/factories/review.factory.js +0 -52
- package/dist/seed/factories/session.factory.d.ts +0 -15
- package/dist/seed/factories/session.factory.js +0 -31
- package/dist/seed/factories/store.factory.d.ts +0 -23
- package/dist/seed/factories/store.factory.js +0 -46
- package/dist/seed/factories/user.factory.d.ts +0 -19
- package/dist/seed/factories/user.factory.js +0 -55
- package/dist/seed/faq-seed-data.d.ts +0 -47
- package/dist/seed/faq-seed-data.js +0 -2320
- package/dist/seed/firestore-indexes.d.ts +0 -13
- package/dist/seed/firestore-indexes.js +0 -32
- package/dist/seed/homepage-sections-seed-data.d.ts +0 -18
- package/dist/seed/homepage-sections-seed-data.js +0 -339
- package/dist/seed/index.d.ts +0 -68
- package/dist/seed/index.js +0 -49
- package/dist/seed/notifications-seed-data.d.ts +0 -7
- package/dist/seed/notifications-seed-data.js +0 -494
- package/dist/seed/orders-seed-data.d.ts +0 -7
- package/dist/seed/orders-seed-data.js +0 -578
- package/dist/seed/payouts-seed-data.d.ts +0 -7
- package/dist/seed/payouts-seed-data.js +0 -202
- package/dist/seed/products-seed-data.d.ts +0 -7
- package/dist/seed/products-seed-data.js +0 -2477
- package/dist/seed/reviews-seed-data.d.ts +0 -7
- package/dist/seed/reviews-seed-data.js +0 -618
- package/dist/seed/runner.d.ts +0 -3
- package/dist/seed/runner.js +0 -38
- package/dist/seed/seed-market-config.d.ts +0 -49
- package/dist/seed/seed-market-config.js +0 -198
- package/dist/seed/sessions-seed-data.d.ts +0 -17
- package/dist/seed/sessions-seed-data.js +0 -355
- package/dist/seed/site-settings-seed-data.d.ts +0 -7
- package/dist/seed/site-settings-seed-data.js +0 -236
- package/dist/seed/store-addresses-seed-data.d.ts +0 -19
- package/dist/seed/store-addresses-seed-data.js +0 -106
- package/dist/seed/stores-seed-data.d.ts +0 -14
- package/dist/seed/stores-seed-data.js +0 -127
- package/dist/seed/test-utils.d.ts +0 -49
- package/dist/seed/test-utils.js +0 -107
- package/dist/seed/types.d.ts +0 -33
- package/dist/seed/types.js +0 -1
- package/dist/seed/users-seed-data.d.ts +0 -7
- package/dist/seed/users-seed-data.js +0 -727
- package/dist/seo/index.d.ts +0 -2
- package/dist/seo/index.js +0 -2
- package/dist/seo/json-ld.d.ts +0 -69
- package/dist/seo/json-ld.js +0 -166
- package/dist/seo/metadata.d.ts +0 -77
- package/dist/seo/metadata.js +0 -157
- package/dist/server.d.ts +0 -109
- package/dist/server.js +0 -110
- package/dist/style/tailwind/index.d.ts +0 -32
- package/dist/style/tailwind/index.js +0 -57
- package/dist/style/vanilla/index.d.ts +0 -24
- package/dist/style/vanilla/index.js +0 -48
- package/dist/tokens/index.d.ts +0 -733
- package/dist/tokens/index.js +0 -786
- package/dist/tokens/tokens.css +0 -221
- package/dist/ui/DataTable.d.ts +0 -78
- package/dist/ui/DataTable.js +0 -157
- package/dist/ui/DataTable.style.css +0 -190
- package/dist/ui/animation.helper.d.ts +0 -17
- package/dist/ui/animation.helper.js +0 -17
- package/dist/ui/color.helper.d.ts +0 -12
- package/dist/ui/color.helper.js +0 -31
- package/dist/ui/columns/build-columns.d.ts +0 -21
- package/dist/ui/columns/build-columns.js +0 -33
- package/dist/ui/columns/column-renderers.d.ts +0 -33
- package/dist/ui/columns/column-renderers.js +0 -64
- package/dist/ui/columns/index.d.ts +0 -6
- package/dist/ui/columns/index.js +0 -5
- package/dist/ui/components/Accordion.d.ts +0 -27
- package/dist/ui/components/Accordion.js +0 -57
- package/dist/ui/components/Accordion.style.css +0 -82
- package/dist/ui/components/ActiveFilterChips.d.ts +0 -13
- package/dist/ui/components/ActiveFilterChips.js +0 -9
- package/dist/ui/components/ActiveFilterChips.style.css +0 -66
- package/dist/ui/components/Alert.d.ts +0 -43
- package/dist/ui/components/Alert.js +0 -47
- package/dist/ui/components/Alert.style.css +0 -187
- package/dist/ui/components/Avatar.d.ts +0 -18
- package/dist/ui/components/Avatar.js +0 -42
- package/dist/ui/components/Avatar.style.css +0 -73
- package/dist/ui/components/AvatarDisplay.d.ts +0 -10
- package/dist/ui/components/AvatarDisplay.js +0 -56
- package/dist/ui/components/AvatarDisplay.style.css +0 -46
- package/dist/ui/components/BackgroundRenderer.d.ts +0 -15
- package/dist/ui/components/BackgroundRenderer.js +0 -42
- package/dist/ui/components/BackgroundRenderer.style.css +0 -31
- package/dist/ui/components/Badge.d.ts +0 -33
- package/dist/ui/components/Badge.js +0 -34
- package/dist/ui/components/Badge.style.css +0 -114
- package/dist/ui/components/BaseListingCard.d.ts +0 -39
- package/dist/ui/components/BaseListingCard.js +0 -56
- package/dist/ui/components/BaseListingCard.style.css +0 -84
- package/dist/ui/components/Breadcrumb.d.ts +0 -15
- package/dist/ui/components/Breadcrumb.js +0 -12
- package/dist/ui/components/Breadcrumb.style.css +0 -60
- package/dist/ui/components/BulkActionBar.d.ts +0 -34
- package/dist/ui/components/BulkActionBar.js +0 -86
- package/dist/ui/components/BulkActionBar.style.css +0 -196
- package/dist/ui/components/Button.d.ts +0 -31
- package/dist/ui/components/Button.js +0 -29
- package/dist/ui/components/Button.style.css +0 -160
- package/dist/ui/components/Card.d.ts +0 -21
- package/dist/ui/components/Card.js +0 -51
- package/dist/ui/components/Card.style.css +0 -192
- package/dist/ui/components/Checkbox.d.ts +0 -8
- package/dist/ui/components/Checkbox.js +0 -38
- package/dist/ui/components/Checkbox.style.css +0 -113
- package/dist/ui/components/ConfirmDeleteModal.d.ts +0 -33
- package/dist/ui/components/ConfirmDeleteModal.js +0 -74
- package/dist/ui/components/ConfirmDeleteModal.style.css +0 -89
- package/dist/ui/components/CountdownDisplay.d.ts +0 -14
- package/dist/ui/components/CountdownDisplay.js +0 -50
- package/dist/ui/components/CountdownDisplay.style.css +0 -4
- package/dist/ui/components/DashboardStatsCard.d.ts +0 -15
- package/dist/ui/components/DashboardStatsCard.js +0 -28
- package/dist/ui/components/DashboardStatsCard.style.css +0 -70
- package/dist/ui/components/DescriptionField.d.ts +0 -23
- package/dist/ui/components/DescriptionField.js +0 -28
- package/dist/ui/components/DescriptionField.style.css +0 -36
- package/dist/ui/components/DetailViewShell.d.ts +0 -51
- package/dist/ui/components/DetailViewShell.js +0 -50
- package/dist/ui/components/Div.d.ts +0 -20
- package/dist/ui/components/Div.js +0 -19
- package/dist/ui/components/Div.style.css +0 -6
- package/dist/ui/components/Divider.d.ts +0 -12
- package/dist/ui/components/Divider.js +0 -11
- package/dist/ui/components/Divider.style.css +0 -39
- package/dist/ui/components/Drawer.d.ts +0 -21
- package/dist/ui/components/Drawer.js +0 -72
- package/dist/ui/components/Drawer.style.css +0 -146
- package/dist/ui/components/Dropdown.d.ts +0 -36
- package/dist/ui/components/Dropdown.js +0 -142
- package/dist/ui/components/Dropdown.style.css +0 -112
- package/dist/ui/components/DynamicSelect.d.ts +0 -24
- package/dist/ui/components/DynamicSelect.js +0 -78
- package/dist/ui/components/DynamicSelect.style.css +0 -101
- package/dist/ui/components/EmptyState.d.ts +0 -12
- package/dist/ui/components/EmptyState.js +0 -17
- package/dist/ui/components/EmptyState.style.css +0 -30
- package/dist/ui/components/FilterDrawer.d.ts +0 -16
- package/dist/ui/components/FilterDrawer.js +0 -39
- package/dist/ui/components/FilterDrawer.style.css +0 -61
- package/dist/ui/components/FlowDiagram.d.ts +0 -33
- package/dist/ui/components/FlowDiagram.js +0 -15
- package/dist/ui/components/FlowDiagram.style.css +0 -77
- package/dist/ui/components/Form.d.ts +0 -27
- package/dist/ui/components/Form.js +0 -48
- package/dist/ui/components/Form.style.css +0 -27
- package/dist/ui/components/FormField.d.ts +0 -26
- package/dist/ui/components/FormField.js +0 -25
- package/dist/ui/components/FormField.style.css +0 -30
- package/dist/ui/components/FormGrid.d.ts +0 -46
- package/dist/ui/components/FormGrid.js +0 -42
- package/dist/ui/components/FormGrid.style.css +0 -32
- package/dist/ui/components/HorizontalScroller.d.ts +0 -33
- package/dist/ui/components/HorizontalScroller.js +0 -47
- package/dist/ui/components/HorizontalScroller.style.css +0 -109
- package/dist/ui/components/IconButton.d.ts +0 -32
- package/dist/ui/components/IconButton.js +0 -31
- package/dist/ui/components/IconButton.style.css +0 -103
- package/dist/ui/components/ImageGallery.d.ts +0 -17
- package/dist/ui/components/ImageGallery.js +0 -108
- package/dist/ui/components/ImageGallery.style.css +0 -163
- package/dist/ui/components/ImageLightbox.d.ts +0 -24
- package/dist/ui/components/ImageLightbox.js +0 -61
- package/dist/ui/components/ImageLightbox.style.css +0 -58
- package/dist/ui/components/Input.d.ts +0 -12
- package/dist/ui/components/Input.js +0 -29
- package/dist/ui/components/Input.style.css +0 -28
- package/dist/ui/components/ItemRow.d.ts +0 -10
- package/dist/ui/components/ItemRow.js +0 -7
- package/dist/ui/components/ItemRow.style.css +0 -33
- package/dist/ui/components/Layout.d.ts +0 -282
- package/dist/ui/components/Layout.js +0 -184
- package/dist/ui/components/Layout.style.css +0 -212
- package/dist/ui/components/ListingLayout.d.ts +0 -60
- package/dist/ui/components/ListingLayout.js +0 -121
- package/dist/ui/components/ListingLayout.style.css +0 -527
- package/dist/ui/components/ListingViewShell.d.ts +0 -38
- package/dist/ui/components/ListingViewShell.js +0 -11
- package/dist/ui/components/Menu.d.ts +0 -29
- package/dist/ui/components/Menu.js +0 -19
- package/dist/ui/components/Menu.style.css +0 -6
- package/dist/ui/components/Modal.d.ts +0 -18
- package/dist/ui/components/Modal.js +0 -79
- package/dist/ui/components/Modal.style.css +0 -102
- package/dist/ui/components/Pagination.d.ts +0 -25
- package/dist/ui/components/Pagination.js +0 -56
- package/dist/ui/components/Pagination.style.css +0 -76
- package/dist/ui/components/PasswordStrengthIndicator.d.ts +0 -12
- package/dist/ui/components/PasswordStrengthIndicator.js +0 -35
- package/dist/ui/components/PasswordStrengthIndicator.style.css +0 -56
- package/dist/ui/components/PriceDisplay.d.ts +0 -8
- package/dist/ui/components/PriceDisplay.js +0 -28
- package/dist/ui/components/PriceDisplay.style.css +0 -47
- package/dist/ui/components/Progress.d.ts +0 -23
- package/dist/ui/components/Progress.js +0 -32
- package/dist/ui/components/Progress.style.css +0 -81
- package/dist/ui/components/Radio.d.ts +0 -18
- package/dist/ui/components/Radio.js +0 -64
- package/dist/ui/components/Radio.style.css +0 -155
- package/dist/ui/components/RatingDisplay.d.ts +0 -8
- package/dist/ui/components/RatingDisplay.js +0 -15
- package/dist/ui/components/RatingDisplay.style.css +0 -50
- package/dist/ui/components/ResponsiveView.d.ts +0 -12
- package/dist/ui/components/ResponsiveView.js +0 -9
- package/dist/ui/components/ResponsiveView.style.css +0 -69
- package/dist/ui/components/RoleBadge.d.ts +0 -7
- package/dist/ui/components/RoleBadge.js +0 -21
- package/dist/ui/components/RoleBadge.style.css +0 -7
- package/dist/ui/components/RowActionMenu.d.ts +0 -13
- package/dist/ui/components/RowActionMenu.js +0 -17
- package/dist/ui/components/RowActionMenu.style.css +0 -91
- package/dist/ui/components/SectionTabs.d.ts +0 -19
- package/dist/ui/components/SectionTabs.js +0 -66
- package/dist/ui/components/SectionTabs.style.css +0 -163
- package/dist/ui/components/Select.d.ts +0 -19
- package/dist/ui/components/Select.js +0 -27
- package/dist/ui/components/Select.style.css +0 -177
- package/dist/ui/components/Semantic.d.ts +0 -154
- package/dist/ui/components/Semantic.js +0 -32
- package/dist/ui/components/Semantic.style.css +0 -14
- package/dist/ui/components/SideDrawer.d.ts +0 -28
- package/dist/ui/components/SideDrawer.js +0 -151
- package/dist/ui/components/SideDrawer.style.css +0 -214
- package/dist/ui/components/SideModal.d.ts +0 -25
- package/dist/ui/components/SideModal.js +0 -61
- package/dist/ui/components/SideModal.style.css +0 -77
- package/dist/ui/components/Skeleton.d.ts +0 -14
- package/dist/ui/components/Skeleton.js +0 -22
- package/dist/ui/components/Skeleton.style.css +0 -55
- package/dist/ui/components/SkipToMain.d.ts +0 -6
- package/dist/ui/components/SkipToMain.js +0 -6
- package/dist/ui/components/SkipToMain.style.css +0 -34
- package/dist/ui/components/Slider.d.ts +0 -17
- package/dist/ui/components/Slider.js +0 -38
- package/dist/ui/components/Slider.style.css +0 -17
- package/dist/ui/components/SlottedListingView.d.ts +0 -62
- package/dist/ui/components/SlottedListingView.js +0 -41
- package/dist/ui/components/SortDropdown.d.ts +0 -15
- package/dist/ui/components/SortDropdown.js +0 -8
- package/dist/ui/components/SortDropdown.style.css +0 -12
- package/dist/ui/components/Spinner.d.ts +0 -13
- package/dist/ui/components/Spinner.js +0 -15
- package/dist/ui/components/Spinner.style.css +0 -76
- package/dist/ui/components/StackedViewShell.d.ts +0 -50
- package/dist/ui/components/StackedViewShell.js +0 -39
- package/dist/ui/components/StarRating.d.ts +0 -17
- package/dist/ui/components/StarRating.js +0 -29
- package/dist/ui/components/StarRating.style.css +0 -44
- package/dist/ui/components/StatsGrid.d.ts +0 -18
- package/dist/ui/components/StatsGrid.js +0 -17
- package/dist/ui/components/StatsGrid.style.css +0 -96
- package/dist/ui/components/StatusBadge.d.ts +0 -18
- package/dist/ui/components/StatusBadge.js +0 -60
- package/dist/ui/components/StatusBadge.style.css +0 -5
- package/dist/ui/components/StepperNav.d.ts +0 -10
- package/dist/ui/components/StepperNav.js +0 -23
- package/dist/ui/components/StepperNav.style.css +0 -110
- package/dist/ui/components/SummaryCard.d.ts +0 -21
- package/dist/ui/components/SummaryCard.js +0 -15
- package/dist/ui/components/SummaryCard.style.css +0 -82
- package/dist/ui/components/TabStrip.d.ts +0 -34
- package/dist/ui/components/TabStrip.js +0 -57
- package/dist/ui/components/TabStrip.style.css +0 -97
- package/dist/ui/components/TablePagination.d.ts +0 -21
- package/dist/ui/components/TablePagination.js +0 -32
- package/dist/ui/components/TablePagination.style.css +0 -89
- package/dist/ui/components/Tabs.d.ts +0 -28
- package/dist/ui/components/Tabs.js +0 -41
- package/dist/ui/components/Tabs.style.css +0 -46
- package/dist/ui/components/TagInput.d.ts +0 -10
- package/dist/ui/components/TagInput.js +0 -60
- package/dist/ui/components/TagInput.style.css +0 -121
- package/dist/ui/components/TextLink.d.ts +0 -42
- package/dist/ui/components/TextLink.js +0 -48
- package/dist/ui/components/TextLink.style.css +0 -94
- package/dist/ui/components/Textarea.d.ts +0 -9
- package/dist/ui/components/Textarea.js +0 -21
- package/dist/ui/components/Textarea.style.css +0 -30
- package/dist/ui/components/Toast.d.ts +0 -15
- package/dist/ui/components/Toast.js +0 -61
- package/dist/ui/components/Toast.style.css +0 -114
- package/dist/ui/components/Toggle.d.ts +0 -12
- package/dist/ui/components/Toggle.js +0 -47
- package/dist/ui/components/Toggle.style.css +0 -107
- package/dist/ui/components/Tooltip.d.ts +0 -34
- package/dist/ui/components/Tooltip.js +0 -110
- package/dist/ui/components/Tooltip.style.css +0 -114
- package/dist/ui/components/Typography.d.ts +0 -50
- package/dist/ui/components/Typography.js +0 -103
- package/dist/ui/components/Typography.style.css +0 -178
- package/dist/ui/components/UnsavedChangesModal.d.ts +0 -17
- package/dist/ui/components/UnsavedChangesModal.js +0 -52
- package/dist/ui/components/UnsavedChangesModal.style.css +0 -33
- package/dist/ui/components/ViewToggle.d.ts +0 -15
- package/dist/ui/components/ViewToggle.js +0 -29
- package/dist/ui/components/ViewToggle.style.css +0 -50
- package/dist/ui/components/index.style.css +0 -76
- package/dist/ui/index.d.ts +0 -165
- package/dist/ui/index.js +0 -87
- package/dist/ui/rich-text/RichText.d.ts +0 -46
- package/dist/ui/rich-text/RichText.js +0 -172
- package/dist/ui/rich-text/RichText.style.css +0 -5
- package/dist/ui/rich-text/index.d.ts +0 -2
- package/dist/ui/rich-text/index.js +0 -1
- package/dist/ui/style.helper.d.ts +0 -7
- package/dist/ui/style.helper.js +0 -12
- package/dist/utils/animation.helper.d.ts +0 -19
- package/dist/utils/animation.helper.js +0 -19
- package/dist/utils/array.helper.d.ts +0 -17
- package/dist/utils/array.helper.js +0 -53
- package/dist/utils/business-day.d.ts +0 -47
- package/dist/utils/business-day.js +0 -68
- package/dist/utils/client.d.ts +0 -1
- package/dist/utils/client.js +0 -1
- package/dist/utils/color.helper.d.ts +0 -32
- package/dist/utils/color.helper.js +0 -51
- package/dist/utils/cookie.converter.d.ts +0 -7
- package/dist/utils/cookie.converter.js +0 -32
- package/dist/utils/date.formatter.d.ts +0 -22
- package/dist/utils/date.formatter.js +0 -194
- package/dist/utils/event-manager.d.ts +0 -45
- package/dist/utils/event-manager.js +0 -185
- package/dist/utils/filter.helper.d.ts +0 -18
- package/dist/utils/filter.helper.js +0 -21
- package/dist/utils/id-generators.d.ts +0 -243
- package/dist/utils/id-generators.js +0 -360
- package/dist/utils/index.d.ts +0 -17
- package/dist/utils/index.js +0 -18
- package/dist/utils/media-field.d.ts +0 -2
- package/dist/utils/media-field.js +0 -1
- package/dist/utils/number.formatter.d.ts +0 -13
- package/dist/utils/number.formatter.js +0 -100
- package/dist/utils/object.helper.d.ts +0 -16
- package/dist/utils/object.helper.js +0 -82
- package/dist/utils/pagination.helper.d.ts +0 -23
- package/dist/utils/pagination.helper.js +0 -24
- package/dist/utils/schema-ui.d.ts +0 -83
- package/dist/utils/schema-ui.js +0 -185
- package/dist/utils/sorting.helper.d.ts +0 -7
- package/dist/utils/sorting.helper.js +0 -16
- package/dist/utils/string.formatter.d.ts +0 -19
- package/dist/utils/string.formatter.js +0 -140
- package/dist/utils/type.converter.d.ts +0 -14
- package/dist/utils/type.converter.js +0 -61
- package/dist/validation/ZodSetup.d.ts +0 -5
- package/dist/validation/ZodSetup.js +0 -11
- package/dist/validation/email.validator.d.ts +0 -7
- package/dist/validation/email.validator.js +0 -33
- package/dist/validation/index.d.ts +0 -9
- package/dist/validation/index.js +0 -8
- package/dist/validation/input.validator.d.ts +0 -11
- package/dist/validation/input.validator.js +0 -33
- package/dist/validation/password.validator.d.ts +0 -21
- package/dist/validation/password.validator.js +0 -77
- package/dist/validation/phone.validator.d.ts +0 -9
- package/dist/validation/phone.validator.js +0 -41
- package/dist/validation/schemas.d.ts +0 -267
- package/dist/validation/schemas.js +0 -176
- package/dist/validation/url.validator.d.ts +0 -7
- package/dist/validation/url.validator.js +0 -44
- package/dist/validation/zod-error-map.d.ts +0 -17
- package/dist/validation/zod-error-map.js +0 -85
- package/dist/values/index.d.ts +0 -6
- package/dist/values/index.js +0 -6
- package/dist/values/success-messages.d.ts +0 -242
- package/dist/values/success-messages.js +0 -272
|
@@ -1,174 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Homepage Sections Repository
|
|
3
|
-
*
|
|
4
|
-
* Manages homepage section configuration and ordering.
|
|
5
|
-
*/
|
|
6
|
-
import { DatabaseError } from "../../../errors";
|
|
7
|
-
import { BaseRepository, prepareForFirestore, } from "../../../providers/db-firebase";
|
|
8
|
-
import { HOMEPAGE_SECTIONS_COLLECTION, createHomepageSectionId, } from "../schemas";
|
|
9
|
-
export class HomepageSectionsRepository extends BaseRepository {
|
|
10
|
-
constructor() {
|
|
11
|
-
super(HOMEPAGE_SECTIONS_COLLECTION);
|
|
12
|
-
}
|
|
13
|
-
async list(model) {
|
|
14
|
-
return this.sieveQuery(model, HomepageSectionsRepository.SIEVE_FIELDS, { defaultPageSize: 50, maxPageSize: 200 });
|
|
15
|
-
}
|
|
16
|
-
async create(input) {
|
|
17
|
-
const id = createHomepageSectionId(input.type);
|
|
18
|
-
const sectionData = {
|
|
19
|
-
...input,
|
|
20
|
-
createdAt: new Date(),
|
|
21
|
-
updatedAt: new Date(),
|
|
22
|
-
};
|
|
23
|
-
await this.db
|
|
24
|
-
.collection(this.collection)
|
|
25
|
-
.doc(id)
|
|
26
|
-
.set(prepareForFirestore(sectionData));
|
|
27
|
-
return { id, ...sectionData };
|
|
28
|
-
}
|
|
29
|
-
async getEnabledSections() {
|
|
30
|
-
try {
|
|
31
|
-
const snapshot = await this.db
|
|
32
|
-
.collection(this.collection)
|
|
33
|
-
.where("enabled", "==", true)
|
|
34
|
-
.orderBy("order", "asc")
|
|
35
|
-
.get();
|
|
36
|
-
return snapshot.docs.map((doc) => this.mapDoc(doc));
|
|
37
|
-
}
|
|
38
|
-
catch (error) {
|
|
39
|
-
throw new DatabaseError(`Failed to retrieve enabled sections: ${error instanceof Error ? error.message : "Unknown error"}`);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
async getDisabledSections() {
|
|
43
|
-
try {
|
|
44
|
-
const snapshot = await this.db
|
|
45
|
-
.collection(this.collection)
|
|
46
|
-
.where("enabled", "==", false)
|
|
47
|
-
.orderBy("order", "asc")
|
|
48
|
-
.get();
|
|
49
|
-
return snapshot.docs.map((doc) => this.mapDoc(doc));
|
|
50
|
-
}
|
|
51
|
-
catch (error) {
|
|
52
|
-
throw new DatabaseError(`Failed to retrieve disabled sections: ${error instanceof Error ? error.message : "Unknown error"}`);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
async getSectionByType(type) {
|
|
56
|
-
try {
|
|
57
|
-
const snapshot = await this.db
|
|
58
|
-
.collection(this.collection)
|
|
59
|
-
.where("type", "==", type)
|
|
60
|
-
.limit(1)
|
|
61
|
-
.get();
|
|
62
|
-
if (snapshot.empty)
|
|
63
|
-
return null;
|
|
64
|
-
const doc = snapshot.docs[0];
|
|
65
|
-
return this.mapDoc(doc);
|
|
66
|
-
}
|
|
67
|
-
catch (error) {
|
|
68
|
-
throw new DatabaseError(`Failed to retrieve section by type: ${error instanceof Error ? error.message : "Unknown error"}`);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
async enableSection(sectionId) {
|
|
72
|
-
try {
|
|
73
|
-
await this.db.collection(this.collection).doc(sectionId).update({
|
|
74
|
-
enabled: true,
|
|
75
|
-
updatedAt: new Date(),
|
|
76
|
-
});
|
|
77
|
-
return await this.findByIdOrFail(sectionId);
|
|
78
|
-
}
|
|
79
|
-
catch (error) {
|
|
80
|
-
throw new DatabaseError(`Failed to enable section: ${error instanceof Error ? error.message : "Unknown error"}`);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
async disableSection(sectionId) {
|
|
84
|
-
try {
|
|
85
|
-
await this.db.collection(this.collection).doc(sectionId).update({
|
|
86
|
-
enabled: false,
|
|
87
|
-
updatedAt: new Date(),
|
|
88
|
-
});
|
|
89
|
-
return await this.findByIdOrFail(sectionId);
|
|
90
|
-
}
|
|
91
|
-
catch (error) {
|
|
92
|
-
throw new DatabaseError(`Failed to disable section: ${error instanceof Error ? error.message : "Unknown error"}`);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
async toggleSection(sectionId) {
|
|
96
|
-
try {
|
|
97
|
-
const section = await this.findByIdOrFail(sectionId);
|
|
98
|
-
await this.db.collection(this.collection).doc(sectionId).update({
|
|
99
|
-
enabled: !section.enabled,
|
|
100
|
-
updatedAt: new Date(),
|
|
101
|
-
});
|
|
102
|
-
return await this.findByIdOrFail(sectionId);
|
|
103
|
-
}
|
|
104
|
-
catch (error) {
|
|
105
|
-
throw new DatabaseError(`Failed to toggle section: ${error instanceof Error ? error.message : "Unknown error"}`);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
async reorderSections(sectionOrders) {
|
|
109
|
-
try {
|
|
110
|
-
const batch = this.db.batch();
|
|
111
|
-
const now = new Date();
|
|
112
|
-
for (const { id, order } of sectionOrders) {
|
|
113
|
-
const ref = this.db.collection(this.collection).doc(id);
|
|
114
|
-
batch.update(ref, {
|
|
115
|
-
order,
|
|
116
|
-
updatedAt: now,
|
|
117
|
-
});
|
|
118
|
-
}
|
|
119
|
-
await batch.commit();
|
|
120
|
-
}
|
|
121
|
-
catch (error) {
|
|
122
|
-
throw new DatabaseError(`Failed to reorder sections: ${error instanceof Error ? error.message : "Unknown error"}`);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
async updateSectionConfig(sectionId, config) {
|
|
126
|
-
try {
|
|
127
|
-
await this.db.collection(this.collection).doc(sectionId).update({
|
|
128
|
-
config,
|
|
129
|
-
updatedAt: new Date(),
|
|
130
|
-
});
|
|
131
|
-
return await this.findByIdOrFail(sectionId);
|
|
132
|
-
}
|
|
133
|
-
catch (error) {
|
|
134
|
-
throw new DatabaseError(`Failed to update section config: ${error instanceof Error ? error.message : "Unknown error"}`);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
async batchToggleSections(sectionIds, enabled) {
|
|
138
|
-
try {
|
|
139
|
-
const batch = this.db.batch();
|
|
140
|
-
const now = new Date();
|
|
141
|
-
for (const id of sectionIds) {
|
|
142
|
-
const ref = this.db.collection(this.collection).doc(id);
|
|
143
|
-
batch.update(ref, {
|
|
144
|
-
enabled,
|
|
145
|
-
updatedAt: now,
|
|
146
|
-
});
|
|
147
|
-
}
|
|
148
|
-
await batch.commit();
|
|
149
|
-
}
|
|
150
|
-
catch (error) {
|
|
151
|
-
throw new DatabaseError(`Failed to batch toggle sections: ${error instanceof Error ? error.message : "Unknown error"}`);
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
async resetSectionToDefault(sectionId, defaultConfig) {
|
|
155
|
-
try {
|
|
156
|
-
await this.db.collection(this.collection).doc(sectionId).update({
|
|
157
|
-
config: defaultConfig,
|
|
158
|
-
updatedAt: new Date(),
|
|
159
|
-
});
|
|
160
|
-
return await this.findByIdOrFail(sectionId);
|
|
161
|
-
}
|
|
162
|
-
catch (error) {
|
|
163
|
-
throw new DatabaseError(`Failed to reset section: ${error instanceof Error ? error.message : "Unknown error"}`);
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
HomepageSectionsRepository.SIEVE_FIELDS = {
|
|
168
|
-
type: { canFilter: true, canSort: false },
|
|
169
|
-
enabled: { canFilter: true, canSort: false },
|
|
170
|
-
order: { canFilter: true, canSort: true },
|
|
171
|
-
createdAt: { canFilter: true, canSort: true },
|
|
172
|
-
updatedAt: { canFilter: true, canSort: true },
|
|
173
|
-
};
|
|
174
|
-
export const homepageSectionsRepository = new HomepageSectionsRepository();
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { IRepository, PagedResult, SieveQuery } from "../../../contracts";
|
|
2
|
-
import type { HomepageSection } from "../types";
|
|
3
|
-
export declare class HomepageSectionsRepository {
|
|
4
|
-
private readonly repo;
|
|
5
|
-
constructor(repo: IRepository<HomepageSection>);
|
|
6
|
-
findAll(query?: SieveQuery): Promise<PagedResult<HomepageSection>>;
|
|
7
|
-
findById(id: string): Promise<HomepageSection | null>;
|
|
8
|
-
create(data: Omit<HomepageSection, "id">): Promise<HomepageSection>;
|
|
9
|
-
update(id: string, data: Partial<HomepageSection>): Promise<HomepageSection>;
|
|
10
|
-
delete(id: string): Promise<void>;
|
|
11
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export class HomepageSectionsRepository {
|
|
2
|
-
constructor(repo) {
|
|
3
|
-
this.repo = repo;
|
|
4
|
-
}
|
|
5
|
-
async findAll(query) {
|
|
6
|
-
return this.repo.findAll({
|
|
7
|
-
filters: "isVisible==true",
|
|
8
|
-
sort: "order",
|
|
9
|
-
perPage: 50,
|
|
10
|
-
...query,
|
|
11
|
-
});
|
|
12
|
-
}
|
|
13
|
-
async findById(id) {
|
|
14
|
-
return this.repo.findById(id);
|
|
15
|
-
}
|
|
16
|
-
async create(data) {
|
|
17
|
-
return this.repo.create(data);
|
|
18
|
-
}
|
|
19
|
-
async update(id, data) {
|
|
20
|
-
return this.repo.update(id, data);
|
|
21
|
-
}
|
|
22
|
-
async delete(id) {
|
|
23
|
-
return this.repo.delete(id);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
@@ -1,251 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Homepage Feature Firestore Document Types & Constants
|
|
3
|
-
* Covers: carousel slides, homepage sections
|
|
4
|
-
*/
|
|
5
|
-
export interface GridCard {
|
|
6
|
-
id: string;
|
|
7
|
-
gridRow: 1 | 2;
|
|
8
|
-
gridCol: 1 | 2 | 3;
|
|
9
|
-
background: {
|
|
10
|
-
type: "color" | "gradient" | "image" | "video";
|
|
11
|
-
value: string;
|
|
12
|
-
overlay?: {
|
|
13
|
-
enabled: boolean;
|
|
14
|
-
color: string;
|
|
15
|
-
opacity: number;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
content?: {
|
|
19
|
-
title?: string;
|
|
20
|
-
subtitle?: string;
|
|
21
|
-
description?: string;
|
|
22
|
-
textColor?: string;
|
|
23
|
-
};
|
|
24
|
-
buttons?: Array<{
|
|
25
|
-
id?: string;
|
|
26
|
-
text: string;
|
|
27
|
-
link: string;
|
|
28
|
-
variant: "primary" | "secondary" | "outline";
|
|
29
|
-
openInNewTab: boolean;
|
|
30
|
-
}>;
|
|
31
|
-
isButtonOnly: boolean;
|
|
32
|
-
sizing?: {
|
|
33
|
-
width?: "auto" | "full" | "1/2" | "1/3" | "2/3";
|
|
34
|
-
height?: "auto" | "full" | "sm" | "md" | "lg";
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
export type GridCardCreateInput = Omit<GridCard, "id">;
|
|
38
|
-
export interface CarouselSlideDocument {
|
|
39
|
-
id: string;
|
|
40
|
-
title: string;
|
|
41
|
-
order: number;
|
|
42
|
-
active: boolean;
|
|
43
|
-
media: {
|
|
44
|
-
type: "image" | "video";
|
|
45
|
-
url: string;
|
|
46
|
-
alt?: string;
|
|
47
|
-
thumbnail?: string;
|
|
48
|
-
};
|
|
49
|
-
link?: {
|
|
50
|
-
url: string;
|
|
51
|
-
openInNewTab: boolean;
|
|
52
|
-
};
|
|
53
|
-
mobileMedia?: {
|
|
54
|
-
type: "image" | "video";
|
|
55
|
-
url: string;
|
|
56
|
-
alt?: string;
|
|
57
|
-
};
|
|
58
|
-
cards: GridCard[];
|
|
59
|
-
overlay?: {
|
|
60
|
-
/** Visual overlay — dims the background image */
|
|
61
|
-
enabled?: boolean;
|
|
62
|
-
color?: string;
|
|
63
|
-
opacity?: number;
|
|
64
|
-
/** Content overlay — text and CTA layered over the slide */
|
|
65
|
-
title?: string;
|
|
66
|
-
subtitle?: string;
|
|
67
|
-
description?: string;
|
|
68
|
-
button?: {
|
|
69
|
-
id?: string;
|
|
70
|
-
text: string;
|
|
71
|
-
link: string;
|
|
72
|
-
variant: "primary" | "secondary" | "outline";
|
|
73
|
-
openInNewTab: boolean;
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
analytics?: {
|
|
77
|
-
views: number;
|
|
78
|
-
lastViewed?: Date;
|
|
79
|
-
};
|
|
80
|
-
createdAt: Date;
|
|
81
|
-
updatedAt: Date;
|
|
82
|
-
createdBy: string;
|
|
83
|
-
}
|
|
84
|
-
export declare const CAROUSEL_SLIDES_COLLECTION: "carouselSlides";
|
|
85
|
-
export declare const CAROUSEL_SLIDES_INDEXED_FIELDS: readonly ["active", "order", "createdBy", "createdAt"];
|
|
86
|
-
export declare const MAX_ACTIVE_SLIDES: 5;
|
|
87
|
-
export declare const GRID_CONFIG: {
|
|
88
|
-
readonly rows: 2;
|
|
89
|
-
readonly cols: 3;
|
|
90
|
-
};
|
|
91
|
-
export declare const DEFAULT_CAROUSEL_SLIDE_DATA: Partial<CarouselSlideDocument>;
|
|
92
|
-
export declare const CAROUSEL_SLIDES_PUBLIC_FIELDS: readonly ["id", "title", "order", "active", "media", "link", "mobileMedia", "cards", "overlay"];
|
|
93
|
-
export type CarouselSlideCreateInput = Omit<CarouselSlideDocument, "id" | "createdAt" | "updatedAt">;
|
|
94
|
-
export type CarouselSlideUpdateInput = Partial<Pick<CarouselSlideDocument, "title" | "order" | "active" | "media" | "link" | "mobileMedia" | "cards">>;
|
|
95
|
-
export declare const carouselSlideQueryHelpers: {
|
|
96
|
-
readonly active: () => readonly ["active", "==", true];
|
|
97
|
-
readonly inactive: () => readonly ["active", "==", false];
|
|
98
|
-
readonly byCreator: (userId: string) => readonly ["createdBy", "==", string];
|
|
99
|
-
};
|
|
100
|
-
export declare function createCarouselId(title: string): string;
|
|
101
|
-
export declare function isValidGridPosition(gridRow: number, gridCol: number): boolean;
|
|
102
|
-
export declare function canActivateSlide(currentActiveCount: number): boolean;
|
|
103
|
-
export interface WelcomeSectionConfig {
|
|
104
|
-
h1: string;
|
|
105
|
-
subtitle: string;
|
|
106
|
-
description: string;
|
|
107
|
-
showCTA: boolean;
|
|
108
|
-
ctaText?: string;
|
|
109
|
-
ctaLink?: string;
|
|
110
|
-
}
|
|
111
|
-
export interface TrustIndicatorsSectionConfig {
|
|
112
|
-
title: string;
|
|
113
|
-
indicators: Array<{
|
|
114
|
-
id: string;
|
|
115
|
-
icon: string;
|
|
116
|
-
title: string;
|
|
117
|
-
description: string;
|
|
118
|
-
}>;
|
|
119
|
-
}
|
|
120
|
-
export interface CategoriesSectionConfig {
|
|
121
|
-
title: string;
|
|
122
|
-
maxCategories: 4;
|
|
123
|
-
autoScroll: boolean;
|
|
124
|
-
scrollInterval: number;
|
|
125
|
-
}
|
|
126
|
-
export interface BrandsSectionConfig {
|
|
127
|
-
title: string;
|
|
128
|
-
subtitle?: string;
|
|
129
|
-
maxBrands: number;
|
|
130
|
-
autoScroll: boolean;
|
|
131
|
-
scrollInterval: number;
|
|
132
|
-
}
|
|
133
|
-
export interface ProductsSectionConfig {
|
|
134
|
-
title: string;
|
|
135
|
-
subtitle?: string;
|
|
136
|
-
maxProducts: 18;
|
|
137
|
-
rows: 2;
|
|
138
|
-
itemsPerRow: 3;
|
|
139
|
-
mobileItemsPerRow: 1;
|
|
140
|
-
autoScroll: boolean;
|
|
141
|
-
scrollInterval: number;
|
|
142
|
-
}
|
|
143
|
-
export interface AuctionsSectionConfig {
|
|
144
|
-
title: string;
|
|
145
|
-
subtitle?: string;
|
|
146
|
-
maxAuctions: 18;
|
|
147
|
-
rows: 2;
|
|
148
|
-
itemsPerRow: 3;
|
|
149
|
-
mobileItemsPerRow: 1;
|
|
150
|
-
autoScroll: boolean;
|
|
151
|
-
scrollInterval: number;
|
|
152
|
-
}
|
|
153
|
-
export interface ReviewsSectionConfig {
|
|
154
|
-
title: string;
|
|
155
|
-
maxReviews: 18;
|
|
156
|
-
itemsPerView: 3;
|
|
157
|
-
mobileItemsPerView: 1;
|
|
158
|
-
autoScroll: boolean;
|
|
159
|
-
scrollInterval: number;
|
|
160
|
-
}
|
|
161
|
-
export interface WhatsAppCommunitySectionConfig {
|
|
162
|
-
title: string;
|
|
163
|
-
description: string;
|
|
164
|
-
groupLink: string;
|
|
165
|
-
memberCount?: number;
|
|
166
|
-
benefits: string[];
|
|
167
|
-
buttonText: string;
|
|
168
|
-
testimonial?: string;
|
|
169
|
-
}
|
|
170
|
-
export interface FeaturesSectionConfig {
|
|
171
|
-
title: string;
|
|
172
|
-
features: string[];
|
|
173
|
-
}
|
|
174
|
-
export interface FAQSectionConfig {
|
|
175
|
-
title: string;
|
|
176
|
-
subtitle?: string;
|
|
177
|
-
showOnHomepage: boolean;
|
|
178
|
-
displayCount: number;
|
|
179
|
-
expandedByDefault: boolean;
|
|
180
|
-
linkToFullPage: boolean;
|
|
181
|
-
categories: Array<"general" | "shipping" | "returns" | "payment" | "account" | "products" | "sellers">;
|
|
182
|
-
}
|
|
183
|
-
export interface BlogArticlesSectionConfig {
|
|
184
|
-
title: string;
|
|
185
|
-
maxArticles: 4;
|
|
186
|
-
showReadTime: boolean;
|
|
187
|
-
showAuthor: boolean;
|
|
188
|
-
showThumbnails: boolean;
|
|
189
|
-
}
|
|
190
|
-
export interface NewsletterSectionConfig {
|
|
191
|
-
title: string;
|
|
192
|
-
description: string;
|
|
193
|
-
placeholder: string;
|
|
194
|
-
buttonText: string;
|
|
195
|
-
privacyText: string;
|
|
196
|
-
privacyLink: string;
|
|
197
|
-
}
|
|
198
|
-
export interface StoresSectionConfig {
|
|
199
|
-
title: string;
|
|
200
|
-
subtitle?: string;
|
|
201
|
-
maxStores: number;
|
|
202
|
-
autoScroll: boolean;
|
|
203
|
-
scrollInterval: number;
|
|
204
|
-
}
|
|
205
|
-
export interface EventsSectionConfig {
|
|
206
|
-
title: string;
|
|
207
|
-
subtitle?: string;
|
|
208
|
-
maxEvents: number;
|
|
209
|
-
autoScroll: boolean;
|
|
210
|
-
scrollInterval: number;
|
|
211
|
-
}
|
|
212
|
-
export interface BannerSectionConfig {
|
|
213
|
-
height: "sm" | "md" | "lg" | "xl";
|
|
214
|
-
backgroundImage?: string;
|
|
215
|
-
backgroundColor?: string;
|
|
216
|
-
gradient?: string;
|
|
217
|
-
content: {
|
|
218
|
-
title: string;
|
|
219
|
-
subtitle?: string;
|
|
220
|
-
description?: string;
|
|
221
|
-
};
|
|
222
|
-
buttons: Array<{
|
|
223
|
-
text: string;
|
|
224
|
-
link: string;
|
|
225
|
-
variant: "primary" | "secondary" | "outline";
|
|
226
|
-
}>;
|
|
227
|
-
clickable: boolean;
|
|
228
|
-
clickLink?: string;
|
|
229
|
-
}
|
|
230
|
-
export type SectionType = "welcome" | "trust-indicators" | "categories" | "brands" | "products" | "auctions" | "banner" | "features" | "reviews" | "whatsapp-community" | "faq" | "blog-articles" | "newsletter" | "stores" | "events";
|
|
231
|
-
export type SectionConfig = WelcomeSectionConfig | TrustIndicatorsSectionConfig | CategoriesSectionConfig | BrandsSectionConfig | ProductsSectionConfig | AuctionsSectionConfig | BannerSectionConfig | FeaturesSectionConfig | ReviewsSectionConfig | WhatsAppCommunitySectionConfig | FAQSectionConfig | BlogArticlesSectionConfig | NewsletterSectionConfig | StoresSectionConfig | EventsSectionConfig;
|
|
232
|
-
export interface HomepageSectionDocument {
|
|
233
|
-
id: string;
|
|
234
|
-
type: SectionType;
|
|
235
|
-
order: number;
|
|
236
|
-
enabled: boolean;
|
|
237
|
-
config: SectionConfig;
|
|
238
|
-
createdAt: Date;
|
|
239
|
-
updatedAt: Date;
|
|
240
|
-
}
|
|
241
|
-
export declare const HOMEPAGE_SECTIONS_COLLECTION: "homepageSections";
|
|
242
|
-
export declare const HOMEPAGE_SECTIONS_INDEXED_FIELDS: readonly ["enabled", "order", "type"];
|
|
243
|
-
export declare const DEFAULT_SECTION_ORDER: Record<SectionType, number>;
|
|
244
|
-
export declare const BANNER_HEIGHTS: Record<BannerSectionConfig["height"], string>;
|
|
245
|
-
export type HomepageSectionCreateInput = Omit<HomepageSectionDocument, "id" | "createdAt" | "updatedAt">;
|
|
246
|
-
export type HomepageSectionUpdateInput = Partial<Pick<HomepageSectionDocument, "order" | "enabled" | "config">>;
|
|
247
|
-
export declare const homepageSectionQueryHelpers: {
|
|
248
|
-
readonly enabled: () => readonly ["enabled", "==", true];
|
|
249
|
-
readonly byType: (type: SectionType) => readonly ["type", "==", SectionType];
|
|
250
|
-
};
|
|
251
|
-
export declare function createHomepageSectionId(type: SectionType): string;
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Homepage Feature Firestore Document Types & Constants
|
|
3
|
-
* Covers: carousel slides, homepage sections
|
|
4
|
-
*/
|
|
5
|
-
import { generateCarouselId, generateHomepageSectionId, } from "../../../utils/id-generators";
|
|
6
|
-
export const CAROUSEL_SLIDES_COLLECTION = "carouselSlides";
|
|
7
|
-
export const CAROUSEL_SLIDES_INDEXED_FIELDS = [
|
|
8
|
-
"active",
|
|
9
|
-
"order",
|
|
10
|
-
"createdBy",
|
|
11
|
-
"createdAt",
|
|
12
|
-
];
|
|
13
|
-
export const MAX_ACTIVE_SLIDES = 5;
|
|
14
|
-
export const GRID_CONFIG = { rows: 2, cols: 3 };
|
|
15
|
-
export const DEFAULT_CAROUSEL_SLIDE_DATA = {
|
|
16
|
-
active: false,
|
|
17
|
-
order: 0,
|
|
18
|
-
cards: [],
|
|
19
|
-
};
|
|
20
|
-
export const CAROUSEL_SLIDES_PUBLIC_FIELDS = [
|
|
21
|
-
"id",
|
|
22
|
-
"title",
|
|
23
|
-
"order",
|
|
24
|
-
"active",
|
|
25
|
-
"media",
|
|
26
|
-
"link",
|
|
27
|
-
"mobileMedia",
|
|
28
|
-
"cards",
|
|
29
|
-
"overlay",
|
|
30
|
-
];
|
|
31
|
-
export const carouselSlideQueryHelpers = {
|
|
32
|
-
active: () => ["active", "==", true],
|
|
33
|
-
inactive: () => ["active", "==", false],
|
|
34
|
-
byCreator: (userId) => ["createdBy", "==", userId],
|
|
35
|
-
};
|
|
36
|
-
export function createCarouselId(title) {
|
|
37
|
-
return generateCarouselId({ title });
|
|
38
|
-
}
|
|
39
|
-
export function isValidGridPosition(gridRow, gridCol) {
|
|
40
|
-
return (gridRow >= 1 &&
|
|
41
|
-
gridRow <= GRID_CONFIG.rows &&
|
|
42
|
-
gridCol >= 1 &&
|
|
43
|
-
gridCol <= GRID_CONFIG.cols);
|
|
44
|
-
}
|
|
45
|
-
export function canActivateSlide(currentActiveCount) {
|
|
46
|
-
return currentActiveCount < MAX_ACTIVE_SLIDES;
|
|
47
|
-
}
|
|
48
|
-
export const HOMEPAGE_SECTIONS_COLLECTION = "homepageSections";
|
|
49
|
-
export const HOMEPAGE_SECTIONS_INDEXED_FIELDS = [
|
|
50
|
-
"enabled",
|
|
51
|
-
"order",
|
|
52
|
-
"type",
|
|
53
|
-
];
|
|
54
|
-
export const DEFAULT_SECTION_ORDER = {
|
|
55
|
-
welcome: 1,
|
|
56
|
-
"trust-indicators": 3,
|
|
57
|
-
categories: 2,
|
|
58
|
-
brands: 2,
|
|
59
|
-
products: 4,
|
|
60
|
-
auctions: 5,
|
|
61
|
-
banner: 4,
|
|
62
|
-
features: 5,
|
|
63
|
-
reviews: 6,
|
|
64
|
-
"whatsapp-community": 6,
|
|
65
|
-
faq: 4,
|
|
66
|
-
"blog-articles": 5,
|
|
67
|
-
newsletter: 6,
|
|
68
|
-
stores: 7,
|
|
69
|
-
events: 8,
|
|
70
|
-
};
|
|
71
|
-
export const BANNER_HEIGHTS = {
|
|
72
|
-
sm: "200px",
|
|
73
|
-
md: "300px",
|
|
74
|
-
lg: "400px",
|
|
75
|
-
xl: "500px",
|
|
76
|
-
};
|
|
77
|
-
export const homepageSectionQueryHelpers = {
|
|
78
|
-
enabled: () => ["enabled", "==", true],
|
|
79
|
-
byType: (type) => ["type", "==", type],
|
|
80
|
-
};
|
|
81
|
-
export function createHomepageSectionId(type) {
|
|
82
|
-
return generateHomepageSectionId({ type });
|
|
83
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./firestore";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./firestore";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import "server-only";
|
|
2
|
-
export * from "./actions";
|
|
3
|
-
export { HomepageSectionsRepository } from "./repository/homepage.repository";
|
|
4
|
-
export { carouselRepository } from "./repository/carousel.repository";
|
|
5
|
-
export { homepageSectionsRepository } from "./repository/homepage-sections.repository";
|
|
6
|
-
export { manifest } from "./manifest";
|
|
7
|
-
export { GET as homepageGET, GET, POST } from "./api/route";
|
|
8
|
-
export { homepageSectionItemGET, homepageSectionItemPATCH, homepageSectionItemDELETE, } from "./api/[id]/route";
|
|
9
|
-
export { carouselGET, carouselPOST } from "./api/carousel/route";
|
|
10
|
-
export { carouselItemGET, carouselItemPATCH, carouselItemDELETE, } from "./api/carousel/[id]/route";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import "server-only";
|
|
2
|
-
export * from "./actions";
|
|
3
|
-
export { HomepageSectionsRepository } from "./repository/homepage.repository";
|
|
4
|
-
export { carouselRepository } from "./repository/carousel.repository";
|
|
5
|
-
export { homepageSectionsRepository } from "./repository/homepage-sections.repository";
|
|
6
|
-
export { manifest } from "./manifest";
|
|
7
|
-
export { GET as homepageGET, GET, POST } from "./api/route";
|
|
8
|
-
export { homepageSectionItemGET, homepageSectionItemPATCH, homepageSectionItemDELETE, } from "./api/[id]/route";
|
|
9
|
-
export { carouselGET, carouselPOST } from "./api/carousel/route";
|
|
10
|
-
export { carouselItemGET, carouselItemPATCH, carouselItemDELETE, } from "./api/carousel/[id]/route";
|