{
  "schema": {
    "https://${NEXT_PUBLIC_SHOPIFY_STORE_DOMAIN}/api/2022-07/graphql.json": {
      "headers": {
        "X-Shopify-Storefront-Access-Token": "${NEXT_PUBLIC_SHOPIFY_STOREFRONT_ACCESS_TOKEN}"
      }
    }
  },
  "documents": [
    {
      "./src/**/*.{ts,tsx}": {
        "noRequire": true
      }
    }
  ],
  "generates": {
    "./schema.d.ts": {
      "plugins": ["typescript", "typescript-operations"],
      "config": {
        "scalars": {
          "ID": "string"
        }
      }
    },
    "./schema.graphql": {
      "plugins": ["schema-ast"]
    }
  },
  "hooks": {
    "afterAllFileWrite": ["prettier --write"]
  }
}
