File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
packages/ui-extensions/src/surfaces/admin/api/discount-function-settings Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @shopify/ui-extensions ' : minor
3
+ ---
4
+
5
+ Make DiscountFunctionSettingsApi extend BlockExtensionApi
Original file line number Diff line number Diff line change 1
- import type { StandardApi } from '../standard/standard ' ;
1
+ import type { BlockExtensionApi } from '../block/block ' ;
2
2
import type { ExtensionTarget as AnyExtensionTarget } from '../../extension-targets' ;
3
3
4
4
import { ApplyMetafieldChange } from './metafields' ;
5
5
import { DiscountFunctionSettingsData } from './launch-options' ;
6
6
7
7
export interface DiscountFunctionSettingsApi <
8
8
ExtensionTarget extends AnyExtensionTarget ,
9
- > extends StandardApi < ExtensionTarget > {
9
+ > extends Omit < BlockExtensionApi < ExtensionTarget > , 'data' > {
10
10
/**
11
11
* Applies a change to the discount function settings.
12
12
*/
You can’t perform that action at this time.
0 commit comments