mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-24 06:57:40 +00:00
* add mailgun template * add api key option * undo committing idea folder, implement mailgun sdk * add docs * merge develop * implement review comments, removed vscode files * undo changes to package-lock.json * implement review comments * remove unused dev dependency * remove unused dev dependency * revert deletion of vscode config files
58 lines
1.5 KiB
JSON
58 lines
1.5 KiB
JSON
|
|
{
|
|
"$schema": "https://raw.githubusercontent.com/ToolJet/ToolJet/develop/plugins/schemas/manifest.schema.json",
|
|
"title": "Mailgun datasource",
|
|
"description": "A schema defining Mailgun datasource",
|
|
"type": "api",
|
|
"source": {
|
|
"name": "Mailgun",
|
|
"kind": "mailgun",
|
|
"exposedVariables": {
|
|
"isLoading": false,
|
|
"data": {},
|
|
"rawData": {}
|
|
},
|
|
"options": {
|
|
"api_key": {
|
|
"type": "string",
|
|
"encrypted": true
|
|
}
|
|
},
|
|
"customTesting": true
|
|
},
|
|
"defaults": {
|
|
"api_key": {
|
|
"value": ""
|
|
},
|
|
"eu_hosted": {
|
|
"value": false
|
|
}
|
|
},
|
|
"properties": {
|
|
"domain": {
|
|
"label": "Domain",
|
|
"key": "domain",
|
|
"type": "text",
|
|
"description": "Domain for sending emails from",
|
|
"helpText": "For setting up a new domain, visit: <a href='https://app.mailgun.com/app/sending/domains/new' target='_blank' rel='noreferrer'>Mailgun dashboard</a>"
|
|
},
|
|
"api_key": {
|
|
"label": "Api key",
|
|
"key": "api_key",
|
|
"type": "password",
|
|
"description": "Api key for Mailgun",
|
|
"helpText": "For generating Api Key, visit: <a href='https://app.mailgun.com/app/account/security/api_keys' target='_blank' rel='noreferrer'>Mailgun dashboard</a>"
|
|
},
|
|
"eu_hosted": {
|
|
"label": "EU hosted",
|
|
"key": "eu_hosted",
|
|
"type": "toggle",
|
|
"description": "Hosted in the EU",
|
|
"helpText": "Enable when the mailgun account is hosted in the EU"
|
|
}
|
|
},
|
|
"required": [
|
|
"domain",
|
|
"api_key"
|
|
]
|
|
}
|