Skip to content

Commit

Permalink
🤖 Sync Liquid Docs Schema
Browse files Browse the repository at this point in the history
  • Loading branch information
shopify-dev-bot[bot] authored Feb 12, 2025
1 parent d2e7170 commit ef9ed94
Showing 1 changed file with 77 additions and 1 deletion.
78 changes: 77 additions & 1 deletion data/filters.json
Original file line number Diff line number Diff line change
Expand Up @@ -2075,7 +2075,7 @@
{
"description": "Whether to use false values instead of the default.",
"name": "allow_false",
"positional": true,
"positional": false,
"required": false,
"types": [
"boolean"
Expand Down Expand Up @@ -2236,6 +2236,44 @@
"syntax": "string | escape_once",
"name": "escape_once"
},
{
"category": "array",
"deprecated": false,
"deprecation_reason": "",
"description": "This requires you to provide both the property name and the associated value.",
"parameters": [],
"return_type": [
{
"type": "untyped",
"name": "",
"description": "",
"array_value": ""
}
],
"examples": [],
"summary": "Returns the first item in an array with a specific property value.",
"syntax": "array | find: string, string",
"name": "find"
},
{
"category": "array",
"deprecated": false,
"deprecation_reason": "",
"description": "This requires you to provide both the property name and the associated value.",
"parameters": [],
"return_type": [
{
"type": "number",
"name": "",
"description": "",
"array_value": ""
}
],
"examples": [],
"summary": "Returns the index of the first item in an array with a specific property value.",
"syntax": "array | find_index: string, string",
"name": "find_index"
},
{
"category": "array",
"deprecated": false,
Expand Down Expand Up @@ -2306,6 +2344,25 @@
"syntax": "number | floor",
"name": "floor"
},
{
"category": "array",
"deprecated": false,
"deprecation_reason": "",
"description": "This requires you to provide both the property name and the associated value.",
"parameters": [],
"return_type": [
{
"type": "boolean",
"name": "",
"description": "",
"array_value": ""
}
],
"examples": [],
"summary": "Tests if any item in an array has a specific property value.",
"syntax": "array | some: string, string",
"name": "has"
},
{
"category": "array",
"deprecated": false,
Expand Down Expand Up @@ -2596,6 +2653,25 @@
"syntax": "string | prepend: string",
"name": "prepend"
},
{
"category": "array",
"deprecated": false,
"deprecation_reason": "",
"description": "This requires you to provide both the property name and the associated value.",
"parameters": [],
"return_type": [
{
"type": "array",
"name": "",
"description": "",
"array_value": "untyped"
}
],
"examples": [],
"summary": "Filters an array to exclude items with a specific property value.",
"syntax": "array | reject: string, string",
"name": "reject"
},
{
"category": "string",
"deprecated": false,
Expand Down

0 comments on commit ef9ed94

Please sign in to comment.