{
  "apiVersion": 3,
  "title": "Wishlist Items",
  "name": "brandy/wishlist-items",
  "category": "brandy-blocks",
  "description": "Display products from user's wishlist",
  "attributes": {
    "queryId": {
      "type": "number"
    },
    "query": {
      "type": "object",
      "default": {
        "perPage": 4,
        "pages": 0,
        "offset": 0,
        "postType": "product",
        "order": "asc",
        "orderBy": "title",
        "search": "",
        "exclude": [],
        "inherit": false,
        "taxQuery": {},
        "isWishlistQuery": true
      }
    },
    "displayLayout": {
      "type": "object",
      "default": {
        "type": "flex",
        "columns": 4,
        "shrinkColumns": true
      }
    }
  },
  "example": {
    "viewportWidth": 1400,
    "attributes": {},
    "innerBlocks": [
      {
        "name": "woocommerce/product-template",
        "attributes": {},
        "innerBlocks": [
          {
            "name": "woocommerce/product-image",
            "attributes": {
              "imageSizing": "thumbnail"
            }
          },
          {
            "name": "core/post-title",
            "attributes": {
              "textAlign": "center",
              "style": {
                "typography": {
                  "textAlign": "center"
                }
              },
              "level": 3,
              "fontSize": "medium",
              "isLink": true,
              "__woocommerceNamespace": "woocommerce/product-title"
            }
          },
          {
            "name": "woocommerce/product-price",
            "attributes": {
              "textAlign": "center",
              "fontSize": "small"
            }
          },
          {
            "name": "brandy/remove-from-wishlist",
            "attributes": {
              "buttonText": "Remove from Wishlist",
              "buttonSize": "small",
              "buttonStyle": "danger",
              "showIcon": true,
              "iconPosition": "left",
              "textAlign": "center",
              "blockAlignment": "center"
            }
          },
          {
            "name": "woocommerce/product-button",
            "attributes": {
              "textAlign": "center",
              "fontSize": "small"
            }
          }
        ]
      }
    ]
  },
  "providesContext": {
    "queryId": "queryId",
    "query": "query",
    "displayLayout": "displayLayout"
  },
  "supports": {
    "align": [
      "wide",
      "full"
    ],
    "anchor": true,
    "html": false,
    "__experimentalLayout": true
  },
  "editorScript": "file:./index.js",
  "style": "file:./style-index.css",
  "viewScript": "file:./frontend.js"
}