@shopify/ui-extensions
Advanced tools
Comparing version 0.0.0-unstable-20230717212402 to 0.0.0-unstable-20230718152544
@@ -66,2 +66,14 @@ export interface StandardApi { | ||
} | ||
export interface Intents { | ||
/** | ||
* The URL that was used to launch the intent. | ||
*/ | ||
launchUrl?: string | URL; | ||
} | ||
export interface Navigation { | ||
/** | ||
* A method to navigate to a specific route. | ||
*/ | ||
navigate: (url: string | URL) => void; | ||
} | ||
//# sourceMappingURL=api.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import type { StandardApi as BaseStandardApi, I18n } from '../../../../api'; | ||
import type { StandardApi as BaseStandardApi, I18n, Intents, Navigation } from '../../../../api'; | ||
import type { ExtensionTarget as AnyExtensionTarget } from '../../extension-targets'; | ||
@@ -14,3 +14,11 @@ /** | ||
i18n: I18n; | ||
/** | ||
* Provides information to the receiver the of an intent. | ||
*/ | ||
intents: Intents; | ||
/** | ||
* Provides methods to navigate to other features in the Admin. | ||
*/ | ||
navigation: Navigation; | ||
} | ||
//# sourceMappingURL=standard.d.ts.map |
{ | ||
"name": "@shopify/ui-extensions", | ||
"version": "0.0.0-unstable-20230717212402", | ||
"version": "0.0.0-unstable-20230718152544", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "docs:admin": "sh ./docs/surfaces/admin/build-docs.sh \"admin\"", |
@@ -77,1 +77,15 @@ export interface StandardApi { | ||
} | ||
export interface Intents { | ||
/** | ||
* The URL that was used to launch the intent. | ||
*/ | ||
launchUrl?: string | URL; | ||
} | ||
export interface Navigation { | ||
/** | ||
* A method to navigate to a specific route. | ||
*/ | ||
navigate: (url: string | URL) => void; | ||
} |
@@ -1,2 +0,7 @@ | ||
import type {StandardApi as BaseStandardApi, I18n} from '../../../../api'; | ||
import type { | ||
StandardApi as BaseStandardApi, | ||
I18n, | ||
Intents, | ||
Navigation, | ||
} from '../../../../api'; | ||
import type {ExtensionTarget as AnyExtensionTarget} from '../../extension-targets'; | ||
@@ -16,2 +21,10 @@ | ||
i18n: I18n; | ||
/** | ||
* Provides information to the receiver the of an intent. | ||
*/ | ||
intents: Intents; | ||
/** | ||
* Provides methods to navigate to other features in the Admin. | ||
*/ | ||
navigation: Navigation; | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1577113
22953