Demo: a static copy of one review, without the review service. Reviewed marks apply in this tab until it reloads, and view settings stay in this browser. Comments, decisions, and publication need an installed mcp-review. About mcp-review · Get early access

Move the storefront API to typed handlers

Coverage

Presentation
All 1051 selected changes are placed. 1050 in groups · 0 unbucketed · 1 generated · 0 without a text diff
Explanations
8 of 8 groups have an explanation.
Agent analysis
Reading the analysis status…
Human review
0 of 1051 hunks are marked reviewed.

Handler tests

Each handler test calls the handler through invoke instead of starting the Express app, and adds a request without a session.

test/handlers/addresses/create.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/addresses/delete.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/addresses/export.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/addresses/get.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/addresses/list.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/addresses/search.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/addresses/update.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/apiKeys/create.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/apiKeys/delete.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/apiKeys/export.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/apiKeys/get.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/apiKeys/list.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/apiKeys/search.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/apiKeys/update.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/attributes/create.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/attributes/delete.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/attributes/export.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/attributes/get.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/attributes/list.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/attributes/search.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/attributes/update.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/brands/create.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/brands/delete.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/brands/export.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/brands/get.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/brands/list.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/brands/search.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/brands/update.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/bundles/create.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/bundles/delete.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/bundles/export.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/bundles/get.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/bundles/list.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/bundles/search.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/bundles/update.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/carts/create.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/carts/delete.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/carts/export.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/carts/get.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/carts/list.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/carts/search.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/carts/update.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/categories/create.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/categories/delete.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/categories/export.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/categories/get.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/categories/list.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/categories/search.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/categories/update.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/collections/create.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/collections/delete.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/collections/export.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/collections/get.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/collections/list.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/collections/search.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/collections/update.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/consents/create.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/consents/delete.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/consents/export.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/consents/get.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/consents/list.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/consents/search.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/consents/update.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/coupons/create.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/coupons/delete.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/coupons/export.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/coupons/get.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/coupons/list.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/coupons/search.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/coupons/update.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/customers/create.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/customers/delete.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/customers/export.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/customers/get.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/customers/list.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/customers/search.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/customers/update.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/giftCards/create.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/giftCards/delete.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/giftCards/export.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/giftCards/get.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/giftCards/list.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/giftCards/search.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/giftCards/update.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/inventory/create.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/inventory/delete.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/inventory/export.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/inventory/get.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/inventory/list.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/inventory/search.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/inventory/update.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/invoices/create.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/invoices/delete.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/invoices/export.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/invoices/get.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/invoices/list.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/invoices/search.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/invoices/update.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/loyalty/create.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/loyalty/delete.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/loyalty/export.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/loyalty/get.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/loyalty/list.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/loyalty/search.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/loyalty/update.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/media/create.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/media/delete.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/media/export.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/media/get.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/media/list.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/media/search.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/media/update.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/notifications/create.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/notifications/delete.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/notifications/export.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/notifications/get.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/notifications/list.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/notifications/search.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/notifications/update.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/orders/create.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/orders/delete.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/orders/export.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/orders/get.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/orders/list.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/orders/search.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/orders/update.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/payments/create.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/payments/delete.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/payments/export.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/payments/get.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/payments/list.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/payments/search.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/payments/update.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/preferences/create.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/preferences/delete.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/preferences/export.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/preferences/get.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/preferences/list.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/preferences/search.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/preferences/update.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/prices/create.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/prices/delete.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/prices/export.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/prices/get.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/prices/list.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/prices/search.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/prices/update.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/products/create.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/products/delete.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/products/export.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/products/get.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/products/list.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/products/search.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/products/update.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/quotes/create.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/quotes/delete.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/quotes/export.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/quotes/get.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/quotes/list.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/quotes/search.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/quotes/update.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/refunds/create.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/refunds/delete.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/refunds/export.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/refunds/get.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/refunds/list.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/refunds/search.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/refunds/update.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/returns/create.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/returns/delete.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/returns/export.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/returns/get.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/returns/list.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/returns/search.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/returns/update.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/reviews/create.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/reviews/delete.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/reviews/export.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/reviews/get.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/reviews/list.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/reviews/search.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/reviews/update.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/sessions/create.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/sessions/delete.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/sessions/export.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/sessions/get.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/sessions/list.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/sessions/search.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/sessions/update.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/shipments/create.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/shipments/delete.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/shipments/export.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/shipments/get.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/shipments/list.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/shipments/search.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/shipments/update.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/subscriptions/create.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/subscriptions/delete.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/subscriptions/export.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/subscriptions/get.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/subscriptions/list.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/subscriptions/search.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/subscriptions/update.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/teams/create.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/teams/delete.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/teams/export.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/teams/get.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/teams/list.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/teams/search.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/teams/update.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/variants/create.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/variants/delete.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/variants/export.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/variants/get.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/variants/list.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/variants/search.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/variants/update.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/wishlists/create.test.ts
+25 -24

The changes load when the file comes near.

test/handlers/wishlists/delete.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/wishlists/export.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/wishlists/get.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/wishlists/list.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/wishlists/search.test.ts
+24 -23

The changes load when the file comes near.

test/handlers/wishlists/update.test.ts
+25 -24

The changes load when the file comes near.

+14,668 -11,128 left