mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-25 15:37:37 +00:00
* Integrated new n8n datasource [initial] * Resolved some bugs * Added a dropdown for auth type - changed sensitive fields to encrypted - Added basic & header auth * Added changes - Plugin icon - Removed ecrypted option from username - Chnaged some placeholder text and field names * Changed datasource fields - Removed host from datasource modal - Added url field to operations - Changed operation names * Redesigned dynamic list * changed error message * Changed icon * Added helpText to dropdown-flip component * Cleaning code * Cleaning code * Added n8n documentation * Edited hint text
69 lines
No EOL
1.8 KiB
JSON
69 lines
No EOL
1.8 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/ToolJet/ToolJet/develop/plugins/schemas/operations.schema.json",
|
|
"title": "N8n datasource",
|
|
"description": "A schema defining N8n datasource",
|
|
"type": "api",
|
|
"defaults": {},
|
|
"properties": {
|
|
"method": {
|
|
"label": "Method",
|
|
"key": "method",
|
|
"className":"col-md-4",
|
|
"type": "dropdown-component-flip",
|
|
"description": "Single request type",
|
|
"list": [
|
|
{
|
|
"value": "get",
|
|
"name": "GET"
|
|
},
|
|
{
|
|
"value": "post",
|
|
"name": "POST"
|
|
}
|
|
],
|
|
"commonFields":{
|
|
"url":{
|
|
"label": "Webhook URL",
|
|
"key": "url",
|
|
"type": "codehinter",
|
|
"lineNumbers": false,
|
|
"height": "36px",
|
|
"className": "codehinter-plugins",
|
|
"placeholder": "webhook URL of your workflow",
|
|
"description": "Field for url"
|
|
}
|
|
}
|
|
},
|
|
"get":{
|
|
"parameters": {
|
|
"label": "URL parameters",
|
|
"key": "url_params",
|
|
"type": "codehinter",
|
|
"mode": "javascript",
|
|
"placeholder": "{ \"name\": \"bob\" }",
|
|
"description": "Enter options",
|
|
"height": "150px"
|
|
}
|
|
},
|
|
"post":{
|
|
"parameters": {
|
|
"label": "URL parameters",
|
|
"key": "url_params",
|
|
"type": "codehinter",
|
|
"mode": "javascript",
|
|
"placeholder": "{ \"name\": \"bob\" }",
|
|
"description": "Enter url parameters",
|
|
"height": "150px"
|
|
},
|
|
"body": {
|
|
"label": "Body",
|
|
"key": "body",
|
|
"type": "codehinter",
|
|
"mode": "javascript",
|
|
"placeholder": "{ \"age\": \"12\" }",
|
|
"description": "Enter body parameters",
|
|
"height": "150px"
|
|
}
|
|
}
|
|
}
|
|
} |