-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add in store pickup targets's API definition
- Loading branch information
1 parent
e9c1560
commit 41f54a8
Showing
4 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
packages/ui-extensions/src/surfaces/admin/api/in-store-pickup/data.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import type {Metafield} from '../shared'; | ||
|
||
export interface Data { | ||
metafields: Metafield[]; | ||
} |
11 changes: 11 additions & 0 deletions
11
packages/ui-extensions/src/surfaces/admin/api/in-store-pickup/in-store-pickup.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import type {StandardApi} from '../standard/standard'; | ||
import type {ExtensionTarget as AnyExtensionTarget} from '../../extension-targets'; | ||
|
||
import {ApplyMetafieldsChange} from '../shared'; | ||
import {Data} from './data'; | ||
|
||
export interface InStorePickUpApi<ExtensionTarget extends AnyExtensionTarget> | ||
extends StandardApi<ExtensionTarget> { | ||
applyMetafieldsChange: ApplyMetafieldsChange; | ||
data: Data; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters