flamingo.me/flamingo-commerce/v3@v3.11.0/test/integrationtest/projecttest/graphql/schema/flamingo.me_flamingo-commerce_v3_search_interfaces_graphql-Service.graphql (about)

     1  input Commerce_Search_KeyValueFilter {
     2      k: String!
     3      v: [String!]
     4  }
     5  
     6  input Commerce_Search_Request {
     7      pageSize:           Int
     8      page:               Int
     9      sortBy:             String
    10      keyValueFilters:    [Commerce_Search_KeyValueFilter!]
    11      query:              String
    12  }
    13  
    14  #input Commerce_Search_LiveSearchRequest {
    15  #    query:              String
    16  #}
    17  
    18  type Commerce_Search_Meta {
    19      query:          String!
    20      originalQuery:  String!
    21      page:           Int!
    22      numPages:       Int!
    23      numResults:     Int!
    24      sortOptions:    [Commerce_Search_SortOption!]
    25  }
    26  
    27  type Commerce_Search_SortOption {
    28      label: String!
    29      field: String!
    30      selected: Boolean!
    31  }
    32  
    33  interface Commerce_Search_Facet {
    34      name: String!
    35      label: String!
    36      position: Int!
    37      items: [Commerce_Search_FacetItem!]!
    38      hasSelectedItem: Boolean!
    39  }
    40  
    41  interface Commerce_Search_FacetItem {
    42      label: String!
    43      value: String!
    44      selected: Boolean!
    45      count: Int!
    46  }
    47  
    48  type Commerce_Search_ListFacet implements Commerce_Search_Facet {
    49      name: String!
    50      label: String!
    51      position: Int!
    52      items: [Commerce_Search_ListFacetItem!]!
    53      hasSelectedItem: Boolean!
    54  }
    55  
    56  type Commerce_Search_ListFacetItem implements Commerce_Search_FacetItem {
    57      label: String!
    58      value: String!
    59      selected: Boolean!
    60      count: Int!
    61  }
    62  
    63  type Commerce_Search_TreeFacet implements Commerce_Search_Facet {
    64      name: String!
    65      label: String!
    66      position: Int!
    67      items: [Commerce_Search_TreeFacetItem!]!
    68      hasSelectedItem: Boolean!
    69  }
    70  
    71  type Commerce_Search_TreeFacetItem implements Commerce_Search_FacetItem {
    72      label: String!
    73      value: String!
    74      selected: Boolean!
    75      count: Int!
    76      active: Boolean!
    77      items: [Commerce_Search_TreeFacetItem!]
    78  }
    79  
    80  type Commerce_Search_RangeFacet implements Commerce_Search_Facet {
    81      name: String!
    82      label: String!
    83      position: Int!
    84      items: [Commerce_Search_RangeFacetItem!]!
    85      hasSelectedItem: Boolean!
    86  }
    87  
    88  type Commerce_Search_RangeFacetItem implements Commerce_Search_FacetItem {
    89      label: String!
    90      value: String!
    91      selected: Boolean!
    92      count: Int!
    93      min: Int!
    94      max: Int!
    95      selectedMin: Int!
    96      selectedMax: Int!
    97  }
    98  
    99  type Commerce_Search_Suggestion {
   100      text:      String!
   101      highlight: String!
   102  }
   103  
   104  type Commerce_Search_Action {
   105      type: String!
   106      content: String!
   107  }
   108  
   109  type Commerce_Search_Promotion {
   110      title: String!
   111      content: String!
   112      url: String!
   113      media: Commerce_Search_PromotionMedia
   114  }
   115  
   116  type Commerce_Search_PromotionMedia {
   117      type:      String!
   118      mimeType:  String!
   119      usage:     String!
   120      title:     String!
   121      reference: String!
   122  }
   123  
   124  #type Commerce_Search_Result {
   125  #    hits: []Commerce_Search_Document  / Or maybe we dont need hits and the modules need to add a edge to this object... we will see
   126  #    searchMeta:     Commerce_Search_Meta!
   127      # Facets: domain.FacetCollection
   128  #    suggestions:    [Commerce_Search_Suggestion]
   129  #}
   130  
   131  
   132  #extend type Query {
   133  #    Commerce_Search(searchRequest: Commerce_Search_Request): Commerce_Search_Result
   134  #    Commerce_Search_LiveSearch(searchRequest: Commerce_Search_LiveSearchRequest): Commerce_Search_ResultCommerce_Search_LiveSearchRequest!
   135  #}