shopify-storefront
Version:
Wrapper for the Shopify's Storefront API.
131 lines • 2.27 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const astraql_1 = require("astraql");
const queryShop = (0, astraql_1.query) `
shop {
shop {
description
id
moneyFormat
name
shipsToCountries
brand {
shortDescription
slogan
colors {
primary {
background
foreground
}
secondary {
background
foreground
}
}
coverImage {
id
alt
image {
id
url
height
width
altText
}
mediaContentType
previewImage {
id
url
height
width
altText
}
}
logo {
id
alt
image {
id
url
height
width
altText
}
mediaContentType
previewImage {
id
url
height
width
altText
}
}
squareLogo {
id
alt
image {
id
url
height
width
altText
}
mediaContentType
previewImage {
id
url
height
width
altText
}
}
}
paymentSettings {
shopifyPaymentsAccountId
acceptedCardBrands
cardVaultUrl
countryCode
currencyCode
enabledPresentmentCurrencies
supportedDigitalWallets
}
privacyPolicy {
id
body
handle
title
url
}
refundPolicy {
id
body
handle
title
url
}
shippingPolicy {
id
body
handle
title
url
}
subscriptionPolicy {
id
body
handle
title
url
}
termsOfService {
id
body
handle
title
url
}
}
}
`;
exports.default = queryShop;
//# sourceMappingURL=queryShop.js.map