ToolJet/plugins/packages/graphql/lib/operations.json
2024-10-28 23:37:40 +05:30

37 lines
No EOL
992 B
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"
},
"headers": {
"label": "Headers",
"key": "headers",
"type": "react-component-headers",
"description": "key-value pair headers for graphql api",
"height": "150px",
"editorType": "extendedSingleLine",
"buttonText": "Add Header"
}
},
"required": [
"query"
]
}