This repository has been archived by the owner on Jul 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 674
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #632 from mirumee/feature/improve_queries_on_landi…
…ng_page Use sdk for fetching shop details
- Loading branch information
Showing
6 changed files
with
107 additions
and
17 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
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
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
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,78 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
// This file was automatically generated and should not be edited. | ||
|
||
// ==================================================== | ||
// GraphQL query operation: GetShop | ||
// ==================================================== | ||
|
||
export interface GetShop_shop_defaultCountry { | ||
__typename: "CountryDisplay"; | ||
/** | ||
* Country code. | ||
*/ | ||
code: string; | ||
/** | ||
* Country name. | ||
*/ | ||
country: string; | ||
} | ||
|
||
export interface GetShop_shop_countries { | ||
__typename: "CountryDisplay"; | ||
/** | ||
* Country name. | ||
*/ | ||
country: string; | ||
/** | ||
* Country code. | ||
*/ | ||
code: string; | ||
} | ||
|
||
export interface GetShop_shop_geolocalization_country { | ||
__typename: "CountryDisplay"; | ||
/** | ||
* Country code. | ||
*/ | ||
code: string; | ||
/** | ||
* Country name. | ||
*/ | ||
country: string; | ||
} | ||
|
||
export interface GetShop_shop_geolocalization { | ||
__typename: "Geolocalization"; | ||
/** | ||
* Country of the user acquired by his IP address. | ||
*/ | ||
country: GetShop_shop_geolocalization_country | null; | ||
} | ||
|
||
export interface GetShop_shop { | ||
__typename: "Shop"; | ||
/** | ||
* Display prices with tax in store. | ||
*/ | ||
displayGrossPrices: boolean; | ||
/** | ||
* Shop's default country. | ||
*/ | ||
defaultCountry: GetShop_shop_defaultCountry | null; | ||
/** | ||
* List of countries available in the shop. | ||
*/ | ||
countries: (GetShop_shop_countries | null)[]; | ||
/** | ||
* Customer's geolocalization data. | ||
*/ | ||
geolocalization: GetShop_shop_geolocalization | null; | ||
} | ||
|
||
export interface GetShop { | ||
/** | ||
* Return information about the shop. | ||
*/ | ||
shop: GetShop_shop | null; | ||
} |
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
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