Enrich JSDoc for Checkout APIs property descriptions, 2025-10#4234
Enrich JSDoc for Checkout APIs property descriptions, 2025-10#4234
Conversation
Port enriched JSDoc descriptions from checkout-web (shop/world#548830) to ui-extensions 2025-10. Covers all 16 Checkout APIs across 10 files: shared types, StandardApi, CheckoutApi, OrderConfirmationApi, cart line, shipping option, pickup location, and pickup point APIs. Preserves 2025-10-specific types (MetafieldRemoveChange, MetafieldUpdateChange) with appropriate JSDoc. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
🚨🚨🚨 Docs migration in progress 🚨🚨🚨We are actively migrating UI extension reference docs to MDX in the
During this migration, please be aware of the following:
Doc comments in Examples that previously lived in this repo are being moved to the What should I do?
Thanks for your patience while we complete the migration! 🙏 |
Replace Unicode left/right single quotes (U+2018/U+2019) with straight ASCII quotes on the type literal, which caused a TypeScript parse error. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The boolean represents consent granted, not opt-out. Align with the corrected checkout-web description. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Re-apply full checkout-web diff with review feedback. Includes
{API_VERSION} placeholder URLs, updated descriptions, and Shopify
Function link fixes. All fully qualified URLs preserved. Preserves
2025-10-specific types with appropriate JSDoc.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace Unicode curly quotes (U+2018/U+2019) with straight ASCII quotes on all type literal lines, which caused ESLint parse errors. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Partially closes https://github.com/shop/issues-learn/issues/1047
Summary
2025-10MetafieldRemoveChange,MetafieldUpdateChange) with appropriate JSDocTest plan
yarn tsc --noEmitpassesyarn docs:checkout 2025-10generates successfully🤖 Generated with Claude Code