mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
a398d3b190
GITHUB_PR_NUMBER: 6111 GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6111 Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com> GitOrigin-RevId: 1f6517acfacb58c566bb5e48f74ea0dfa5c6f063
66 lines
1.7 KiB
Plaintext
66 lines
1.7 KiB
Plaintext
{
|
|
"version": 3,
|
|
"sources": [
|
|
{
|
|
"name": "default",
|
|
"tables": [],
|
|
"configuration": {
|
|
"connection_info": {
|
|
"database_url": {
|
|
"from_env": "HASURA_GRAPHQL_DATABASE_URL"
|
|
},
|
|
"pool_settings": {
|
|
"retries": 1,
|
|
"idle_timeout": 180,
|
|
"max_connections": 50
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"actions": [
|
|
{
|
|
"name": "actionName",
|
|
"definition": {
|
|
"handler": "http://localhost:3000",
|
|
"output_type": "SampleOutput",
|
|
"arguments": [
|
|
{
|
|
"name": "arg1",
|
|
"type": "SampleInput!"
|
|
}
|
|
],
|
|
"type": "mutation",
|
|
"kind": "synchronous"
|
|
}
|
|
}
|
|
],
|
|
"custom_types": {
|
|
"input_objects": [
|
|
{
|
|
"name": "SampleInput",
|
|
"fields": [
|
|
{
|
|
"name": "username",
|
|
"type": "String!"
|
|
},
|
|
{
|
|
"name": "password",
|
|
"type": "String!"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"objects": [
|
|
{
|
|
"name": "SampleOutput",
|
|
"fields": [
|
|
{
|
|
"name": "accessToken",
|
|
"type": "String!"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
} |