Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🤖 Sync Liquid Docs Schema #571

Merged
merged 1 commit into from
Apr 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion data/filters.json
Original file line number Diff line number Diff line change
Expand Up @@ -4492,7 +4492,7 @@
"category": "format",
"deprecated": false,
"deprecation_reason": "",
"description": "",
"description": "The `structured_data` filter can be used on the [`product`](/docs/api/liquid/objects/product) object.",
"parameters": [

],
Expand Down
32 changes: 30 additions & 2 deletions data/objects.json
Original file line number Diff line number Diff line change
Expand Up @@ -5368,6 +5368,12 @@

],
"return_type": [
{
"type": "string",
"name": "image",
"description": "",
"array_value": ""
},
{
"type": "string",
"name": "swatch",
Expand Down Expand Up @@ -5667,6 +5673,24 @@
],
"summary": "The visual representation of the filter value when a swatch is used.",
"name": "swatch"
},
{
"deprecated": false,
"deprecation_reason": "",
"description": "Returns an [image](/docs/api/liquid/objects/image) drop for the filter value.\nRequires the [filter presentation](/docs/api/liquid/objects/filter#filter-presentation) to be `image` and for an image to be available. Otherwise, returns `nil`.",
"examples": [

],
"return_type": [
{
"type": "image",
"name": "",
"description": "",
"array_value": ""
}
],
"summary": "The visual representation of the filter value when an image is used.",
"name": "image"
}
],
"summary": "A specific value of a filter.",
Expand Down Expand Up @@ -7031,6 +7055,10 @@
"object": "external_video",
"property": "preview_image"
},
{
"object": "filter_value",
"property": "image"
},
{
"object": "image",
"property": "preview_image"
Expand Down Expand Up @@ -13002,7 +13030,7 @@
"array_value": ""
}
],
"summary": "The relative URL of the product.",
"summary": "Returns a URL if the option value may be associated with another product, nil otherwise.",
"name": "product_url"
}
],
Expand Down Expand Up @@ -13834,7 +13862,7 @@
"array_value": ""
}
],
"summary": "Returns `true` if the variant is set to require a `selling_plan` when being added to the cart. Returns `false` if not.",
"summary": "Returns `true` if the variant's product is set to require a `selling_plan` when being added to the cart. Returns `false` if not.",
"name": "requires_selling_plan"
}
],
Expand Down
Loading