ToolJet/frontend/src/Editor/QueryManager/QueryEditors/Graphql.schema.json
Gandharv b61d07e0c5
Refactor: move default options to schema files (#1425)
* refactor: move default options to schema files

* fix: use options instead of source.options

* add default empty object when defaults not present in schema

* add null checks for gsheets and slack component

* removes un-necessary console log

* delete constancts file

* delete default options file for data sources
2021-11-22 13:52:32 +05:30

17 lines
422 B
JSON

{
"$schema": "https://json-schema.org/",
"$id": "https://tooljet.io/dataqueries/Graphql.schema.json",
"title": "Graphql data query schema",
"description": "A schema defining graphql data query",
"type": "object",
"defaults": {},
"properties": {
"query": {
"$key": "query",
"type": "codehinter",
"description": "Enter query",
"height": "150px"
}
},
"required": ["query"]
}