mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-28 08:57:17 +00:00
* Graphql revamp * Added query params * Passing hasdatasource to the sanitize functions * Design fix * Fix for right side border for key input * Resolving the comment
39 lines
No EOL
1.1 KiB
JSON
39 lines
No EOL
1.1 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/ToolJet/ToolJet/develop/plugins/schemas/operations.schema.json",
|
|
"title": "Graphql data query schema",
|
|
"description": "A schema defining graphql data query",
|
|
"type": "api",
|
|
"defaults": {},
|
|
"properties": {
|
|
"query": {
|
|
"label": "Query",
|
|
"key": "query",
|
|
"type": "codehinter",
|
|
"description": "Enter query",
|
|
"height": "150px",
|
|
"editorType": "extendedSingleLine"
|
|
},
|
|
"variables": {
|
|
"label": "Variables",
|
|
"key": "variables",
|
|
"type": "codehinter",
|
|
"description": "Enter Variables",
|
|
"height": "150px",
|
|
"editorType": "extendedSingleLine"
|
|
},
|
|
"graphql_params": {
|
|
"label": "",
|
|
"key": "graphql_params",
|
|
"type": "react-component-key-value-tabs",
|
|
"description": "Configure headers, url parameters and cookies for the GraphQL request",
|
|
"tabs": [
|
|
{ "label": "Headers", "key": "headers" },
|
|
{ "label": "Params", "key": "url_params" },
|
|
{ "label": "Cookies", "key": "cookies" }
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"query"
|
|
]
|
|
} |