-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathschema.graphqls
23 lines (19 loc) · 1.2 KB
/
schema.graphqls
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright © Magento, Inc. All rights reserved.
# See COPYING.txt for license details.
type CustomerOrder {
state: String! @doc(description: "The current state of the order.") @resolver(class: "Magento\\SalesGraphQlAux\\Model\\Resolver\\OrderState")
}
type Query {
searchTerm (
Search: String @doc(description: "An input of Search Term")
) : SearchTerm @resolver(class: "Magento\\SalesGraphQlAux\\Model\\Resolver\\SearchTerm")
}
type Cart @doc(description: "Contains the contents and other details about a guest or customer cart.") {
total_summary_quantity_including_config: Float! @resolver(class: "\\Magento\\SalesGraphQlAux\\Model\\Resolver\\CartConfig") @doc(description: "The total number of items in the cart.")
is_virtual: Boolean! @resolver(class: "\\Magento\\QuoteGraphQl\\Model\\Resolver\\CartIsVirtual") @doc(description: "Indicates whether the cart contains only virtual products.")
}
type SearchTerm {
query_text : String @doc(description: "Containes the query_text of the selected Search Term")
redirect : String @doc(description: "Containes the Url of the selected Search Term")
popularity : Int @doc(description: "Containes the popularity of the selected Search Term")
}