mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-24 06:57:40 +00:00
* query panel headers styles * create query button style update * create query button style update * create query button style update: mixins * querypanel header nav-links updated * querypanel header buttons * restapi: url hinter styles * fixes querypane header width, undo prev styles applied * querypanel header icons margin fix * restapi: header tab * restapi: params tab * restapi: body tab * base url style fixed * added alert component to @/_ui * adds margin top to query-panel tabs * bumped font weight of preview * on hover query style updated * selected query style update and along with dark themed * adds new searchbox component, added search queries * fixes query panel query lists icons margin * query selected hover bg * back icon should not be render if callback is a function * airtable: queries redesigned * stripe: queries redesigned * fixed query-pane header responsiveness * fixes tab title typo * undp/redo select datasource only when mode='create' * removes comments * refactor restapi url codehinter styles * fixes white spaces in query pane and query pane header * minor updates for restapi query options styles * removes tool-tip for lens svg icon for search: query-pane header * adds button loading spinner with primary color * fixes hover bg color for queries * update: query hover bg color to lighter tint * update query list icons: trash and play svgs * adds icons to the selection component * fixes tabs alignments restapi * fixes codehonter text margin: restapi url * fixes advanced-options-container margintop * new UI query: dynamodb * new UI query: elasticsearch * new UI query: firestore * new UI query: mongodb * new UI query: mysql * new UI query: psql * new UI query: typesenseapi * new UI query: gsheet * new UI query: sendgrid * new UI query: twillio * new UI query: gcs * new UI query: minio * new UI query: aws * update query bg color and hover bg color * fixes run query icon for dark theme * fixes input query title text alignment * update query header title * adds search queries placeholder and add icon when search box is displayed * updated No results query text * undo/redo rest-api tabs: fixes whote spaces * undo/redo: rest-api tabs conde hinter placeholder paddinleft * adding new queries when search box component is mounted:fix * fixes creating a new query after filtering queries * fixes dark theme for select search components * reverts query pane header search box with add icon * fixes input left margin * fixes bottom padding rest api tabs * fixes toggle button:not selected in dark theme * fixes typos * fixes preview button spinner size * undo/redo: query-trash-icon.svg for queries and trash.svg for components * query icons badge bg update[options] * icon badge fix * move static styles to theme.scss * restapi: url field height increment * fixes query name when adding a new query with filtered querylist * fixes alignment issues of the query header icon * revert back to 32px code hinter height * adds apdding to code mirror line * updates to react-select * remove component unmounts and mounts side effect
137 lines
No EOL
3.4 KiB
JSON
137 lines
No EOL
3.4 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/ToolJet/ToolJet/develop/plugins/schemas/operations.schema.json",
|
|
"title": "Elasticsearch datasource",
|
|
"description": "A schema defining Elasticsearch datasource",
|
|
"type": "database",
|
|
"defaults": {
|
|
"query": "",
|
|
"operation": "search"
|
|
},
|
|
"properties": {
|
|
"operation": {
|
|
"label": "Operation",
|
|
"key": "operation",
|
|
"type": "dropdown-component-flip",
|
|
"description": "Single select dropdown for operation",
|
|
"list": [
|
|
{
|
|
"value": "search",
|
|
"name": "Search"
|
|
},
|
|
{
|
|
"value": "index_document",
|
|
"name": "Index a document"
|
|
},
|
|
{
|
|
"value": "get",
|
|
"name": "Get a document"
|
|
},
|
|
{
|
|
"value": "update",
|
|
"name": "Update a document"
|
|
}
|
|
]
|
|
},
|
|
"search": {
|
|
"index": {
|
|
"label": "Index",
|
|
"key": "index",
|
|
"type": "codehinter",
|
|
"lineNumbers": false,
|
|
"description": "Enter index",
|
|
"width": "320px",
|
|
"height": "36px",
|
|
"className": "codehinter-plugins",
|
|
"placeholder": "Enter index"
|
|
},
|
|
"query": {
|
|
"label": "Query",
|
|
"key": "query",
|
|
"type": "codehinter",
|
|
"placeholder": "{ \"name\": \"\" }",
|
|
"description": "Enter query",
|
|
"height": "150px"
|
|
}
|
|
},
|
|
"index_document": {
|
|
"index": {
|
|
"label": "Index",
|
|
"key": "index",
|
|
"type": "codehinter",
|
|
"lineNumbers": false,
|
|
"description": "Enter index",
|
|
"width": "320px",
|
|
"height": "36px",
|
|
"className": "codehinter-plugins",
|
|
"placeholder": "Enter index"
|
|
},
|
|
"body": {
|
|
"label": "Body",
|
|
"key": "body",
|
|
"type": "codehinter",
|
|
"mode": "javascript",
|
|
"placeholder": "{ \"name\": \"The Hitchhikers Guide to the Galaxy\" }",
|
|
"description": "Enter body",
|
|
"height": "150px"
|
|
}
|
|
},
|
|
"get": {
|
|
"index": {
|
|
"label": "Index",
|
|
"key": "index",
|
|
"type": "codehinter",
|
|
"lineNumbers": false,
|
|
"description": "Enter index",
|
|
"width": "320px",
|
|
"height": "36px",
|
|
"className": "codehinter-plugins",
|
|
"placeholder": "Enter index"
|
|
|
|
},
|
|
"id": {
|
|
"label": "Id",
|
|
"key": "id",
|
|
"type": "codehinter",
|
|
"lineNumbers": false,
|
|
"description": "Enter id",
|
|
"width": "320px",
|
|
"height": "36px",
|
|
"className": "codehinter-plugins",
|
|
"placeholder": "Enter id"
|
|
}
|
|
},
|
|
"update": {
|
|
"index": {
|
|
"label": "Index",
|
|
"key": "index",
|
|
"type": "codehinter",
|
|
"lineNumbers": false,
|
|
"description": "Enter index",
|
|
"width": "320px",
|
|
"height": "36px",
|
|
"className": "codehinter-plugins",
|
|
"placeholder": "Enter index"
|
|
},
|
|
"id": {
|
|
"label": "Id",
|
|
"key": "id",
|
|
"type": "codehinter",
|
|
"lineNumbers": false,
|
|
"description": "Enter id",
|
|
"width": "320px",
|
|
"height": "36px",
|
|
"className": "codehinter-plugins",
|
|
"placeholder": "Enter id"
|
|
},
|
|
"body": {
|
|
"label": "body",
|
|
"key": "body",
|
|
"type": "codehinter",
|
|
"mode": "javascript",
|
|
"placeholder": "{ doc: { page_count: 225 } }",
|
|
"description": "Enter body",
|
|
"height": "150px"
|
|
}
|
|
}
|
|
}
|
|
} |