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.

Account handlers

The handlers of customers, addresses, sessions, wishlists, notifications, subscriptions, loyalty accounts and consents move to the typed form.

A customer email is now the key of a create, so a second account with the same email answers 409.

src/handlers/addresses/create.ts
+15 -29

The changes load when the file comes near.

src/handlers/addresses/delete.ts
+16 -18

The changes load when the file comes near.

src/handlers/addresses/export.ts
+20 -16

The changes load when the file comes near.

src/handlers/addresses/get.ts
+15 -17

The changes load when the file comes near.

src/handlers/addresses/list.ts
+16 -14

The changes load when the file comes near.

src/handlers/addresses/search.ts
+13 -18

The changes load when the file comes near.

src/handlers/addresses/update.ts
+17 -27

The changes load when the file comes near.

src/handlers/apiKeys/create.ts
+15 -29

The changes load when the file comes near.

src/handlers/apiKeys/delete.ts
+16 -18

The changes load when the file comes near.

src/handlers/apiKeys/export.ts
+20 -16

The changes load when the file comes near.

src/handlers/apiKeys/get.ts
+15 -17

The changes load when the file comes near.

src/handlers/apiKeys/list.ts
+16 -14

The changes load when the file comes near.

src/handlers/apiKeys/search.ts
+13 -18

The changes load when the file comes near.

src/handlers/apiKeys/update.ts
+17 -25

The changes load when the file comes near.

src/handlers/consents/create.ts
+15 -29

The changes load when the file comes near.

src/handlers/consents/delete.ts
+16 -18

The changes load when the file comes near.

src/handlers/consents/export.ts
+20 -16

The changes load when the file comes near.

src/handlers/consents/get.ts
+15 -17

The changes load when the file comes near.

src/handlers/consents/list.ts
+16 -14

The changes load when the file comes near.

src/handlers/consents/search.ts
+13 -18

The changes load when the file comes near.

src/handlers/consents/update.ts
+17 -25

The changes load when the file comes near.

src/handlers/customers/create.ts
+18 -29

The changes load when the file comes near.

src/handlers/customers/delete.ts
+16 -18

The changes load when the file comes near.

src/handlers/customers/export.ts
+20 -16

The changes load when the file comes near.

src/handlers/customers/get.ts
+15 -17

The changes load when the file comes near.

src/handlers/customers/list.ts
+16 -14

The changes load when the file comes near.

src/handlers/customers/search.ts
+13 -18

The changes load when the file comes near.

src/handlers/customers/update.ts
+17 -25

The changes load when the file comes near.

src/handlers/loyalty/create.ts
+18 -29

The changes load when the file comes near.

src/handlers/loyalty/delete.ts
+16 -18

The changes load when the file comes near.

src/handlers/loyalty/export.ts
+20 -16

The changes load when the file comes near.

src/handlers/loyalty/get.ts
+15 -17

The changes load when the file comes near.

src/handlers/loyalty/list.ts
+16 -14

The changes load when the file comes near.

src/handlers/loyalty/search.ts
+13 -18

The changes load when the file comes near.

src/handlers/loyalty/update.ts
+17 -25

The changes load when the file comes near.

src/handlers/notifications/create.ts
+15 -29

The changes load when the file comes near.

src/handlers/notifications/delete.ts
+16 -18

The changes load when the file comes near.

src/handlers/notifications/export.ts
+20 -16

The changes load when the file comes near.

src/handlers/notifications/get.ts
+15 -17

The changes load when the file comes near.

src/handlers/notifications/list.ts
+16 -14

The changes load when the file comes near.

src/handlers/notifications/search.ts
+13 -18

The changes load when the file comes near.

src/handlers/notifications/update.ts
+17 -25

The changes load when the file comes near.

src/handlers/preferences/create.ts
+18 -29

The changes load when the file comes near.

src/handlers/preferences/delete.ts
+16 -18

The changes load when the file comes near.

src/handlers/preferences/export.ts
+20 -16

The changes load when the file comes near.

src/handlers/preferences/get.ts
+15 -17

The changes load when the file comes near.

src/handlers/preferences/list.ts
+16 -14

The changes load when the file comes near.

src/handlers/preferences/search.ts
+13 -18

The changes load when the file comes near.

src/handlers/preferences/update.ts
+17 -25

The changes load when the file comes near.

src/handlers/sessions/create.ts
+15 -29

The changes load when the file comes near.

src/handlers/sessions/delete.ts
+16 -18

The changes load when the file comes near.

src/handlers/sessions/export.ts
+20 -16

The changes load when the file comes near.

src/handlers/sessions/get.ts
+15 -17

The changes load when the file comes near.

src/handlers/sessions/list.ts
+16 -14

The changes load when the file comes near.

src/handlers/sessions/search.ts
+13 -18

The changes load when the file comes near.

src/handlers/sessions/update.ts
+17 -25

The changes load when the file comes near.

src/handlers/subscriptions/create.ts
+15 -29

The changes load when the file comes near.

src/handlers/subscriptions/delete.ts
+16 -18

The changes load when the file comes near.

src/handlers/subscriptions/export.ts
+20 -16

The changes load when the file comes near.

src/handlers/subscriptions/get.ts
+15 -17

The changes load when the file comes near.

src/handlers/subscriptions/list.ts
+16 -14

The changes load when the file comes near.

src/handlers/subscriptions/search.ts
+13 -18

The changes load when the file comes near.

src/handlers/subscriptions/update.ts
+17 -25

The changes load when the file comes near.

src/handlers/teams/create.ts
+18 -29

The changes load when the file comes near.

src/handlers/teams/delete.ts
+16 -18

The changes load when the file comes near.

src/handlers/teams/export.ts
+20 -16

The changes load when the file comes near.

src/handlers/teams/get.ts
+15 -17

The changes load when the file comes near.

src/handlers/teams/list.ts
+16 -14

The changes load when the file comes near.

src/handlers/teams/search.ts
+13 -18

The changes load when the file comes near.

src/handlers/teams/update.ts
+17 -25

The changes load when the file comes near.

src/handlers/wishlists/create.ts
+15 -29

The changes load when the file comes near.

src/handlers/wishlists/delete.ts
+16 -18

The changes load when the file comes near.

src/handlers/wishlists/export.ts
+20 -16

The changes load when the file comes near.

src/handlers/wishlists/get.ts
+15 -17

The changes load when the file comes near.

src/handlers/wishlists/list.ts
+16 -14

The changes load when the file comes near.

src/handlers/wishlists/search.ts
+13 -18

The changes load when the file comes near.

src/handlers/wishlists/update.ts
+17 -25

The changes load when the file comes near.

+14,668 -11,128 left