UNPKG

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.

30 lines 709 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.attributes = void 0; const graphql_tag_1 = __importDefault(require("graphql-tag")); exports.attributes = graphql_tag_1.default ` query Attributes($id: ID!, $channel: String) { attributes(channel: $channel, filter: { inCategory: $id }, first: 100) { edges { node { id name slug choices(first: 100) { edges { node { id name slug } } } } } } } `; //# sourceMappingURL=attributes.js.map