Repository URL to install this package:
|
Version:
2.0.21 ▾
|
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const apollo_server_1 = require("apollo-server");
const Sku_graphql_1 = __importDefault(require("./Sku.graphql"));
exports.default = apollo_server_1.gql `
${Sku_graphql_1.default}
type ProductChildren {
skus: [Sku]
products: [Product]
relatedproducts: [Product]
recommentedproducts: [Product]
}
type Specifications {
label: String
value: String
}
type Product {
identifier: ID!
image: String
type: String
name: String
children: ProductChildren
properties: ProductProperties
additional: [LabelValue]
specifications: [LabelValue]
}
type ProductProperties {
buyinfo: ProductBuyInfo
iteminfo: ProductItemInfo
reviewrating: ReviewRating
skuprops: SkuProps
state: State
}
type ProductBuyInfo implements IBuyInfo {
pricing: Pricing
inventorystatus: String
instock: String
preorder: String
preorderdate: String
deliverydate: String
availablequantity: String
availability: [Availability]
promomessages: [Label]
}
type ProductItemInfo {
categoryids: [LabelValue]
flags: [LabelValue]
videos: [LabelValue]
additionalimages: [LabelValue]
description: [LabelValue]
ismasterproduct: Boolean
iscollection: Boolean
isgroupproduct: Boolean
brand: String
}
type ReviewRating {
reviewcount: String
recommendedcount: String
reviews: [CountValue]
rating: String
ratingrange: String
}
type CountValue {
count: String
value: String
}
type SkuProps {
color: [ImageName]
size1: [Name]
style: [Name]
}
type State {
starttime: String
additionalinfo: [LabelValue]
}
`;
//# sourceMappingURL=Product.graphql.js.map