@@ -634,7 +634,7 @@ export interface ToastApi {
634634 */
635635export interface IntentQueryOptions {
636636 /**
637- * The resource identifier for edit actions (e.g., ' gid://shopify/SubscriptionContract/123' ).
637+ * The resource identifier for edit actions (e.g. ` gid://shopify/SubscriptionContract/123` ).
638638 */
639639 value ?: string ;
640640 /**
@@ -667,12 +667,12 @@ export interface IntentQuery extends IntentQueryOptions {
667667 /**
668668 * Verb describing the operation to perform on the target resource.
669669 *
670- * Common values include `' create' ` and `' open' `. The set of
670+ * Common values include `create` and `open`. The set of
671671 * allowed verbs is intent-specific; unknown verbs will fail validation.
672672 */
673673 action : IntentAction ;
674674 /**
675- * The resource type (e.g., ' shopify/SubscriptionContract' ).
675+ * The resource type (e.g. ` shopify/SubscriptionContract` ).
676676 */
677677 type : string ;
678678}
@@ -756,7 +756,9 @@ export interface IntentActivity {
756756 */
757757export interface Intents {
758758 /**
759- * Invoke an intent using the object syntax.
759+ * Invoke an intent using the object or URL syntax.
760+ *
761+ * Object format: `{action, type, value?, data?}`
760762 *
761763 * @param query - Structured intent description, including `action` and `type`.
762764 * @returns A promise for an {@link IntentActivity} that completes with an
@@ -776,9 +778,7 @@ export interface Intents {
776778 */
777779 invoke ( query : IntentQuery ) : Promise < IntentActivity > ;
778780 /**
779- * Invoke an intent using the URL syntax.
780- *
781- * URL format: `action:type[,value][?params]`.
781+ * URL format: `action:type[,value][?params]`
782782 *
783783 * @param intentURL - Intent in URL form
784784 * @param options - Optional supplemental inputs such as `value` or `data`.
0 commit comments