25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 
 
 

44 satır
3.1 KiB

  1. # Copyright © Magento, Inc. All rights reserved.
  2. # See COPYING.txt for license details.
  3. type StoreConfig {
  4. front : String @doc(description: "The landing page that is associated with the base URL.")
  5. cms_home_page : String @doc(description: "The name of the CMS page that identifies the home page for the store.")
  6. no_route : String @doc(description: "The default page that displays when a 404 'Page not Found' error occurs.")
  7. cms_no_route : String @doc(description: "A specific CMS page that displays when a 404 'Page Not Found' error occurs.")
  8. cms_no_cookies : String @doc(description: "A specific CMS page that displays when cookies are not enabled for the browser.")
  9. show_cms_breadcrumbs : Int @doc(description: "Indicates whether a breadcrumb trail appears on all CMS pages in the catalog. 0 (No) or 1 (Yes).")
  10. }
  11. type Query {
  12. cmsPage (
  13. id: Int @doc(description: "The ID of the CMS page.") @deprecated(reason: "Use `identifier` instead.")
  14. identifier: String @doc(description: "The identifier of the CMS page.")
  15. ): CmsPage @resolver(class: "Magento\\CmsGraphQl\\Model\\Resolver\\Page") @doc(description: "Return details about a CMS page.") @cache(cacheIdentity: "Magento\\CmsGraphQl\\Model\\Resolver\\Page\\Identity")
  16. cmsBlocks (
  17. identifiers: [String] @doc(description: "An array of CMS block IDs.")
  18. ): CmsBlocks @resolver(class: "Magento\\CmsGraphQl\\Model\\Resolver\\Blocks") @doc(description: "Return information about CMS blocks.") @cache(cacheIdentity: "Magento\\CmsGraphQl\\Model\\Resolver\\Block\\Identity")
  19. }
  20. type CmsPage implements RoutableInterface @doc(description: "Contains details about a CMS page.") {
  21. identifier: String @doc(description: "The ID of a CMS page.")
  22. url_key: String @doc(description: "The URL key of the CMS page, which is often based on the `content_heading`.")
  23. title: String @doc(description: "The name that appears in the breadcrumb trail navigation and in the browser title bar and tab.")
  24. content: String @doc(description: "The content of the CMS page in raw HTML.")
  25. content_heading: String @doc(description: "The heading that displays at the top of the CMS page.")
  26. page_layout: String @doc(description: "The design layout of the page, indicating the number of columns and navigation features used on the page.")
  27. meta_title: String @doc(description: "A page title that is indexed by search engines and appears in search results listings.")
  28. meta_description: String @doc(description: "A brief description of the page for search results listings.")
  29. meta_keywords: String @doc(description: "A brief description of the page for search results listings.")
  30. }
  31. type CmsBlocks @doc(description: "Contains an array CMS block items.") {
  32. items: [CmsBlock] @doc(description: "An array of CMS blocks.")
  33. }
  34. type CmsBlock @doc(description: "Contains details about a specific CMS block.") {
  35. identifier: String @doc(description: "The CMS block identifier.")
  36. title: String @doc(description: "The title assigned to the CMS block.")
  37. content: String @doc(description: "The content of the CMS block in raw HTML.")
  38. }