ToolJet/plugins/packages/dynamodb/lib/operations.json
Ganesh Kumar b26ecbee8b
Feature/dynamodb plugin update item (#6875)
* harperdb plugin initial commit

* added required fields in manifest and provided default values in operation json

* removed not required query options from harperdb

* modified nosql code

* review changes inprogress

* added new fields in manifest file to customize port and protocol

* protocol drop down in harperdb is changed to ssl toggle

* search-by-condition query in NoSQL

* harperdb NoSQL version tested along with search with condition query

* Dynamodb new operations added UpdateItem - DescribeTable - CreateTable

* dynamodb plugin new operation putItem added
2023-07-13 15:54:20 +05:30

157 lines
No EOL
3.9 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/ToolJet/ToolJet/develop/plugins/schemas/operations.schema.json",
"title": "Dynamodb datasource",
"description": "A schema defining Dynamodb datasource",
"type": "database",
"defaults": {},
"properties": {
"operation": {
"label": "Operation",
"key": "operation",
"type": "dropdown-component-flip",
"description": "Single select dropdown for operation",
"list": [
{
"value": "list_tables",
"name": "List Tables"
},
{
"value": "get_item",
"name": "Get Item"
},
{
"value": "query_table",
"name": "Query Table"
},
{
"value": "scan_table",
"name": "Scan Table"
},
{
"value": "delete_item",
"name": "Delete Item"
},
{
"value": "update_item",
"name": "Update Item"
},
{
"value": "describe_table",
"name": "Describe Table"
},
{
"value": "create_table",
"name": "Create Table"
},
{
"value": "put_item",
"name": "Put Item"
}
]
},
"get_item": {
"table": {
"label": "Table",
"key": "table",
"type": "codehinter",
"lineNumbers": false,
"description": "Enter table",
"width": "320px",
"height": "36px",
"className": "codehinter-plugins",
"placeholder": "Enter table"
},
"key": {
"label": "Key name",
"key": "key",
"type": "codehinter",
"mode": "javascript",
"description": "Enter key name",
"height": "150px"
}
},
"query_table": {
"query_condition": {
"label": "Query condition",
"key": "query_condition",
"type": "codehinter",
"mode": "javascript",
"description": "Enter query condition",
"height": "150px"
}
},
"scan_table": {
"scan_condition": {
"label": "Scan condition",
"key": "scan_condition",
"type": "codehinter",
"mode": "javascript",
"description": "Enter scan condition",
"height": "150px"
}
},
"delete_item": {
"table": {
"label": "Table",
"key": "get_item",
"type": "codehinter",
"lineNumbers": false,
"description": "Enter table",
"width": "320px",
"height": "36px",
"className": "codehinter-plugins",
"placeholder": "Enter table"
},
"key": {
"label": "Key name",
"key": "key",
"type": "codehinter",
"mode": "javascript",
"description": "Enter key name",
"height": "150px"
}
},
"update_item": {
"update_condition": {
"label": "Update Condition",
"key": "update_condition",
"type": "codehinter",
"mode": "javascript",
"description": "Enter update condition",
"height": "150px"
}
},
"create_table": {
"table_parameters": {
"label": "Table Parameters",
"key": "table_parameters",
"type": "codehinter",
"mode": "javascript",
"description": "Enter table parameters",
"height": "200px"
}
},
"describe_table": {
"table": {
"label": "Table",
"key": "table",
"type": "codehinter",
"lineNumbers": false,
"description": "Enter table",
"height": "36px",
"className": "codehinter-plugins",
"placeholder": "Enter table"
}
},
"put_item": {
"new_item_details": {
"label": "New Item Details",
"key": "new_item_details",
"type": "codehinter",
"mode": "javascript",
"description": "Enter new item details to insert",
"height": "150px"
}
}
}
}