Skip to content

Commit e739bb0

Browse files
🤖 Sync Liquid Docs Schema (#912)
Co-authored-by: shopify-dev-bot[bot] <95105344+shopify-dev-bot[bot]@users.noreply.github.com>
1 parent d2e7170 commit e739bb0

File tree

1 file changed

+77
-1
lines changed

1 file changed

+77
-1
lines changed

‎data/filters.json

+77-1
Original file line numberDiff line numberDiff line change
@@ -2075,7 +2075,7 @@
20752075
{
20762076
"description": "Whether to use false values instead of the default.",
20772077
"name": "allow_false",
2078-
"positional": true,
2078+
"positional": false,
20792079
"required": false,
20802080
"types": [
20812081
"boolean"
@@ -2236,6 +2236,44 @@
22362236
"syntax": "string | escape_once",
22372237
"name": "escape_once"
22382238
},
2239+
{
2240+
"category": "array",
2241+
"deprecated": false,
2242+
"deprecation_reason": "",
2243+
"description": "This requires you to provide both the property name and the associated value.",
2244+
"parameters": [],
2245+
"return_type": [
2246+
{
2247+
"type": "untyped",
2248+
"name": "",
2249+
"description": "",
2250+
"array_value": ""
2251+
}
2252+
],
2253+
"examples": [],
2254+
"summary": "Returns the first item in an array with a specific property value.",
2255+
"syntax": "array | find: string, string",
2256+
"name": "find"
2257+
},
2258+
{
2259+
"category": "array",
2260+
"deprecated": false,
2261+
"deprecation_reason": "",
2262+
"description": "This requires you to provide both the property name and the associated value.",
2263+
"parameters": [],
2264+
"return_type": [
2265+
{
2266+
"type": "number",
2267+
"name": "",
2268+
"description": "",
2269+
"array_value": ""
2270+
}
2271+
],
2272+
"examples": [],
2273+
"summary": "Returns the index of the first item in an array with a specific property value.",
2274+
"syntax": "array | find_index: string, string",
2275+
"name": "find_index"
2276+
},
22392277
{
22402278
"category": "array",
22412279
"deprecated": false,
@@ -2306,6 +2344,25 @@
23062344
"syntax": "number | floor",
23072345
"name": "floor"
23082346
},
2347+
{
2348+
"category": "array",
2349+
"deprecated": false,
2350+
"deprecation_reason": "",
2351+
"description": "This requires you to provide both the property name and the associated value.",
2352+
"parameters": [],
2353+
"return_type": [
2354+
{
2355+
"type": "boolean",
2356+
"name": "",
2357+
"description": "",
2358+
"array_value": ""
2359+
}
2360+
],
2361+
"examples": [],
2362+
"summary": "Tests if any item in an array has a specific property value.",
2363+
"syntax": "array | some: string, string",
2364+
"name": "has"
2365+
},
23092366
{
23102367
"category": "array",
23112368
"deprecated": false,
@@ -2596,6 +2653,25 @@
25962653
"syntax": "string | prepend: string",
25972654
"name": "prepend"
25982655
},
2656+
{
2657+
"category": "array",
2658+
"deprecated": false,
2659+
"deprecation_reason": "",
2660+
"description": "This requires you to provide both the property name and the associated value.",
2661+
"parameters": [],
2662+
"return_type": [
2663+
{
2664+
"type": "array",
2665+
"name": "",
2666+
"description": "",
2667+
"array_value": "untyped"
2668+
}
2669+
],
2670+
"examples": [],
2671+
"summary": "Filters an array to exclude items with a specific property value.",
2672+
"syntax": "array | reject: string, string",
2673+
"name": "reject"
2674+
},
25992675
{
26002676
"category": "string",
26012677
"deprecated": false,

0 commit comments

Comments
 (0)