Add types for admin.app.intent.render#4251
Conversation
🚨🚨🚨 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! 🙏 |
|
/snapit |
|
🫰✨ Thanks @kbav! Your snapshots have been published to npm. Test the snapshots by updating your "@shopify/ui-extensions": "0.0.0-snapshot-20260402155710",
"@shopify/ui-extensions-tester": "0.0.0-snapshot-20260402155710" |
65d8649 to
cfc590b
Compare
packages/ui-extensions/src/surfaces/admin/components/IntentExtensionComponents.ts
Outdated
Show resolved
Hide resolved
a4e16c5 to
9b24342
Compare
vividviolet
left a comment
There was a problem hiding this comment.
Looks good to me! Just need to add a changeset
9b24342 to
5226e02
Compare
5226e02 to
5ba5316
Compare
|
Perfect |
5ba5316 to
96efc07
Compare
IntentRenderApi requires a `data` property with an `intent` field. The mock was missing it, causing type-check and test CI failures. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The test was asserting data should NOT exist, but IntentRenderApi requires it. Updated to verify the mock data is correct instead. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
96efc07 to
26db774
Compare
Background
This adds the types for supporting admin.app.intent.render