File tree 4 files changed +40
-0
lines changed
packages/ui-extensions/src/surfaces/admin
4 files changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -8,3 +8,4 @@ export type {ProductDetailsConfigurationApi} from './api/product-configuration/p
8
8
export type { ProductVariantDetailsConfigurationApi } from './api/product-configuration/product-variant-details-configuration' ;
9
9
export type { OrderRoutingRuleApi } from './api/order-routing-rule/order-routing-rule' ;
10
10
export type { ValidationSettingsApi } from './api/checkout-rules/validation-settings' ;
11
+ export type { InStorePickUpApi } from './api/in-store-pickup/in-store-pickup' ;
Original file line number Diff line number Diff line change
1
+ import type { Metafield } from '../shared' ;
2
+
3
+ export interface Data {
4
+ metafields : Metafield [ ] ;
5
+ }
Original file line number Diff line number Diff line change
1
+ import type { StandardApi } from '../standard/standard' ;
2
+ import type { ExtensionTarget as AnyExtensionTarget } from '../../extension-targets' ;
3
+
4
+ import { ApplyMetafieldsChange } from '../shared' ;
5
+ import { Data } from './data' ;
6
+
7
+ export interface InStorePickUpApi < ExtensionTarget extends AnyExtensionTarget >
8
+ extends StandardApi < ExtensionTarget > {
9
+ applyMetafieldsChange : ApplyMetafieldsChange ;
10
+ data : Data ;
11
+ }
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import type {
9
9
ProductDetailsConfigurationApi ,
10
10
ProductVariantDetailsConfigurationApi ,
11
11
OrderRoutingRuleApi ,
12
+ InStorePickUpApi ,
12
13
ValidationSettingsApi ,
13
14
} from './api' ;
14
15
import { AnyComponentBuilder } from '../../shared' ;
@@ -378,6 +379,28 @@ export interface ExtensionTargets {
378
379
AllComponents
379
380
> ;
380
381
382
+ /**
383
+ * Renders In Store Pickup Configuration on in store pick up settings (general and per location).
384
+ *
385
+ * See the [list of available components](/docs/api/admin-extensions/components).
386
+ */
387
+ 'admin.settings.in-store-pickup.render' : RenderExtension <
388
+ InStorePickUpApi < 'admin.settings.in-store-pickup.render' > ,
389
+ AllComponents
390
+ > ;
391
+ 'admin.settings.internal-in-store-pickup.render' : RenderExtension <
392
+ InStorePickUpApi < 'admin.settings.internal-in-store-pickup.render' > ,
393
+ AllComponents
394
+ > ;
395
+ 'admin.settings.in-store-pickup-location.render' : RenderExtension <
396
+ InStorePickUpApi < 'admin.settings.in-store-pickup-location.render' > ,
397
+ AllComponents
398
+ > ;
399
+ 'admin.settings.internal-in-store-pickup-location.render' : RenderExtension <
400
+ InStorePickUpApi < 'admin.settings.internal-in-store-pickup-location.render' > ,
401
+ AllComponents
402
+ > ;
403
+
381
404
/**
382
405
* Renders Validation Settings within a given validation's add and edit views.
383
406
*
You can’t perform that action at this time.
0 commit comments