ToolJet/plugins/packages/slack/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

84 lines
No EOL
2.3 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/ToolJet/ToolJet/develop/plugins/schemas/operations.schema.json",
"title": "Slack datasource",
"description": "A schema defining Slack datasource",
"type": "api",
"defaults": {},
"properties": {
"operation": {
"label": "Operation",
"key": "operation",
"type": "dropdown-component-flip",
"description": "Single select dropdown for mode",
"list": [
{
"name": "List members",
"value": "list_users"
},
{
"name": "Send message",
"value": "send_message"
},
{
"name": "List messages from a channel",
"value": "list_messages"
}
]
},
"send_message": {
"channel": {
"label": "Channel",
"key": "channel",
"description": "Enter channel",
"type": "codehinter",
"lineNumbers": false,
"height": "36px",
"className": "codehinter-plugins",
"placeholder": "Enter channel id or user id"
},
"message": {
"label": "Message",
"key": "message",
"type": "codehinter",
"lineNumbers": false,
"description": "Enter message",
"className": "codehinter-plugins",
"height": "150px",
"editorType": "extendedSingleLine",
"placeholder": "Enter message"
}
},
"list_messages": {
"channel": {
"label": "Channel",
"key": "channel",
"description": "Enter channel",
"type": "codehinter",
"lineNumbers": false,
"height": "36px",
"className": "codehinter-plugins",
"placeholder": "Enter channel id"
},
"limit": {
"label": "Limit",
"key": "limit",
"description": "Enter limit",
"type": "codehinter",
"lineNumbers": false,
"height": "36px",
"className": "codehinter-plugins",
"placeholder": "Enter limit"
},
"cursor": {
"label": "Next cursor",
"key": "cursor",
"description": "Enter next cursor",
"type": "codehinter",
"lineNumbers": false,
"height": "36px",
"className": "codehinter-plugins",
"placeholder": "Enter cursor"
}
}
}
}