mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-02 02:47:27 +00:00
* fix : Preview on parameters is not visible. * fix : data source codehinter breaking * fix : current value copy button.(copying different values) * fix : select suggestions using mouse closes the preview box. * fix : multiline preview * fix: darkmode * fixes: - multi-line suggestions on different line numbers - extended single line editor for json body * cleanup * handle multiple resolver references with hints * fix : codehinter position * fix : data source codehinters * fix : woocommerce * bugfix : bigquery * fix : Selecting options from suggestion cleareing the values from input fielsds. * fix : parmeter list not opening * datasource going back to defaults bug * fix : datasource resetting issue --------- Co-authored-by: arpitnath <arpitnath42@gmail.com>
68 lines
No EOL
1.8 KiB
JSON
68 lines
No EOL
1.8 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/ToolJet/ToolJet/develop/plugins/schemas/operations.schema.json",
|
|
"title": "ClickHouse datasource",
|
|
"description": "A schema defining ClickHouse datasource",
|
|
"type": "database",
|
|
"defaults": {
|
|
"operation": "sql"
|
|
},
|
|
"properties": {
|
|
"operation": {
|
|
"label": "",
|
|
"key": "operation",
|
|
"type": "dropdown-component-flip",
|
|
"description": "Single select dropdown for mode",
|
|
"list": [
|
|
{
|
|
"name": "SQL Query",
|
|
"value": "sql"
|
|
},
|
|
{
|
|
"name": "Insert array of objects",
|
|
"value": "insert"
|
|
}
|
|
]
|
|
},
|
|
"sql": {
|
|
"query": {
|
|
"key": "query",
|
|
"type": "codehinter",
|
|
"description": "Enter query",
|
|
"height": "150px",
|
|
"editorType": "extendedSingleLine"
|
|
}
|
|
},
|
|
"insert": {
|
|
"query": {
|
|
"key": "query",
|
|
"type": "codehinter",
|
|
"description": "Enter array of objects",
|
|
"height": "150px",
|
|
"editorType": "extendedSingleLine",
|
|
"placeholder": "Enter array of objects"
|
|
},
|
|
"tablename": {
|
|
"label": "Table name",
|
|
"key": "tablename",
|
|
"type": "codehinter",
|
|
"description": "Enter tablename",
|
|
"placeholder": "tablename",
|
|
"width": "320px",
|
|
"height": "36px",
|
|
"className": "codehinter-plugins",
|
|
"lineNumbers": false
|
|
},
|
|
"fields": {
|
|
"label": "Fields",
|
|
"key": "fields",
|
|
"type": "codehinter",
|
|
"description": "Enter fields",
|
|
"placeholder": "{{['date', 'str', 'arr', 'arr2']}}",
|
|
"width": "320px",
|
|
"height": "36px",
|
|
"className": "codehinter-plugins",
|
|
"lineNumbers": false
|
|
}
|
|
}
|
|
}
|
|
} |