@mohasinac/appkit 4.58.0 → 4.59.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/dist/.build-stamp.json +3 -3
- package/dist/_internal/server/jobs/handlers/messages.d.ts +1 -1
- package/dist/_internal/server/jobs/handlers/messages.js +1 -1
- package/dist/_internal/shared/types/base-document.d.ts +1 -1
- package/dist/constants/seed-meta.d.ts +113 -0
- package/dist/constants/seed-meta.js +91 -0
- package/dist/index.d.ts +0 -131
- package/dist/index.js +50 -294
- package/dist/server.d.ts +0 -69
- package/dist/server.js +0 -69
- package/package.json +4 -2
- package/scripts/seed-cli.mjs +69 -1
- package/dist/features/tester/seed-data/_happy-path.d.ts +0 -23
- package/dist/features/tester/seed-data/_happy-path.js +0 -710
- package/dist/features/tester/seed-data/_money-flows.d.ts +0 -23
- package/dist/features/tester/seed-data/_money-flows.js +0 -610
- package/dist/features/tester/seed-data/authored/_types.d.ts +0 -57
- package/dist/features/tester/seed-data/authored/_types.js +0 -35
- package/dist/features/tester/seed-data/authored/account-auth__profile-settings.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/account-auth__profile-settings.js +0 -226
- package/dist/features/tester/seed-data/authored/account-auth__signup-login.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/account-auth__signup-login.js +0 -329
- package/dist/features/tester/seed-data/authored/addresses__address-filters.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/addresses__address-filters.js +0 -41
- package/dist/features/tester/seed-data/authored/addresses__postal-lookup.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/addresses__postal-lookup.js +0 -76
- package/dist/features/tester/seed-data/authored/addresses__postal-validation.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/addresses__postal-validation.js +0 -78
- package/dist/features/tester/seed-data/authored/addresses__state-picker.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/addresses__state-picker.js +0 -59
- package/dist/features/tester/seed-data/authored/addresses__unban-request.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/addresses__unban-request.js +0 -77
- package/dist/features/tester/seed-data/authored/admin__admin-detail-round-trips.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/admin__admin-detail-round-trips.js +0 -151
- package/dist/features/tester/seed-data/authored/admin__bans-and-trust.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/admin__bans-and-trust.js +0 -265
- package/dist/features/tester/seed-data/authored/admin__blog-faqs.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/admin__blog-faqs.js +0 -131
- package/dist/features/tester/seed-data/authored/admin__bug-hunter-rewards.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/admin__bug-hunter-rewards.js +0 -143
- package/dist/features/tester/seed-data/authored/admin__bulk-actions.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/admin__bulk-actions.js +0 -207
- package/dist/features/tester/seed-data/authored/admin__bundles.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/admin__bundles.js +0 -144
- package/dist/features/tester/seed-data/authored/admin__buyer-data-admin.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/admin__buyer-data-admin.js +0 -265
- package/dist/features/tester/seed-data/authored/admin__catalog-listings.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/admin__catalog-listings.js +0 -318
- package/dist/features/tester/seed-data/authored/admin__category-brand-authoring.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/admin__category-brand-authoring.js +0 -177
- package/dist/features/tester/seed-data/authored/admin__classifieds-digitalcodes-live.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/admin__classifieds-digitalcodes-live.js +0 -165
- package/dist/features/tester/seed-data/authored/admin__content-deletes.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/admin__content-deletes.js +0 -267
- package/dist/features/tester/seed-data/authored/admin__content-marketing.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/admin__content-marketing.js +0 -188
- package/dist/features/tester/seed-data/authored/admin__coupons.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/admin__coupons.js +0 -215
- package/dist/features/tester/seed-data/authored/admin__events-raffles-spin.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/admin__events-raffles-spin.js +0 -202
- package/dist/features/tester/seed-data/authored/admin__firebase-function-effects.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/admin__firebase-function-effects.js +0 -249
- package/dist/features/tester/seed-data/authored/admin__media-watermark.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/admin__media-watermark.js +0 -148
- package/dist/features/tester/seed-data/authored/admin__orders-fulfillment.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/admin__orders-fulfillment.js +0 -350
- package/dist/features/tester/seed-data/authored/admin__prize-draws-lotteries.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/admin__prize-draws-lotteries.js +0 -129
- package/dist/features/tester/seed-data/authored/admin__site-system.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/admin__site-system.js +0 -586
- package/dist/features/tester/seed-data/authored/admin__uncovered-admin-pages.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/admin__uncovered-admin-pages.js +0 -260
- package/dist/features/tester/seed-data/authored/admin__users-trust.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/admin__users-trust.js +0 -569
- package/dist/features/tester/seed-data/authored/buying__bidding.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/buying__bidding.js +0 -449
- package/dist/features/tester/seed-data/authored/buying__browsing-search.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/buying__browsing-search.js +0 -684
- package/dist/features/tester/seed-data/authored/buying__buying-checkout.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/buying__buying-checkout.js +0 -546
- package/dist/features/tester/seed-data/authored/buying__buying-coupons.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/buying__buying-coupons.js +0 -379
- package/dist/features/tester/seed-data/authored/buying__cart.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/buying__cart.js +0 -1264
- package/dist/features/tester/seed-data/authored/buying__image-tile-layout.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/buying__image-tile-layout.js +0 -122
- package/dist/features/tester/seed-data/authored/buying__my-orders.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/buying__my-orders.js +0 -279
- package/dist/features/tester/seed-data/authored/buying__offers.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/buying__offers.js +0 -1127
- package/dist/features/tester/seed-data/authored/buying__order-detail-actions.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/buying__order-detail-actions.js +0 -153
- package/dist/features/tester/seed-data/authored/buying__order-status-lifecycle.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/buying__order-status-lifecycle.js +0 -252
- package/dist/features/tester/seed-data/authored/buying__product-detail.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/buying__product-detail.js +0 -474
- package/dist/features/tester/seed-data/authored/buying__return-request.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/buying__return-request.js +0 -165
- package/dist/features/tester/seed-data/authored/buying__reviews-pagination.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/buying__reviews-pagination.js +0 -260
- package/dist/features/tester/seed-data/authored/buying__reviews.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/buying__reviews.js +0 -128
- package/dist/features/tester/seed-data/authored/buying__spares-and-groups.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/buying__spares-and-groups.js +0 -96
- package/dist/features/tester/seed-data/authored/buying__user-dashboard-extras.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/buying__user-dashboard-extras.js +0 -283
- package/dist/features/tester/seed-data/authored/buying__user-dashboard-navigation.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/buying__user-dashboard-navigation.js +0 -169
- package/dist/features/tester/seed-data/authored/buying__user-uncovered-pages.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/buying__user-uncovered-pages.js +0 -105
- package/dist/features/tester/seed-data/authored/buying__wishlist-history.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/buying__wishlist-history.js +0 -374
- package/dist/features/tester/seed-data/authored/community-support__messages.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/community-support__messages.js +0 -200
- package/dist/features/tester/seed-data/authored/community-support__public-profile.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/community-support__public-profile.js +0 -54
- package/dist/features/tester/seed-data/authored/community-support__support-tickets.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/community-support__support-tickets.js +0 -76
- package/dist/features/tester/seed-data/authored/content-discovery__authenticity-checker.d.ts +0 -4
- package/dist/features/tester/seed-data/authored/content-discovery__authenticity-checker.js +0 -590
- package/dist/features/tester/seed-data/authored/content-discovery__blog.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/content-discovery__blog.js +0 -110
- package/dist/features/tester/seed-data/authored/content-discovery__category-brand-relations.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/content-discovery__category-brand-relations.js +0 -149
- package/dist/features/tester/seed-data/authored/content-discovery__category-counts-and-rollup.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/content-discovery__category-counts-and-rollup.js +0 -145
- package/dist/features/tester/seed-data/authored/content-discovery__category-tabs-franchise-bundles.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/content-discovery__category-tabs-franchise-bundles.js +0 -174
- package/dist/features/tester/seed-data/authored/content-discovery__coupons.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/content-discovery__coupons.js +0 -169
- package/dist/features/tester/seed-data/authored/content-discovery__event-detail-subroutes.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/content-discovery__event-detail-subroutes.js +0 -209
- package/dist/features/tester/seed-data/authored/content-discovery__event-participation.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/content-discovery__event-participation.js +0 -207
- package/dist/features/tester/seed-data/authored/content-discovery__events.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/content-discovery__events.js +0 -377
- package/dist/features/tester/seed-data/authored/content-discovery__faq-help.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/content-discovery__faq-help.js +0 -87
- package/dist/features/tester/seed-data/authored/content-discovery__notifications.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/content-discovery__notifications.js +0 -147
- package/dist/features/tester/seed-data/authored/content-discovery__overflowing-pill-rows.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/content-discovery__overflowing-pill-rows.js +0 -209
- package/dist/features/tester/seed-data/authored/content-discovery__parts-database.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/content-discovery__parts-database.js +0 -167
- package/dist/features/tester/seed-data/authored/content-discovery__price-index-and-compare.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/content-discovery__price-index-and-compare.js +0 -73
- package/dist/features/tester/seed-data/authored/content-discovery__search.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/content-discovery__search.js +0 -363
- package/dist/features/tester/seed-data/authored/content-discovery__site-wide-index.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/content-discovery__site-wide-index.js +0 -340
- package/dist/features/tester/seed-data/authored/content-discovery__store-reviews-aggregate.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/content-discovery__store-reviews-aggregate.js +0 -88
- package/dist/features/tester/seed-data/authored/cta-layout__checkout-bottom-bar.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/cta-layout__checkout-bottom-bar.js +0 -78
- package/dist/features/tester/seed-data/authored/cta-layout__dialog-footers.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/cta-layout__dialog-footers.js +0 -76
- package/dist/features/tester/seed-data/authored/cta-layout__editor-action-bar.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/cta-layout__editor-action-bar.js +0 -62
- package/dist/features/tester/seed-data/authored/cta-layout__navbar-ctas.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/cta-layout__navbar-ctas.js +0 -163
- package/dist/features/tester/seed-data/authored/cta-layout__product-bottom-bar.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/cta-layout__product-bottom-bar.js +0 -61
- package/dist/features/tester/seed-data/authored/design-ux__action-bar-placement.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/design-ux__action-bar-placement.js +0 -89
- package/dist/features/tester/seed-data/authored/design-ux__back-to-top-button.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/design-ux__back-to-top-button.js +0 -95
- package/dist/features/tester/seed-data/authored/design-ux__carousel-arrow-bounds.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/design-ux__carousel-arrow-bounds.js +0 -191
- package/dist/features/tester/seed-data/authored/design-ux__dashboard-layout.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/design-ux__dashboard-layout.js +0 -158
- package/dist/features/tester/seed-data/authored/design-ux__feature-badge-picker.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/design-ux__feature-badge-picker.js +0 -82
- package/dist/features/tester/seed-data/authored/design-ux__footer-theme.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/design-ux__footer-theme.js +0 -106
- package/dist/features/tester/seed-data/authored/design-ux__form-validation-errors.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/design-ux__form-validation-errors.js +0 -88
- package/dist/features/tester/seed-data/authored/design-ux__general-design.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/design-ux__general-design.js +0 -204
- package/dist/features/tester/seed-data/authored/design-ux__hand-mode-layout.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/design-ux__hand-mode-layout.js +0 -301
- package/dist/features/tester/seed-data/authored/design-ux__header-brand-mark-centring.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/design-ux__header-brand-mark-centring.js +0 -90
- package/dist/features/tester/seed-data/authored/design-ux__header-controls-and-messages.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/design-ux__header-controls-and-messages.js +0 -85
- package/dist/features/tester/seed-data/authored/design-ux__homepage-carousels.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/design-ux__homepage-carousels.js +0 -407
- package/dist/features/tester/seed-data/authored/design-ux__nav-reachability.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/design-ux__nav-reachability.js +0 -88
- package/dist/features/tester/seed-data/authored/design-ux__rich-text-readability.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/design-ux__rich-text-readability.js +0 -84
- package/dist/features/tester/seed-data/authored/design-ux__status-badge-legibility.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/design-ux__status-badge-legibility.js +0 -214
- package/dist/features/tester/seed-data/authored/design-ux__sticky-cta-bar.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/design-ux__sticky-cta-bar.js +0 -275
- package/dist/features/tester/seed-data/authored/index.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/index.js +0 -301
- package/dist/features/tester/seed-data/authored/page-wiring__data-loss.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/page-wiring__data-loss.js +0 -125
- package/dist/features/tester/seed-data/authored/page-wiring__detail-pages.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/page-wiring__detail-pages.js +0 -85
- package/dist/features/tester/seed-data/authored/page-wiring__drawer-pages.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/page-wiring__drawer-pages.js +0 -92
- package/dist/features/tester/seed-data/authored/page-wiring__reachability.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/page-wiring__reachability.js +0 -115
- package/dist/features/tester/seed-data/authored/public-pages__auth-error-pages.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/public-pages__auth-error-pages.js +0 -137
- package/dist/features/tester/seed-data/authored/public-pages__core-listing-pages.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/public-pages__core-listing-pages.js +0 -263
- package/dist/features/tester/seed-data/authored/public-pages__help-how-it-works.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/public-pages__help-how-it-works.js +0 -229
- package/dist/features/tester/seed-data/authored/public-pages__help-scams-guides-subpages.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/public-pages__help-scams-guides-subpages.js +0 -325
- package/dist/features/tester/seed-data/authored/public-pages__legal-policy-pages.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/public-pages__legal-policy-pages.js +0 -126
- package/dist/features/tester/seed-data/authored/public-pages__newly-wired-browse-indexes.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/public-pages__newly-wired-browse-indexes.js +0 -141
- package/dist/features/tester/seed-data/authored/public-pages__store-tabs.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/public-pages__store-tabs.js +0 -115
- package/dist/features/tester/seed-data/authored/public-pages__stores-sellers-directories.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/public-pages__stores-sellers-directories.js +0 -253
- package/dist/features/tester/seed-data/authored/search-and-nav__employee-permissions.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/search-and-nav__employee-permissions.js +0 -93
- package/dist/features/tester/seed-data/authored/search-and-nav__header-search.d.ts +0 -3
- package/dist/features/tester/seed-data/authored/search-and-nav__header-search.js +0 -185
- package/dist/features/tester/seed-data/authored/search-and-nav__settings-deep-links.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/search-and-nav__settings-deep-links.js +0 -82
- package/dist/features/tester/seed-data/authored/search-and-nav__sidebar-search.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/search-and-nav__sidebar-search.js +0 -60
- package/dist/features/tester/seed-data/authored/selling__become-seller.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/selling__become-seller.js +0 -117
- package/dist/features/tester/seed-data/authored/selling__digital-content-delivery.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/selling__digital-content-delivery.js +0 -148
- package/dist/features/tester/seed-data/authored/selling__final-sale-authoring.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/selling__final-sale-authoring.js +0 -108
- package/dist/features/tester/seed-data/authored/selling__listing-a-product.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/selling__listing-a-product.js +0 -274
- package/dist/features/tester/seed-data/authored/selling__listing-edit-roundtrip.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/selling__listing-edit-roundtrip.js +0 -145
- package/dist/features/tester/seed-data/authored/selling__listing-lifecycle.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/selling__listing-lifecycle.js +0 -336
- package/dist/features/tester/seed-data/authored/selling__listing-type-fields-roundtrip.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/selling__listing-type-fields-roundtrip.js +0 -136
- package/dist/features/tester/seed-data/authored/selling__media-limits.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/selling__media-limits.js +0 -135
- package/dist/features/tester/seed-data/authored/selling__product-upload-details.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/selling__product-upload-details.js +0 -155
- package/dist/features/tester/seed-data/authored/selling__quick-add-minimum-details.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/selling__quick-add-minimum-details.js +0 -138
- package/dist/features/tester/seed-data/authored/selling__sectionised-forms.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/selling__sectionised-forms.js +0 -191
- package/dist/features/tester/seed-data/authored/selling__seller-analytics-payouts.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/selling__seller-analytics-payouts.js +0 -138
- package/dist/features/tester/seed-data/authored/selling__seller-bids-bundles-filters.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/selling__seller-bids-bundles-filters.js +0 -106
- package/dist/features/tester/seed-data/authored/selling__seller-catalog-org.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/selling__seller-catalog-org.js +0 -192
- package/dist/features/tester/seed-data/authored/selling__seller-custom-brands.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/selling__seller-custom-brands.js +0 -109
- package/dist/features/tester/seed-data/authored/selling__seller-guide.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/selling__seller-guide.js +0 -34
- package/dist/features/tester/seed-data/authored/selling__seller-listing-types.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/selling__seller-listing-types.js +0 -348
- package/dist/features/tester/seed-data/authored/selling__seller-marketing-extras.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/selling__seller-marketing-extras.js +0 -87
- package/dist/features/tester/seed-data/authored/selling__seller-ops-comms.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/selling__seller-ops-comms.js +0 -90
- package/dist/features/tester/seed-data/authored/selling__seller-orders-at-scale.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/selling__seller-orders-at-scale.js +0 -85
- package/dist/features/tester/seed-data/authored/selling__seller-orders.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/selling__seller-orders.js +0 -213
- package/dist/features/tester/seed-data/authored/selling__seller-shipping-payouts-setup.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/selling__seller-shipping-payouts-setup.js +0 -192
- package/dist/features/tester/seed-data/authored/selling__spares-and-group-editing.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/selling__spares-and-group-editing.js +0 -77
- package/dist/features/tester/seed-data/authored/selling__store-dashboard-navigation.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/selling__store-dashboard-navigation.js +0 -165
- package/dist/features/tester/seed-data/authored/selling__store-uncovered-pages.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/selling__store-uncovered-pages.js +0 -116
- package/dist/features/tester/seed-data/authored/seo__canonical-and-host.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/seo__canonical-and-host.js +0 -127
- package/dist/features/tester/seed-data/authored/seo__og-images.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/seo__og-images.js +0 -107
- package/dist/features/tester/seed-data/authored/seo__page-metadata.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/seo__page-metadata.js +0 -120
- package/dist/features/tester/seed-data/authored/seo__sitemap-and-robots.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/seo__sitemap-and-robots.js +0 -105
- package/dist/features/tester/seed-data/authored/tools__sticker-promote-to-listings.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/tools__sticker-promote-to-listings.js +0 -58
- package/dist/features/tester/seed-data/authored/tools__sticker-tracer.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/tools__sticker-tracer.js +0 -284
- package/dist/features/tester/seed-data/index.d.ts +0 -2
- package/dist/features/tester/seed-data/index.js +0 -2
- package/dist/features/tester/seed-data/tester-checklist-seed-data.d.ts +0 -2
- package/dist/features/tester/seed-data/tester-checklist-seed-data.js +0 -7601
- package/dist/features/tester/seed-data/tester-responses-seed-data.d.ts +0 -2
- package/dist/features/tester/seed-data/tester-responses-seed-data.js +0 -95
- package/dist/features/tester/seed-data/tester-window.d.ts +0 -25
- package/dist/features/tester/seed-data/tester-window.js +0 -66
- package/dist/seed/_helpers/brand-rows.d.ts +0 -35
- package/dist/seed/_helpers/brand-rows.js +0 -600
- package/dist/seed/_helpers/category-content-generated.d.ts +0 -24
- package/dist/seed/_helpers/category-content-generated.js +0 -1853
- package/dist/seed/_helpers/category-content.d.ts +0 -68
- package/dist/seed/_helpers/category-content.js +0 -731
- package/dist/seed/_helpers/category-forest.d.ts +0 -4
- package/dist/seed/_helpers/category-forest.js +0 -824
- package/dist/seed/_helpers/category-images-generated.d.ts +0 -57
- package/dist/seed/_helpers/category-images-generated.js +0 -618
- package/dist/seed/_helpers/category-models/chunk0.d.ts +0 -2
- package/dist/seed/_helpers/category-models/chunk0.js +0 -2648
- package/dist/seed/_helpers/category-models/chunk1.d.ts +0 -2
- package/dist/seed/_helpers/category-models/chunk1.js +0 -2318
- package/dist/seed/_helpers/category-models/chunk2.d.ts +0 -2
- package/dist/seed/_helpers/category-models/chunk2.js +0 -2560
- package/dist/seed/_helpers/category-models/chunk3.d.ts +0 -2
- package/dist/seed/_helpers/category-models/chunk3.js +0 -2196
- package/dist/seed/_helpers/category-models/chunk4.d.ts +0 -2
- package/dist/seed/_helpers/category-models/chunk4.js +0 -1732
- package/dist/seed/_helpers/category-models.d.ts +0 -12
- package/dist/seed/_helpers/category-models.js +0 -45
- package/dist/seed/_helpers/category-names.d.ts +0 -54
- package/dist/seed/_helpers/category-names.js +0 -118
- package/dist/seed/_helpers/category-parts-glossary-map.d.ts +0 -1
- package/dist/seed/_helpers/category-parts-glossary-map.js +0 -2499
- package/dist/seed/_helpers/category-parts.d.ts +0 -9
- package/dist/seed/_helpers/category-parts.js +0 -15022
- package/dist/seed/_helpers/category-tree.d.ts +0 -27
- package/dist/seed/_helpers/category-tree.js +0 -119
- package/dist/seed/_helpers/character-features.d.ts +0 -10
- package/dist/seed/_helpers/character-features.js +0 -120
- package/dist/seed/_helpers/final-sale-fixtures.d.ts +0 -35
- package/dist/seed/_helpers/final-sale-fixtures.js +0 -61
- package/dist/seed/_helpers/franchise-rows.d.ts +0 -43
- package/dist/seed/_helpers/franchise-rows.js +0 -189
- package/dist/seed/_helpers/media.d.ts +0 -67
- package/dist/seed/_helpers/media.js +0 -172
- package/dist/seed/_helpers/part-colours-generated.d.ts +0 -18
- package/dist/seed/_helpers/part-colours-generated.js +0 -273
- package/dist/seed/_helpers/product-search-txt.d.ts +0 -18
- package/dist/seed/_helpers/product-search-txt.js +0 -23
- package/dist/seed/_helpers/search-txt-wrappers.d.ts +0 -26
- package/dist/seed/_helpers/search-txt-wrappers.js +0 -58
- package/dist/seed/addresses-seed-data.d.ts +0 -2
- package/dist/seed/addresses-seed-data.js +0 -78
- package/dist/seed/authenticity-knowledge-seed-data.d.ts +0 -78
- package/dist/seed/authenticity-knowledge-seed-data.js +0 -10729
- package/dist/seed/bey-products-seed-data.d.ts +0 -18
- package/dist/seed/bey-products-seed-data.js +0 -18011
- package/dist/seed/beys/chunk0.d.ts +0 -17
- package/dist/seed/beys/chunk0.js +0 -36733
- package/dist/seed/beys/chunk1.d.ts +0 -17
- package/dist/seed/beys/chunk1.js +0 -35728
- package/dist/seed/beys/chunk2.d.ts +0 -17
- package/dist/seed/beys/chunk2.js +0 -35857
- package/dist/seed/beys/chunk3.d.ts +0 -17
- package/dist/seed/beys/chunk3.js +0 -34476
- package/dist/seed/beys-seed-data.d.ts +0 -18
- package/dist/seed/beys-seed-data.js +0 -11
- package/dist/seed/bids-seed-data.d.ts +0 -2
- package/dist/seed/bids-seed-data.js +0 -206
- package/dist/seed/blog-posts-seed-data.d.ts +0 -6
- package/dist/seed/blog-posts-seed-data.js +0 -442
- package/dist/seed/carousel-slides-seed-data.d.ts +0 -2
- package/dist/seed/carousel-slides-seed-data.js +0 -411
- package/dist/seed/carousels-seed-data.d.ts +0 -2
- package/dist/seed/carousels-seed-data.js +0 -36
- package/dist/seed/cart-seed-data.d.ts +0 -2
- package/dist/seed/cart-seed-data.js +0 -241
- package/dist/seed/catalogue-seed-data.d.ts +0 -2
- package/dist/seed/catalogue-seed-data.js +0 -112
- package/dist/seed/categories-seed-data.d.ts +0 -3
- package/dist/seed/categories-seed-data.js +0 -816
- package/dist/seed/claimed-coupons-seed-data.d.ts +0 -2
- package/dist/seed/claimed-coupons-seed-data.js +0 -85
- package/dist/seed/coupon-usage-seed-data.d.ts +0 -9
- package/dist/seed/coupon-usage-seed-data.js +0 -55
- package/dist/seed/coupons-seed-data.d.ts +0 -2
- package/dist/seed/coupons-seed-data.js +0 -226
- 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/events-seed-data.d.ts +0 -7
- package/dist/seed/events-seed-data.js +0 -482
- 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 -17
- package/dist/seed/factories/cart.factory.d.ts +0 -25
- 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/notification.factory.d.ts +0 -18
- 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 -80
- 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 -47
- package/dist/seed/factories/user.factory.d.ts +0 -19
- package/dist/seed/factories/user.factory.js +0 -56
- package/dist/seed/faq-seed-data.d.ts +0 -18
- package/dist/seed/faq-seed-data.js +0 -1956
- package/dist/seed/firestore-indexes.d.ts +0 -12
- package/dist/seed/firestore-indexes.js +0 -31
- package/dist/seed/grouped-listings-seed-data.d.ts +0 -2
- package/dist/seed/grouped-listings-seed-data.js +0 -283
- package/dist/seed/history-seed-data.d.ts +0 -12
- package/dist/seed/history-seed-data.js +0 -70
- package/dist/seed/homepage-sections-seed-data.d.ts +0 -2
- package/dist/seed/homepage-sections-seed-data.js +0 -1034
- package/dist/seed/index.d.ts +0 -100
- package/dist/seed/index.js +0 -115
- package/dist/seed/lottery-entries-seed-data.d.ts +0 -2
- package/dist/seed/lottery-entries-seed-data.js +0 -108
- package/dist/seed/manifest.d.ts +0 -16
- package/dist/seed/manifest.js +0 -235
- package/dist/seed/media-assets-seed-data.d.ts +0 -22
- package/dist/seed/media-assets-seed-data.js +0 -5593
- package/dist/seed/model-composition-seed-data.d.ts +0 -15
- package/dist/seed/model-composition-seed-data.js +0 -9032
- package/dist/seed/notifications-seed-data.d.ts +0 -2
- package/dist/seed/notifications-seed-data.js +0 -606
- package/dist/seed/offers-seed-data.d.ts +0 -2
- package/dist/seed/offers-seed-data.js +0 -398
- package/dist/seed/orders-seed-data.d.ts +0 -2
- package/dist/seed/orders-seed-data.js +0 -845
- package/dist/seed/part-glossary/chunk0.d.ts +0 -9
- package/dist/seed/part-glossary/chunk0.js +0 -35448
- package/dist/seed/part-glossary/chunk1.d.ts +0 -9
- package/dist/seed/part-glossary/chunk1.js +0 -40494
- package/dist/seed/part-glossary/chunk2.d.ts +0 -9
- package/dist/seed/part-glossary/chunk2.js +0 -51242
- package/dist/seed/part-glossary/chunk3.d.ts +0 -9
- package/dist/seed/part-glossary/chunk3.js +0 -53337
- package/dist/seed/part-glossary/chunk4.d.ts +0 -9
- package/dist/seed/part-glossary/chunk4.js +0 -51454
- package/dist/seed/part-glossary-seed-data.d.ts +0 -15
- package/dist/seed/part-glossary-seed-data.js +0 -25
- package/dist/seed/payouts-seed-data.d.ts +0 -2
- package/dist/seed/payouts-seed-data.js +0 -302
- package/dist/seed/product-features-seed-data.d.ts +0 -3
- package/dist/seed/product-features-seed-data.js +0 -366
- package/dist/seed/products-art-seed-data.d.ts +0 -2
- package/dist/seed/products-art-seed-data.js +0 -289
- package/dist/seed/products-auctions-seed-data.d.ts +0 -2
- package/dist/seed/products-auctions-seed-data.js +0 -475
- package/dist/seed/products-beyblade-x-seed-data.d.ts +0 -2
- package/dist/seed/products-beyblade-x-seed-data.js +0 -476
- package/dist/seed/products-catalogue/chunk0.d.ts +0 -12
- package/dist/seed/products-catalogue/chunk0.js +0 -7262
- package/dist/seed/products-catalogue/chunk1.d.ts +0 -12
- package/dist/seed/products-catalogue/chunk1.js +0 -7290
- package/dist/seed/products-catalogue/chunk10.d.ts +0 -12
- package/dist/seed/products-catalogue/chunk10.js +0 -7290
- package/dist/seed/products-catalogue/chunk11.d.ts +0 -12
- package/dist/seed/products-catalogue/chunk11.js +0 -7005
- package/dist/seed/products-catalogue/chunk12.d.ts +0 -12
- package/dist/seed/products-catalogue/chunk12.js +0 -7002
- package/dist/seed/products-catalogue/chunk13.d.ts +0 -12
- package/dist/seed/products-catalogue/chunk13.js +0 -7002
- package/dist/seed/products-catalogue/chunk14.d.ts +0 -12
- package/dist/seed/products-catalogue/chunk14.js +0 -7002
- package/dist/seed/products-catalogue/chunk15.d.ts +0 -12
- package/dist/seed/products-catalogue/chunk15.js +0 -7002
- package/dist/seed/products-catalogue/chunk16.d.ts +0 -12
- package/dist/seed/products-catalogue/chunk16.js +0 -7002
- package/dist/seed/products-catalogue/chunk17.d.ts +0 -12
- package/dist/seed/products-catalogue/chunk17.js +0 -7002
- package/dist/seed/products-catalogue/chunk18.d.ts +0 -12
- package/dist/seed/products-catalogue/chunk18.js +0 -4398
- package/dist/seed/products-catalogue/chunk2.d.ts +0 -12
- package/dist/seed/products-catalogue/chunk2.js +0 -7268
- package/dist/seed/products-catalogue/chunk3.d.ts +0 -12
- package/dist/seed/products-catalogue/chunk3.js +0 -7264
- package/dist/seed/products-catalogue/chunk4.d.ts +0 -12
- package/dist/seed/products-catalogue/chunk4.js +0 -7268
- package/dist/seed/products-catalogue/chunk5.d.ts +0 -12
- package/dist/seed/products-catalogue/chunk5.js +0 -7258
- package/dist/seed/products-catalogue/chunk6.d.ts +0 -12
- package/dist/seed/products-catalogue/chunk6.js +0 -7268
- package/dist/seed/products-catalogue/chunk7.d.ts +0 -12
- package/dist/seed/products-catalogue/chunk7.js +0 -7311
- package/dist/seed/products-catalogue/chunk8.d.ts +0 -12
- package/dist/seed/products-catalogue/chunk8.js +0 -7304
- package/dist/seed/products-catalogue/chunk9.d.ts +0 -12
- package/dist/seed/products-catalogue/chunk9.js +0 -7309
- package/dist/seed/products-catalogue-seed-data.d.ts +0 -2
- package/dist/seed/products-catalogue-seed-data.js +0 -60
- package/dist/seed/products-classifieds-seed-data.d.ts +0 -7
- package/dist/seed/products-classifieds-seed-data.js +0 -435
- package/dist/seed/products-digital-codes-seed-data.d.ts +0 -7
- package/dist/seed/products-digital-codes-seed-data.js +0 -395
- package/dist/seed/products-live-items-seed-data.d.ts +0 -7
- package/dist/seed/products-live-items-seed-data.js +0 -269
- package/dist/seed/products-preorders-seed-data.d.ts +0 -2
- package/dist/seed/products-preorders-seed-data.js +0 -360
- package/dist/seed/products-prize-draws-seed-data.d.ts +0 -7
- package/dist/seed/products-prize-draws-seed-data.js +0 -427
- package/dist/seed/products-spares-seed-data.d.ts +0 -2
- package/dist/seed/products-spares-seed-data.js +0 -368
- package/dist/seed/products-standard-seed-data.d.ts +0 -2
- package/dist/seed/products-standard-seed-data.js +0 -632
- package/dist/seed/products-stickers-seed-data.d.ts +0 -2
- package/dist/seed/products-stickers-seed-data.js +0 -319
- package/dist/seed/reviews-seed-data.d.ts +0 -1
- package/dist/seed/reviews-seed-data.js +0 -185
- package/dist/seed/runner.d.ts +0 -2
- package/dist/seed/runner.js +0 -125
- package/dist/seed/scammers-seed-data.d.ts +0 -2
- package/dist/seed/scammers-seed-data.js +0 -235
- package/dist/seed/seed-market-config.d.ts +0 -48
- package/dist/seed/seed-market-config.js +0 -199
- package/dist/seed/seed-purpose.d.ts +0 -299
- package/dist/seed/seed-purpose.js +0 -440
- package/dist/seed/sessions-seed-data.d.ts +0 -3
- package/dist/seed/sessions-seed-data.js +0 -116
- package/dist/seed/shipments-seed-data.d.ts +0 -5
- package/dist/seed/shipments-seed-data.js +0 -185
- package/dist/seed/site-settings-seed-data.d.ts +0 -2
- package/dist/seed/site-settings-seed-data.js +0 -1069
- package/dist/seed/store-addresses-seed-data.d.ts +0 -18
- package/dist/seed/store-addresses-seed-data.js +0 -71
- package/dist/seed/store-extensions-seed-data.d.ts +0 -11
- package/dist/seed/store-extensions-seed-data.js +0 -292
- package/dist/seed/stores-seed-data.d.ts +0 -6
- package/dist/seed/stores-seed-data.js +0 -242
- package/dist/seed/support-tickets-seed-data.d.ts +0 -16
- package/dist/seed/support-tickets-seed-data.js +0 -239
- package/dist/seed/tax-codes-seed-data.d.ts +0 -34
- package/dist/seed/tax-codes-seed-data.js +0 -100
- package/dist/seed/test-data-ttl.d.ts +0 -29
- package/dist/seed/test-data-ttl.js +0 -31
- package/dist/seed/test-utils.d.ts +0 -49
- package/dist/seed/test-utils.js +0 -110
- package/dist/seed/types.d.ts +0 -89
- package/dist/seed/types.js +0 -15
- package/dist/seed/users-seed-data.d.ts +0 -2
- package/dist/seed/users-seed-data.js +0 -597
- package/dist/seed/wishlists-seed-data.d.ts +0 -12
- package/dist/seed/wishlists-seed-data.js +0 -54
|
@@ -1,411 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* WHY: Seeds 6 carousel slides for the marketplace homepage promo carousel.
|
|
3
|
-
* WHAT: 4 active + 2 inactive. Deterministic Picsum backgrounds with a dim
|
|
4
|
-
* overlay, plus a headline / supporting line / CTA on each.
|
|
5
|
-
*
|
|
6
|
-
* 🛑 FOUR ACTIVE, NOT FIVE, SINCE 2026-10-20. `MAX_ACTIVE_SLIDES` is a
|
|
7
|
-
* ceiling, not a quota — `slide-beyblade-auction` went inactive with
|
|
8
|
-
* `listings.listingTypes.auction: false` and nothing was promoted to backfill
|
|
9
|
-
* it. Do NOT activate `slide-upcoming-promo` to get back to five: that one is
|
|
10
|
-
* the fixture `getActiveSlides()`' own filter is tested against, and it says
|
|
11
|
-
* "A draft slide kept unpublished so admins have a starting point to copy."
|
|
12
|
-
*
|
|
13
|
-
* 🛑 EVERY ACTIVE SLIDE MUST CARRY AN `overlay` OR `cards`, OR IT RENDERS BLANK.
|
|
14
|
-
* `HeroCarousel` gates all slide copy on `slide.overlay` (line ~412) and the
|
|
15
|
-
* card grid on `slide.cards.length` (line ~451). Before this pass every seeded
|
|
16
|
-
* slide had NEITHER — no overlay, `cards: []` — so all five active slides
|
|
17
|
-
* rendered as bare background images with no headline and no call to action.
|
|
18
|
-
* The `title` field is admin-list metadata; it is not rendered on the slide.
|
|
19
|
-
*
|
|
20
|
-
* 🛑 NEVER give one slide BOTH an overlay and cards. The two containers are
|
|
21
|
-
* sibling `POSITION_FILL` elements, so they stack on the same pixels and the
|
|
22
|
-
* text overlaps. `slide-hero-homepage` is the cards slide and deliberately has
|
|
23
|
-
* no overlay; the other four are overlay-only.
|
|
24
|
-
*
|
|
25
|
-
* Overlay titles render as <h2> — the welcome section above the carousel owns
|
|
26
|
-
* the page's single <h1>.
|
|
27
|
-
*
|
|
28
|
-
* One slide (slide-beyblade-auction) uses background.type:"video" with a direct,
|
|
29
|
-
* Creative-Commons-licensed MP4 URL — HeroCarousel renders video backgrounds via a
|
|
30
|
-
* native <video> element (MediaVideo), not a YouTube iframe embed, so this needs a
|
|
31
|
-
* playable video file URL rather than a YouTube video ID.
|
|
32
|
-
*
|
|
33
|
-
* EXPORTS:
|
|
34
|
-
* carouselSlidesSeedData — Array of Partial<CarouselSlideDocument> for seed runner
|
|
35
|
-
*
|
|
36
|
-
* @tag domain:carousel,homepage
|
|
37
|
-
* @tag layer:seed
|
|
38
|
-
* @tag pattern:none
|
|
39
|
-
* @tag access:server-only
|
|
40
|
-
* @tag consumers:seed/index.ts,seed/runner.ts
|
|
41
|
-
* @tag sideEffects:none
|
|
42
|
-
*/
|
|
43
|
-
import { ROUTES } from "../next/routing/route-map.js";
|
|
44
|
-
const NOW = new Date();
|
|
45
|
-
const daysAgo = (n) => new Date(NOW.getTime() - n * 86400000);
|
|
46
|
-
// "medium" matches the carousel section's own config: the carousel now sits
|
|
47
|
-
// under a full welcome hero, so a viewport-height slide would push the whole
|
|
48
|
-
// page below the fold.
|
|
49
|
-
const SLIDE_SETTINGS = { autoplayDelayMs: 6000, height: "medium" };
|
|
50
|
-
/**
|
|
51
|
-
* 🛑 Real imagery, from `mediaAssets` rows that already exist.
|
|
52
|
-
*
|
|
53
|
-
* Every background and card on this carousel used to be `seedPhoto(...)`, which
|
|
54
|
-
* since 2026-10-09 returns one of SIX flat solid-colour SVG tiles from
|
|
55
|
-
* `public/images/seed-tiles/` — so the homepage hero was five grey rectangles,
|
|
56
|
-
* and the width/height arguments passed beside them were accepted and ignored.
|
|
57
|
-
* Meanwhile 559 wiki-sourced `mediaAssets` rows were sitting in Storage wired
|
|
58
|
-
* to leaf categories and to nothing on the homepage.
|
|
59
|
-
*
|
|
60
|
-
* These are `/media/<shortId>` paths, which resolve through
|
|
61
|
-
* `mediaAssets/{slug}` → `storagePath` and stream from OUR bucket behind a
|
|
62
|
-
* 30-day immutable cache — one invocation per image per edge per month.
|
|
63
|
-
*
|
|
64
|
-
* 🛑 Never `seedExtMedia()` and never a third-party host here: persisting a
|
|
65
|
-
* remote URL through `/api/media/ext` adds an upstream fetch plus a sharp
|
|
66
|
-
* watermark pass to EVERY render, which is Root Cause #104 — ~900K proxy
|
|
67
|
-
* responses and 52.52 GB of origin transfer against a 10 GB allowance, and a
|
|
68
|
-
* suspended project.
|
|
69
|
-
*
|
|
70
|
-
* 🛑 These are publisher product shots on white, not action photography. They
|
|
71
|
-
* are a floor, not a ceiling — see the shot list in the plan for what should
|
|
72
|
-
* eventually replace them. Each one still carries a `dimOverlay` because the
|
|
73
|
-
* overlay copy is fixed-inverse ink and needs a guaranteed-dark backdrop
|
|
74
|
-
* (Root Cause #67).
|
|
75
|
-
*/
|
|
76
|
-
const MEDIA = {
|
|
77
|
-
franchise: "/media/franchise-beyblade-image",
|
|
78
|
-
genOriginal: "/media/category-beyblade-original-image",
|
|
79
|
-
genMetal: "/media/category-beyblade-metal-image",
|
|
80
|
-
genBurst: "/media/category-beyblade-burst-image",
|
|
81
|
-
genX: "/media/category-beyblade-x-image",
|
|
82
|
-
dranzer: "/media/category-dranzer-f-image",
|
|
83
|
-
dragoon: "/media/category-dragoon-f-image",
|
|
84
|
-
aeroPegasus: "/media/category-aeropegasus-3-70a-image",
|
|
85
|
-
spryzen: "/media/category-spryzen-requiem-s3-image",
|
|
86
|
-
lDrago: "/media/category-l-drago-destructor-f-s-image",
|
|
87
|
-
};
|
|
88
|
-
const _rawSlides = [
|
|
89
|
-
{
|
|
90
|
-
id: "slide-hero-homepage",
|
|
91
|
-
title: "Three ways to shop",
|
|
92
|
-
order: 1,
|
|
93
|
-
active: true,
|
|
94
|
-
background: {
|
|
95
|
-
type: "image",
|
|
96
|
-
url: MEDIA.franchise,
|
|
97
|
-
dimOverlay: { enabled: true, opacity: 0.55 },
|
|
98
|
-
},
|
|
99
|
-
// The ONE cards slide — and therefore the one slide with no `overlay`.
|
|
100
|
-
// Exists so the zone-grid render path has real data to exercise; all three
|
|
101
|
-
// collapse to zone 2 on mobile.
|
|
102
|
-
cards: [
|
|
103
|
-
{
|
|
104
|
-
id: "card-hero-shop-now",
|
|
105
|
-
zone: 1,
|
|
106
|
-
mobileZone: 2,
|
|
107
|
-
background: { type: "image", url: MEDIA.dranzer, dimOverlay: { enabled: true, opacity: 0.45 } },
|
|
108
|
-
content: {
|
|
109
|
-
eyebrow: "Buy now",
|
|
110
|
-
title: "Ready to ship",
|
|
111
|
-
description: "In-stock listings from verified sellers.",
|
|
112
|
-
},
|
|
113
|
-
buttons: [{ id: "card-hero-shop-now-cta", text: "Shop products", href: String(ROUTES.PUBLIC.PRODUCTS), variant: "primary" }],
|
|
114
|
-
hover: { effect: "scale" },
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
/*
|
|
118
|
-
* 🛑 THIS WAS THE AUCTIONS CARD ("Bid / Live auctions / Place a bid
|
|
119
|
-
* before the timer runs out" → `/auctions`), and it was still on the
|
|
120
|
-
* first screen of the site weeks after `listings.listingTypes.auction`
|
|
121
|
-
* went `false`. The section-level gate in `MarketplaceHomepageView` is
|
|
122
|
-
* keyed on `SectionType` and a carousel is type `carousel` whatever it
|
|
123
|
-
* contains, so nothing could see it. `gateCarouselSlides` now can — but
|
|
124
|
-
* a filter that leaves a hole in a `repeat(3, 1fr)` row is a fallback,
|
|
125
|
-
* not a fix, so the slot gets real content instead.
|
|
126
|
-
*
|
|
127
|
-
* 🛑 NOT `/spares` and NOT `/art`, which were the obvious swaps: both
|
|
128
|
-
* types are ENABLED, both have a working browse page, and both held
|
|
129
|
-
* ZERO published products when this was written (measured against
|
|
130
|
-
* production, 2026-10-20). Replacing a dead-end card with a different
|
|
131
|
-
* dead-end card is not a fix. `/categories` is populated — six roots,
|
|
132
|
-
* 28 brands, 8 franchises — and browsing the tree is genuinely the
|
|
133
|
-
* third way to shop here.
|
|
134
|
-
*/
|
|
135
|
-
id: "card-hero-browse",
|
|
136
|
-
zone: 2,
|
|
137
|
-
mobileZone: 2,
|
|
138
|
-
background: { type: "image", url: MEDIA.lDrago, dimOverlay: { enabled: true, opacity: 0.45 } },
|
|
139
|
-
content: {
|
|
140
|
-
eyebrow: "Explore",
|
|
141
|
-
title: "Shop by category",
|
|
142
|
-
description: "Walk the tree from generation down to a single part.",
|
|
143
|
-
},
|
|
144
|
-
buttons: [{ id: "card-hero-browse-cta", text: "Browse categories", href: String(ROUTES.PUBLIC.CATEGORIES), variant: "primary" }],
|
|
145
|
-
hover: { effect: "scale" },
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
id: "card-hero-reserve",
|
|
149
|
-
zone: 3,
|
|
150
|
-
mobileZone: 2,
|
|
151
|
-
background: { type: "image", url: MEDIA.aeroPegasus, dimOverlay: { enabled: true, opacity: 0.45 } },
|
|
152
|
-
content: {
|
|
153
|
-
eyebrow: "Reserve",
|
|
154
|
-
title: "Pre-orders",
|
|
155
|
-
description: "Lock in upcoming releases with a deposit.",
|
|
156
|
-
},
|
|
157
|
-
buttons: [{ id: "card-hero-reserve-cta", text: "See pre-orders", href: String(ROUTES.PUBLIC.PRE_ORDERS), variant: "primary" }],
|
|
158
|
-
hover: { effect: "scale" },
|
|
159
|
-
},
|
|
160
|
-
],
|
|
161
|
-
settings: SLIDE_SETTINGS,
|
|
162
|
-
createdBy: "user-admin-letitrip",
|
|
163
|
-
createdAt: daysAgo(60),
|
|
164
|
-
updatedAt: daysAgo(3),
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
/*
|
|
168
|
-
* 🛑 DISABLED, NOT DELETED — the same arrangement the auctions RAIL uses in
|
|
169
|
-
* `homepage-sections-seed-data.ts`, and for the same reason. Every word of
|
|
170
|
-
* the copy, the video background and the CTA stay exactly as they were, so
|
|
171
|
-
* flipping `listings.listingTypes.auction` back to `true` and this flag
|
|
172
|
-
* with it restores the slide intact.
|
|
173
|
-
*
|
|
174
|
-
* Two locks, deliberately. `gateCarouselSlides` already drops this at
|
|
175
|
-
* render because `overlay.button.link` and `link.url` both resolve to
|
|
176
|
-
* `/auctions` — but that one is invisible, and a slide listed as active in
|
|
177
|
-
* the carousel admin while never appearing on the page reads as a bug in
|
|
178
|
-
* the admin. `active: false` is the lock a human sees.
|
|
179
|
-
*
|
|
180
|
-
* 🛑 The copy names no listing type — "Win it at your price" — which is
|
|
181
|
-
* exactly why the gate matches on the LINK and not on the words.
|
|
182
|
-
*/
|
|
183
|
-
id: "slide-beyblade-auction",
|
|
184
|
-
title: "Live auctions",
|
|
185
|
-
order: 2,
|
|
186
|
-
active: false,
|
|
187
|
-
background: {
|
|
188
|
-
type: "video",
|
|
189
|
-
// Direct MP4 URL, deliberately NOT wrapped in seedExtMedia() — that
|
|
190
|
-
// helper routes through /api/media/ext, which only serves images
|
|
191
|
-
// (rejects non-image content-type with 400). MediaVideo watermarks
|
|
192
|
-
// video client-side instead, so the raw external URL is correct here.
|
|
193
|
-
url: "/demo-media/sample-video.mp4",
|
|
194
|
-
thumbnail: MEDIA.genMetal,
|
|
195
|
-
dimOverlay: { enabled: true, opacity: 0.5 },
|
|
196
|
-
},
|
|
197
|
-
overlay: {
|
|
198
|
-
enabled: true,
|
|
199
|
-
subtitle: "Bidding open now",
|
|
200
|
-
title: "Win it at your price",
|
|
201
|
-
description: "Live auctions close every day. Place a bid, set your maximum, and let it ride.",
|
|
202
|
-
button: {
|
|
203
|
-
id: "slide-auctions-cta",
|
|
204
|
-
text: "Browse live auctions",
|
|
205
|
-
link: String(ROUTES.PUBLIC.AUCTIONS),
|
|
206
|
-
variant: "primary",
|
|
207
|
-
openInNewTab: false,
|
|
208
|
-
},
|
|
209
|
-
},
|
|
210
|
-
link: { url: String(ROUTES.PUBLIC.AUCTIONS), openInNewTab: false },
|
|
211
|
-
settings: SLIDE_SETTINGS,
|
|
212
|
-
createdBy: "user-admin-letitrip",
|
|
213
|
-
createdAt: daysAgo(55),
|
|
214
|
-
updatedAt: daysAgo(2),
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
id: "slide-beyblade-collection-hunt",
|
|
218
|
-
title: "Complete your collection",
|
|
219
|
-
order: 3,
|
|
220
|
-
active: true,
|
|
221
|
-
background: {
|
|
222
|
-
type: "image",
|
|
223
|
-
url: MEDIA.genBurst,
|
|
224
|
-
dimOverlay: { enabled: true, opacity: 0.5 },
|
|
225
|
-
},
|
|
226
|
-
overlay: {
|
|
227
|
-
enabled: true,
|
|
228
|
-
subtitle: "Thousands of listings",
|
|
229
|
-
title: "Find the piece you're missing",
|
|
230
|
-
description: "Filter by category, condition and price across every seller on the marketplace.",
|
|
231
|
-
button: {
|
|
232
|
-
id: "slide-collection-cta",
|
|
233
|
-
text: "Start browsing",
|
|
234
|
-
link: String(ROUTES.PUBLIC.PRODUCTS),
|
|
235
|
-
variant: "primary",
|
|
236
|
-
openInNewTab: false,
|
|
237
|
-
},
|
|
238
|
-
},
|
|
239
|
-
link: { url: String(ROUTES.PUBLIC.PRODUCTS), openInNewTab: false },
|
|
240
|
-
settings: SLIDE_SETTINGS,
|
|
241
|
-
createdBy: "user-admin-letitrip",
|
|
242
|
-
createdAt: daysAgo(50),
|
|
243
|
-
updatedAt: daysAgo(5),
|
|
244
|
-
},
|
|
245
|
-
{
|
|
246
|
-
id: "slide-preorders-open",
|
|
247
|
-
title: "Pre-orders open",
|
|
248
|
-
order: 4,
|
|
249
|
-
active: true,
|
|
250
|
-
background: {
|
|
251
|
-
type: "image",
|
|
252
|
-
url: MEDIA.genX,
|
|
253
|
-
dimOverlay: { enabled: true, opacity: 0.5 },
|
|
254
|
-
},
|
|
255
|
-
overlay: {
|
|
256
|
-
enabled: true,
|
|
257
|
-
subtitle: "Reserve before release",
|
|
258
|
-
title: "Don't miss the drop",
|
|
259
|
-
description: "Secure upcoming releases with a deposit and pay the balance when they ship.",
|
|
260
|
-
button: {
|
|
261
|
-
id: "slide-preorders-cta",
|
|
262
|
-
text: "See open pre-orders",
|
|
263
|
-
link: String(ROUTES.PUBLIC.PRE_ORDERS),
|
|
264
|
-
variant: "primary",
|
|
265
|
-
openInNewTab: false,
|
|
266
|
-
},
|
|
267
|
-
},
|
|
268
|
-
link: { url: String(ROUTES.PUBLIC.PRE_ORDERS), openInNewTab: false },
|
|
269
|
-
settings: SLIDE_SETTINGS,
|
|
270
|
-
createdBy: "user-admin-letitrip",
|
|
271
|
-
createdAt: daysAgo(45),
|
|
272
|
-
updatedAt: daysAgo(3),
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
/*
|
|
276
|
-
* ── G1c — THE AUTHENTICITY SLIDE ────────────────────────────────────────
|
|
277
|
-
*
|
|
278
|
-
* 🛑 This slide's id has said `authenticated-originals` since it was
|
|
279
|
-
* written and its copy said "Turn your collection into income" — a
|
|
280
|
-
* seller-acquisition message under an authenticity name. So authenticity,
|
|
281
|
-
* which is this marketplace's actual differentiator, had NO hero surface
|
|
282
|
-
* at all while the id implied it did.
|
|
283
|
-
*
|
|
284
|
-
* It is the one hero message the crawl independently validates three ways:
|
|
285
|
-
* beybladeartshop runs it as their slide 5 ("100% original Takara Tomy
|
|
286
|
-
* Beyblades. Don't fall for cheap imitations!"); worldhobbyshop — the SEO
|
|
287
|
-
* leader of the fifteen — ships a top-level "MidFake Beyblades" category
|
|
288
|
-
* and an FAQ promising that midfake and reproduction stock is kept
|
|
289
|
-
* separate with authenticity disclosed; and we already have the feature
|
|
290
|
-
* (`ProductAuthenticity` is a REQUIRED field with a badge and four FAQ
|
|
291
|
-
* rows) with nowhere on the homepage that says so.
|
|
292
|
-
*
|
|
293
|
-
* 🛑 THE COPY ANSWERS "AFTERMARKET", NOT "FAKE", and that is the finding
|
|
294
|
-
* that matters. The counterfeit seller measured in section 3.7 makes **zero**
|
|
295
|
-
* authenticity claims across 1,277 listings — no "original", no "replica",
|
|
296
|
-
* no "fake" — and sells itself as "a popular brand" offering "custom parts
|
|
297
|
-
* or upgraded components", "like many other aftermarket brands". So
|
|
298
|
-
* "aftermarket" and "custom" are the words our buyers will actually be
|
|
299
|
-
* sold, and a slide that only rebuts the word "fake" rebuts nothing they
|
|
300
|
-
* will hear.
|
|
301
|
-
*
|
|
302
|
-
* It also states the three-tier vocabulary rather than a binary, because
|
|
303
|
-
* the tiers are the honest part: a reproduction IS sellable when labelled,
|
|
304
|
-
* and claiming everything is original would be the same unfalsifiable
|
|
305
|
-
* promise the counterfeiter makes in reverse.
|
|
306
|
-
*
|
|
307
|
-
* 🛑 Seller acquisition is NOT lost — it keeps its own `banner` section
|
|
308
|
-
* ("Have collectibles to sell?" → "Start selling →"), the `features` and
|
|
309
|
-
* `stats` sections, and two nav entries. Verified before this was changed.
|
|
310
|
-
* `MAX_ACTIVE_SLIDES` is 5 and all five were taken, so this is a swap
|
|
311
|
-
* rather than an addition.
|
|
312
|
-
*/
|
|
313
|
-
id: "slide-authenticated-originals",
|
|
314
|
-
title: "Original, reproduction, or unverified — every listing says which",
|
|
315
|
-
order: 5,
|
|
316
|
-
active: true,
|
|
317
|
-
background: {
|
|
318
|
-
type: "image",
|
|
319
|
-
url: MEDIA.genOriginal,
|
|
320
|
-
dimOverlay: { enabled: true, opacity: 0.55 },
|
|
321
|
-
},
|
|
322
|
-
overlay: {
|
|
323
|
-
enabled: true,
|
|
324
|
-
subtitle: "Authenticity, stated",
|
|
325
|
-
// 🛑 "We make sellers say which" was the same overclaim as the body —
|
|
326
|
-
// the field is optional, so nobody is MADE to. What is true is that
|
|
327
|
-
// every listing carries a label, which is the verifiable version.
|
|
328
|
-
title: "“Aftermarket” is not a brand. Every listing says which.",
|
|
329
|
-
/*
|
|
330
|
-
* 🛑 THE CLAIM WAS FALSE WHEN FIRST WRITTEN, and the check is the point.
|
|
331
|
-
*
|
|
332
|
-
* It read "the seller has to pick one before it can go live" — and
|
|
333
|
-
* `authenticity` is `.optional()` in the write schema while being ABSENT
|
|
334
|
-
* on all 71 live products. A hero promise nobody could keep, on the one
|
|
335
|
-
* subject where this marketplace's credibility rests.
|
|
336
|
-
*
|
|
337
|
-
* Both halves were fixed before the copy was: the root default now makes
|
|
338
|
-
* 381/381 listing nodes resolve a value, and `withDerivedCategoryFields`
|
|
339
|
-
* stamps it on every seeded product (measured after loading:
|
|
340
|
-
* `original=4`, `unverified=67`, zero absent).
|
|
341
|
-
*
|
|
342
|
-
* The copy still says what is TRUE rather than what would be strongest.
|
|
343
|
-
* A seller may still omit the field — the category then decides, and it
|
|
344
|
-
* decides `unverified`, never `original`. So the promise is "every
|
|
345
|
-
* listing carries a label and we never silently claim original", which
|
|
346
|
-
* is both accurate and the more useful thing to say.
|
|
347
|
-
*/
|
|
348
|
-
description: "Every listing carries one of three labels — original, reproduction or unverified. A seller can say which; if they do not, it reads “unverified”, because we will not claim “original” on your behalf. Reproductions are welcome here when they are labelled; a listing that leaves you guessing is not.",
|
|
349
|
-
button: {
|
|
350
|
-
id: "slide-authenticity-cta",
|
|
351
|
-
text: "How to spot a fake",
|
|
352
|
-
/*
|
|
353
|
-
* 🛑 `/faqs/product_information`, the CATEGORY — not a question slug.
|
|
354
|
-
* The route is `/faqs/[category]` and it matches on
|
|
355
|
-
* `CATEGORY_KEYS.includes(category)`, so `/faqs/faq-how-to-spot-a-fake`
|
|
356
|
-
* would silently fall back to "all" and land the reader on the full
|
|
357
|
-
* index instead of the answer. Verified against the route before
|
|
358
|
-
* writing it, because the FAQ documents DO carry a `seo.slug` of
|
|
359
|
-
* exactly that shape, which makes the wrong link the obvious one.
|
|
360
|
-
*
|
|
361
|
-
* This category holds both authenticity answers — "How do I spot a fake
|
|
362
|
-
* Beyblade?" and "What is a reproduction or midfake? Is it a fake?" —
|
|
363
|
-
* which is the pair the slide's claim rests on.
|
|
364
|
-
*/
|
|
365
|
-
link: "/faqs/product_information",
|
|
366
|
-
variant: "primary",
|
|
367
|
-
openInNewTab: false,
|
|
368
|
-
},
|
|
369
|
-
},
|
|
370
|
-
link: { url: "/faqs/product_information", openInNewTab: false },
|
|
371
|
-
settings: SLIDE_SETTINGS,
|
|
372
|
-
createdBy: "user-admin-letitrip",
|
|
373
|
-
createdAt: daysAgo(40),
|
|
374
|
-
updatedAt: daysAgo(3),
|
|
375
|
-
},
|
|
376
|
-
// Inactive on purpose — exercises the active/inactive filter in
|
|
377
|
-
// `getActiveSlides()`. It carries a full overlay so that enabling it in
|
|
378
|
-
// admin produces a finished slide rather than a blank one.
|
|
379
|
-
{
|
|
380
|
-
id: "slide-upcoming-promo",
|
|
381
|
-
title: "Seasonal promo (draft)",
|
|
382
|
-
order: 6,
|
|
383
|
-
active: false,
|
|
384
|
-
background: {
|
|
385
|
-
type: "image",
|
|
386
|
-
url: MEDIA.spryzen,
|
|
387
|
-
dimOverlay: { enabled: true, opacity: 0.5 },
|
|
388
|
-
},
|
|
389
|
-
overlay: {
|
|
390
|
-
enabled: true,
|
|
391
|
-
subtitle: "Coming soon",
|
|
392
|
-
title: "Season sale",
|
|
393
|
-
description: "A draft slide kept unpublished so admins have a starting point to copy.",
|
|
394
|
-
button: {
|
|
395
|
-
id: "slide-promo-cta",
|
|
396
|
-
text: "See all events",
|
|
397
|
-
link: String(ROUTES.PUBLIC.EVENTS),
|
|
398
|
-
variant: "primary",
|
|
399
|
-
openInNewTab: false,
|
|
400
|
-
},
|
|
401
|
-
},
|
|
402
|
-
settings: SLIDE_SETTINGS,
|
|
403
|
-
createdBy: "user-admin-letitrip",
|
|
404
|
-
createdAt: daysAgo(10),
|
|
405
|
-
updatedAt: daysAgo(10),
|
|
406
|
-
},
|
|
407
|
-
];
|
|
408
|
-
export const carouselSlidesSeedData = _rawSlides.map((s) => ({
|
|
409
|
-
cards: [],
|
|
410
|
-
...s,
|
|
411
|
-
}));
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* WHY: Seeds the hero carousel container that references slide IDs.
|
|
3
|
-
* WHAT: 1 active carousel (homepage hero). slideIds populated after carousel-slides seed.
|
|
4
|
-
*
|
|
5
|
-
* @tag domain:carousel,homepage
|
|
6
|
-
* @tag layer:seed
|
|
7
|
-
* @tag pattern:none
|
|
8
|
-
* @tag access:server-only
|
|
9
|
-
* @tag consumers:seed/index.ts,seed/runner.ts
|
|
10
|
-
* @tag sideEffects:none
|
|
11
|
-
*/
|
|
12
|
-
function daysAgo(n) {
|
|
13
|
-
const d = new Date();
|
|
14
|
-
d.setDate(d.getDate() - n);
|
|
15
|
-
return d;
|
|
16
|
-
}
|
|
17
|
-
export const carouselsSeedData = [
|
|
18
|
-
{
|
|
19
|
-
id: "carousel-hero-default",
|
|
20
|
-
name: "Homepage Hero",
|
|
21
|
-
status: "active",
|
|
22
|
-
slideIds: [
|
|
23
|
-
"slide-hero-homepage",
|
|
24
|
-
"slide-beyblade-auction",
|
|
25
|
-
"slide-beyblade-collection-hunt",
|
|
26
|
-
"slide-preorders-open",
|
|
27
|
-
// Was "slide-psa-graded", which has never existed in
|
|
28
|
-
// carousel-slides-seed-data.ts. `getCarouselWithSlides` filters missing
|
|
29
|
-
// refs away, so it failed silently rather than erroring.
|
|
30
|
-
"slide-authenticated-originals",
|
|
31
|
-
],
|
|
32
|
-
createdBy: "user-admin-letitrip",
|
|
33
|
-
createdAt: daysAgo(90),
|
|
34
|
-
updatedAt: daysAgo(1),
|
|
35
|
-
},
|
|
36
|
-
];
|