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: app/code/Magento/StoreGraphQl/etc/schema.graphqls
+4-1
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,9 @@
2
2
# See COPYING.txt for license details.
3
3
typeQuery {
4
4
storeConfig : StoreConfig @resolver(class: "Magento\\StoreGraphQl\\Model\\Resolver\\StoreConfigResolver") @doc(description: "The store config query") @cache(cacheable: false)
5
-
availableStores: [StoreConfig] @resolver(class: "Magento\\StoreGraphQl\\Model\\Resolver\\AvailableStoresResolver") @doc(description: "Get a list of available store views and their config information.")
5
+
availableStores(
6
+
useCurrentGroup: Boolean@doc(description: "Filter store views by current store group")
7
+
): [StoreConfig] @resolver(class: "Magento\\StoreGraphQl\\Model\\Resolver\\AvailableStoresResolver") @doc(description: "Get a list of available store views and their config information.")
6
8
}
7
9
8
10
typeWebsite@doc(description: "Website is deprecated because it is should not be used on storefront. The type contains information about a website") {
@@ -32,4 +34,5 @@ type StoreConfig @doc(description: "The type contains information about a store
32
34
secure_base_static_url : String @doc(description: "Secure base static URL for the store")
33
35
secure_base_media_url : String @doc(description: "Secure base media URL for the store")
34
36
store_name : String @doc(description: "Name of the store")
37
+
use_store_in_url: Boolean@doc(description: "The configuration determines if the store code should be used in the URL")
0 commit comments