ToolJet/plugins/packages/mysql/lib/manifest.json
Gandharv 27c91a008a
Add json schema for vscode autocomplete (#1962)
* add json schema

* update schema

* update link
2022-01-27 10:55:16 +05:30

97 lines
No EOL
1.8 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/ToolJet/ToolJet/develop/plugins/schemas/manifest.schema.json",
"title": "Mysql datasource",
"description": "A schema defining mysql datasource",
"type": "database",
"source": {
"name": "MySQL",
"kind": "mysql",
"exposedVariables": {
"isLoading": {},
"data": {},
"rawData": {}
},
"options": {
"host": {
"type": "string"
},
"port": {
"type": "string"
},
"database": {
"type": "string"
},
"username": {
"type": "string"
},
"password": {
"type": "string",
"encrypted": true
}
}
},
"defaults": {
"host": {
"value": "localhost"
},
"port": {
"value": 3306
},
"database": {
"value": ""
},
"username": {
"value": ""
},
"password": {
"value": ""
},
"ssl_enabled": {
"value": true
}
},
"properties": {
"host": {
"label": "Host",
"key": "host",
"type": "text",
"description": "Enter host"
},
"port": {
"label": "Port",
"key": "port",
"type": "text",
"description": "Enter port"
},
"database": {
"label": "Database Name",
"key": "database",
"type": "text",
"description": "Name of the database"
},
"ssl_enabled": {
"label": "SSL",
"key": "ssl_enabled",
"type": "toggle",
"description": "Toggle for ssl_enabled"
},
"username": {
"label": "Username",
"key": "username",
"type": "text",
"description": "Enter username"
},
"password": {
"label": "Password",
"key": "password",
"type": "password",
"description": "Enter password"
}
},
"required": [
"host",
"port",
"username",
"password"
]
}