mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-24 06:57:40 +00:00
* Initial commit for data query schema changes * db: add mssql schema * api: add graphql schema * api: add redis data query editor * db: add my sql db * api: dataquery - add airtable api schema * api: dataquery - add dynamodb api schema * database: dataquery - add database api schema * database: dataquery - add elastic search api schema * database: dataquery - add mongo db schema * database: dataquery - add postgre sql schema * api: dataquery - add slack schema * api: dataquery - add google sheets schema * database: dataquery - add gcs schema * fix: dynamodb styles * fix: elastic search styles * fix: firestore styles * fix: remove line numbers + add className prop + add initialValue prop * remove line numbers * cleanup: remove jsx files of data queries * cleanup: fix merge conflicts * fix: on edit dropdowns not retaining value * fix: remove unnecessary log statement
72 lines
1.9 KiB
JSON
72 lines
1.9 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/",
|
|
"$id": "https://tooljet.io/dataqueries/Dynamodb.schema.json",
|
|
"title": "Dynamodb datasource",
|
|
"description": "A schema defining Dynamodb datasource",
|
|
"type": "object",
|
|
"properties": {
|
|
"operation": {
|
|
"$label": "Operation",
|
|
"$key": "operation",
|
|
"type": "dropdown-component-flip",
|
|
"description": "Single select dropdown for operation",
|
|
"$options": [
|
|
{ "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" }
|
|
]
|
|
},
|
|
"get_item": {
|
|
"table": {
|
|
"$label": "Table",
|
|
"$key": "table",
|
|
"type": "codehinter",
|
|
"lineNumbers": false,
|
|
"description": "Enter table"
|
|
},
|
|
"key": {
|
|
"$label": "Key name",
|
|
"$key": "key",
|
|
"type": "codehinter",
|
|
"mode": "javascript",
|
|
"description": "Enter key name"
|
|
}
|
|
},
|
|
"query_table": {
|
|
"query_condition": {
|
|
"$label": "Query condition",
|
|
"$key": "query_condition",
|
|
"type": "codehinter",
|
|
"mode": "javascript",
|
|
"description": "Enter query condition"
|
|
}
|
|
},
|
|
"scan_table": {
|
|
"scan_condition": {
|
|
"$label": "Scan condition",
|
|
"$key": "scan_condition",
|
|
"type": "codehinter",
|
|
"mode": "javascript",
|
|
"description": "Enter scan condition"
|
|
}
|
|
},
|
|
"delete_item": {
|
|
"table": {
|
|
"$label": "Table",
|
|
"$key": "get_item",
|
|
"type": "codehinter",
|
|
"lineNumbers": false,
|
|
"description": "Enter table"
|
|
},
|
|
"key": {
|
|
"$label": "Key name",
|
|
"$key": "key",
|
|
"type": "codehinter",
|
|
"mode": "javascript",
|
|
"description": "Enter key name"
|
|
}
|
|
}
|
|
}
|
|
}
|