ToolJet/plugins/packages/mssql/lib/manifest.json

109 lines
No EOL
2.1 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/ToolJet/ToolJet/develop/plugins/schemas/manifest.schema.json",
"title": "Mssql datasource",
"description": "A schema defining mssql datasource",
"type": "database",
"source": {
"name": "SQL Server",
"kind": "mssql",
"exposedVariables": {
"isLoading": false,
"data": {},
"rawData": {}
},
"options": {
"host": {
"type": "string"
},
"instanceName": {
"type": "string"
},
"port": {
"type": "string"
},
"database": {
"type": "string"
},
"username": {
"type": "string"
},
"password": {
"type": "string",
"encrypted": true
}
}
},
"defaults": {
"host": {
"value": "localhost"
},
"instanceName": {
"value": ""
},
"port": {
"value": 1433
},
"database": {
"value": ""
},
"username": {
"value": ""
},
"password": {
"value": ""
},
"azure": {
"value": false
}
},
"properties": {
"host": {
"label": "Host",
"key": "host",
"type": "text",
"description": "Enter host"
},
"instanceName": {
"label": "Instance",
"key": "instance_name",
"type": "text",
"description": "Enter the name of the database instance"
},
"port": {
"label": "Port",
"key": "port",
"type": "text",
"description": "Enter port"
},
"database": {
"label": "Database Name",
"key": "database",
"type": "text",
"description": "Name of the database"
},
"username": {
"label": "Username",
"key": "username",
"type": "text",
"description": "Enter username"
},
"password": {
"label": "Password",
"key": "password",
"type": "password",
"description": "Enter password"
},
"azure": {
"label": "Azure",
"key": "azure",
"type": "toggle",
"description": "Toggle for azure"
}
},
"required": [
"host",
"port",
"username",
"password"
]
}