You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: etc/schema.graphqls
+31Lines changed: 31 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,7 @@ type Query {
50
50
filter: SellerFilterInput@doc(description: "Identifies which question attributes to search for and return."),
51
51
pageSize: Int = 5 @doc(description: "Specifies the maximum number of results to return at once. This attribute is optional."),
52
52
currentPage: Int = 1 @doc(description: "Specifies which page of results to return. The default value is 1."),
53
+
sort: SellerSortInput@doc(description: "Specifies which attributes to sort on, and whether to return the results in ascending or descending order.")
53
54
):Sellers@resolver(class: "\\Lof\\MarketplaceGraphQl\\Model\\Resolver\\Sellers") @doc(description: "The seller query searches for sellers that match the criteria specified in the search and filter attributes")
items: [SellerRate] @doc(description: "An array of seller rates")
143
151
}
144
152
153
+
inputSellerSortInput@doc(description: "SellerSortInput specifies the attribute to use for sorting search results and indicates whether the results are sorted in ascending or descending order. It's possible to sort sellers using searchable attributes with enabled 'Use in Filter Options' option")
154
+
{
155
+
position: SortEnum@doc(description: "Sort by the position (position).")
156
+
creation_time: SortEnum@doc(description: "Sort by the creation_time assigned to each seller.")
157
+
update_time: SortEnum@doc(description: "Sort by the update_time assigned to each seller.")
158
+
total_sold: SortEnum@doc(description: "Sort by the total_sold assigned to each seller.")
159
+
product_count: SortEnum@doc(description: "Sort by the product_count assigned to each seller.")
160
+
name: SortEnum@doc(description: "Sort by the name assigned to each seller.")
161
+
shop_title: SortEnum@doc(description: "Sort by the shop_title assigned to each seller.")
162
+
sale: SortEnum@doc(description: "Sort by the sale assigned to each seller.")
163
+
country_id: SortEnum@doc(description: "Sort by the country_id assigned to each seller.")
164
+
region: SortEnum@doc(description: "Sort by the region assigned to each seller.")
165
+
status: SortEnum@doc(description: "Sort by the status assigned to each seller.")
0 commit comments