mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-16 09:51:59 +03:00
aca8964fdc
Co-authored-by: Tirumarai Selvan <8663570+tirumaraiselvan@users.noreply.github.com> Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com> GitOrigin-RevId: 8ec3db00f00e9c28bf2dc0f47bd312a656c61a69
69 lines
1.8 KiB
Plaintext
69 lines
1.8 KiB
Plaintext
{
|
|
"version": 3,
|
|
"sources": [
|
|
{
|
|
"name": "default",
|
|
"tables": [],
|
|
"configuration": {
|
|
"connection_info": {
|
|
"database_url": {
|
|
"from_env": "HASURA_GRAPHQL_DATABASE_URL"
|
|
},
|
|
"isolation_level": "read-committed",
|
|
"pool_settings": {
|
|
"retries": 1,
|
|
"idle_timeout": 180,
|
|
"max_connections": 50
|
|
},
|
|
"use_prepared_statements": true
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"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!"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|