mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-24 06:57:40 +00:00
34 lines
874 B
JSON
34 lines
874 B
JSON
|
|
{
|
||
|
|
"$schema": "https://json-schema.org/",
|
||
|
|
"$id": "https://tooljet.io/dataqueries/Slack.schema.json",
|
||
|
|
"title": "Slack datasource",
|
||
|
|
"description": "A schema defining Slack datasource",
|
||
|
|
"type": "object",
|
||
|
|
"properties": {
|
||
|
|
"mode": {
|
||
|
|
"$label": "",
|
||
|
|
"$key": "mode",
|
||
|
|
"type": "dropdown-component-flip",
|
||
|
|
"description": "Single select dropdown for mode",
|
||
|
|
"$options": [
|
||
|
|
{ "name": "List members", "value": "list_users" },
|
||
|
|
{ "name": "Send message", "value": "send_message" }
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"send_message": {
|
||
|
|
"channel": {
|
||
|
|
"$label": "Channel",
|
||
|
|
"$key": "channel",
|
||
|
|
"type": "codehinter",
|
||
|
|
"description": "Enter channel"
|
||
|
|
},
|
||
|
|
"message": {
|
||
|
|
"$label": "Message",
|
||
|
|
"$key": "message",
|
||
|
|
"type": "codehinter",
|
||
|
|
"description": "Enter message"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|