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 #912

Merged
merged 1 commit into from
Feb 13, 2025
Merged
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
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