@shopify/ui-extensions 2025.10.0-rc.30 → 2025.10.0-rc.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ts/surfaces/customer-account/api/shared.d.ts +0 -16
- package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts +1 -5
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/surfaces/customer-account/api/shared.ts +0 -17
- package/src/surfaces/customer-account/api/standard-api/standard-api.ts +0 -6
package/package.json
CHANGED
|
@@ -393,23 +393,6 @@ export interface CompanyLocation {
|
|
|
393
393
|
id: string;
|
|
394
394
|
}
|
|
395
395
|
|
|
396
|
-
export interface Ui {
|
|
397
|
-
/**
|
|
398
|
-
* Refresh data so the surrounding information on the page is updated. The `content` string will appear in a toast message after refresh, to confirm the action was successful.
|
|
399
|
-
*
|
|
400
|
-
* To request access to this API:
|
|
401
|
-
*
|
|
402
|
-
* 1. Go to your partner dashboard and click **Apps**.
|
|
403
|
-
*
|
|
404
|
-
* 2. Select the app you need to request access for.
|
|
405
|
-
*
|
|
406
|
-
* 3. Click **API access**.
|
|
407
|
-
*
|
|
408
|
-
* 4. Under **Access force data refresh**, click **Request access**.
|
|
409
|
-
*/
|
|
410
|
-
forceDataRefresh(content: string): Promise<void>;
|
|
411
|
-
}
|
|
412
|
-
|
|
413
396
|
export interface SessionToken {
|
|
414
397
|
/**
|
|
415
398
|
* Requests a session token that hasn't expired. You should call this method every
|
|
@@ -7,7 +7,6 @@ import {
|
|
|
7
7
|
AuthenticatedAccount,
|
|
8
8
|
GraphQLError,
|
|
9
9
|
StorefrontApiVersion,
|
|
10
|
-
Ui,
|
|
11
10
|
SessionToken,
|
|
12
11
|
Analytics,
|
|
13
12
|
CustomerPrivacy,
|
|
@@ -99,11 +98,6 @@ export interface StandardApi<Target extends ExtensionTarget = ExtensionTarget> {
|
|
|
99
98
|
*/
|
|
100
99
|
settings: ReadonlySignalLike<ExtensionSettings>;
|
|
101
100
|
|
|
102
|
-
/**
|
|
103
|
-
* Methods to interact with the extension's UI.
|
|
104
|
-
*/
|
|
105
|
-
ui: Ui;
|
|
106
|
-
|
|
107
101
|
/**
|
|
108
102
|
* The Toast API displays a non-disruptive message that displays at the bottom
|
|
109
103
|
* of the interface to provide quick, at-a-glance feedback on the outcome
|