This commit is contained in:
2026-02-11 16:12:04 +03:00
parent e4c3d7afb1
commit 5581faf479
18 changed files with 650 additions and 408 deletions

View File

@@ -0,0 +1,18 @@
{
"type": "preset",
"presetId": "addtwonumbers",
"presetName": "addtwonumbers",
"baseComponentCode": "basics.calculator",
"description": "Add two numbers: 5 and 3",
"version": "1.0.0",
"author": "System",
"createdAt": "2026-02-11T11:16:32.694Z",
"inputs": {
"operator": "add",
"args": [5, 3]
},
"metadata": {
"tags": ["addition", "simple"],
"category": "examples"
}
}

View File

@@ -0,0 +1,22 @@
{
"type": "preset",
"presetId": "googletest",
"presetName": "googletest",
"baseComponentCode": "basics.httprequest",
"description": "Test request to Google homepage",
"version": "1.0.0",
"author": "System",
"createdAt": "2026-02-11T11:16:32.694Z",
"inputs": {
"method": "GET",
"url": "https://www.google.com",
"headers": {
"User-Agent": "S8n-Component/1.0"
},
"body": null
},
"metadata": {
"tags": ["google", "test", "demo"],
"category": "examples"
}
}

View File

@@ -0,0 +1,27 @@
{
"type": "preset",
"presetId": "postexample",
"presetName": "postexample",
"baseComponentCode": "basics.httprequest",
"description": "Example POST request to JSON placeholder API",
"version": "1.0.0",
"author": "System",
"createdAt": "2026-02-11T11:16:32.694Z",
"inputs": {
"method": "POST",
"url": "https://jsonplaceholder.typicode.com/posts",
"headers": {
"Content-Type": "application/json",
"Accept": "application/json"
},
"body": {
"title": "foo",
"body": "bar",
"userId": 1
}
},
"metadata": {
"tags": ["api", "post", "example"],
"category": "examples"
}
}