schema.graphqls 2.2 KB

123456789101112131415161718192021222324252627282930313233
  1. # Copyright © Magento, Inc. All rights reserved.
  2. # See COPYING.txt for license details.
  3. type Query {
  4. storeConfig : StoreConfig @resolver(class: "Magento\\StoreGraphQl\\Model\\Resolver\\StoreConfigResolver") @doc(description: "The store config query")
  5. }
  6. type Website @doc(description: "The type contains information about a website") {
  7. id : Int @doc(description: "The ID number assigned to the website")
  8. name : String @doc(description: "The website name. Websites use this name to identify it easier.")
  9. code : String @doc(description: "A code assigned to the website to identify it")
  10. sort_order : Int @doc(description: "The attribute to use for sorting websites")
  11. default_group_id : String @doc(description: "The default group ID that the website has")
  12. is_default : Boolean @doc(description: "Specifies if this is the default website")
  13. }
  14. type StoreConfig @doc(description: "The type contains information about a store config") {
  15. id : Int @doc(description: "The ID number assigned to the store")
  16. code : String @doc(description: "A code assigned to the store to identify it")
  17. website_id : Int @doc(description: "The ID number assigned to the website store belongs")
  18. locale : String @doc(description: "Store locale")
  19. base_currency_code : String @doc(description: "Base currency code")
  20. default_display_currency_code : String @doc(description: "Default display currency code")
  21. timezone : String @doc(description: "Timezone of the store")
  22. weight_unit : String @doc(description: "The unit of weight")
  23. base_url : String @doc(description: "Base URL for the store")
  24. base_link_url : String @doc(description: "Base link URL for the store")
  25. base_static_url : String @doc(description: "Base static URL for the store")
  26. base_media_url : String @doc(description: "Base media URL for the store")
  27. secure_base_url : String @doc(description: "Secure base URL for the store")
  28. secure_base_link_url : String @doc(description: "Secure base link URL for the store")
  29. secure_base_static_url : String @doc(description: "Secure base static URL for the store")
  30. secure_base_media_url : String @doc(description: "Secure base media URL for the store")
  31. }