@mohasinac/appkit 4.57.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 +4 -4
- package/dist/_internal/server/features/beys/data.d.ts +44 -0
- package/dist/_internal/server/features/beys/data.js +107 -0
- package/dist/_internal/server/features/beys/og.d.ts +42 -0
- package/dist/_internal/server/features/beys/og.js +89 -0
- package/dist/_internal/server/features/parts/data.js +3 -2
- 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/actions/action-registry.d.ts +1 -1
- package/dist/_internal/shared/actions/action-registry.js +86 -0
- package/dist/_internal/shared/types/base-document.d.ts +1 -1
- package/dist/client.d.ts +2 -0
- package/dist/client.js +1 -0
- package/dist/constants/api-endpoints.d.ts +12 -0
- package/dist/constants/api-endpoints.js +10 -0
- package/dist/constants/field-names.d.ts +46 -0
- package/dist/constants/field-names.js +46 -0
- package/dist/constants/seed-meta.d.ts +113 -0
- package/dist/constants/seed-meta.js +91 -0
- package/dist/features/admin/components/AdminBeysView.d.ts +27 -0
- package/dist/features/admin/components/AdminBeysView.js +178 -0
- package/dist/features/admin/components/AdminPartsView.d.ts +27 -0
- package/dist/features/admin/components/AdminPartsView.js +160 -0
- package/dist/features/admin/components/OwnerQuickActions.d.ts +19 -2
- package/dist/features/admin/components/OwnerQuickActions.js +31 -3
- package/dist/features/admin/components/RecordOwnerQuickActions.d.ts +31 -0
- package/dist/features/admin/components/RecordOwnerQuickActions.js +128 -0
- package/dist/features/admin/components/ReferenceRecordEditor.d.ts +45 -0
- package/dist/features/admin/components/ReferenceRecordEditor.js +153 -0
- package/dist/features/admin/schemas/firestore.d.ts +1 -1
- package/dist/features/auctions/components/MarketplaceAuctionCard.js +15 -2
- package/dist/features/auth/permissions/constants.d.ts +1 -1
- package/dist/features/auth/permissions/constants.js +12 -1
- package/dist/features/beys/components/BeyDetailPageView.d.ts +50 -0
- package/dist/features/beys/components/BeyDetailPageView.js +98 -0
- package/dist/features/beys/schemas/firestore.d.ts +417 -0
- package/dist/features/beys/schemas/firestore.js +65 -0
- package/dist/features/blog/components/BlogFeaturedCard.js +15 -2
- package/dist/features/blog/components/BlogPostView.js +2 -2
- package/dist/features/categories/components/BrandDetailPageView.js +4 -2
- package/dist/features/categories/components/BundleDetailView.js +2 -2
- package/dist/features/categories/components/CategoryDetailPageView.js +36 -3
- package/dist/features/categories/components/CategoryGrid.js +24 -2
- package/dist/features/categories/components/FranchiseDetailPageView.js +2 -3
- package/dist/features/events/components/EventCard.js +15 -2
- package/dist/features/grouped/components/GroupedListingDetailView.js +2 -3
- package/dist/features/homepage/components/CustomCardsSection.js +67 -50
- package/dist/features/homepage/components/ShopByCategorySection.js +23 -10
- package/dist/features/homepage/schemas/index.d.ts +10 -10
- package/dist/features/parts/components/PartDetailPageView.js +5 -3
- package/dist/features/parts/components/PartsSearchBox.js +79 -4
- package/dist/features/parts/schemas/admin-edit.d.ts +81 -0
- package/dist/features/parts/schemas/admin-edit.js +89 -0
- package/dist/features/parts/schemas/firestore.d.ts +2 -1
- package/dist/features/pre-orders/components/MarketplacePreorderCard.js +15 -2
- package/dist/features/products/components/MarketplaceBundleCard.js +15 -2
- package/dist/features/products/components/MarketplacePrizeDrawCard.js +15 -2
- package/dist/features/products/components/ProductGrid.js +18 -2
- package/dist/features/products/schemas/firestore.d.ts +18 -0
- package/dist/features/seller/components/CategoryInlineSelect.d.ts +10 -1
- package/dist/features/seller/components/CategoryInlineSelect.js +53 -5
- package/dist/features/seller/components/SellerProductShell.d.ts +39 -0
- package/dist/features/seller/components/SellerProductShell.js +31 -3
- package/dist/index.d.ts +6 -129
- package/dist/index.js +61 -292
- package/dist/next/routing/route-map.d.ts +13 -1
- package/dist/next/routing/route-map.js +37 -0
- package/dist/schemas/registry.d.ts +6 -6
- package/dist/server.d.ts +2 -69
- package/dist/server.js +8 -69
- package/dist/styles.css +468 -1
- package/dist/tailwind-utilities.css +1 -1
- package/dist/ui/components/PosterCard.d.ts +99 -0
- package/dist/ui/components/PosterCard.js +109 -0
- package/dist/ui/components/PosterCard.style.css +466 -0
- package/dist/ui/components/index.style.css +1 -0
- package/dist/ui/index.d.ts +2 -0
- package/dist/ui/index.js +2 -0
- package/package.json +4 -2
- package/scripts/seed-cli.mjs +177 -2
- 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/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 -1018
- package/dist/seed/index.d.ts +0 -98
- package/dist/seed/index.js +0 -112
- 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-seed-data.d.ts +0 -22
- package/dist/seed/products-catalogue-seed-data.js +0 -86384
- 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 -431
- 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,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED by `scripts/generate-parts-seed.mjs` — do not hand-edit.
|
|
3
|
-
* Source: `docs/research/part-composition-2026-10/` (E4a/E4b), itself
|
|
4
|
-
* extracted from the LOCAL corpus with no network crawl.
|
|
5
|
-
*
|
|
6
|
-
* The part glossary, keyed (slot, code|name) — 2488 rows.
|
|
7
|
-
*
|
|
8
|
-
* 🛑 Facts only. Fandom is CC-BY-SA, so names, codes, weights and slot
|
|
9
|
-
* structure are taken and the PROSE is not — our own descriptions come from
|
|
10
|
-
* the category templates. Regenerate rather than edit: a hand-fix here is lost
|
|
11
|
-
* on the next run and, worse, makes the committed output disagree with the
|
|
12
|
-
* script that is supposed to produce it.
|
|
13
|
-
*/
|
|
14
|
-
import type { PartGlossaryDocument } from "../features/parts/schemas/firestore";
|
|
15
|
-
export declare const partGlossarySeedData: Partial<PartGlossaryDocument>[];
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED by `scripts/generate-parts-seed.mjs` — do not hand-edit.
|
|
3
|
-
* Source: `docs/research/part-composition-2026-10/` (E4a/E4b), itself
|
|
4
|
-
* extracted from the LOCAL corpus with no network crawl.
|
|
5
|
-
*
|
|
6
|
-
* The part glossary, keyed (slot, code|name) — 2488 rows.
|
|
7
|
-
*
|
|
8
|
-
* 🛑 Facts only. Fandom is CC-BY-SA, so names, codes, weights and slot
|
|
9
|
-
* structure are taken and the PROSE is not — our own descriptions come from
|
|
10
|
-
* the category templates. Regenerate rather than edit: a hand-fix here is lost
|
|
11
|
-
* on the next run and, worse, makes the committed output disagree with the
|
|
12
|
-
* script that is supposed to produce it.
|
|
13
|
-
*/
|
|
14
|
-
import { glossaryChunk0 } from "./part-glossary/chunk0.js";
|
|
15
|
-
import { glossaryChunk1 } from "./part-glossary/chunk1.js";
|
|
16
|
-
import { glossaryChunk2 } from "./part-glossary/chunk2.js";
|
|
17
|
-
import { glossaryChunk3 } from "./part-glossary/chunk3.js";
|
|
18
|
-
import { glossaryChunk4 } from "./part-glossary/chunk4.js";
|
|
19
|
-
export const partGlossarySeedData = [
|
|
20
|
-
...glossaryChunk0,
|
|
21
|
-
...glossaryChunk1,
|
|
22
|
-
...glossaryChunk2,
|
|
23
|
-
...glossaryChunk3,
|
|
24
|
-
...glossaryChunk4,
|
|
25
|
-
];
|
|
@@ -1,302 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* WHY: Seeds payouts for the Beyblade marketplace — 2 stores, all status states.
|
|
3
|
-
* WHAT: 10 payouts: COMPLETED (5), PROCESSING (1), PENDING (2 — one with refund deduction), FAILED (2).
|
|
4
|
-
*
|
|
5
|
-
* EXPORTS:
|
|
6
|
-
* payoutsSeedData — Array of Partial<PayoutPlain> for seed runner
|
|
7
|
-
*
|
|
8
|
-
* @tag domain:payouts,payments
|
|
9
|
-
* @tag layer:seed
|
|
10
|
-
* @tag pattern:none
|
|
11
|
-
* @tag access:server-only
|
|
12
|
-
* @tag consumers:seed/index.ts,seed/runner.ts
|
|
13
|
-
* @tag sideEffects:none
|
|
14
|
-
*/
|
|
15
|
-
import { getDefaultCurrency } from "./seed-market-config.js";
|
|
16
|
-
const _CURRENCY = getDefaultCurrency();
|
|
17
|
-
import { PAYOUT_FIELDS, DEFAULT_PLATFORM_FEE_RATE, } from "../features/payments/schemas/index.js";
|
|
18
|
-
const NOW = new Date();
|
|
19
|
-
const daysAgo = (n) => new Date(NOW.getTime() - n * 86400000);
|
|
20
|
-
/**
|
|
21
|
-
* A payout timeline entry, for the W18 `statusHistory` fixtures below.
|
|
22
|
-
*
|
|
23
|
-
* Dates come from the file's own `daysAgo()` helper, never `Date.now()` at
|
|
24
|
-
* import time in an ID position — Root Cause #25. `actorUid` only, never a
|
|
25
|
-
* name: `withHistory` scrubs PII from real writes and a fixture that carried
|
|
26
|
-
* a name would be the one place the rule is broken.
|
|
27
|
-
*/
|
|
28
|
-
function entry(at, actorRole, trigger, changes, extra) {
|
|
29
|
-
return { at, actorRole, trigger, changes, ...extra };
|
|
30
|
-
}
|
|
31
|
-
function payoutAmounts(grossINR) {
|
|
32
|
-
const grossAmount = grossINR;
|
|
33
|
-
const platformFee = Math.round(grossAmount * DEFAULT_PLATFORM_FEE_RATE * 100) / 100;
|
|
34
|
-
const amount = grossAmount - platformFee;
|
|
35
|
-
return { grossAmount, platformFee, amount };
|
|
36
|
-
}
|
|
37
|
-
function seedDeduction(orderId, refundId, refundedAmount, reason, daysAgoN) {
|
|
38
|
-
const deductedAmount = Math.round(refundedAmount * (1 - DEFAULT_PLATFORM_FEE_RATE) * 100) / 100;
|
|
39
|
-
return { orderId, refundId, refundedAmount, deductedAmount, reason, appliedAt: daysAgo(daysAgoN) };
|
|
40
|
-
}
|
|
41
|
-
export const payoutsSeedData = [
|
|
42
|
-
// ── COMPLETED (×5) ──────────────────────────────────────────────────────
|
|
43
|
-
// 1. Beyblade Arena — Jan 2026
|
|
44
|
-
{
|
|
45
|
-
id: "payout-beyblade-arena-jan-2026-completed",
|
|
46
|
-
/*
|
|
47
|
-
* Carries the transactionId AND the timeline entry recording it. Until
|
|
48
|
-
* 2026-08-26 `transactionId` was absent from
|
|
49
|
-
* PAYOUT_ADMIN_UPDATEABLE_FIELDS, so every real payout marked paid was
|
|
50
|
-
* stored without the reference the modal required. A fixture that
|
|
51
|
-
* omitted it would have kept agreeing with the bug.
|
|
52
|
-
*/
|
|
53
|
-
transactionId: "UTR2026011500042",
|
|
54
|
-
statusHistory: [
|
|
55
|
-
entry(daysAgo(150), "admin", "adminUpdatePayout", {
|
|
56
|
-
status: { from: "processing", to: "paid" },
|
|
57
|
-
transactionId: { from: null, to: "UTR2026011500042" },
|
|
58
|
-
}, { actorUid: "user-admin-letitrip" }),
|
|
59
|
-
],
|
|
60
|
-
storeId: "store-beyblade-arena",
|
|
61
|
-
sellerName: "Beyblade Arena",
|
|
62
|
-
sellerEmail: "tyson@beybladearena.in",
|
|
63
|
-
...payoutAmounts(15000),
|
|
64
|
-
platformFeeRate: DEFAULT_PLATFORM_FEE_RATE,
|
|
65
|
-
currency: _CURRENCY,
|
|
66
|
-
status: PAYOUT_FIELDS.STATUS_VALUES.PAID,
|
|
67
|
-
paymentMethod: "bank_transfer",
|
|
68
|
-
bankAccount: {
|
|
69
|
-
accountHolderName: "Mock User 6",
|
|
70
|
-
accountNumberMasked: "****3724",
|
|
71
|
-
ifscCode: "HDFC0001122",
|
|
72
|
-
bankName: "HDFC Bank",
|
|
73
|
-
},
|
|
74
|
-
notes: "January 2026 payout — Original series singles + Metal Fight lot delivered",
|
|
75
|
-
adminNote: "Bank transfer successful. Ref: TXN-2026-01-4521",
|
|
76
|
-
orderIds: ["order-1-20260115-a1b2c3"],
|
|
77
|
-
requestedAt: daysAgo(95),
|
|
78
|
-
processedAt: daysAgo(93),
|
|
79
|
-
createdAt: daysAgo(95),
|
|
80
|
-
updatedAt: daysAgo(93),
|
|
81
|
-
},
|
|
82
|
-
// 2. LetItRip Official — Jan 2026
|
|
83
|
-
{
|
|
84
|
-
id: "payout-letitrip-official-jan-2026-completed",
|
|
85
|
-
storeId: "store-letitrip-official",
|
|
86
|
-
sellerName: "LetItRip Official",
|
|
87
|
-
sellerEmail: "admin@letitrip.in",
|
|
88
|
-
...payoutAmounts(8500),
|
|
89
|
-
platformFeeRate: DEFAULT_PLATFORM_FEE_RATE,
|
|
90
|
-
currency: _CURRENCY,
|
|
91
|
-
status: PAYOUT_FIELDS.STATUS_VALUES.PAID,
|
|
92
|
-
paymentMethod: "upi",
|
|
93
|
-
upiId: "mohsin0502@okicici",
|
|
94
|
-
notes: "January 2026 payout — Mystery box + pre-order deposit orders",
|
|
95
|
-
adminNote: "UPI credited. Ref: UPI-2026-01-9983",
|
|
96
|
-
orderIds: ["order-2-20260120-d4e5f6"],
|
|
97
|
-
requestedAt: daysAgo(90),
|
|
98
|
-
processedAt: daysAgo(88),
|
|
99
|
-
createdAt: daysAgo(90),
|
|
100
|
-
updatedAt: daysAgo(88),
|
|
101
|
-
},
|
|
102
|
-
// 3. Beyblade Arena — Mar 2026
|
|
103
|
-
{
|
|
104
|
-
id: "payout-beyblade-arena-mar-2026-completed",
|
|
105
|
-
storeId: "store-beyblade-arena",
|
|
106
|
-
sellerName: "Beyblade Arena",
|
|
107
|
-
sellerEmail: "tyson@beybladearena.in",
|
|
108
|
-
...payoutAmounts(22000),
|
|
109
|
-
platformFeeRate: DEFAULT_PLATFORM_FEE_RATE,
|
|
110
|
-
currency: _CURRENCY,
|
|
111
|
-
status: PAYOUT_FIELDS.STATUS_VALUES.PAID,
|
|
112
|
-
paymentMethod: "bank_transfer",
|
|
113
|
-
bankAccount: {
|
|
114
|
-
accountHolderName: "Mock User 6",
|
|
115
|
-
accountNumberMasked: "****3724",
|
|
116
|
-
ifscCode: "HDFC0001122",
|
|
117
|
-
bankName: "HDFC Bank",
|
|
118
|
-
},
|
|
119
|
-
notes: "March 2026 payout — Metal Lightning L-Drago auction settlement + Burst lot",
|
|
120
|
-
adminNote: "Bank transfer successful. Ref: TXN-2026-03-8874",
|
|
121
|
-
orderIds: ["order-3-20260310-g7h8i9"],
|
|
122
|
-
requestedAt: daysAgo(50),
|
|
123
|
-
processedAt: daysAgo(48),
|
|
124
|
-
createdAt: daysAgo(50),
|
|
125
|
-
updatedAt: daysAgo(48),
|
|
126
|
-
},
|
|
127
|
-
// 4. LetItRip Official — Mar 2026
|
|
128
|
-
{
|
|
129
|
-
id: "payout-letitrip-official-mar-2026-completed",
|
|
130
|
-
storeId: "store-letitrip-official",
|
|
131
|
-
sellerName: "LetItRip Official",
|
|
132
|
-
sellerEmail: "admin@letitrip.in",
|
|
133
|
-
...payoutAmounts(5200),
|
|
134
|
-
platformFeeRate: DEFAULT_PLATFORM_FEE_RATE,
|
|
135
|
-
currency: _CURRENCY,
|
|
136
|
-
status: PAYOUT_FIELDS.STATUS_VALUES.PAID,
|
|
137
|
-
paymentMethod: "upi",
|
|
138
|
-
upiId: "mohsin0502@okicici",
|
|
139
|
-
notes: "March 2026 payout — Accessory orders",
|
|
140
|
-
adminNote: "UPI credited. Ref: UPI-2026-03-7765",
|
|
141
|
-
orderIds: ["order-4-20260315-j1k2l3"],
|
|
142
|
-
requestedAt: daysAgo(40),
|
|
143
|
-
processedAt: daysAgo(38),
|
|
144
|
-
createdAt: daysAgo(40),
|
|
145
|
-
updatedAt: daysAgo(38),
|
|
146
|
-
},
|
|
147
|
-
// 5. Beyblade Arena — Apr 2026
|
|
148
|
-
{
|
|
149
|
-
id: "payout-beyblade-arena-apr-2026-completed",
|
|
150
|
-
storeId: "store-beyblade-arena",
|
|
151
|
-
sellerName: "Beyblade Arena",
|
|
152
|
-
sellerEmail: "tyson@beybladearena.in",
|
|
153
|
-
...payoutAmounts(9800),
|
|
154
|
-
platformFeeRate: DEFAULT_PLATFORM_FEE_RATE,
|
|
155
|
-
currency: _CURRENCY,
|
|
156
|
-
status: PAYOUT_FIELDS.STATUS_VALUES.PAID,
|
|
157
|
-
paymentMethod: "upi",
|
|
158
|
-
upiId: "beybladearena@upi",
|
|
159
|
-
notes: "April 2026 payout — X-series wave lot + starter singles batch",
|
|
160
|
-
adminNote: "UPI credited. Ref: UPI-2026-04-3341",
|
|
161
|
-
orderIds: ["order-5-20260420-m4n5o6"],
|
|
162
|
-
requestedAt: daysAgo(20),
|
|
163
|
-
processedAt: daysAgo(18),
|
|
164
|
-
createdAt: daysAgo(20),
|
|
165
|
-
updatedAt: daysAgo(18),
|
|
166
|
-
},
|
|
167
|
-
// ── PROCESSING (×1) ─────────────────────────────────────────────────────
|
|
168
|
-
// 6. LetItRip Official — May 2026
|
|
169
|
-
{
|
|
170
|
-
id: "payout-letitrip-official-may-2026-processing",
|
|
171
|
-
storeId: "store-letitrip-official",
|
|
172
|
-
sellerName: "LetItRip Official",
|
|
173
|
-
sellerEmail: "admin@letitrip.in",
|
|
174
|
-
...payoutAmounts(4500),
|
|
175
|
-
platformFeeRate: DEFAULT_PLATFORM_FEE_RATE,
|
|
176
|
-
currency: _CURRENCY,
|
|
177
|
-
status: PAYOUT_FIELDS.STATUS_VALUES.PROCESSING,
|
|
178
|
-
paymentMethod: "upi",
|
|
179
|
-
upiId: "mohsin0502@okicici",
|
|
180
|
-
notes: "May 2026 payout — Mystery box sealed batch + accessories batch",
|
|
181
|
-
adminNote: "UPI transfer queued. Processing batch run.",
|
|
182
|
-
orderIds: ["order-6-20260510-p7q8r9"],
|
|
183
|
-
requestedAt: daysAgo(3),
|
|
184
|
-
processedAt: daysAgo(1),
|
|
185
|
-
createdAt: daysAgo(3),
|
|
186
|
-
updatedAt: daysAgo(1),
|
|
187
|
-
},
|
|
188
|
-
// ── PENDING (×2) ────────────────────────────────────────────────────────
|
|
189
|
-
// 7. Beyblade Arena — May 2026 — with partial refund deduction
|
|
190
|
-
{
|
|
191
|
-
id: "payout-beyblade-arena-may-2026-pending",
|
|
192
|
-
storeId: "store-beyblade-arena",
|
|
193
|
-
sellerName: "Beyblade Arena",
|
|
194
|
-
sellerEmail: "tyson@beybladearena.in",
|
|
195
|
-
...payoutAmounts(12000),
|
|
196
|
-
platformFeeRate: DEFAULT_PLATFORM_FEE_RATE,
|
|
197
|
-
currency: _CURRENCY,
|
|
198
|
-
status: PAYOUT_FIELDS.STATUS_VALUES.PENDING,
|
|
199
|
-
paymentMethod: "bank_transfer",
|
|
200
|
-
bankAccount: {
|
|
201
|
-
accountHolderName: "Mock User 6",
|
|
202
|
-
accountNumberMasked: "****3724",
|
|
203
|
-
ifscCode: "HDFC0001122",
|
|
204
|
-
bankName: "HDFC Bank",
|
|
205
|
-
},
|
|
206
|
-
notes: "May 2026 payout — Burst Valkyrie + Metal Storm Pegasus batch",
|
|
207
|
-
orderIds: ["order-7-20260515-s1t2u3"],
|
|
208
|
-
refundDeductions: [
|
|
209
|
-
seedDeduction("order-7-20260515-s1t2u3", "refund-order-7-partial-001", 500, "Piece arrived with a chipped bit — buyer requested partial refund", 1),
|
|
210
|
-
],
|
|
211
|
-
netAmount: payoutAmounts(12000).amount - 475,
|
|
212
|
-
requestedAt: daysAgo(1),
|
|
213
|
-
createdAt: daysAgo(1),
|
|
214
|
-
updatedAt: daysAgo(1),
|
|
215
|
-
},
|
|
216
|
-
// 8. LetItRip Official — May 2026
|
|
217
|
-
{
|
|
218
|
-
id: "payout-letitrip-official-may-2026-pending",
|
|
219
|
-
storeId: "store-letitrip-official",
|
|
220
|
-
sellerName: "LetItRip Official",
|
|
221
|
-
sellerEmail: "admin@letitrip.in",
|
|
222
|
-
...payoutAmounts(3200),
|
|
223
|
-
platformFeeRate: DEFAULT_PLATFORM_FEE_RATE,
|
|
224
|
-
currency: _CURRENCY,
|
|
225
|
-
status: PAYOUT_FIELDS.STATUS_VALUES.PENDING,
|
|
226
|
-
paymentMethod: "upi",
|
|
227
|
-
upiId: "mohsin0502@okicici",
|
|
228
|
-
notes: "May 2026 payout — Pre-order deposits + accessories",
|
|
229
|
-
orderIds: ["order-8-20260518-v4w5x6"],
|
|
230
|
-
requestedAt: daysAgo(1),
|
|
231
|
-
createdAt: daysAgo(1),
|
|
232
|
-
updatedAt: daysAgo(1),
|
|
233
|
-
},
|
|
234
|
-
// ── FAILED (×2) ─────────────────────────────────────────────────────────
|
|
235
|
-
// 9. LetItRip Official — Dec 2025 — bank rejected
|
|
236
|
-
{
|
|
237
|
-
id: "payout-letitrip-official-dec-2025-failed",
|
|
238
|
-
storeId: "store-letitrip-official",
|
|
239
|
-
sellerName: "LetItRip Official",
|
|
240
|
-
sellerEmail: "admin@letitrip.in",
|
|
241
|
-
...payoutAmounts(2999),
|
|
242
|
-
platformFeeRate: DEFAULT_PLATFORM_FEE_RATE,
|
|
243
|
-
currency: _CURRENCY,
|
|
244
|
-
status: PAYOUT_FIELDS.STATUS_VALUES.FAILED,
|
|
245
|
-
paymentMethod: "bank_transfer",
|
|
246
|
-
bankAccount: {
|
|
247
|
-
accountHolderName: "Mock User 1",
|
|
248
|
-
accountNumberMasked: "****1234",
|
|
249
|
-
ifscCode: "SBIN0001234",
|
|
250
|
-
bankName: "State Bank of India",
|
|
251
|
-
},
|
|
252
|
-
notes: "December 2025 payout — Sealed product order settlement",
|
|
253
|
-
adminNote: "Bank transfer rejected — IFSC code mismatch. Corrected IFSC on record. Resubmit required.",
|
|
254
|
-
orderIds: ["order-9-20251220-y7z8a9"],
|
|
255
|
-
requestedAt: daysAgo(155),
|
|
256
|
-
processedAt: daysAgo(153),
|
|
257
|
-
createdAt: daysAgo(155),
|
|
258
|
-
updatedAt: daysAgo(153),
|
|
259
|
-
/*
|
|
260
|
-
* TWO failed attempts, and that is the point. `lastFailureReason` holds
|
|
261
|
-
* only the second one; the timeline is the only place the first survives.
|
|
262
|
-
* This fixture is what the "a payout that failed twice shows BOTH
|
|
263
|
-
* reasons" tester case reads.
|
|
264
|
-
*/
|
|
265
|
-
statusHistory: [
|
|
266
|
-
entry(daysAgo(154), "system", "payoutBatch:dispatch", {
|
|
267
|
-
status: { from: "pending", to: "processing" },
|
|
268
|
-
}),
|
|
269
|
-
entry(daysAgo(154), "system", "payoutBatch:failedRetrying", { status: { from: "processing", to: "pending" }, lastFailureReason: { from: null, to: "Bank transfer failed: beneficiary bank returned NEFT rejection" } }, { reason: "Bank transfer failed: beneficiary bank returned NEFT rejection" }),
|
|
270
|
-
entry(daysAgo(153), "system", "payoutBatch:dispatch", {
|
|
271
|
-
status: { from: "pending", to: "processing" },
|
|
272
|
-
}),
|
|
273
|
-
entry(daysAgo(153), "system", "payoutBatch:failedFinal", { status: { from: "processing", to: "failed" }, lastFailureReason: { from: "Bank transfer failed: beneficiary bank returned NEFT rejection", to: "Bank transfer failed: IFSC code mismatch" } }, { reason: "Bank transfer failed: IFSC code mismatch" }),
|
|
274
|
-
],
|
|
275
|
-
},
|
|
276
|
-
// 10. Beyblade Arena — Jan 2026 — UPI limit exceeded
|
|
277
|
-
{
|
|
278
|
-
id: "payout-beyblade-arena-jan-2026-failed",
|
|
279
|
-
storeId: "store-beyblade-arena",
|
|
280
|
-
sellerName: "Beyblade Arena",
|
|
281
|
-
sellerEmail: "tyson@beybladearena.in",
|
|
282
|
-
...payoutAmounts(14499),
|
|
283
|
-
platformFeeRate: DEFAULT_PLATFORM_FEE_RATE,
|
|
284
|
-
currency: _CURRENCY,
|
|
285
|
-
status: PAYOUT_FIELDS.STATUS_VALUES.FAILED,
|
|
286
|
-
paymentMethod: "upi",
|
|
287
|
-
upiId: "beybladearena@upi",
|
|
288
|
-
notes: "January 2026 payout — Original Dragoon Storm auction settlement",
|
|
289
|
-
adminNote: "UPI transaction failed — daily limit of ₹1,00,000 exceeded. Switched to bank transfer for resubmission.",
|
|
290
|
-
orderIds: ["order-10-20260125-b1c2d3"],
|
|
291
|
-
requestedAt: daysAgo(110),
|
|
292
|
-
processedAt: daysAgo(108),
|
|
293
|
-
createdAt: daysAgo(110),
|
|
294
|
-
updatedAt: daysAgo(108),
|
|
295
|
-
statusHistory: [
|
|
296
|
-
entry(daysAgo(109), "system", "payoutBatch:dispatch", {
|
|
297
|
-
status: { from: "pending", to: "processing" },
|
|
298
|
-
}),
|
|
299
|
-
entry(daysAgo(108), "system", "payoutBatch:failedFinal", { status: { from: "processing", to: "failed" }, lastFailureReason: { from: null, to: "UPI transfer failed: daily limit exceeded" } }, { reason: "UPI transfer failed: daily limit exceeded" }),
|
|
300
|
-
],
|
|
301
|
-
},
|
|
302
|
-
];
|