usimple-saleor-sdk
Version:
This package contains all queries and mutations that are used in our sample storefront. It can be used for semi-custom or fully-custom (with ability to extend existing queries) storefront solutions.
40 lines (39 loc) • 860 B
TypeScript
export interface Address_country {
__typename: "CountryDisplay";
/**
* Country code.
*/
code: string;
/**
* Country name.
*/
country: string;
}
export interface Address {
__typename: "Address";
/**
* The ID of the object.
*/
id: string;
firstName: string;
lastName: string;
companyName: string;
streetAddress1: string;
streetAddress2: string;
city: string;
postalCode: string;
/**
* Shop's default country.
*/
country: Address_country;
countryArea: string;
phone: string | null;
/**
* Address is user's default billing address.
*/
isDefaultBillingAddress: boolean | null;
/**
* Address is user's default shipping address.
*/
isDefaultShippingAddress: boolean | null;
}