Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/graphql / dist / models / Catalog.graphql.js
Size: Mime:
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const apollo_server_1 = require("apollo-server");
exports.default = apollo_server_1.gql `
  type ProductList {
    identifier: ID
    image: String
    name: String
    products: [Product]
    link: String
    categoryIds: [LabelValue]
    productCount: Int
    searchterm: String
    # @todo deprecate productSort/productFilter as these have there own queries
    productSort: SortingType
    productFilter: FacetType
    additional: [LabelValue]
  }

  type Refine {
    productSort: SortingType
    productFilter: FacetType
  }

  type SortingType {
    options: [LabelValue]
    sortedBy: String
  }

  type Facets {
    name: String
    values: [FacetValue]!
  }

  type FacetValue {
    identifier: String
    # navtype: String
    name: String
    count: Int
  }

  type FacetType {
    facets: [Facets]!
    selectedFilters: [LabelValue]!
  }

  # params
  input FacetsInput {
    key: String
    value: [String]
  }

  type TabMetaState {
    sorting: SortingType
    productCount: Int
  }

  type TabMetaProperties {
    state: TabMetaState
  }

  type FeatureTabMeta {
    title: String
    image: String
    viewAll: String
    url: String
    qa: String
  }

  type FeatureTabValues {
    additional: [LabelValue]
    specifications: [LabelValue]
    identifier: String
    image: String
    type: String
    name: String
    properties: ProductProperties
    url: String
    children: ProductChildren
  }

  type FeatureTab {
    title: String
    image: String
    viewAll: String
    url: String
    qa: String
    meta: FeatureTabMeta
    values: [FeatureTabValues]
  }

  type TabbedFeaturedProductList {
    tabs: [FeatureTab]
  }

  input EndpointInput {
    categoryId: String!
    categoryName: String!
    categoryAttribute: String!
  }

  input TabbedFeaturedProductListInput {
    endpoints: [EndpointInput]
  }
`;
//# sourceMappingURL=Catalog.graphql.js.map