portal-www
Version:
Nova Portal Website. Based on Next starter by Ueno
73 lines (70 loc) • 1.41 kB
text/typescript
import gql from 'graphql-tag';
export const ApplicableProductsAndVariants = gql`
query ApplicableProductsAndVariants($input: ApplicableProductsInput!) {
applicableProducts(input: $input) {
applicableVariants {
isApplicable
isApplicableImmediately
isCurrent
variant {
category
contractProductsNeeded
eesDataVolume
forSale
hasContractProductNeeded
id
imageUrl
isOnlyForNovaCustomers
monthlyCharge
name
options {
count
type
variants {
id
isCurrent
monthlyCharge
name
price
productName
}
}
}
}
product {
category
description
id
name
productType
slug
variants {
id
monthlyCharge
name
productName
}
}
}
}
`;
export const ApplicableProducts = gql`
query ApplicableProducts($input: ApplicableProductsInput!) {
applicableProducts(input: $input) {
product {
category
description
id
name
productType
slug
variants {
id
monthlyCharge
name
productName
}
}
}
}
`;