ToolJet/plugins/packages/baserow/lib/operations.json
Kiran Ashok 4723bfe8e7
fix : Codehinter bugs (#9350)
* 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>
2024-04-15 15:02:33 +05:30

209 lines
No EOL
5.4 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/ToolJet/ToolJet/develop/plugins/schemas/operations.schema.json",
"title": "Baserow datasource",
"description": "A schema defining Baserow datasource",
"type": "api",
"defaults": {},
"properties": {
"operation": {
"label": "Operation",
"key": "operation",
"type": "dropdown-component-flip",
"description": "Single select dropdown for operation",
"list": [
{
"value": "list_fields",
"name": "List fields"
},
{
"value": "list_rows",
"name": "List rows"
},
{
"value": "get_row",
"name": "Get row"
},
{
"value": "create_row",
"name": "Create row"
},
{
"value": "update_row",
"name": "Update row"
},
{
"value": "move_row",
"name": "Move row"
},
{
"value": "delete_row",
"name": "Delete row"
}
]
},
"list_fields": {
"table_id": {
"label": "Table ID",
"key": "table_id",
"type": "codehinter",
"lineNumbers": false,
"description": "Enter table ID",
"width": "320px",
"height": "36px",
"className": "codehinter-plugins",
"placeholder": "56472"
}
},
"list_rows": {
"table_id": {
"label": "Table ID",
"key": "table_id",
"type": "codehinter",
"lineNumbers": false,
"description": "Enter table ID",
"width": "320px",
"height": "36px",
"className": "codehinter-plugins",
"placeholder": "56472"
}
},
"get_row": {
"table_id": {
"label": "Table ID",
"key": "table_id",
"type": "codehinter",
"lineNumbers": false,
"description": "Enter table ID",
"width": "320px",
"height": "36px",
"className": "codehinter-plugins",
"placeholder": "56472"
},
"row_id": {
"label": "Row ID",
"key": "row_id",
"type": "codehinter",
"lineNumbers": false,
"description": "Enter row ID",
"width": "320px",
"height": "36px",
"className": "codehinter-plugins",
"placeholder": "1"
}
},
"create_row": {
"table_id": {
"label": "Table ID",
"key": "table_id",
"type": "codehinter",
"lineNumbers": false,
"description": "Enter table ID",
"width": "320px",
"height": "36px",
"className": "codehinter-plugins",
"placeholder": "56472"
},
"body": {
"label": "Records",
"key": "body",
"type": "codehinter",
"description": "Enter list of records",
"height": "150px",
"editorType": "extendedSingleLine",
"placeholder": "{ fieldName: 'Value' }"
}
},
"update_row": {
"table_id": {
"label": "Table ID",
"key": "table_id",
"type": "codehinter",
"lineNumbers": false,
"description": "Enter table ID",
"width": "320px",
"height": "36px",
"className": "codehinter-plugins",
"placeholder": "56472"
},
"row_id": {
"label": "Row ID",
"key": "row_id",
"type": "codehinter",
"lineNumbers": false,
"description": "Enter row ID",
"width": "320px",
"height": "36px",
"className": "codehinter-plugins",
"placeholder": "1"
},
"body": {
"label": "Records",
"key": "body",
"type": "codehinter",
"description": "Enter list of records",
"height": "150px",
"editorType": "extendedSingleLine",
"placeholder": "{ fieldName: 'Value' }"
}
},
"move_row": {
"table_id": {
"label": "Table ID",
"key": "table_id",
"type": "codehinter",
"lineNumbers": false,
"description": "Enter table ID",
"width": "320px",
"height": "36px",
"className": "codehinter-plugins",
"placeholder": "56472"
},
"row_id": {
"label": "Row ID",
"key": "row_id",
"type": "codehinter",
"lineNumbers": false,
"description": "Enter row ID",
"width": "320px",
"height": "36px",
"className": "codehinter-plugins",
"placeholder": "2"
},
"before_id": {
"label": "Before ID",
"key": "before_id",
"type": "codehinter",
"lineNumbers": false,
"description": "Enter before ID where the row needs to be moved",
"width": "320px",
"height": "36px",
"className": "codehinter-plugins",
"placeholder": "1"
}
},
"delete_row": {
"table_id": {
"label": "Table ID",
"key": "table_id",
"type": "codehinter",
"lineNumbers": false,
"description": "Enter table ID",
"width": "320px",
"height": "36px",
"className": "codehinter-plugins",
"placeholder": "56472"
},
"row_id": {
"label": "Row ID",
"key": "row_id",
"type": "codehinter",
"lineNumbers": false,
"description": "Enter row ID",
"width": "320px",
"height": "36px",
"className": "codehinter-plugins",
"placeholder": "1"
}
}
}
}