mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-24 15:07:23 +00:00
* feat: add datasource type into individual schema * add active class when dark mode * fix: change type key to source
49 lines
1.2 KiB
JSON
49 lines
1.2 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/",
|
|
"$id": "https://tooljet.io/Elasticsearch.schema.json",
|
|
"title": "Elastic search datasource",
|
|
"description": "A schema defining elastic search datasource",
|
|
"type": "object",
|
|
"source": {
|
|
"name": "Elasticsearch",
|
|
"kind": "elasticsearch",
|
|
"exposedVariables": {
|
|
"isLoading": {},
|
|
"data": {},
|
|
"rawData": {}
|
|
},
|
|
"options": {
|
|
"host": { "type": "string" },
|
|
"port": { "type": "string" },
|
|
"username": { "type": "string" },
|
|
"password": { "type": "string", "encrypted": true }
|
|
}
|
|
},
|
|
"properties": {
|
|
"host": {
|
|
"$label": "Host",
|
|
"$key": "host",
|
|
"type": "text",
|
|
"description": "Enter host"
|
|
},
|
|
"port": {
|
|
"$label": "Port",
|
|
"$key": "port",
|
|
"type": "text",
|
|
"description": "Enter port"
|
|
},
|
|
"username": {
|
|
"$label": "Username",
|
|
"$key": "username",
|
|
"type": "text",
|
|
"description": "Enter username"
|
|
},
|
|
"password": {
|
|
"$label": "Password",
|
|
"$key": "password",
|
|
"type": "password",
|
|
"description": "Enter password"
|
|
}
|
|
},
|
|
"required": ["scheme", "host", "port", "password"]
|
|
}
|