ToolJet/plugins/packages/smtp/lib/operations.json
Kiran Ashok 4723bfe8e7
fix : Codehinter bugs (#9350)
* fix : Preview on parameters is not visible.

* fix : data source codehinter breaking

* fix : current value copy button.(copying different values)

* fix : select suggestions using mouse closes the preview box.

* fix : multiline preview

* fix: darkmode

* fixes:
- multi-line suggestions on different line numbers
- extended single line editor for json body

* cleanup

* handle multiple resolver references with hints

* fix : codehinter position

* fix : data source codehinters

* fix : woocommerce

* bugfix : bigquery

* fix : Selecting options from suggestion cleareing the values from  input fielsds.

* fix : parmeter list not opening

* datasource going back to defaults bug

* fix : datasource resetting issue

---------

Co-authored-by: arpitnath <arpitnath42@gmail.com>
2024-04-15 15:02:33 +05:30

107 lines
No EOL
2.9 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/ToolJet/ToolJet/develop/plugins/schemas/operations.schema.json",
"title": "SMTP datasource",
"description": "A schema defining SMTP datasource",
"type": "api",
"defaults": {
"content_type": {
"value": "plain_text"
}
},
"properties": {
"from": {
"key": "from",
"label": "From",
"type": "codehinter",
"description": "Field for sender address",
"placeholder": "Enter sender address",
"width": "320px",
"height": "36px",
"className": "codehinter-plugins col-6",
"lineNumbers": false
},
"from_name": {
"key": "from_name",
"label": "From Name",
"type": "codehinter",
"description": "Field for sender address",
"placeholder": "Enter sender address",
"width": "320px",
"height": "36px",
"className": "codehinter-plugins",
"lineNumbers": false
},
"to": {
"key": "to",
"label": "To",
"type": "codehinter",
"description": "Field for receiver address",
"placeholder": "Enter receiver address",
"width": "320px",
"height": "36px",
"className": "codehinter-plugins",
"lineNumbers": false
},
"cc": {
"label": "CC mail to",
"key": "cc",
"type": "codehinter",
"lineNumbers": false,
"description": "Enter CC recipient(s)",
"placeholder": "{{['dev@tooljet.io']}}",
"width": "320px",
"height": "36px",
"className": "codehinter-plugins"
},
"bcc": {
"label": "BCC mail to",
"key": "bcc",
"type": "codehinter",
"lineNumbers": false,
"description": "Enter BCC recipient(s)",
"placeholder": "{{['dev@tooljet.io']}}",
"width": "320px",
"height": "36px",
"className": "codehinter-plugins"
},
"subject": {
"key": "subject",
"label": "Subject",
"type": "codehinter",
"height": "36px",
"placeholder": "Enter subject",
"description": "Field for email subject",
"className": "codehinter-plugins",
"lineNumbers": false
},
"textContent": {
"key": "textContent",
"label": "Text",
"type": "codehinter",
"description": "Field for message",
"placeholder": "Enter message",
"height": "150px",
"editorType": "extendedSingleLine"
},
"htmlContent": {
"key": "htmlContent",
"label": "HTML",
"type": "codehinter",
"description": "Field for message",
"placeholder": "Enter message",
"height": "150px",
"editorType": "extendedSingleLine"
},
"attachment_array": {
"key": "attachment_array",
"label": "Attachments",
"type": "codehinter",
"description": "Field for file attachments",
"placeholder": "{{components.filepicker1.file}}",
"width": "320px",
"height": "36px",
"className": "codehinter-plugins col-6",
"lineNumbers": false
}
}
}