mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-10-05 14:28:08 +03:00
update docs link to avoid redirects
GitOrigin-RevId: 1f2a1d21bfb9b2908d56305fa2dfb69270deafdf
This commit is contained in:
parent
5b916eaaa6
commit
0ff26100bf
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
@ -46,7 +46,7 @@
|
|||||||
Does this PR change Hasura Catalog version?
|
Does this PR change Hasura Catalog version?
|
||||||
- [ ] No
|
- [ ] No
|
||||||
- [ ] Yes
|
- [ ] Yes
|
||||||
- [ ] Updated docs with SQL for downgrading the catalog <!-- https://hasura.io/docs/1.0/graphql/manual/deployment/downgrading.html#downgrading-across-catalogue-versions -->
|
- [ ] Updated docs with SQL for downgrading the catalog <!-- https://hasura.io/docs/latest/graphql/core/deployment/downgrading.html#downgrading-across-catalogue-versions -->
|
||||||
|
|
||||||
#### Metadata
|
#### Metadata
|
||||||
<!-- Hasura metadata changes -->
|
<!-- Hasura metadata changes -->
|
||||||
|
10
CHANGELOG.md
10
CHANGELOG.md
@ -514,7 +514,7 @@ query {
|
|||||||
|
|
||||||
Support for this is now added through the `add_computed_field` API.
|
Support for this is now added through the `add_computed_field` API.
|
||||||
|
|
||||||
Read more about the session argument for computed fields in the [docs](https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/computed-field.html).
|
Read more about the session argument for computed fields in the [docs](https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/computed-field.html).
|
||||||
|
|
||||||
### Manage seed migrations as SQL files
|
### Manage seed migrations as SQL files
|
||||||
|
|
||||||
@ -761,7 +761,7 @@ Postgres materialized views are views that are persisted in a table-like form. T
|
|||||||
### docs: map Postgres operators to corresponding Hasura operators
|
### docs: map Postgres operators to corresponding Hasura operators
|
||||||
|
|
||||||
Map Postgres operators to corresponding Hasura operators at various places in docs and link to PG documentation for reference.
|
Map Postgres operators to corresponding Hasura operators at various places in docs and link to PG documentation for reference.
|
||||||
For example, see [here](https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#operator).
|
For example, see [here](https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#operator).
|
||||||
|
|
||||||
(#4502) (close #4056)
|
(#4502) (close #4056)
|
||||||
|
|
||||||
@ -854,7 +854,7 @@ Read more about check constraints on [Postgres Docs](https://www.postgresql.org/
|
|||||||
|
|
||||||
A new CLI migrations image is introduced to account for the new migrations workflow. If you're have a project with `version: 2` in `config.yaml`, you should use the new image: `hasura/graphql-engine:v1.2.0-cli-migrations-v2`. Mount the migrations at `/hasura-migrations` and metadata at `/hasura-metadata`.
|
A new CLI migrations image is introduced to account for the new migrations workflow. If you're have a project with `version: 2` in `config.yaml`, you should use the new image: `hasura/graphql-engine:v1.2.0-cli-migrations-v2`. Mount the migrations at `/hasura-migrations` and metadata at `/hasura-metadata`.
|
||||||
|
|
||||||
See [upgrade docs](https://hasura.io/docs/1.0/graphql/manual/migrations/upgrade-v2.html).
|
See [upgrade docs](https://hasura.io/docs/latest/graphql/core/migrations/upgrade-v2.html).
|
||||||
|
|
||||||
(close #3969) (#4145)
|
(close #3969) (#4145)
|
||||||
|
|
||||||
@ -929,7 +929,7 @@ docker run hasura/graphql-engine:v1.2.0 graphql-engine --database-url <db-url> d
|
|||||||
# start hasura v1.0.0
|
# start hasura v1.0.0
|
||||||
```
|
```
|
||||||
|
|
||||||
Read more about this command in the [docs](https://hasura.io/docs/1.0/graphql/manual/deployment/downgrading.html#downgrading-hasura-graphql-engine).
|
Read more about this command in the [docs](https://hasura.io/docs/latest/graphql/core/deployment/downgrading.html#downgrading-hasura-graphql-engine).
|
||||||
|
|
||||||
(close #1156) (#3760)
|
(close #1156) (#3760)
|
||||||
|
|
||||||
@ -937,7 +937,7 @@ Read more about this command in the [docs](https://hasura.io/docs/1.0/graphql/ma
|
|||||||
|
|
||||||
When using webhooks to authenticate incoming requests to the GraphQL engine server, it is now possible to specify an expiration time; the connection to the server will be automatically closed if it's still running when the expiration delay is expired.
|
When using webhooks to authenticate incoming requests to the GraphQL engine server, it is now possible to specify an expiration time; the connection to the server will be automatically closed if it's still running when the expiration delay is expired.
|
||||||
|
|
||||||
Read more about it in the [docs](https://hasura.io/docs/1.0/graphql/manual/auth/authentication/webhook.html).
|
Read more about it in the [docs](https://hasura.io/docs/latest/graphql/core/auth/authentication/webhook.html).
|
||||||
|
|
||||||
### Bug fixes and improvements
|
### Bug fixes and improvements
|
||||||
|
|
||||||
|
14
README.md
14
README.md
@ -79,7 +79,7 @@ The fastest and easiest way to try Hasura out is via [Hasura Cloud](https://hasu
|
|||||||
|
|
||||||
3. Make your first GraphQL query
|
3. Make your first GraphQL query
|
||||||
|
|
||||||
Create a table and instantly run your first query. Follow this [simple guide](https://hasura.io/docs/1.0/graphql/manual/getting-started/first-graphql-query.html).
|
Create a table and instantly run your first query. Follow this [simple guide](https://hasura.io/docs/latest/graphql/core/getting-started/first-graphql-query.html).
|
||||||
|
|
||||||
### Other one-click deployment options
|
### Other one-click deployment options
|
||||||
|
|
||||||
@ -87,15 +87,15 @@ Check out the instructions for the following one-click deployment options:
|
|||||||
|
|
||||||
| **Infra provider** | **One-click link** | **Additional information** |
|
| **Infra provider** | **One-click link** | **Additional information** |
|
||||||
|:------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------:|
|
|:------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------:|
|
||||||
| Heroku | [![Deploy to Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/heroku-one-click.html) |
|
| Heroku | [![Deploy to Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku) | [docs](https://hasura.io/docs/latest/graphql/core/guides/deployment/heroku-one-click.html) |
|
||||||
| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [docs](https://hasura.io/docs/latest/graphql/core/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
||||||
| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html) |
|
| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [docs](https://hasura.io/docs/latest/graphql/core/guides/deployment/azure-container-instances-postgres.html) |
|
||||||
| Render | [![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=https://github.com/render-examples/hasura-graphql) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/render-one-click.html) |
|
| Render | [![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=https://github.com/render-examples/hasura-graphql) | [docs](https://hasura.io/docs/latest/graphql/core/guides/deployment/render-one-click.html) |
|
||||||
|
|
||||||
### Other deployment methods
|
### Other deployment methods
|
||||||
|
|
||||||
For Docker-based deployment and advanced configuration options, see [deployment
|
For Docker-based deployment and advanced configuration options, see [deployment
|
||||||
guides](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html) or
|
guides](https://hasura.io/docs/latest/graphql/core/getting-started/index.html) or
|
||||||
[install manifests](install-manifests).
|
[install manifests](install-manifests).
|
||||||
|
|
||||||
## Architecture
|
## Architecture
|
||||||
@ -126,7 +126,7 @@ processing - [read more](event-triggers.md).
|
|||||||
|
|
||||||
### Derived data or data transformations
|
### Derived data or data transformations
|
||||||
|
|
||||||
Transform data in Postgres or run business logic on it to derive another dataset that can be queried using GraphQL Engine - [read more](https://hasura.io/docs/1.0/graphql/manual/queries/derived-data.html).
|
Transform data in Postgres or run business logic on it to derive another dataset that can be queried using GraphQL Engine - [read more](https://hasura.io/docs/latest/graphql/core/queries/derived-data.html).
|
||||||
|
|
||||||
## Demos
|
## Demos
|
||||||
|
|
||||||
|
@ -84,7 +84,7 @@ const (
|
|||||||
const (
|
const (
|
||||||
StrTelemetryNotice = `Help us improve Hasura! The cli collects anonymized usage stats which
|
StrTelemetryNotice = `Help us improve Hasura! The cli collects anonymized usage stats which
|
||||||
allow us to keep improving Hasura at warp speed. To opt-out or read more,
|
allow us to keep improving Hasura at warp speed. To opt-out or read more,
|
||||||
visit https://hasura.io/docs/1.0/graphql/manual/guides/telemetry.html
|
visit https://hasura.io/docs/latest/graphql/core/guides/telemetry.html
|
||||||
`
|
`
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ func NewInitCmd(ec *cli.ExecutionContext) *cobra.Command {
|
|||||||
# Create a hasura project in the current working directory
|
# Create a hasura project in the current working directory
|
||||||
hasura init .
|
hasura init .
|
||||||
|
|
||||||
# See https://hasura.io/docs/1.0/graphql/manual/migrations/index.html for more details`,
|
# See https://hasura.io/docs/latest/graphql/core/migrations/index.html for more details`,
|
||||||
SilenceUsage: true,
|
SilenceUsage: true,
|
||||||
Args: cobra.MaximumNArgs(1),
|
Args: cobra.MaximumNArgs(1),
|
||||||
PreRunE: func(cmd *cobra.Command, args []string) error {
|
PreRunE: func(cmd *cobra.Command, args []string) error {
|
||||||
|
@ -137,7 +137,7 @@ You can also configure the server in JWKS mode and set `HASURA_GRAPHQL_JWT_SECRE
|
|||||||
{ "type": "RS256", "jwk_url": "hostname:port/jwks" }
|
{ "type": "RS256", "jwk_url": "hostname:port/jwks" }
|
||||||
```
|
```
|
||||||
|
|
||||||
More information in the [Hasura documentation](https://hasura.io/docs/1.0/graphql/manual/auth/authentication/jwt.html).
|
More information in the [Hasura documentation](https://hasura.io/docs/latest/graphql/core/auth/authentication/jwt.html).
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
@ -24,11 +24,11 @@ Further reading: [Firebase SDK for Cloud Functions](https://firebase.google.com/
|
|||||||
|
|
||||||
Set `--auth-hook` or `HASURA_GRAPHQL_AUTH_HOOK` to the endpoint obtained above.
|
Set `--auth-hook` or `HASURA_GRAPHQL_AUTH_HOOK` to the endpoint obtained above.
|
||||||
|
|
||||||
[GraphQL engine server flags reference](https://hasura.io/docs/1.0/graphql/manual/deployment/graphql-engine-flags/reference.html) for details.
|
[GraphQL engine server flags reference](https://hasura.io/docs/latest/graphql/core/deployment/graphql-engine-flags/reference.html) for details.
|
||||||
|
|
||||||
## Create table and set permission
|
## Create table and set permission
|
||||||
|
|
||||||
Follow [Common roles and auth examples](https://hasura.io/docs/1.0/graphql/manual/auth/authorization/common-roles-auth-examples.html)
|
Follow [Common roles and auth examples](https://hasura.io/docs/latest/graphql/core/auth/authorization/common-roles-auth-examples.html)
|
||||||
on Hasura doc for details of how to setup permission to a table.
|
on Hasura doc for details of how to setup permission to a table.
|
||||||
|
|
||||||
Make sure to change id column of user table to TXT type as uid sent from webhook is firebase User UID format (e.g. 0LnvZc7405TjRTbjURhZYYVXPI52)
|
Make sure to change id column of user table to TXT type as uid sent from webhook is firebase User UID format (e.g. 0LnvZc7405TjRTbjURhZYYVXPI52)
|
||||||
|
@ -45,4 +45,4 @@ Click the following button to edit on glitch
|
|||||||
|
|
||||||
Once you have deployed this webhook, you can use it along with the GraphQL engine. You have to set the webhook URL as an environment variable in the docker container that runs the GraphQL engine.
|
Once you have deployed this webhook, you can use it along with the GraphQL engine. You have to set the webhook URL as an environment variable in the docker container that runs the GraphQL engine.
|
||||||
|
|
||||||
*[Read the docs](https://hasura.io/docs/1.0/graphql/manual/auth/authentication/webhook.html).*
|
*[Read the docs](https://hasura.io/docs/latest/graphql/core/auth/authentication/webhook.html).*
|
||||||
|
@ -91,7 +91,7 @@ FIREBASE_CONFIG='{
|
|||||||
|
|
||||||
Once you have deployed this webhook, you can use it along with the GraphQL engine. You have to set the webhook URL as an environment variable in the docker container that runs the GraphQL engine.
|
Once you have deployed this webhook, you can use it along with the GraphQL engine. You have to set the webhook URL as an environment variable in the docker container that runs the GraphQL engine.
|
||||||
|
|
||||||
*[Read the docs](https://hasura.io/docs/1.0/graphql/manual/auth/authentication/webhook.html).*
|
*[Read the docs](https://hasura.io/docs/latest/graphql/core/auth/authentication/webhook.html).*
|
||||||
|
|
||||||
### Firebase
|
### Firebase
|
||||||
|
|
||||||
|
@ -90,4 +90,4 @@ The client just need to add `Authorization: Bearer <token>` to the request sendi
|
|||||||
|
|
||||||
The endpoint (say `http://localhost:8080/webhook`) can be given as an environment variable `HASURA_GRAPHQL_AUTH_HOOK` to GraphQL Engine.
|
The endpoint (say `http://localhost:8080/webhook`) can be given as an environment variable `HASURA_GRAPHQL_AUTH_HOOK` to GraphQL Engine.
|
||||||
|
|
||||||
[Read more about webhook here](https://hasura.io/docs/1.0/graphql/manual/auth/authentication/webhook.html).
|
[Read more about webhook here](https://hasura.io/docs/latest/graphql/core/auth/authentication/webhook.html).
|
||||||
|
@ -78,4 +78,4 @@ HASURA_GRAPHQL_AUTH_WEBHOOK=http://localhost:5000/auth-webhook
|
|||||||
|
|
||||||
All queries will be now validated through the webhook.
|
All queries will be now validated through the webhook.
|
||||||
|
|
||||||
> Read more on [authentication and access control](https://hasura.io/docs/1.0/graphql/manual/auth/index.html).
|
> Read more on [authentication and access control](https://hasura.io/docs/latest/graphql/core/auth/index.html).
|
||||||
|
@ -24,7 +24,7 @@ Note: *If you want to add support for other platforms, please submit a PR or cre
|
|||||||
## Setup Postgres + Hasura GraphQL engine
|
## Setup Postgres + Hasura GraphQL engine
|
||||||
This boilerplate code assumes that you already have a HGE instance running.
|
This boilerplate code assumes that you already have a HGE instance running.
|
||||||
|
|
||||||
If not you can visit the [docs](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html) and setup Postgres + HGE.
|
If not you can visit the [docs](https://hasura.io/docs/latest/graphql/core/getting-started/index.html) and setup Postgres + HGE.
|
||||||
|
|
||||||
## Deploying the boilerplate examples
|
## Deploying the boilerplate examples
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ Click on the following button to deploy GraphQL Engine on Heroku with the free P
|
|||||||
|
|
||||||
[![Deploy to Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku)
|
[![Deploy to Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku)
|
||||||
|
|
||||||
Checkout [docs](https://hasura.io/docs/1.0/graphql/manual/deployment/index.html) for other deployment options.
|
Checkout [docs](https://hasura.io/docs/latest/graphql/core/deployment/index.html) for other deployment options.
|
||||||
|
|
||||||
|
|
||||||
### Setup `netlify-cli`
|
### Setup `netlify-cli`
|
||||||
|
@ -8,7 +8,7 @@ Click on the following button to deploy GraphQL Engine on Heroku with the free P
|
|||||||
|
|
||||||
[![Deploy to Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku)
|
[![Deploy to Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku)
|
||||||
|
|
||||||
Checkout [docs](https://hasura.io/docs/1.0/graphql/manual/deployment/index.html) for other deployment options.
|
Checkout [docs](https://hasura.io/docs/latest/graphql/core/deployment/index.html) for other deployment options.
|
||||||
|
|
||||||
|
|
||||||
### Setup `now`
|
### Setup `now`
|
||||||
|
@ -18,7 +18,7 @@ Typical use-cases:
|
|||||||
|
|
||||||
## Docs
|
## Docs
|
||||||
|
|
||||||
[Remote Schema documentation](https://hasura.io/docs/1.0/graphql/manual/remote-schemas/index.html)
|
[Remote Schema documentation](https://hasura.io/docs/latest/graphql/core/remote-schemas/index.html)
|
||||||
|
|
||||||
## Architecture
|
## Architecture
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ npm install
|
|||||||
> Note: if you clone this project through the Gatsby CLI, it will install the modules for you.
|
> Note: if you clone this project through the Gatsby CLI, it will install the modules for you.
|
||||||
|
|
||||||
## Auth0
|
## Auth0
|
||||||
This application uses Auth0 to manage identity. Refer to the [Auth0 integration guide](https://hasura.io/docs/1.0/graphql/manual/guides/integrations/auth0-jwt.html) for the configuration.
|
This application uses Auth0 to manage identity. Refer to the [Auth0 integration guide](https://hasura.io/docs/latest/graphql/core/guides/integrations/auth0-jwt.html) for the configuration.
|
||||||
|
|
||||||
### Modify auth config
|
### Modify auth config
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
[![Deploy to heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku)
|
[![Deploy to heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku)
|
||||||
|
|
||||||
Please checkout our [docs](https://hasura.io/docs/1.0/graphql/manual/deployment/index.html) for other deployment methods
|
Please checkout our [docs](https://hasura.io/docs/latest/graphql/core/deployment/index.html) for other deployment methods
|
||||||
|
|
||||||
- Get the Heroku app URL (say `my-app.herokuapp.com`)
|
- Get the Heroku app URL (say `my-app.herokuapp.com`)
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
[![Deploy to heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku)
|
[![Deploy to heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku)
|
||||||
|
|
||||||
Please checkout our [docs](https://hasura.io/docs/1.0/graphql/manual/deployment/index.html) for other deployment methods
|
Please checkout our [docs](https://hasura.io/docs/latest/graphql/core/deployment/index.html) for other deployment methods
|
||||||
|
|
||||||
- Get the Heroku app URL (say `my-app.herokuapp.com`)
|
- Get the Heroku app URL (say `my-app.herokuapp.com`)
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ Boilerplate to get started with Nextjs, Hasura GraphQL engine as CMS and postgre
|
|||||||
[![Deploy to
|
[![Deploy to
|
||||||
heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku)
|
heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku)
|
||||||
|
|
||||||
Please checkout our [docs](https://hasura.io/docs/1.0/graphql/manual/deployment/index.html) for other deployment methods
|
Please checkout our [docs](https://hasura.io/docs/latest/graphql/core/deployment/index.html) for other deployment methods
|
||||||
|
|
||||||
- Get the Heroku app URL (say `my-app.herokuapp.com`)
|
- Get the Heroku app URL (say `my-app.herokuapp.com`)
|
||||||
- Create `author` table:
|
- Create `author` table:
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
[![Deploy to
|
[![Deploy to
|
||||||
heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku)
|
heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku)
|
||||||
|
|
||||||
Please checkout our [docs](https://hasura.io/docs/1.0/graphql/manual/deployment/index.html) for other deployment methods
|
Please checkout our [docs](https://hasura.io/docs/latest/graphql/core/deployment/index.html) for other deployment methods
|
||||||
|
|
||||||
- Get the Heroku app URL (say `my-app.herokuapp.com`)
|
- Get the Heroku app URL (say `my-app.herokuapp.com`)
|
||||||
- Create `author` table:
|
- Create `author` table:
|
||||||
|
@ -7,16 +7,16 @@ Boilerplate to get started with Quasar Framework, Hasura GraphQL engine as CMS a
|
|||||||
# Tutorial
|
# Tutorial
|
||||||
|
|
||||||
- Deploy Postgres and GraphQL Engine on Heroku:
|
- Deploy Postgres and GraphQL Engine on Heroku:
|
||||||
|
|
||||||
[![Deploy to
|
[![Deploy to
|
||||||
heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku)
|
heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku)
|
||||||
|
|
||||||
Please checkout our [docs](https://hasura.io/docs/1.0/graphql/manual/deployment/index.html) for other deployment methods
|
Please checkout our [docs](https://hasura.io/docs/latest/graphql/core/deployment/index.html) for other deployment methods
|
||||||
|
|
||||||
- Get the Heroku app URL (say `my-app.herokuapp.com`)
|
- Get the Heroku app URL (say `my-app.herokuapp.com`)
|
||||||
- Create `author` table:
|
- Create `author` table:
|
||||||
|
|
||||||
Open Hasura console: visit https://my-app.herokuapp.com on a browser
|
Open Hasura console: visit https://my-app.herokuapp.com on a browser
|
||||||
Navigate to `Data` section in the top nav bar and create a table as follows:
|
Navigate to `Data` section in the top nav bar and create a table as follows:
|
||||||
|
|
||||||
![Create author table](../gatsby-postgres-graphql/assets/add_table.jpg)
|
![Create author table](../gatsby-postgres-graphql/assets/add_table.jpg)
|
||||||
@ -44,7 +44,7 @@ columns: `id`, `title`, `content`, `author_id` (foreign key to `author` table's
|
|||||||
yarn install
|
yarn install
|
||||||
```
|
```
|
||||||
|
|
||||||
- Open `src/plugins/apollo.js` and configure Hasura's GraphQL Endpoint as follows:
|
- Open `src/plugins/apollo.js` and configure Hasura's GraphQL Endpoint as follows:
|
||||||
```js
|
```js
|
||||||
|
|
||||||
import { ApolloClient } from 'apollo-client'
|
import { ApolloClient } from 'apollo-client'
|
||||||
@ -66,7 +66,7 @@ const apolloClient = new ApolloClient({
|
|||||||
|
|
||||||
In the `httpLink`, replace `myapp.herokuapp.com` with your own Heroku URL of Hasura GraphQL Engine.
|
In the `httpLink`, replace `myapp.herokuapp.com` with your own Heroku URL of Hasura GraphQL Engine.
|
||||||
|
|
||||||
- We have defined the graphql query for fetching author list in `src/layouts/MyLayout.vue`.
|
- We have defined the graphql query for fetching author list in `src/layouts/MyLayout.vue`.
|
||||||
- GraphQL query
|
- GraphQL query
|
||||||
|
|
||||||
```graphql
|
```graphql
|
||||||
|
@ -9,9 +9,9 @@ This app demonstrates pagination using Hasura with Relay. It's for demo purposes
|
|||||||
- columns: `id`, `body`, `created_at`, `restaurant_id`
|
- columns: `id`, `body`, `created_at`, `restaurant_id`
|
||||||
- `restaurants`
|
- `restaurants`
|
||||||
- columns: `id`, `name`, `cuisine`
|
- columns: `id`, `name`, `cuisine`
|
||||||
- Create a [one-to-many relationship](https://hasura.io/docs/1.0/graphql/manual/schema/relationships/database-modelling/one-to-many.html) between the tables.
|
- Create a [one-to-many relationship](https://hasura.io/docs/latest/graphql/core/schema/relationships/database-modelling/one-to-many.html) between the tables.
|
||||||
- Using the Hasura console, add some rows to both tables. Add at least four reviews since the sample code loads three reviews at a time.
|
- Using the Hasura console, add some rows to both tables. Add at least four reviews since the sample code loads three reviews at a time.
|
||||||
- Using your Relay endpoint from Hasura (`/v1beta1/relay`), export your GraphQL schema by following the instructions [here](https://hasura.io/docs/1.0/graphql/manual/schema/export-graphql-schema.html) (to replace `schema.graphql` at the root of this project).
|
- Using your Relay endpoint from Hasura (`/v1beta1/relay`), export your GraphQL schema by following the instructions [here](https://hasura.io/docs/latest/graphql/core/schema/export-graphql-schema.html) (to replace `schema.graphql` at the root of this project).
|
||||||
- In `fetchGraphQL.js`, set the GraphQL endpoint to your Relay endpoint.
|
- In `fetchGraphQL.js`, set the GraphQL endpoint to your Relay endpoint.
|
||||||
- In `App.js`, replace `MY_RESTAURANT_ID` with a restaurant `id` from your database (This is for demo purposes; normally you'd pass in the `id` via routing).
|
- In `App.js`, replace `MY_RESTAURANT_ID` with a restaurant `id` from your database (This is for demo purposes; normally you'd pass in the `id` via routing).
|
||||||
- In your Terminal, at the root of the app:
|
- In your Terminal, at the root of the app:
|
||||||
@ -21,4 +21,4 @@ This app demonstrates pagination using Hasura with Relay. It's for demo purposes
|
|||||||
- Open [http://localhost:3000](http://localhost:3000) to view the app in your browser.
|
- Open [http://localhost:3000](http://localhost:3000) to view the app in your browser.
|
||||||
- Click the `Load More` button to load more reviews.
|
- Click the `Load More` button to load more reviews.
|
||||||
|
|
||||||
For more information on Hasura's Relay API, see the [Hasura docs](https://hasura.io/docs/1.0/graphql/manual/schema/relay-schema.html).
|
For more information on Hasura's Relay API, see the [Hasura docs](https://hasura.io/docs/latest/graphql/core/schema/relay-schema.html).
|
||||||
|
@ -11,7 +11,7 @@ A sample app to get started with [react-static](https://github.com/nozzle/react-
|
|||||||
[![Deploy to
|
[![Deploy to
|
||||||
heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku)
|
heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku)
|
||||||
|
|
||||||
Please checkout our [docs](https://hasura.io/docs/1.0/graphql/manual/deployment/index.html) for other deployment methods
|
Please checkout our [docs](https://hasura.io/docs/latest/graphql/core/deployment/index.html) for other deployment methods
|
||||||
|
|
||||||
- Get the Heroku app URL (say `my-app.herokuapp.com`)
|
- Get the Heroku app URL (say `my-app.herokuapp.com`)
|
||||||
- Create `author` table:
|
- Create `author` table:
|
||||||
|
@ -28,7 +28,7 @@ hosted on GitHub pages and the Postgres+GraphQL Engine is running on Postgres.
|
|||||||
git clone https://github.com/hasura/graphql-engine
|
git clone https://github.com/hasura/graphql-engine
|
||||||
cd graphql-engine/community/sample-apps/realtime-location-tracking
|
cd graphql-engine/community/sample-apps/realtime-location-tracking
|
||||||
```
|
```
|
||||||
- [Install Hasura CLI](https://hasura.io/docs/1.0/graphql/manual/hasura-cli/install-hasura-cli.html)
|
- [Install Hasura CLI](https://hasura.io/docs/latest/graphql/core/hasura-cli/install-hasura-cli.html)
|
||||||
- Goto `hasura/` and edit `config.yaml`:
|
- Goto `hasura/` and edit `config.yaml`:
|
||||||
```yaml
|
```yaml
|
||||||
endpoint: https://realtime-backend2.herokuapp.com
|
endpoint: https://realtime-backend2.herokuapp.com
|
||||||
|
@ -29,7 +29,7 @@ hosted on GitHub pages and the Postgres+GraphQL Engine is running on Postgres.
|
|||||||
git clone https://github.com/hasura/graphql-engine
|
git clone https://github.com/hasura/graphql-engine
|
||||||
cd graphql-engine/community/sample-apps/realtime-poll
|
cd graphql-engine/community/sample-apps/realtime-poll
|
||||||
```
|
```
|
||||||
- [Install Hasura CLI](https://hasura.io/docs/1.0/graphql/manual/hasura-cli/install-hasura-cli.html)
|
- [Install Hasura CLI](https://hasura.io/docs/latest/graphql/core/hasura-cli/install-hasura-cli.html)
|
||||||
- Goto `hasura/` and edit `config.yaml`:
|
- Goto `hasura/` and edit `config.yaml`:
|
||||||
```yaml
|
```yaml
|
||||||
endpoint: https://random-string-123.herokuapp.com
|
endpoint: https://random-string-123.herokuapp.com
|
||||||
|
@ -10,7 +10,7 @@ A simple Todo PWA (Progressive Web App) inspired by [TodoMVC](http://todomvc.com
|
|||||||
[![Deploy to
|
[![Deploy to
|
||||||
heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku)
|
heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku)
|
||||||
|
|
||||||
Please checkout our [docs](https://hasura.io/docs/1.0/graphql/manual/deployment/index.html) for other deployment methods
|
Please checkout our [docs](https://hasura.io/docs/latest/graphql/core/deployment/index.html) for other deployment methods
|
||||||
|
|
||||||
- Get the Heroku app URL (say `my-app.herokuapp.com`)
|
- Get the Heroku app URL (say `my-app.herokuapp.com`)
|
||||||
- Create `todos` table:
|
- Create `todos` table:
|
||||||
|
@ -19,7 +19,7 @@ The react client is a forked version of [urigo/whatsapp-client-react](https://gi
|
|||||||
git clone https://github.com/hasura/graphql-engine
|
git clone https://github.com/hasura/graphql-engine
|
||||||
cd graphql-engine/community/sample-apps/whatsapp-clone-typescript-react
|
cd graphql-engine/community/sample-apps/whatsapp-clone-typescript-react
|
||||||
```
|
```
|
||||||
- [Install Hasura CLI](https://hasura.io/docs/1.0/graphql/manual/hasura-cli/install-hasura-cli.html)
|
- [Install Hasura CLI](https://hasura.io/docs/latest/graphql/core/hasura-cli/install-hasura-cli.html)
|
||||||
- Apply the migrations:
|
- Apply the migrations:
|
||||||
```bash
|
```bash
|
||||||
cd hasura
|
cd hasura
|
||||||
|
@ -25,8 +25,8 @@ Feel free to open pull requests to address these issues or to add/fix console f
|
|||||||
### Prerequisites
|
### Prerequisites
|
||||||
|
|
||||||
- [Node.js](https://nodejs.org/en/) (v8.9+)
|
- [Node.js](https://nodejs.org/en/) (v8.9+)
|
||||||
- [Hasura GraphQL Engine](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html)
|
- [Hasura GraphQL Engine](https://hasura.io/docs/latest/graphql/core/getting-started/index.html)
|
||||||
- [Hasura CLI](https://hasura.io/docs/1.0/graphql/manual/hasura-cli/install-hasura-cli.html) (for working with migrations)
|
- [Hasura CLI](https://hasura.io/docs/latest/graphql/core/hasura-cli/install-hasura-cli.html) (for working with migrations)
|
||||||
|
|
||||||
### Set up and install dependencies
|
### Set up and install dependencies
|
||||||
|
|
||||||
@ -44,7 +44,7 @@ npm ci
|
|||||||
|
|
||||||
Hasura console can be developed in two modes, `server` or `cli` mode. If you are looking to add/tweak functionality related to migrations, check out [Develop with Hasura CLI](#develop-with-hasura-cli-cli-mode), otherwise check out [Develop with Hasura GraphQL engine](#develop-with-hasura-graphql-engine-server-mode).
|
Hasura console can be developed in two modes, `server` or `cli` mode. If you are looking to add/tweak functionality related to migrations, check out [Develop with Hasura CLI](#develop-with-hasura-cli-cli-mode), otherwise check out [Develop with Hasura GraphQL engine](#develop-with-hasura-graphql-engine-server-mode).
|
||||||
|
|
||||||
Both modes require a running instance of GraphQL Engine. The easiest way to get Hasura GraphQL engine instance is by Heroku. You can get it by following the steps given in [this](https://hasura.io/docs/1.0/graphql/manual/getting-started/heroku-simple.html) link. Other methods to install Hasura GraphQL engine are documented [here](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html).
|
Both modes require a running instance of GraphQL Engine. The easiest way to get Hasura GraphQL engine instance is by Heroku. You can get it by following the steps given in [this](https://hasura.io/docs/latest/graphql/core/getting-started/heroku-simple.html) link. Other methods to install Hasura GraphQL engine are documented [here](https://hasura.io/docs/latest/graphql/core/getting-started/index.html).
|
||||||
|
|
||||||
[Dotenv](https://github.com/motdotla/dotenv) is used for setting environment variables for development. In production, these environment variables are templated by the server or CLI.
|
[Dotenv](https://github.com/motdotla/dotenv) is used for setting environment variables for development. In production, these environment variables are templated by the server or CLI.
|
||||||
|
|
||||||
|
@ -96,11 +96,11 @@ const onboardingList = [
|
|||||||
title: 'Read the Getting Started Docs',
|
title: 'Read the Getting Started Docs',
|
||||||
link: {
|
link: {
|
||||||
pro:
|
pro:
|
||||||
'https://hasura.io/docs/1.0/graphql/core/getting-started/first-graphql-query.html?pg=pro&plcmt=onboarding-checklist#create-a-table',
|
'https://hasura.io/docs/latest/graphql/core/getting-started/first-graphql-query.html?pg=pro&plcmt=onboarding-checklist#create-a-table',
|
||||||
oss:
|
oss:
|
||||||
'https://hasura.io/docs/1.0/graphql/core/getting-started/first-graphql-query.html?pg=oss-console&plcmt=onboarding#create-a-table',
|
'https://hasura.io/docs/latest/graphql/core/getting-started/first-graphql-query.html?pg=oss-console&plcmt=onboarding#create-a-table',
|
||||||
cloud:
|
cloud:
|
||||||
'https://hasura.io/docs/1.0/graphql/core/getting-started/first-graphql-query.html?pg=cloud&plcmt=onboarding-checklist#create-a-table',
|
'https://hasura.io/docs/latest/graphql/core/getting-started/first-graphql-query.html?pg=cloud&plcmt=onboarding-checklist#create-a-table',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{ title: 'Watch Our Getting Started Video', videoId: 'ZGKQ0U18USU' },
|
{ title: 'Watch Our Getting Started Video', videoId: 'ZGKQ0U18USU' },
|
||||||
|
@ -300,7 +300,7 @@ class Main extends React.Component {
|
|||||||
adminSecretHtml = (
|
adminSecretHtml = (
|
||||||
<div className={styles.secureSection}>
|
<div className={styles.secureSection}>
|
||||||
<a
|
<a
|
||||||
href="https://hasura.io/docs/1.0/graphql/manual/deployment/securing-graphql-endpoint.html"
|
href="https://hasura.io/docs/latest/graphql/core/deployment/securing-graphql-endpoint.html"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
|
@ -263,7 +263,7 @@ const VersionUpdateNotification: React.FC<VersionUpdateNotificationProps> = ({
|
|||||||
<span className={styles.middot}> · </span>
|
<span className={styles.middot}> · </span>
|
||||||
<a
|
<a
|
||||||
className={styles.updateLink}
|
className={styles.updateLink}
|
||||||
href="https://hasura.io/docs/1.0/graphql/manual/deployment/updating.html"
|
href="https://hasura.io/docs/latest/graphql/core/deployment/updating.html"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
@ -299,7 +299,7 @@ const VulnerableVersionNotification: React.FC<VulnerableVersionProps> = ({
|
|||||||
<span className={styles.middot}> · </span>
|
<span className={styles.middot}> · </span>
|
||||||
<a
|
<a
|
||||||
className={styles.updateLink}
|
className={styles.updateLink}
|
||||||
href="https://hasura.io/docs/1.0/graphql/manual/deployment/updating.html"
|
href="https://hasura.io/docs/latest/graphql/core/deployment/updating.html"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
|
@ -78,7 +78,7 @@ export const UpdateVersion: React.FC<UpdateVersionProps> = ({
|
|||||||
<span className={styles.middot}> · </span>
|
<span className={styles.middot}> · </span>
|
||||||
<a
|
<a
|
||||||
className={styles.updateLink}
|
className={styles.updateLink}
|
||||||
href="https://hasura.io/docs/1.0/graphql/manual/deployment/updating.html"
|
href="https://hasura.io/docs/latest/graphql/core/deployment/updating.html"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
|
@ -23,7 +23,7 @@ class Landing extends React.Component {
|
|||||||
imgUrl={`${globals.assetsPath}/common/img/actions.png`}
|
imgUrl={`${globals.assetsPath}/common/img/actions.png`}
|
||||||
imgAlt="Actions"
|
imgAlt="Actions"
|
||||||
description="Actions are custom queries or mutations that are resolved via HTTP handlers. Actions can be used to carry out complex data validations, data enrichment from external sources or execute just about any custom business logic."
|
description="Actions are custom queries or mutations that are resolved via HTTP handlers. Actions can be used to carry out complex data validations, data enrichment from external sources or execute just about any custom business logic."
|
||||||
knowMoreHref="https://hasura.io/docs/1.0/graphql/manual/actions/index.html"
|
knowMoreHref="https://hasura.io/docs/latest/graphql/core/actions/index.html"
|
||||||
/>
|
/>
|
||||||
<hr className={styles.clear_fix} />
|
<hr className={styles.clear_fix} />
|
||||||
</div>
|
</div>
|
||||||
|
@ -5,7 +5,7 @@ import ToolTip from '../../../../Common/Tooltip/Tooltip';
|
|||||||
import KnowMoreLink from '../../../../Common/KnowMoreLink/KnowMoreLink';
|
import KnowMoreLink from '../../../../Common/KnowMoreLink/KnowMoreLink';
|
||||||
|
|
||||||
const enumCompatibilityDocsUrl =
|
const enumCompatibilityDocsUrl =
|
||||||
'https://hasura.io/docs/1.0/graphql/manual/schema/enums.html#create-enum-table';
|
'https://hasura.io/docs/latest/graphql/core/schema/enums.html#create-enum-table';
|
||||||
|
|
||||||
export const EnumTableModifyWarning = ({ isEnum }) => {
|
export const EnumTableModifyWarning = ({ isEnum }) => {
|
||||||
if (!isEnum) {
|
if (!isEnum) {
|
||||||
|
@ -50,7 +50,7 @@ const SessionVarSection: React.FC<SessionVarSectionProps> = ({
|
|||||||
<h4 className={styles.subheading_text}>
|
<h4 className={styles.subheading_text}>
|
||||||
Session argument
|
Session argument
|
||||||
<ToolTip message="the function argument into which hasura session variables will be passed" />
|
<ToolTip message="the function argument into which hasura session variables will be passed" />
|
||||||
<KnowMoreLink href="https://hasura.io/docs/1.0/graphql/manual/schema/custom-functions.html#accessing-hasura-session-variables-in-custom-functions" />
|
<KnowMoreLink href="https://hasura.io/docs/latest/graphql/core/schema/custom-functions.html#accessing-hasura-session-variables-in-custom-functions" />
|
||||||
</h4>
|
</h4>
|
||||||
<div
|
<div
|
||||||
className={isEditing ? styles.editorExpanded : styles.editorCollapsed}
|
className={isEditing ? styles.editorExpanded : styles.editorCollapsed}
|
||||||
|
@ -37,7 +37,7 @@ const PermissionServerFlagNote = ({ isEditable = false }) =>
|
|||||||
<code>HASURA_GRAPHQL_INFER_FUNCTION_PERMISSIONS=false</code> on the
|
<code>HASURA_GRAPHQL_INFER_FUNCTION_PERMISSIONS=false</code> on the
|
||||||
server (
|
server (
|
||||||
<a
|
<a
|
||||||
href="https://hasura.io/docs/1.0/graphql/core/api-reference/schema-metadata-api/custom-functions.html#api-custom-functions"
|
href="https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-functions.html#api-custom-functions"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
|
@ -26,7 +26,7 @@ const Migrations = ({ dispatch, migrationMode }) => {
|
|||||||
<li>
|
<li>
|
||||||
Read more about managing migrations with Hasura at the{' '}
|
Read more about managing migrations with Hasura at the{' '}
|
||||||
<a
|
<a
|
||||||
href="https://hasura.io/docs/1.0/graphql/manual/migrations/index.html"
|
href="https://hasura.io/docs/latest/graphql/core/migrations/index.html"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
|
@ -352,7 +352,7 @@ const RawSQL = ({
|
|||||||
<KnowMoreLink
|
<KnowMoreLink
|
||||||
text={'See supported functions requirements'}
|
text={'See supported functions requirements'}
|
||||||
href={
|
href={
|
||||||
'https://hasura.io/docs/1.0/graphql/manual/schema/custom-functions.html#supported-sql-functions'
|
'https://hasura.io/docs/latest/graphql/core/schema/custom-functions.html#supported-sql-functions'
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -523,7 +523,7 @@ class Schema extends Component {
|
|||||||
'Untracked foreign-key relationships',
|
'Untracked foreign-key relationships',
|
||||||
'Relationships inferred via foreign-keys that are not exposed over the GraphQL API',
|
'Relationships inferred via foreign-keys that are not exposed over the GraphQL API',
|
||||||
<>
|
<>
|
||||||
<KnowMoreLink href="https://hasura.io/docs/1.0/graphql/manual/schema/table-relationships/index.html" />
|
<KnowMoreLink href="https://hasura.io/docs/latest/graphql/core/schema/table-relationships/index.html" />
|
||||||
<span className={styles.add_mar_left}>{getTrackAllBtn()}</span>
|
<span className={styles.add_mar_left}>{getTrackAllBtn()}</span>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
@ -544,7 +544,7 @@ class Schema extends Component {
|
|||||||
const heading = getSectionHeading(
|
const heading = getSectionHeading(
|
||||||
'Untracked custom functions',
|
'Untracked custom functions',
|
||||||
'Custom functions that are not exposed over the GraphQL API',
|
'Custom functions that are not exposed over the GraphQL API',
|
||||||
<KnowMoreLink href="https://hasura.io/docs/1.0/graphql/manual/schema/custom-functions.html" />
|
<KnowMoreLink href="https://hasura.io/docs/latest/graphql/core/schema/custom-functions.html" />
|
||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
@ -27,7 +27,7 @@ const ComputedFields = (props: ComputedFieldsProps) => {
|
|||||||
<h4 className={styles.subheading_text}>
|
<h4 className={styles.subheading_text}>
|
||||||
Computed fields
|
Computed fields
|
||||||
<Tooltip message="Add a function as a virtual field in the GraphQL API" />
|
<Tooltip message="Add a function as a virtual field in the GraphQL API" />
|
||||||
<KnowMoreLink href="https://hasura.io/docs/1.0/graphql/manual/schema/computed-fields.html" />
|
<KnowMoreLink href="https://hasura.io/docs/latest/graphql/core/schema/computed-fields.html" />
|
||||||
</h4>
|
</h4>
|
||||||
<ComputedFieldsEditor
|
<ComputedFieldsEditor
|
||||||
table={tableSchema}
|
table={tableSchema}
|
||||||
|
@ -402,7 +402,7 @@ const ComputedFieldsEditor: React.FC<ComputedFieldsEditorProps> = ({
|
|||||||
<b>Session argument:</b>
|
<b>Session argument:</b>
|
||||||
<Tooltip message="The function argument into which Hasura session variables will be passed" />
|
<Tooltip message="The function argument into which Hasura session variables will be passed" />
|
||||||
|
|
||||||
<KnowMoreLink href="https://hasura.io/docs/1.0/graphql/core/schema/computed-fields.html#accessing-hasura-session-variables-in-computed-fields" />
|
<KnowMoreLink href="https://hasura.io/docs/latest/graphql/core/schema/computed-fields.html#accessing-hasura-session-variables-in-computed-fields" />
|
||||||
</div>
|
</div>
|
||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
|
@ -1726,7 +1726,7 @@ class Permissions extends Component {
|
|||||||
'Backend only',
|
'Backend only',
|
||||||
tooltip,
|
tooltip,
|
||||||
backendStatus,
|
backendStatus,
|
||||||
'https://hasura.io/docs/1.0/graphql/manual/auth/authorization/permission-rules.html#backend-only'
|
'https://hasura.io/docs/latest/graphql/core/auth/authorization/permission-rules.html#backend-only'
|
||||||
)}
|
)}
|
||||||
useDefaultTitleStyle
|
useDefaultTitleStyle
|
||||||
testId={'toggle-backend-only'}
|
testId={'toggle-backend-only'}
|
||||||
|
@ -483,7 +483,7 @@ const Relationships = ({
|
|||||||
Table Relationships
|
Table Relationships
|
||||||
<ToolTip message={'Relationships to tables / views'} />
|
<ToolTip message={'Relationships to tables / views'} />
|
||||||
|
|
||||||
<KnowMoreLink href="https://hasura.io/docs/1.0/graphql/manual/schema/table-relationships/index.html" />
|
<KnowMoreLink href="https://hasura.io/docs/latest/graphql/core/schema/table-relationships/index.html" />
|
||||||
</h4>
|
</h4>
|
||||||
{addedRelationshipsView}
|
{addedRelationshipsView}
|
||||||
{getAddRelSection()}
|
{getAddRelSection()}
|
||||||
|
@ -163,7 +163,7 @@ class RelationshipsView extends Component {
|
|||||||
Table Relationships
|
Table Relationships
|
||||||
<ToolTip message={'Relationships to tables / views'} />
|
<ToolTip message={'Relationships to tables / views'} />
|
||||||
|
|
||||||
<KnowMoreLink href="https://hasura.io/docs/1.0/graphql/manual/schema/table-relationships/index.html" />
|
<KnowMoreLink href="https://hasura.io/docs/latest/graphql/core/schema/table-relationships/index.html" />
|
||||||
</h4>
|
</h4>
|
||||||
{addedRelationshipsView}
|
{addedRelationshipsView}
|
||||||
<div className={styles.activeEdit}>
|
<div className={styles.activeEdit}>
|
||||||
|
@ -26,7 +26,7 @@ const RemoteRelationships: React.FC<Props> = ({
|
|||||||
Remote Schema Relationships
|
Remote Schema Relationships
|
||||||
<ToolTip message="Relationships to remote schemas" />
|
<ToolTip message="Relationships to remote schemas" />
|
||||||
|
|
||||||
<KnowMoreLink href="https://hasura.io/docs/1.0/graphql/manual/schema/remote-relationships/remote-schema-relationships.html" />
|
<KnowMoreLink href="https://hasura.io/docs/latest/graphql/core/schema/remote-relationships/remote-schema-relationships.html" />
|
||||||
</h4>
|
</h4>
|
||||||
<div className={styles.activeEdit}>
|
<div className={styles.activeEdit}>
|
||||||
<RemoteRelationshipList
|
<RemoteRelationshipList
|
||||||
|
@ -67,7 +67,7 @@ export const Numerics = [...Integers, ...Reals];
|
|||||||
|
|
||||||
export const defaultDataTypeToCast = 'text';
|
export const defaultDataTypeToCast = 'text';
|
||||||
|
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/index.html#error-codes
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/index.html#error-codes
|
||||||
export const ERROR_CODES = {
|
export const ERROR_CODES = {
|
||||||
postgresError: {
|
postgresError: {
|
||||||
code: 'postgres-error',
|
code: 'postgres-error',
|
||||||
|
@ -17,7 +17,7 @@ const Info: React.FC = () => {
|
|||||||
<p>
|
<p>
|
||||||
You can schedule an event from your backend using the{' '}
|
You can schedule an event from your backend using the{' '}
|
||||||
<a
|
<a
|
||||||
href="https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/scheduled-triggers.html#create-scheduled-event"
|
href="https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/scheduled-triggers.html#create-scheduled-event"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
|
@ -43,7 +43,7 @@ const Operations = ({
|
|||||||
<i className="fa fa-question-circle" aria-hidden="true" />
|
<i className="fa fa-question-circle" aria-hidden="true" />
|
||||||
</OverlayTrigger>
|
</OverlayTrigger>
|
||||||
|
|
||||||
<KnowMoreLink href="https://hasura.io/docs/1.0/graphql/manual/event-triggers/invoke-trigger-console.html" />
|
<KnowMoreLink href="https://hasura.io/docs/latest/graphql/core/event-triggers/invoke-trigger-console.html" />
|
||||||
</span>
|
</span>
|
||||||
) : (
|
) : (
|
||||||
capitalize(o)
|
capitalize(o)
|
||||||
|
@ -36,7 +36,7 @@ insert_user(objects: [{name: "testuser"}] ){
|
|||||||
imgUrl={`${globals.assetsPath}/common/img/event-trigger.png`}
|
imgUrl={`${globals.assetsPath}/common/img/event-trigger.png`}
|
||||||
imgAlt={`${EVENT_TRIGGER}s`}
|
imgAlt={`${EVENT_TRIGGER}s`}
|
||||||
description={`An ${EVENT_TRIGGER} atomically captures events (insert, update, delete) on a specified table and then reliably calls a HTTP webhook to run some custom business logic.`}
|
description={`An ${EVENT_TRIGGER} atomically captures events (insert, update, delete) on a specified table and then reliably calls a HTTP webhook to run some custom business logic.`}
|
||||||
knowMoreHref="https://hasura.io/docs/1.0/graphql/manual/event-triggers/index.html"
|
knowMoreHref="https://hasura.io/docs/latest/graphql/core/event-triggers/index.html"
|
||||||
/>
|
/>
|
||||||
<hr className={styles.clear_fix} />
|
<hr className={styles.clear_fix} />
|
||||||
</div>
|
</div>
|
||||||
|
@ -57,7 +57,7 @@ class RemoteSchema extends React.Component {
|
|||||||
imgUrl={`${globals.assetsPath}/common/img/remote_schema.png`}
|
imgUrl={`${globals.assetsPath}/common/img/remote_schema.png`}
|
||||||
imgAlt="Remote Schema"
|
imgAlt="Remote Schema"
|
||||||
description="Remote schemas are external GraphQL services which can be merged with Hasura to provide a unified GraphQL API. Think of it like automated schema stitching. All you need to do is build a GraphQL service and then provide its HTTP endpoint to Hasura. Your GraphQL service can be written in any language or framework."
|
description="Remote schemas are external GraphQL services which can be merged with Hasura to provide a unified GraphQL API. Think of it like automated schema stitching. All you need to do is build a GraphQL service and then provide its HTTP endpoint to Hasura. Your GraphQL service can be written in any language or framework."
|
||||||
knowMoreHref="https://hasura.io/docs/1.0/graphql/manual/remote-schemas/index.html"
|
knowMoreHref="https://hasura.io/docs/latest/graphql/core/remote-schemas/index.html"
|
||||||
/>
|
/>
|
||||||
<hr className={styles.clear_fix} />
|
<hr className={styles.clear_fix} />
|
||||||
|
|
||||||
|
@ -96,7 +96,7 @@ class About extends Component<ConnectInjectedProps & StateProps> {
|
|||||||
<b>·</b>
|
<b>·</b>
|
||||||
</span>
|
</span>
|
||||||
<a
|
<a
|
||||||
href="https://hasura.io/docs/1.0/graphql/manual/deployment/updating.html"
|
href="https://hasura.io/docs/latest/graphql/core/deployment/updating.html"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
|
@ -12,7 +12,7 @@ class AllowedQueriesNotes extends React.Component {
|
|||||||
operations added to the allow-list will be allowed to be
|
operations added to the allow-list will be allowed to be
|
||||||
executed.
|
executed.
|
||||||
<a
|
<a
|
||||||
href="https://hasura.io/docs/1.0/graphql/manual/deployment/allow-list.html"
|
href="https://hasura.io/docs/latest/graphql/core/deployment/allow-list.html"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
|
@ -72,7 +72,7 @@ const MetadataOptions = props => {
|
|||||||
permissions, etc. that is used to generate the GraphQL schema and
|
permissions, etc. that is used to generate the GraphQL schema and
|
||||||
API.
|
API.
|
||||||
<a
|
<a
|
||||||
href="https://hasura.io/docs/1.0/graphql/manual/how-it-works/metadata-schema.html"
|
href="https://hasura.io/docs/latest/graphql/core/how-it-works/metadata-schema.html"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
|
@ -45,7 +45,7 @@ export interface QualifiedTable {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Configuration for the table/view
|
* Configuration for the table/view
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/table-view.html#table-config
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#table-config
|
||||||
*/
|
*/
|
||||||
export interface TableConfig {
|
export interface TableConfig {
|
||||||
/** Customise the table name */
|
/** Customise the table name */
|
||||||
@ -76,7 +76,7 @@ export interface TableEntry {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Customise the root fields
|
* Customise the root fields
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/table-view.html#custom-root-fields
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#custom-root-fields
|
||||||
*/
|
*/
|
||||||
export interface CustomRootFields {
|
export interface CustomRootFields {
|
||||||
/** Customise the `<table-name>` root field */
|
/** Customise the `<table-name>` root field */
|
||||||
@ -123,7 +123,7 @@ export interface QualifiedFunction {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A custom SQL function to add to the GraphQL schema with configuration.
|
* A custom SQL function to add to the GraphQL schema with configuration.
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-functions.html#args-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-functions.html#args-syntax
|
||||||
*/
|
*/
|
||||||
export interface Function {
|
export interface Function {
|
||||||
/** Name of the SQL function */
|
/** Name of the SQL function */
|
||||||
@ -139,7 +139,7 @@ export interface FunctionDefinition {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Configuration for a CustomFunction
|
* Configuration for a CustomFunction
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-functions.html#function-configuration
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-functions.html#function-configuration
|
||||||
*/
|
*/
|
||||||
export interface FunctionConfiguration {
|
export interface FunctionConfiguration {
|
||||||
/**
|
/**
|
||||||
@ -166,7 +166,7 @@ export interface FunctionPermission {
|
|||||||
// /////////////////////////////
|
// /////////////////////////////
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#args-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#args-syntax
|
||||||
*/
|
*/
|
||||||
export interface ObjectRelationship {
|
export interface ObjectRelationship {
|
||||||
/** Name of the new relationship */
|
/** Name of the new relationship */
|
||||||
@ -179,7 +179,7 @@ export interface ObjectRelationship {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Use one of the available ways to define an object relationship
|
* Use one of the available ways to define an object relationship
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#objrelusing
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#objrelusing
|
||||||
*/
|
*/
|
||||||
export interface ObjRelUsing {
|
export interface ObjRelUsing {
|
||||||
/** The column with foreign key constraint */
|
/** The column with foreign key constraint */
|
||||||
@ -190,7 +190,7 @@ export interface ObjRelUsing {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Manual mapping of table and columns
|
* Manual mapping of table and columns
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#objrelusingmanualmapping
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#objrelusingmanualmapping
|
||||||
*/
|
*/
|
||||||
export interface ObjRelUsingManualMapping {
|
export interface ObjRelUsingManualMapping {
|
||||||
/** The table to which the relationship has to be established */
|
/** The table to which the relationship has to be established */
|
||||||
@ -200,7 +200,7 @@ export interface ObjRelUsingManualMapping {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#create-array-relationship-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#create-array-relationship-syntax
|
||||||
*/
|
*/
|
||||||
export interface ArrayRelationship {
|
export interface ArrayRelationship {
|
||||||
/** Name of the new relationship */
|
/** Name of the new relationship */
|
||||||
@ -213,7 +213,7 @@ export interface ArrayRelationship {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Use one of the available ways to define an object relationship
|
* Use one of the available ways to define an object relationship
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#arrrelusing
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#arrrelusing
|
||||||
*/
|
*/
|
||||||
export interface ArrRelUsing {
|
export interface ArrRelUsing {
|
||||||
/** The column with foreign key constraint */
|
/** The column with foreign key constraint */
|
||||||
@ -224,7 +224,7 @@ export interface ArrRelUsing {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The column with foreign key constraint
|
* The column with foreign key constraint
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#arrrelusingfkeyon
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#arrrelusingfkeyon
|
||||||
*/
|
*/
|
||||||
export interface ArrRelUsingFKeyOn {
|
export interface ArrRelUsingFKeyOn {
|
||||||
column: PGColumn;
|
column: PGColumn;
|
||||||
@ -233,7 +233,7 @@ export interface ArrRelUsingFKeyOn {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Manual mapping of table and columns
|
* Manual mapping of table and columns
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#arrrelusingmanualmapping
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#arrrelusingmanualmapping
|
||||||
*/
|
*/
|
||||||
export interface ArrRelUsingManualMapping {
|
export interface ArrRelUsingManualMapping {
|
||||||
/** The table to which the relationship has to be established */
|
/** The table to which the relationship has to be established */
|
||||||
@ -244,7 +244,7 @@ export interface ArrRelUsingManualMapping {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Preset values for columns that can be sourced from session variables or static values.
|
* Preset values for columns that can be sourced from session variables or static values.
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#columnpresetexp
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#columnpresetexp
|
||||||
*/
|
*/
|
||||||
export interface ColumnPresetsExpression {
|
export interface ColumnPresetsExpression {
|
||||||
[key: string]: string;
|
[key: string]: string;
|
||||||
@ -259,7 +259,7 @@ export interface ColumnPresetsExpression {
|
|||||||
// /////////////////////////////
|
// /////////////////////////////
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#args-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#args-syntax
|
||||||
*/
|
*/
|
||||||
export interface InsertPermissionEntry {
|
export interface InsertPermissionEntry {
|
||||||
/** Role */
|
/** Role */
|
||||||
@ -271,7 +271,7 @@ export interface InsertPermissionEntry {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#insertpermission
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#insertpermission
|
||||||
*/
|
*/
|
||||||
export interface InsertPermission {
|
export interface InsertPermission {
|
||||||
/** This expression has to hold true for every new row that is inserted */
|
/** This expression has to hold true for every new row that is inserted */
|
||||||
@ -288,7 +288,7 @@ export interface InsertPermission {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#create-select-permission-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#create-select-permission-syntax
|
||||||
*/
|
*/
|
||||||
export interface SelectPermissionEntry {
|
export interface SelectPermissionEntry {
|
||||||
/** Role */
|
/** Role */
|
||||||
@ -300,7 +300,7 @@ export interface SelectPermissionEntry {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#selectpermission
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#selectpermission
|
||||||
*/
|
*/
|
||||||
export interface SelectPermission {
|
export interface SelectPermission {
|
||||||
/** Only these columns are selectable (or all when '*' is specified) */
|
/** Only these columns are selectable (or all when '*' is specified) */
|
||||||
@ -319,7 +319,7 @@ export interface SelectPermission {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#create-update-permission-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#create-update-permission-syntax
|
||||||
*/
|
*/
|
||||||
export interface UpdatePermissionEntry {
|
export interface UpdatePermissionEntry {
|
||||||
/** Role */
|
/** Role */
|
||||||
@ -331,7 +331,7 @@ export interface UpdatePermissionEntry {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#updatepermission
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#updatepermission
|
||||||
*/
|
*/
|
||||||
export interface UpdatePermission {
|
export interface UpdatePermission {
|
||||||
/** Postcondition which must be satisfied by rows which have been updated */
|
/** Postcondition which must be satisfied by rows which have been updated */
|
||||||
@ -345,7 +345,7 @@ export interface UpdatePermission {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#create-delete-permission-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#create-delete-permission-syntax
|
||||||
*/
|
*/
|
||||||
export interface DeletePermissionEntry {
|
export interface DeletePermissionEntry {
|
||||||
/** Role */
|
/** Role */
|
||||||
@ -357,7 +357,7 @@ export interface DeletePermissionEntry {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#deletepermission
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#deletepermission
|
||||||
*/
|
*/
|
||||||
export interface DeletePermission {
|
export interface DeletePermission {
|
||||||
/** Only the rows where this precondition holds true are updatable */
|
/** Only the rows where this precondition holds true are updatable */
|
||||||
@ -373,7 +373,7 @@ export interface DeletePermission {
|
|||||||
// /////////////////////////////
|
// /////////////////////////////
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/computed-field.html#args-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/computed-field.html#args-syntax
|
||||||
*/
|
*/
|
||||||
export interface ComputedField {
|
export interface ComputedField {
|
||||||
/** Name of the new computed field */
|
/** Name of the new computed field */
|
||||||
@ -385,7 +385,7 @@ export interface ComputedField {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/computed-field.html#computedfielddefinition
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/computed-field.html#computedfielddefinition
|
||||||
*/
|
*/
|
||||||
export interface ComputedFieldDefinition {
|
export interface ComputedFieldDefinition {
|
||||||
/** The SQL function */
|
/** The SQL function */
|
||||||
@ -406,7 +406,7 @@ export interface ComputedFieldDefinition {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: The metadata type doesn't QUITE match the 'create' arguments here
|
* NOTE: The metadata type doesn't QUITE match the 'create' arguments here
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#create-event-trigger
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#create-event-trigger
|
||||||
*/
|
*/
|
||||||
export interface EventTrigger {
|
export interface EventTrigger {
|
||||||
/** Name of the event trigger */
|
/** Name of the event trigger */
|
||||||
@ -430,12 +430,12 @@ export interface EventTriggerDefinition {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns
|
||||||
*/
|
*/
|
||||||
export type EventTriggerColumns = '*' | PGColumn[];
|
export type EventTriggerColumns = '*' | PGColumn[];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
||||||
*/
|
*/
|
||||||
export interface OperationSpec {
|
export interface OperationSpec {
|
||||||
columns: EventTriggerColumns;
|
columns: EventTriggerColumns;
|
||||||
@ -443,8 +443,8 @@ export interface OperationSpec {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#headerfromvalue
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#headerfromvalue
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#headerfromenv
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#headerfromenv
|
||||||
*/
|
*/
|
||||||
export interface ServerHeader {
|
export interface ServerHeader {
|
||||||
/** Name of the header */
|
/** Name of the header */
|
||||||
@ -456,7 +456,7 @@ export interface ServerHeader {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#retryconf
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#retryconf
|
||||||
*/
|
*/
|
||||||
export interface RetryConf {
|
export interface RetryConf {
|
||||||
/**
|
/**
|
||||||
@ -488,7 +488,7 @@ export interface RetryConf {
|
|||||||
// /////////////////////////////
|
// /////////////////////////////
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/scheduled-triggers.html#create-cron-trigger
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/scheduled-triggers.html#create-cron-trigger
|
||||||
*/
|
*/
|
||||||
export interface CronTrigger {
|
export interface CronTrigger {
|
||||||
/** Name of the cron trigger */
|
/** Name of the cron trigger */
|
||||||
@ -510,7 +510,7 @@ export interface CronTrigger {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/scheduled-triggers.html#retryconfst
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/scheduled-triggers.html#retryconfst
|
||||||
*/
|
*/
|
||||||
export interface RetryConfST {
|
export interface RetryConfST {
|
||||||
/**
|
/**
|
||||||
@ -548,7 +548,7 @@ export interface RetryConfST {
|
|||||||
// /////////////////////////////
|
// /////////////////////////////
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-schemas.html#add-remote-schema
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-schemas.html#add-remote-schema
|
||||||
*/
|
*/
|
||||||
export interface RemoteSchema {
|
export interface RemoteSchema {
|
||||||
/** Name of the remote schema */
|
/** Name of the remote schema */
|
||||||
@ -561,7 +561,7 @@ export interface RemoteSchema {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#remoteschemadef
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#remoteschemadef
|
||||||
*/
|
*/
|
||||||
export interface RemoteSchemaDef {
|
export interface RemoteSchemaDef {
|
||||||
url?: string;
|
url?: string;
|
||||||
@ -582,7 +582,7 @@ export interface RemoteSchemaDef {
|
|||||||
// NOTE: RemoteRelationship Metadata shape is slightly different than 'create' arguments here
|
// NOTE: RemoteRelationship Metadata shape is slightly different than 'create' arguments here
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-relationships.html#args-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#args-syntax
|
||||||
*/
|
*/
|
||||||
export interface RemoteRelationship {
|
export interface RemoteRelationship {
|
||||||
/** Name of the remote relationship */
|
/** Name of the remote relationship */
|
||||||
@ -606,7 +606,7 @@ export interface RemoteRelationshipDef {
|
|||||||
/**
|
/**
|
||||||
* A recursive tree structure that points to the field in the remote schema that needs to be joined with.
|
* A recursive tree structure that points to the field in the remote schema that needs to be joined with.
|
||||||
* It is recursive because the remote field maybe nested deeply in the remote schema.
|
* It is recursive because the remote field maybe nested deeply in the remote schema.
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-relationships.html#remotefield
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#remotefield
|
||||||
*/
|
*/
|
||||||
export interface RemoteField {
|
export interface RemoteField {
|
||||||
[FieldName: string]: {
|
[FieldName: string]: {
|
||||||
@ -617,7 +617,7 @@ export interface RemoteField {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Note: Table columns can be referred by prefixing $ e.g $id.
|
* Note: Table columns can be referred by prefixing $ e.g $id.
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-relationships.html#inputarguments
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#inputarguments
|
||||||
*/
|
*/
|
||||||
export interface InputArguments {
|
export interface InputArguments {
|
||||||
[InputField: string]: PGColumn;
|
[InputField: string]: PGColumn;
|
||||||
@ -632,7 +632,7 @@ export interface InputArguments {
|
|||||||
// /////////////////////////////
|
// /////////////////////////////
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/query-collections.html#args-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/query-collections.html#args-syntax
|
||||||
*/
|
*/
|
||||||
export interface QueryCollectionEntry {
|
export interface QueryCollectionEntry {
|
||||||
/** Name of the query collection */
|
/** Name of the query collection */
|
||||||
@ -646,7 +646,7 @@ export interface QueryCollectionEntry {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#collectionquery
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#collectionquery
|
||||||
*/
|
*/
|
||||||
export interface QueryCollection {
|
export interface QueryCollection {
|
||||||
name: string;
|
name: string;
|
||||||
@ -662,7 +662,7 @@ export interface QueryCollection {
|
|||||||
// /////////////////////////////
|
// /////////////////////////////
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/query-collections.html#add-collection-to-allowlist-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/query-collections.html#add-collection-to-allowlist-syntax
|
||||||
*/
|
*/
|
||||||
export interface AllowList {
|
export interface AllowList {
|
||||||
/** Name of a query collection to be added to the allow-list */
|
/** Name of a query collection to be added to the allow-list */
|
||||||
@ -685,7 +685,7 @@ export interface CustomTypes {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#inputobjecttype
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#inputobjecttype
|
||||||
*/
|
*/
|
||||||
export interface InputObjectType {
|
export interface InputObjectType {
|
||||||
/** Name of the Input object type */
|
/** Name of the Input object type */
|
||||||
@ -697,7 +697,7 @@ export interface InputObjectType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#inputobjectfield
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#inputobjectfield
|
||||||
*/
|
*/
|
||||||
export interface InputObjectField {
|
export interface InputObjectField {
|
||||||
/** Name of the Input object type */
|
/** Name of the Input object type */
|
||||||
@ -709,7 +709,7 @@ export interface InputObjectField {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#objecttype
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#objecttype
|
||||||
*/
|
*/
|
||||||
export interface ObjectType {
|
export interface ObjectType {
|
||||||
/** Name of the Input object type */
|
/** Name of the Input object type */
|
||||||
@ -723,7 +723,7 @@ export interface ObjectType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#objectfield
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#objectfield
|
||||||
*/
|
*/
|
||||||
export interface ObjectField {
|
export interface ObjectField {
|
||||||
/** Name of the Input object type */
|
/** Name of the Input object type */
|
||||||
@ -735,7 +735,7 @@ export interface ObjectField {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#objectrelationship
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#objectrelationship
|
||||||
*/
|
*/
|
||||||
export interface CustomTypeObjectRelationship {
|
export interface CustomTypeObjectRelationship {
|
||||||
/** Name of the relationship, shouldn’t conflict with existing field names */
|
/** Name of the relationship, shouldn’t conflict with existing field names */
|
||||||
@ -753,7 +753,7 @@ export interface CustomTypeObjectRelationship {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#scalartype
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#scalartype
|
||||||
*/
|
*/
|
||||||
export interface ScalarType {
|
export interface ScalarType {
|
||||||
/** Name of the Scalar type */
|
/** Name of the Scalar type */
|
||||||
@ -763,7 +763,7 @@ export interface ScalarType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#enumtype
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#enumtype
|
||||||
*/
|
*/
|
||||||
export interface EnumType {
|
export interface EnumType {
|
||||||
/** Name of the Enum type */
|
/** Name of the Enum type */
|
||||||
@ -775,7 +775,7 @@ export interface EnumType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#enumvalue
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#enumvalue
|
||||||
*/
|
*/
|
||||||
export interface EnumValue {
|
export interface EnumValue {
|
||||||
/** Value of the Enum type */
|
/** Value of the Enum type */
|
||||||
@ -798,7 +798,7 @@ export interface EnumValue {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/actions.html#args-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/actions.html#args-syntax
|
||||||
*/
|
*/
|
||||||
export interface Action {
|
export interface Action {
|
||||||
/** Name of the action */
|
/** Name of the action */
|
||||||
@ -812,7 +812,7 @@ export interface Action {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/actions.html#actiondefinition
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/actions.html#actiondefinition
|
||||||
*/
|
*/
|
||||||
export interface ActionDefinition {
|
export interface ActionDefinition {
|
||||||
arguments?: InputArgument[];
|
arguments?: InputArgument[];
|
||||||
@ -825,7 +825,7 @@ export interface ActionDefinition {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/actions.html#inputargument
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/actions.html#inputargument
|
||||||
*/
|
*/
|
||||||
export interface InputArgument {
|
export interface InputArgument {
|
||||||
name: string;
|
name: string;
|
||||||
@ -841,7 +841,7 @@ export interface InputArgument {
|
|||||||
// /////////////////////////////
|
// /////////////////////////////
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api//schema-metadata-api/restified-endpoints.html
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api//schema-metadata-api/restified-endpoints.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export type AllowedRESTMethods = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
export type AllowedRESTMethods = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
||||||
@ -867,7 +867,7 @@ export interface RestEndpointEntry {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Type used in exported 'metadata.json' and replace metadata endpoint
|
* Type used in exported 'metadata.json' and replace metadata endpoint
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/manage-metadata.html#replace-metadata
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/manage-metadata.html#replace-metadata
|
||||||
*/
|
*/
|
||||||
export interface HasuraMetadataV2 {
|
export interface HasuraMetadataV2 {
|
||||||
version: '2';
|
version: '2';
|
||||||
|
@ -24,7 +24,7 @@ const showTelemetryNotification = () => {
|
|||||||
Help us improve Hasura! The console collects anonymized usage stats
|
Help us improve Hasura! The console collects anonymized usage stats
|
||||||
which allows us to keep improving Hasura at warp speed.
|
which allows us to keep improving Hasura at warp speed.
|
||||||
<a
|
<a
|
||||||
href="https://hasura.io/docs/1.0/graphql/manual/guides/telemetry.html"
|
href="https://hasura.io/docs/latest/graphql/core/guides/telemetry.html"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
|
@ -963,21 +963,21 @@ func (r *HasuraMetadataV2) Marshal() ([]byte, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#headerfromvalue
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#headerfromvalue
|
||||||
type HeaderFromValue struct {
|
type HeaderFromValue struct {
|
||||||
Name string `json:"name"` // Name of the header
|
Name string `json:"name"` // Name of the header
|
||||||
Value string `json:"value"`// Value of the header
|
Value string `json:"value"`// Value of the header
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#headerfromenv
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#headerfromenv
|
||||||
type HeaderFromEnv struct {
|
type HeaderFromEnv struct {
|
||||||
Name string `json:"name"` // Name of the header
|
Name string `json:"name"` // Name of the header
|
||||||
ValueFromEnv string `json:"value_from_env"`// Name of the environment variable which holds the value of the header
|
ValueFromEnv string `json:"value_from_env"`// Name of the environment variable which holds the value of the header
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#objectfield
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#objectfield
|
||||||
type ObjectField struct {
|
type ObjectField struct {
|
||||||
Description *string `json:"description,omitempty"`// Description of the Input object type
|
Description *string `json:"description,omitempty"`// Description of the Input object type
|
||||||
Name string `json:"name"` // Name of the Input object type
|
Name string `json:"name"` // Name of the Input object type
|
||||||
@ -986,7 +986,7 @@ type ObjectField struct {
|
|||||||
|
|
||||||
// Type used in exported 'metadata.json' and replace metadata endpoint
|
// Type used in exported 'metadata.json' and replace metadata endpoint
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/manage-metadata.html#replace-metadata
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/manage-metadata.html#replace-metadata
|
||||||
type HasuraMetadataV2 struct {
|
type HasuraMetadataV2 struct {
|
||||||
Actions []Action `json:"actions"`
|
Actions []Action `json:"actions"`
|
||||||
Allowlist []AllowList `json:"allowlist"`
|
Allowlist []AllowList `json:"allowlist"`
|
||||||
@ -1000,7 +1000,7 @@ type HasuraMetadataV2 struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/actions.html#args-syntax
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/actions.html#args-syntax
|
||||||
type Action struct {
|
type Action struct {
|
||||||
Comment *string `json:"comment,omitempty"` // Comment
|
Comment *string `json:"comment,omitempty"` // Comment
|
||||||
Definition ActionDefinition `json:"definition"` // Definition of the action
|
Definition ActionDefinition `json:"definition"` // Definition of the action
|
||||||
@ -1011,7 +1011,7 @@ type Action struct {
|
|||||||
// Definition of the action
|
// Definition of the action
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/actions.html#actiondefinition
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/actions.html#actiondefinition
|
||||||
type ActionDefinition struct {
|
type ActionDefinition struct {
|
||||||
Arguments []InputArgument `json:"arguments"`
|
Arguments []InputArgument `json:"arguments"`
|
||||||
ForwardClientHeaders *bool `json:"forward_client_headers,omitempty"`
|
ForwardClientHeaders *bool `json:"forward_client_headers,omitempty"`
|
||||||
@ -1023,17 +1023,17 @@ type ActionDefinition struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/actions.html#inputargument
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/actions.html#inputargument
|
||||||
type InputArgument struct {
|
type InputArgument struct {
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Type string `json:"type"`
|
Type string `json:"type"`
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#headerfromvalue
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#headerfromvalue
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#headerfromenv
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#headerfromenv
|
||||||
type Header struct {
|
type Header struct {
|
||||||
Name string `json:"name"` // Name of the header
|
Name string `json:"name"` // Name of the header
|
||||||
Value *string `json:"value,omitempty"` // Value of the header
|
Value *string `json:"value,omitempty"` // Value of the header
|
||||||
@ -1046,13 +1046,13 @@ type Permissions struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/query-collections.html#add-collection-to-allowlist-syntax
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/query-collections.html#add-collection-to-allowlist-syntax
|
||||||
type AllowList struct {
|
type AllowList struct {
|
||||||
Collection string `json:"collection"`// Name of a query collection to be added to the allow-list
|
Collection string `json:"collection"`// Name of a query collection to be added to the allow-list
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/scheduled-triggers.html#create-cron-trigger
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/scheduled-triggers.html#create-cron-trigger
|
||||||
type CronTrigger struct {
|
type CronTrigger struct {
|
||||||
Comment *string `json:"comment,omitempty"` // Custom comment.
|
Comment *string `json:"comment,omitempty"` // Custom comment.
|
||||||
Headers []Header `json:"headers"` // List of headers to be sent with the webhook
|
Headers []Header `json:"headers"` // List of headers to be sent with the webhook
|
||||||
@ -1067,7 +1067,7 @@ type CronTrigger struct {
|
|||||||
// Retry configuration if scheduled invocation delivery fails
|
// Retry configuration if scheduled invocation delivery fails
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/scheduled-triggers.html#retryconfst
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/scheduled-triggers.html#retryconfst
|
||||||
type RetryConfST struct {
|
type RetryConfST struct {
|
||||||
NumRetries *int64 `json:"num_retries,omitempty"` // Number of times to retry delivery.; Default: 0
|
NumRetries *int64 `json:"num_retries,omitempty"` // Number of times to retry delivery.; Default: 0
|
||||||
RetryIntervalSeconds *int64 `json:"retry_interval_seconds,omitempty"`// Number of seconds to wait between each retry.; Default: 10
|
RetryIntervalSeconds *int64 `json:"retry_interval_seconds,omitempty"`// Number of seconds to wait between each retry.; Default: 10
|
||||||
@ -1083,7 +1083,7 @@ type CustomTypes struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#enumtype
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#enumtype
|
||||||
type EnumType struct {
|
type EnumType struct {
|
||||||
Description *string `json:"description,omitempty"`// Description of the Enum type
|
Description *string `json:"description,omitempty"`// Description of the Enum type
|
||||||
Name string `json:"name"` // Name of the Enum type
|
Name string `json:"name"` // Name of the Enum type
|
||||||
@ -1091,7 +1091,7 @@ type EnumType struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#enumvalue
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#enumvalue
|
||||||
type EnumValue struct {
|
type EnumValue struct {
|
||||||
Description *string `json:"description,omitempty"` // Description of the Enum value
|
Description *string `json:"description,omitempty"` // Description of the Enum value
|
||||||
IsDeprecated *bool `json:"is_deprecated,omitempty"`// If set to true, the enum value is marked as deprecated
|
IsDeprecated *bool `json:"is_deprecated,omitempty"`// If set to true, the enum value is marked as deprecated
|
||||||
@ -1099,7 +1099,7 @@ type EnumValue struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#inputobjecttype
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#inputobjecttype
|
||||||
type InputObjectType struct {
|
type InputObjectType struct {
|
||||||
Description *string `json:"description,omitempty"`// Description of the Input object type
|
Description *string `json:"description,omitempty"`// Description of the Input object type
|
||||||
Fields []InputObjectField `json:"fields"` // Fields of the Input object type
|
Fields []InputObjectField `json:"fields"` // Fields of the Input object type
|
||||||
@ -1107,7 +1107,7 @@ type InputObjectType struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#inputobjectfield
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#inputobjectfield
|
||||||
type InputObjectField struct {
|
type InputObjectField struct {
|
||||||
Description *string `json:"description,omitempty"`// Description of the Input object type
|
Description *string `json:"description,omitempty"`// Description of the Input object type
|
||||||
Name string `json:"name"` // Name of the Input object type
|
Name string `json:"name"` // Name of the Input object type
|
||||||
@ -1115,7 +1115,7 @@ type InputObjectField struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#objecttype
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#objecttype
|
||||||
type ObjectType struct {
|
type ObjectType struct {
|
||||||
Description *string `json:"description,omitempty"`// Description of the Input object type
|
Description *string `json:"description,omitempty"`// Description of the Input object type
|
||||||
Fields []InputObjectField `json:"fields"` // Fields of the Input object type
|
Fields []InputObjectField `json:"fields"` // Fields of the Input object type
|
||||||
@ -1124,7 +1124,7 @@ type ObjectType struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#objectrelationship
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#objectrelationship
|
||||||
type CustomTypeObjectRelationship struct {
|
type CustomTypeObjectRelationship struct {
|
||||||
FieldMapping map[string]string `json:"field_mapping"`// Mapping of fields of object type to columns of remote table
|
FieldMapping map[string]string `json:"field_mapping"`// Mapping of fields of object type to columns of remote table
|
||||||
Name string `json:"name"` // Name of the relationship, shouldn’t conflict with existing field names
|
Name string `json:"name"` // Name of the relationship, shouldn’t conflict with existing field names
|
||||||
@ -1138,7 +1138,7 @@ type QualifiedTable struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#scalartype
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#scalartype
|
||||||
type ScalarType struct {
|
type ScalarType struct {
|
||||||
Description *string `json:"description,omitempty"`// Description of the Scalar type
|
Description *string `json:"description,omitempty"`// Description of the Scalar type
|
||||||
Name string `json:"name"` // Name of the Scalar type
|
Name string `json:"name"` // Name of the Scalar type
|
||||||
@ -1146,7 +1146,7 @@ type ScalarType struct {
|
|||||||
|
|
||||||
// A custom SQL function to add to the GraphQL schema with configuration.
|
// A custom SQL function to add to the GraphQL schema with configuration.
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-functions.html#args-syntax
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-functions.html#args-syntax
|
||||||
type CustomFunction struct {
|
type CustomFunction struct {
|
||||||
Configuration *FunctionConfiguration `json:"configuration,omitempty"`// Configuration for the SQL function
|
Configuration *FunctionConfiguration `json:"configuration,omitempty"`// Configuration for the SQL function
|
||||||
Function *FunctionName `json:"function"` // Name of the SQL function
|
Function *FunctionName `json:"function"` // Name of the SQL function
|
||||||
@ -1156,7 +1156,7 @@ type CustomFunction struct {
|
|||||||
//
|
//
|
||||||
// Configuration for a CustomFunction
|
// Configuration for a CustomFunction
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-functions.html#function-configuration
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-functions.html#function-configuration
|
||||||
type FunctionConfiguration struct {
|
type FunctionConfiguration struct {
|
||||||
SessionArgument *string `json:"session_argument,omitempty"`// Function argument which accepts session info JSON; Currently, only functions which satisfy the following constraints can be exposed over the; GraphQL API (terminology from Postgres docs):; - Function behaviour: ONLY `STABLE` or `IMMUTABLE`; - Return type: MUST be `SETOF <table-name>`; - Argument modes: ONLY `IN`
|
SessionArgument *string `json:"session_argument,omitempty"`// Function argument which accepts session info JSON; Currently, only functions which satisfy the following constraints can be exposed over the; GraphQL API (terminology from Postgres docs):; - Function behaviour: ONLY `STABLE` or `IMMUTABLE`; - Return type: MUST be `SETOF <table-name>`; - Argument modes: ONLY `IN`
|
||||||
}
|
}
|
||||||
@ -1167,7 +1167,7 @@ type QualifiedFunction struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/query-collections.html#args-syntax
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/query-collections.html#args-syntax
|
||||||
type QueryCollectionEntry struct {
|
type QueryCollectionEntry struct {
|
||||||
Comment *string `json:"comment,omitempty"`// Comment
|
Comment *string `json:"comment,omitempty"`// Comment
|
||||||
Definition Definition `json:"definition"` // List of queries
|
Definition Definition `json:"definition"` // List of queries
|
||||||
@ -1180,14 +1180,14 @@ type Definition struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#collectionquery
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#collectionquery
|
||||||
type QueryCollection struct {
|
type QueryCollection struct {
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Query string `json:"query"`
|
Query string `json:"query"`
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-schemas.html#add-remote-schema
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-schemas.html#add-remote-schema
|
||||||
type RemoteSchema struct {
|
type RemoteSchema struct {
|
||||||
Comment *string `json:"comment,omitempty"`// Comment
|
Comment *string `json:"comment,omitempty"`// Comment
|
||||||
Definition RemoteSchemaDef `json:"definition"` // Name of the remote schema
|
Definition RemoteSchemaDef `json:"definition"` // Name of the remote schema
|
||||||
@ -1197,7 +1197,7 @@ type RemoteSchema struct {
|
|||||||
// Name of the remote schema
|
// Name of the remote schema
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#remoteschemadef
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#remoteschemadef
|
||||||
type RemoteSchemaDef struct {
|
type RemoteSchemaDef struct {
|
||||||
ForwardClientHeaders *bool `json:"forward_client_headers,omitempty"`
|
ForwardClientHeaders *bool `json:"forward_client_headers,omitempty"`
|
||||||
Headers []Header `json:"headers"`
|
Headers []Header `json:"headers"`
|
||||||
@ -1210,7 +1210,7 @@ type RemoteSchemaDef struct {
|
|||||||
type TableEntry struct {
|
type TableEntry struct {
|
||||||
ArrayRelationships []ArrayRelationship `json:"array_relationships"`
|
ArrayRelationships []ArrayRelationship `json:"array_relationships"`
|
||||||
ComputedFields []ComputedField `json:"computed_fields"`
|
ComputedFields []ComputedField `json:"computed_fields"`
|
||||||
Configuration *TableConfig `json:"configuration,omitempty"`// Configuration for the table/view; ; https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/table-view.html#table-config
|
Configuration *TableConfig `json:"configuration,omitempty"`// Configuration for the table/view; ; https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#table-config
|
||||||
DeletePermissions []DeletePermissionEntry `json:"delete_permissions"`
|
DeletePermissions []DeletePermissionEntry `json:"delete_permissions"`
|
||||||
EventTriggers []EventTrigger `json:"event_triggers"`
|
EventTriggers []EventTrigger `json:"event_triggers"`
|
||||||
InsertPermissions []InsertPermissionEntry `json:"insert_permissions"`
|
InsertPermissions []InsertPermissionEntry `json:"insert_permissions"`
|
||||||
@ -1223,7 +1223,7 @@ type TableEntry struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#create-array-relationship-syntax
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#create-array-relationship-syntax
|
||||||
type ArrayRelationship struct {
|
type ArrayRelationship struct {
|
||||||
Comment *string `json:"comment,omitempty"`// Comment
|
Comment *string `json:"comment,omitempty"`// Comment
|
||||||
Name string `json:"name"` // Name of the new relationship
|
Name string `json:"name"` // Name of the new relationship
|
||||||
@ -1234,7 +1234,7 @@ type ArrayRelationship struct {
|
|||||||
//
|
//
|
||||||
// Use one of the available ways to define an object relationship
|
// Use one of the available ways to define an object relationship
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#arrrelusing
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#arrrelusing
|
||||||
type ArrRelUsing struct {
|
type ArrRelUsing struct {
|
||||||
ForeignKeyConstraintOn *ArrRelUsingFKeyOn `json:"foreign_key_constraint_on,omitempty"`// The column with foreign key constraint
|
ForeignKeyConstraintOn *ArrRelUsingFKeyOn `json:"foreign_key_constraint_on,omitempty"`// The column with foreign key constraint
|
||||||
ManualConfiguration *ArrRelUsingManualMapping `json:"manual_configuration,omitempty"` // Manual mapping of table and columns
|
ManualConfiguration *ArrRelUsingManualMapping `json:"manual_configuration,omitempty"` // Manual mapping of table and columns
|
||||||
@ -1244,7 +1244,7 @@ type ArrRelUsing struct {
|
|||||||
//
|
//
|
||||||
// The column with foreign key constraint
|
// The column with foreign key constraint
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#arrrelusingfkeyon
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#arrrelusingfkeyon
|
||||||
type ArrRelUsingFKeyOn struct {
|
type ArrRelUsingFKeyOn struct {
|
||||||
Column string `json:"column"`
|
Column string `json:"column"`
|
||||||
Table *TableName `json:"table"`
|
Table *TableName `json:"table"`
|
||||||
@ -1254,14 +1254,14 @@ type ArrRelUsingFKeyOn struct {
|
|||||||
//
|
//
|
||||||
// Manual mapping of table and columns
|
// Manual mapping of table and columns
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#arrrelusingmanualmapping
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#arrrelusingmanualmapping
|
||||||
type ArrRelUsingManualMapping struct {
|
type ArrRelUsingManualMapping struct {
|
||||||
ColumnMapping map[string]string `json:"column_mapping"`// Mapping of columns from current table to remote table
|
ColumnMapping map[string]string `json:"column_mapping"`// Mapping of columns from current table to remote table
|
||||||
RemoteTable *TableName `json:"remote_table"` // The table to which the relationship has to be established
|
RemoteTable *TableName `json:"remote_table"` // The table to which the relationship has to be established
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/computed-field.html#args-syntax
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/computed-field.html#args-syntax
|
||||||
type ComputedField struct {
|
type ComputedField struct {
|
||||||
Comment *string `json:"comment,omitempty"`// Comment
|
Comment *string `json:"comment,omitempty"`// Comment
|
||||||
Definition ComputedFieldDefinition `json:"definition"` // The computed field definition
|
Definition ComputedFieldDefinition `json:"definition"` // The computed field definition
|
||||||
@ -1271,7 +1271,7 @@ type ComputedField struct {
|
|||||||
// The computed field definition
|
// The computed field definition
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/computed-field.html#computedfielddefinition
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/computed-field.html#computedfielddefinition
|
||||||
type ComputedFieldDefinition struct {
|
type ComputedFieldDefinition struct {
|
||||||
Function *FunctionName `json:"function"` // The SQL function
|
Function *FunctionName `json:"function"` // The SQL function
|
||||||
SessionArgument *string `json:"session_argument,omitempty"`// Name of the argument which accepts the Hasura session object as a JSON/JSONB value. If; omitted, the Hasura session object is not passed to the function
|
SessionArgument *string `json:"session_argument,omitempty"`// Name of the argument which accepts the Hasura session object as a JSON/JSONB value. If; omitted, the Hasura session object is not passed to the function
|
||||||
@ -1280,7 +1280,7 @@ type ComputedFieldDefinition struct {
|
|||||||
|
|
||||||
// Configuration for the table/view
|
// Configuration for the table/view
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/table-view.html#table-config
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#table-config
|
||||||
type TableConfig struct {
|
type TableConfig struct {
|
||||||
CustomColumnNames map[string]string `json:"custom_column_names,omitempty"`// Customise the column names
|
CustomColumnNames map[string]string `json:"custom_column_names,omitempty"`// Customise the column names
|
||||||
CustomRootFields *CustomRootFields `json:"custom_root_fields,omitempty"` // Customise the root fields
|
CustomRootFields *CustomRootFields `json:"custom_root_fields,omitempty"` // Customise the root fields
|
||||||
@ -1290,7 +1290,7 @@ type TableConfig struct {
|
|||||||
//
|
//
|
||||||
// Customise the root fields
|
// Customise the root fields
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/table-view.html#custom-root-fields
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#custom-root-fields
|
||||||
type CustomRootFields struct {
|
type CustomRootFields struct {
|
||||||
Delete *string `json:"delete,omitempty"` // Customise the `delete_<table-name>` root field
|
Delete *string `json:"delete,omitempty"` // Customise the `delete_<table-name>` root field
|
||||||
DeleteByPk *string `json:"delete_by_pk,omitempty"` // Customise the `delete_<table-name>_by_pk` root field
|
DeleteByPk *string `json:"delete_by_pk,omitempty"` // Customise the `delete_<table-name>_by_pk` root field
|
||||||
@ -1304,7 +1304,7 @@ type CustomRootFields struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#create-delete-permission-syntax
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#create-delete-permission-syntax
|
||||||
type DeletePermissionEntry struct {
|
type DeletePermissionEntry struct {
|
||||||
Comment *string `json:"comment,omitempty"`// Comment
|
Comment *string `json:"comment,omitempty"`// Comment
|
||||||
Permission DeletePermission `json:"permission"` // The permission definition
|
Permission DeletePermission `json:"permission"` // The permission definition
|
||||||
@ -1314,14 +1314,14 @@ type DeletePermissionEntry struct {
|
|||||||
// The permission definition
|
// The permission definition
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#deletepermission
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#deletepermission
|
||||||
type DeletePermission struct {
|
type DeletePermission struct {
|
||||||
Filter map[string]*Filter `json:"filter,omitempty"`// Only the rows where this precondition holds true are updatable
|
Filter map[string]*Filter `json:"filter,omitempty"`// Only the rows where this precondition holds true are updatable
|
||||||
}
|
}
|
||||||
|
|
||||||
// NOTE: The metadata type doesn't QUITE match the 'create' arguments here
|
// NOTE: The metadata type doesn't QUITE match the 'create' arguments here
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#create-event-trigger
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#create-event-trigger
|
||||||
type EventTrigger struct {
|
type EventTrigger struct {
|
||||||
Definition EventTriggerDefinition `json:"definition"` // The SQL function
|
Definition EventTriggerDefinition `json:"definition"` // The SQL function
|
||||||
Headers []Header `json:"headers"` // The SQL function
|
Headers []Header `json:"headers"` // The SQL function
|
||||||
@ -1333,23 +1333,23 @@ type EventTrigger struct {
|
|||||||
|
|
||||||
// The SQL function
|
// The SQL function
|
||||||
type EventTriggerDefinition struct {
|
type EventTriggerDefinition struct {
|
||||||
Delete *OperationSpec `json:"delete,omitempty"`// ; https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
Delete *OperationSpec `json:"delete,omitempty"`// ; https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
||||||
EnableManual bool `json:"enable_manual"`
|
EnableManual bool `json:"enable_manual"`
|
||||||
Insert *OperationSpec `json:"insert,omitempty"`// ; https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
Insert *OperationSpec `json:"insert,omitempty"`// ; https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
||||||
Update *OperationSpec `json:"update,omitempty"`// ; https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
Update *OperationSpec `json:"update,omitempty"`// ; https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
||||||
type OperationSpec struct {
|
type OperationSpec struct {
|
||||||
Columns *EventTriggerColumns `json:"columns"`// ; https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns
|
Columns *EventTriggerColumns `json:"columns"`// ; https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns
|
||||||
Payload *EventTriggerColumns `json:"payload"`// ; https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns
|
Payload *EventTriggerColumns `json:"payload"`// ; https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns
|
||||||
}
|
}
|
||||||
|
|
||||||
// The SQL function
|
// The SQL function
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#retryconf
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#retryconf
|
||||||
type RetryConf struct {
|
type RetryConf struct {
|
||||||
IntervalSEC *int64 `json:"interval_sec,omitempty"`// Number of seconds to wait between each retry.; Default: 10
|
IntervalSEC *int64 `json:"interval_sec,omitempty"`// Number of seconds to wait between each retry.; Default: 10
|
||||||
NumRetries *int64 `json:"num_retries,omitempty"` // Number of times to retry delivery.; Default: 0
|
NumRetries *int64 `json:"num_retries,omitempty"` // Number of times to retry delivery.; Default: 0
|
||||||
@ -1357,7 +1357,7 @@ type RetryConf struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#args-syntax
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#args-syntax
|
||||||
type InsertPermissionEntry struct {
|
type InsertPermissionEntry struct {
|
||||||
Comment *string `json:"comment,omitempty"`// Comment
|
Comment *string `json:"comment,omitempty"`// Comment
|
||||||
Permission InsertPermission `json:"permission"` // The permission definition
|
Permission InsertPermission `json:"permission"` // The permission definition
|
||||||
@ -1367,7 +1367,7 @@ type InsertPermissionEntry struct {
|
|||||||
// The permission definition
|
// The permission definition
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#insertpermission
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#insertpermission
|
||||||
type InsertPermission struct {
|
type InsertPermission struct {
|
||||||
BackendOnly *bool `json:"backend_only,omitempty"`// When set to true the mutation is accessible only if x-hasura-use-backend-only-permissions; session variable exists; and is set to true and request is made with x-hasura-admin-secret set if any auth is; configured
|
BackendOnly *bool `json:"backend_only,omitempty"`// When set to true the mutation is accessible only if x-hasura-use-backend-only-permissions; session variable exists; and is set to true and request is made with x-hasura-admin-secret set if any auth is; configured
|
||||||
Check map[string]*Filter `json:"check,omitempty"` // This expression has to hold true for every new row that is inserted
|
Check map[string]*Filter `json:"check,omitempty"` // This expression has to hold true for every new row that is inserted
|
||||||
@ -1376,7 +1376,7 @@ type InsertPermission struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#args-syntax
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#args-syntax
|
||||||
type ObjectRelationship struct {
|
type ObjectRelationship struct {
|
||||||
Comment *string `json:"comment,omitempty"`// Comment
|
Comment *string `json:"comment,omitempty"`// Comment
|
||||||
Name string `json:"name"` // Name of the new relationship
|
Name string `json:"name"` // Name of the new relationship
|
||||||
@ -1387,7 +1387,7 @@ type ObjectRelationship struct {
|
|||||||
//
|
//
|
||||||
// Use one of the available ways to define an object relationship
|
// Use one of the available ways to define an object relationship
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#objrelusing
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#objrelusing
|
||||||
type ObjRelUsing struct {
|
type ObjRelUsing struct {
|
||||||
ForeignKeyConstraintOn *string `json:"foreign_key_constraint_on,omitempty"`// The column with foreign key constraint
|
ForeignKeyConstraintOn *string `json:"foreign_key_constraint_on,omitempty"`// The column with foreign key constraint
|
||||||
ManualConfiguration *ObjRelUsingManualMapping `json:"manual_configuration,omitempty"` // Manual mapping of table and columns
|
ManualConfiguration *ObjRelUsingManualMapping `json:"manual_configuration,omitempty"` // Manual mapping of table and columns
|
||||||
@ -1397,14 +1397,14 @@ type ObjRelUsing struct {
|
|||||||
//
|
//
|
||||||
// Manual mapping of table and columns
|
// Manual mapping of table and columns
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#objrelusingmanualmapping
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#objrelusingmanualmapping
|
||||||
type ObjRelUsingManualMapping struct {
|
type ObjRelUsingManualMapping struct {
|
||||||
ColumnMapping map[string]string `json:"column_mapping"`// Mapping of columns from current table to remote table
|
ColumnMapping map[string]string `json:"column_mapping"`// Mapping of columns from current table to remote table
|
||||||
RemoteTable *TableName `json:"remote_table"` // The table to which the relationship has to be established
|
RemoteTable *TableName `json:"remote_table"` // The table to which the relationship has to be established
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-relationships.html#args-syntax
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#args-syntax
|
||||||
type RemoteRelationship struct {
|
type RemoteRelationship struct {
|
||||||
Definition RemoteRelationshipDef `json:"definition"`// Definition object
|
Definition RemoteRelationshipDef `json:"definition"`// Definition object
|
||||||
Name string `json:"name"` // Name of the remote relationship
|
Name string `json:"name"` // Name of the remote relationship
|
||||||
@ -1419,11 +1419,11 @@ type RemoteRelationshipDef struct {
|
|||||||
|
|
||||||
type RemoteFieldValue struct {
|
type RemoteFieldValue struct {
|
||||||
Arguments map[string]string `json:"arguments"`
|
Arguments map[string]string `json:"arguments"`
|
||||||
Field map[string]RemoteFieldValue `json:"field,omitempty"`// A recursive tree structure that points to the field in the remote schema that needs to be; joined with.; It is recursive because the remote field maybe nested deeply in the remote schema.; ; https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-relationships.html#remotefield
|
Field map[string]RemoteFieldValue `json:"field,omitempty"`// A recursive tree structure that points to the field in the remote schema that needs to be; joined with.; It is recursive because the remote field maybe nested deeply in the remote schema.; ; https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#remotefield
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#create-select-permission-syntax
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#create-select-permission-syntax
|
||||||
type SelectPermissionEntry struct {
|
type SelectPermissionEntry struct {
|
||||||
Comment *string `json:"comment,omitempty"`// Comment
|
Comment *string `json:"comment,omitempty"`// Comment
|
||||||
Permission SelectPermission `json:"permission"` // The permission definition
|
Permission SelectPermission `json:"permission"` // The permission definition
|
||||||
@ -1433,7 +1433,7 @@ type SelectPermissionEntry struct {
|
|||||||
// The permission definition
|
// The permission definition
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#selectpermission
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#selectpermission
|
||||||
type SelectPermission struct {
|
type SelectPermission struct {
|
||||||
AllowAggregations *bool `json:"allow_aggregations,omitempty"`// Toggle allowing aggregate queries
|
AllowAggregations *bool `json:"allow_aggregations,omitempty"`// Toggle allowing aggregate queries
|
||||||
Columns *EventTriggerColumns `json:"columns"` // Only these columns are selectable (or all when '*' is specified)
|
Columns *EventTriggerColumns `json:"columns"` // Only these columns are selectable (or all when '*' is specified)
|
||||||
@ -1443,7 +1443,7 @@ type SelectPermission struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#create-update-permission-syntax
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#create-update-permission-syntax
|
||||||
type UpdatePermissionEntry struct {
|
type UpdatePermissionEntry struct {
|
||||||
Comment *string `json:"comment,omitempty"`// Comment
|
Comment *string `json:"comment,omitempty"`// Comment
|
||||||
Permission UpdatePermission `json:"permission"` // The permission definition
|
Permission UpdatePermission `json:"permission"` // The permission definition
|
||||||
@ -1453,7 +1453,7 @@ type UpdatePermissionEntry struct {
|
|||||||
// The permission definition
|
// The permission definition
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#updatepermission
|
// https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#updatepermission
|
||||||
type UpdatePermission struct {
|
type UpdatePermission struct {
|
||||||
Check map[string]*Filter `json:"check,omitempty"` // Postcondition which must be satisfied by rows which have been updated
|
Check map[string]*Filter `json:"check,omitempty"` // Postcondition which must be satisfied by rows which have been updated
|
||||||
Columns *EventTriggerColumns `json:"columns"` // Only these columns are selectable (or all when '*' is specified)
|
Columns *EventTriggerColumns `json:"columns"` // Only these columns are selectable (or all when '*' is specified)
|
||||||
|
@ -124,7 +124,7 @@ type RemoteField = HashMap Text RemoteFieldValue
|
|||||||
type InputArguments = HashMap Text Text
|
type InputArguments = HashMap Text Text
|
||||||
|
|
||||||
{-|
|
{-|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#headerfromvalue
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#headerfromvalue
|
||||||
|
|
||||||
name:
|
name:
|
||||||
Name of the header
|
Name of the header
|
||||||
@ -138,7 +138,7 @@ data HeaderFromValue = HeaderFromValue
|
|||||||
} deriving (Show)
|
} deriving (Show)
|
||||||
|
|
||||||
{-|
|
{-|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#headerfromenv
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#headerfromenv
|
||||||
|
|
||||||
name:
|
name:
|
||||||
Name of the header
|
Name of the header
|
||||||
@ -152,7 +152,7 @@ data HeaderFromEnv = HeaderFromEnv
|
|||||||
} deriving (Show)
|
} deriving (Show)
|
||||||
|
|
||||||
{-|
|
{-|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#objectfield
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#objectfield
|
||||||
|
|
||||||
description:
|
description:
|
||||||
Description of the Input object type
|
Description of the Input object type
|
||||||
@ -171,7 +171,7 @@ data ObjectField = ObjectField
|
|||||||
|
|
||||||
{-| Type used in exported 'metadata.json' and replace metadata endpoint
|
{-| Type used in exported 'metadata.json' and replace metadata endpoint
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/manage-metadata.html#replace-metadata
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/manage-metadata.html#replace-metadata
|
||||||
-}
|
-}
|
||||||
data HasuraMetadataV2 = HasuraMetadataV2
|
data HasuraMetadataV2 = HasuraMetadataV2
|
||||||
{ actionsHasuraMetadataV2 :: Maybe (Vector Action)
|
{ actionsHasuraMetadataV2 :: Maybe (Vector Action)
|
||||||
@ -186,7 +186,7 @@ data HasuraMetadataV2 = HasuraMetadataV2
|
|||||||
} deriving (Show)
|
} deriving (Show)
|
||||||
|
|
||||||
{-|
|
{-|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/actions.html#args-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/actions.html#args-syntax
|
||||||
|
|
||||||
comment:
|
comment:
|
||||||
Comment
|
Comment
|
||||||
@ -210,7 +210,7 @@ data Action = Action
|
|||||||
{-| Definition of the action
|
{-| Definition of the action
|
||||||
|
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/actions.html#actiondefinition
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/actions.html#actiondefinition
|
||||||
|
|
||||||
handler:
|
handler:
|
||||||
A String value which supports templating environment variables enclosed in {{ and }}.
|
A String value which supports templating environment variables enclosed in {{ and }}.
|
||||||
@ -232,7 +232,7 @@ data ActionDefinitionType
|
|||||||
deriving (Show)
|
deriving (Show)
|
||||||
|
|
||||||
{-|
|
{-|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/actions.html#inputargument
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/actions.html#inputargument
|
||||||
-}
|
-}
|
||||||
data InputArgument = InputArgument
|
data InputArgument = InputArgument
|
||||||
{ nameInputArgument :: Text
|
{ nameInputArgument :: Text
|
||||||
@ -240,10 +240,10 @@ data InputArgument = InputArgument
|
|||||||
} deriving (Show)
|
} deriving (Show)
|
||||||
|
|
||||||
{-|
|
{-|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#headerfromvalue
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#headerfromvalue
|
||||||
|
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#headerfromenv
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#headerfromenv
|
||||||
|
|
||||||
name:
|
name:
|
||||||
Name of the header
|
Name of the header
|
||||||
@ -266,7 +266,7 @@ data Permissions = Permissions
|
|||||||
} deriving (Show)
|
} deriving (Show)
|
||||||
|
|
||||||
{-|
|
{-|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/query-collections.html#add-collection-to-allowlist-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/query-collections.html#add-collection-to-allowlist-syntax
|
||||||
|
|
||||||
collection:
|
collection:
|
||||||
Name of a query collection to be added to the allow-list
|
Name of a query collection to be added to the allow-list
|
||||||
@ -276,7 +276,7 @@ data AllowList = AllowList
|
|||||||
} deriving (Show)
|
} deriving (Show)
|
||||||
|
|
||||||
{-|
|
{-|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/scheduled-triggers.html#create-cron-trigger
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/scheduled-triggers.html#create-cron-trigger
|
||||||
|
|
||||||
comment:
|
comment:
|
||||||
Custom comment.
|
Custom comment.
|
||||||
@ -318,7 +318,7 @@ data CronTrigger = CronTrigger
|
|||||||
{-| Retry configuration if scheduled invocation delivery fails
|
{-| Retry configuration if scheduled invocation delivery fails
|
||||||
|
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/scheduled-triggers.html#retryconfst
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/scheduled-triggers.html#retryconfst
|
||||||
|
|
||||||
numRetries:
|
numRetries:
|
||||||
Number of times to retry delivery.
|
Number of times to retry delivery.
|
||||||
@ -352,7 +352,7 @@ data CustomTypes = CustomTypes
|
|||||||
} deriving (Show)
|
} deriving (Show)
|
||||||
|
|
||||||
{-|
|
{-|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#enumtype
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#enumtype
|
||||||
|
|
||||||
description:
|
description:
|
||||||
Description of the Enum type
|
Description of the Enum type
|
||||||
@ -370,7 +370,7 @@ data EnumType = EnumType
|
|||||||
} deriving (Show)
|
} deriving (Show)
|
||||||
|
|
||||||
{-|
|
{-|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#enumvalue
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#enumvalue
|
||||||
|
|
||||||
description:
|
description:
|
||||||
Description of the Enum value
|
Description of the Enum value
|
||||||
@ -388,7 +388,7 @@ data EnumValue = EnumValue
|
|||||||
} deriving (Show)
|
} deriving (Show)
|
||||||
|
|
||||||
{-|
|
{-|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#inputobjecttype
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#inputobjecttype
|
||||||
|
|
||||||
description:
|
description:
|
||||||
Description of the Input object type
|
Description of the Input object type
|
||||||
@ -406,7 +406,7 @@ data InputObjectType = InputObjectType
|
|||||||
} deriving (Show)
|
} deriving (Show)
|
||||||
|
|
||||||
{-|
|
{-|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#inputobjectfield
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#inputobjectfield
|
||||||
|
|
||||||
description:
|
description:
|
||||||
Description of the Input object type
|
Description of the Input object type
|
||||||
@ -424,7 +424,7 @@ data InputObjectField = InputObjectField
|
|||||||
} deriving (Show)
|
} deriving (Show)
|
||||||
|
|
||||||
{-|
|
{-|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#objecttype
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#objecttype
|
||||||
|
|
||||||
description:
|
description:
|
||||||
Description of the Input object type
|
Description of the Input object type
|
||||||
@ -446,7 +446,7 @@ data ObjectType = ObjectType
|
|||||||
} deriving (Show)
|
} deriving (Show)
|
||||||
|
|
||||||
{-|
|
{-|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#objectrelationship
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#objectrelationship
|
||||||
|
|
||||||
fieldMapping:
|
fieldMapping:
|
||||||
Mapping of fields of object type to columns of remote table
|
Mapping of fields of object type to columns of remote table
|
||||||
@ -484,7 +484,7 @@ data QualifiedTable = QualifiedTable
|
|||||||
} deriving (Show)
|
} deriving (Show)
|
||||||
|
|
||||||
{-|
|
{-|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#scalartype
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#scalartype
|
||||||
|
|
||||||
description:
|
description:
|
||||||
Description of the Scalar type
|
Description of the Scalar type
|
||||||
@ -499,7 +499,7 @@ data ScalarType = ScalarType
|
|||||||
|
|
||||||
{-| A custom SQL function to add to the GraphQL schema with configuration.
|
{-| A custom SQL function to add to the GraphQL schema with configuration.
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-functions.html#args-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-functions.html#args-syntax
|
||||||
|
|
||||||
configuration:
|
configuration:
|
||||||
Configuration for the SQL function
|
Configuration for the SQL function
|
||||||
@ -516,7 +516,7 @@ data CustomFunction = CustomFunction
|
|||||||
|
|
||||||
Configuration for a CustomFunction
|
Configuration for a CustomFunction
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-functions.html#function-configuration
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-functions.html#function-configuration
|
||||||
|
|
||||||
sessionArgument:
|
sessionArgument:
|
||||||
Function argument which accepts session info JSON
|
Function argument which accepts session info JSON
|
||||||
@ -541,7 +541,7 @@ data QualifiedFunction = QualifiedFunction
|
|||||||
} deriving (Show)
|
} deriving (Show)
|
||||||
|
|
||||||
{-|
|
{-|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/query-collections.html#args-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/query-collections.html#args-syntax
|
||||||
|
|
||||||
comment:
|
comment:
|
||||||
Comment
|
Comment
|
||||||
@ -564,7 +564,7 @@ data Definition = Definition
|
|||||||
} deriving (Show)
|
} deriving (Show)
|
||||||
|
|
||||||
{-|
|
{-|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#collectionquery
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#collectionquery
|
||||||
-}
|
-}
|
||||||
data QueryCollection = QueryCollection
|
data QueryCollection = QueryCollection
|
||||||
{ nameQueryCollection :: Text
|
{ nameQueryCollection :: Text
|
||||||
@ -572,7 +572,7 @@ data QueryCollection = QueryCollection
|
|||||||
} deriving (Show)
|
} deriving (Show)
|
||||||
|
|
||||||
{-|
|
{-|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-schemas.html#add-remote-schema
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-schemas.html#add-remote-schema
|
||||||
|
|
||||||
comment:
|
comment:
|
||||||
Comment
|
Comment
|
||||||
@ -592,7 +592,7 @@ data RemoteSchema = RemoteSchema
|
|||||||
{-| Name of the remote schema
|
{-| Name of the remote schema
|
||||||
|
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#remoteschemadef
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#remoteschemadef
|
||||||
-}
|
-}
|
||||||
data RemoteSchemaDef = RemoteSchemaDef
|
data RemoteSchemaDef = RemoteSchemaDef
|
||||||
{ forwardClientHeadersRemoteSchemaDef :: Maybe Bool
|
{ forwardClientHeadersRemoteSchemaDef :: Maybe Bool
|
||||||
@ -607,7 +607,7 @@ data RemoteSchemaDef = RemoteSchemaDef
|
|||||||
configuration:
|
configuration:
|
||||||
Configuration for the table/view
|
Configuration for the table/view
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/table-view.html#table-config
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#table-config
|
||||||
-}
|
-}
|
||||||
data TableEntry = TableEntry
|
data TableEntry = TableEntry
|
||||||
{ arrayRelationshipsTableEntry :: Maybe (Vector ArrayRelationship)
|
{ arrayRelationshipsTableEntry :: Maybe (Vector ArrayRelationship)
|
||||||
@ -625,7 +625,7 @@ data TableEntry = TableEntry
|
|||||||
} deriving (Show)
|
} deriving (Show)
|
||||||
|
|
||||||
{-|
|
{-|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#create-array-relationship-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#create-array-relationship-syntax
|
||||||
|
|
||||||
comment:
|
comment:
|
||||||
Comment
|
Comment
|
||||||
@ -646,7 +646,7 @@ data ArrayRelationship = ArrayRelationship
|
|||||||
|
|
||||||
Use one of the available ways to define an object relationship
|
Use one of the available ways to define an object relationship
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#arrrelusing
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#arrrelusing
|
||||||
|
|
||||||
foreignKeyConstraintOn:
|
foreignKeyConstraintOn:
|
||||||
The column with foreign key constraint
|
The column with foreign key constraint
|
||||||
@ -663,7 +663,7 @@ data ArrRelUsing = ArrRelUsing
|
|||||||
|
|
||||||
The column with foreign key constraint
|
The column with foreign key constraint
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#arrrelusingfkeyon
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#arrrelusingfkeyon
|
||||||
-}
|
-}
|
||||||
data ArrRelUsingFKeyOn = ArrRelUsingFKeyOn
|
data ArrRelUsingFKeyOn = ArrRelUsingFKeyOn
|
||||||
{ columnArrRelUsingFKeyOn :: Text
|
{ columnArrRelUsingFKeyOn :: Text
|
||||||
@ -674,7 +674,7 @@ data ArrRelUsingFKeyOn = ArrRelUsingFKeyOn
|
|||||||
|
|
||||||
Manual mapping of table and columns
|
Manual mapping of table and columns
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#arrrelusingmanualmapping
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#arrrelusingmanualmapping
|
||||||
|
|
||||||
columnMapping:
|
columnMapping:
|
||||||
Mapping of columns from current table to remote table
|
Mapping of columns from current table to remote table
|
||||||
@ -688,7 +688,7 @@ data ArrRelUsingManualMapping = ArrRelUsingManualMapping
|
|||||||
} deriving (Show)
|
} deriving (Show)
|
||||||
|
|
||||||
{-|
|
{-|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/computed-field.html#args-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/computed-field.html#args-syntax
|
||||||
|
|
||||||
comment:
|
comment:
|
||||||
Comment
|
Comment
|
||||||
@ -708,7 +708,7 @@ data ComputedField = ComputedField
|
|||||||
{-| The computed field definition
|
{-| The computed field definition
|
||||||
|
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/computed-field.html#computedfielddefinition
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/computed-field.html#computedfielddefinition
|
||||||
|
|
||||||
function:
|
function:
|
||||||
The SQL function
|
The SQL function
|
||||||
@ -729,7 +729,7 @@ data ComputedFieldDefinition = ComputedFieldDefinition
|
|||||||
|
|
||||||
{-| Configuration for the table/view
|
{-| Configuration for the table/view
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/table-view.html#table-config
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#table-config
|
||||||
|
|
||||||
customColumnNames:
|
customColumnNames:
|
||||||
Customise the column names
|
Customise the column names
|
||||||
@ -746,7 +746,7 @@ data TableConfig = TableConfig
|
|||||||
|
|
||||||
Customise the root fields
|
Customise the root fields
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/table-view.html#custom-root-fields
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#custom-root-fields
|
||||||
|
|
||||||
delete:
|
delete:
|
||||||
Customise the `delete_<table-name>` root field
|
Customise the `delete_<table-name>` root field
|
||||||
@ -788,7 +788,7 @@ data CustomRootFields = CustomRootFields
|
|||||||
} deriving (Show)
|
} deriving (Show)
|
||||||
|
|
||||||
{-|
|
{-|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#create-delete-permission-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#create-delete-permission-syntax
|
||||||
|
|
||||||
comment:
|
comment:
|
||||||
Comment
|
Comment
|
||||||
@ -808,7 +808,7 @@ data DeletePermissionEntry = DeletePermissionEntry
|
|||||||
{-| The permission definition
|
{-| The permission definition
|
||||||
|
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#deletepermission
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#deletepermission
|
||||||
|
|
||||||
filter:
|
filter:
|
||||||
Only the rows where this precondition holds true are updatable
|
Only the rows where this precondition holds true are updatable
|
||||||
@ -825,7 +825,7 @@ data Filter
|
|||||||
|
|
||||||
{-| NOTE: The metadata type doesn't QUITE match the 'create' arguments here
|
{-| NOTE: The metadata type doesn't QUITE match the 'create' arguments here
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#create-event-trigger
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#create-event-trigger
|
||||||
|
|
||||||
definition:
|
definition:
|
||||||
The SQL function
|
The SQL function
|
||||||
@ -855,15 +855,15 @@ data EventTrigger = EventTrigger
|
|||||||
|
|
||||||
delete:
|
delete:
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
||||||
|
|
||||||
insert:
|
insert:
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
||||||
|
|
||||||
update:
|
update:
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
||||||
-}
|
-}
|
||||||
data EventTriggerDefinition = EventTriggerDefinition
|
data EventTriggerDefinition = EventTriggerDefinition
|
||||||
{ deleteEventTriggerDefinition :: Maybe OperationSpec
|
{ deleteEventTriggerDefinition :: Maybe OperationSpec
|
||||||
@ -873,15 +873,15 @@ data EventTriggerDefinition = EventTriggerDefinition
|
|||||||
} deriving (Show)
|
} deriving (Show)
|
||||||
|
|
||||||
{-|
|
{-|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
||||||
|
|
||||||
columns:
|
columns:
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns
|
||||||
|
|
||||||
payload:
|
payload:
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns
|
||||||
-}
|
-}
|
||||||
data OperationSpec = OperationSpec
|
data OperationSpec = OperationSpec
|
||||||
{ columnsOperationSpec :: EventTriggerColumns
|
{ columnsOperationSpec :: EventTriggerColumns
|
||||||
@ -900,7 +900,7 @@ data Columns
|
|||||||
{-| The SQL function
|
{-| The SQL function
|
||||||
|
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#retryconf
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#retryconf
|
||||||
|
|
||||||
intervalSEC:
|
intervalSEC:
|
||||||
Number of seconds to wait between each retry.
|
Number of seconds to wait between each retry.
|
||||||
@ -921,7 +921,7 @@ data RetryConf = RetryConf
|
|||||||
} deriving (Show)
|
} deriving (Show)
|
||||||
|
|
||||||
{-|
|
{-|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#args-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#args-syntax
|
||||||
|
|
||||||
comment:
|
comment:
|
||||||
Comment
|
Comment
|
||||||
@ -941,7 +941,7 @@ data InsertPermissionEntry = InsertPermissionEntry
|
|||||||
{-| The permission definition
|
{-| The permission definition
|
||||||
|
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#insertpermission
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#insertpermission
|
||||||
|
|
||||||
backendOnly:
|
backendOnly:
|
||||||
When set to true the mutation is accessible only if x-hasura-use-backend-only-permissions
|
When set to true the mutation is accessible only if x-hasura-use-backend-only-permissions
|
||||||
@ -966,7 +966,7 @@ data InsertPermission = InsertPermission
|
|||||||
} deriving (Show)
|
} deriving (Show)
|
||||||
|
|
||||||
{-|
|
{-|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#args-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#args-syntax
|
||||||
|
|
||||||
comment:
|
comment:
|
||||||
Comment
|
Comment
|
||||||
@ -987,7 +987,7 @@ data ObjectRelationship = ObjectRelationship
|
|||||||
|
|
||||||
Use one of the available ways to define an object relationship
|
Use one of the available ways to define an object relationship
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#objrelusing
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#objrelusing
|
||||||
|
|
||||||
foreignKeyConstraintOn:
|
foreignKeyConstraintOn:
|
||||||
The column with foreign key constraint
|
The column with foreign key constraint
|
||||||
@ -1004,7 +1004,7 @@ data ObjRelUsing = ObjRelUsing
|
|||||||
|
|
||||||
Manual mapping of table and columns
|
Manual mapping of table and columns
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#objrelusingmanualmapping
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#objrelusingmanualmapping
|
||||||
|
|
||||||
columnMapping:
|
columnMapping:
|
||||||
Mapping of columns from current table to remote table
|
Mapping of columns from current table to remote table
|
||||||
@ -1018,7 +1018,7 @@ data ObjRelUsingManualMapping = ObjRelUsingManualMapping
|
|||||||
} deriving (Show)
|
} deriving (Show)
|
||||||
|
|
||||||
{-|
|
{-|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-relationships.html#args-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#args-syntax
|
||||||
|
|
||||||
definition:
|
definition:
|
||||||
Definition object
|
Definition object
|
||||||
@ -1054,7 +1054,7 @@ A recursive tree structure that points to the field in the remote schema that ne
|
|||||||
joined with.
|
joined with.
|
||||||
It is recursive because the remote field maybe nested deeply in the remote schema.
|
It is recursive because the remote field maybe nested deeply in the remote schema.
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-relationships.html#remotefield
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#remotefield
|
||||||
-}
|
-}
|
||||||
data RemoteFieldValue = RemoteFieldValue
|
data RemoteFieldValue = RemoteFieldValue
|
||||||
{ argumentsRemoteFieldValue :: HashMap Text Text
|
{ argumentsRemoteFieldValue :: HashMap Text Text
|
||||||
@ -1062,7 +1062,7 @@ data RemoteFieldValue = RemoteFieldValue
|
|||||||
} deriving (Show)
|
} deriving (Show)
|
||||||
|
|
||||||
{-|
|
{-|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#create-select-permission-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#create-select-permission-syntax
|
||||||
|
|
||||||
comment:
|
comment:
|
||||||
Comment
|
Comment
|
||||||
@ -1082,7 +1082,7 @@ data SelectPermissionEntry = SelectPermissionEntry
|
|||||||
{-| The permission definition
|
{-| The permission definition
|
||||||
|
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#selectpermission
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#selectpermission
|
||||||
|
|
||||||
allowAggregations:
|
allowAggregations:
|
||||||
Toggle allowing aggregate queries
|
Toggle allowing aggregate queries
|
||||||
@ -1108,7 +1108,7 @@ data SelectPermission = SelectPermission
|
|||||||
} deriving (Show)
|
} deriving (Show)
|
||||||
|
|
||||||
{-|
|
{-|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#create-update-permission-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#create-update-permission-syntax
|
||||||
|
|
||||||
comment:
|
comment:
|
||||||
Comment
|
Comment
|
||||||
@ -1128,7 +1128,7 @@ data UpdatePermissionEntry = UpdatePermissionEntry
|
|||||||
{-| The permission definition
|
{-| The permission definition
|
||||||
|
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#updatepermission
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#updatepermission
|
||||||
|
|
||||||
check:
|
check:
|
||||||
Postcondition which must be satisfied by rows which have been updated
|
Postcondition which must be satisfied by rows which have been updated
|
||||||
|
@ -67,7 +67,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"TableConfig": {
|
"TableConfig": {
|
||||||
"description": "Configuration for the table/view\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/table-view.html#table-config",
|
"description": "Configuration for the table/view\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#table-config",
|
||||||
"title": "TableConfig",
|
"title": "TableConfig",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -97,7 +97,7 @@
|
|||||||
"title": "is_enum"
|
"title": "is_enum"
|
||||||
},
|
},
|
||||||
"configuration": {
|
"configuration": {
|
||||||
"description": "Configuration for the table/view\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/table-view.html#table-config",
|
"description": "Configuration for the table/view\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#table-config",
|
||||||
"$ref": "#/definitions/TableConfig",
|
"$ref": "#/definitions/TableConfig",
|
||||||
"title": "configuration"
|
"title": "configuration"
|
||||||
},
|
},
|
||||||
@ -170,7 +170,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"CustomRootFields": {
|
"CustomRootFields": {
|
||||||
"description": "Customise the root fields\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/table-view.html#custom-root-fields",
|
"description": "Customise the root fields\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#custom-root-fields",
|
||||||
"title": "CustomRootFields",
|
"title": "CustomRootFields",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -258,7 +258,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"CustomFunction": {
|
"CustomFunction": {
|
||||||
"description": "A custom SQL function to add to the GraphQL schema with configuration.\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-functions.html#args-syntax",
|
"description": "A custom SQL function to add to the GraphQL schema with configuration.\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-functions.html#args-syntax",
|
||||||
"title": "CustomFunction",
|
"title": "CustomFunction",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -285,7 +285,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"FunctionConfiguration": {
|
"FunctionConfiguration": {
|
||||||
"description": "Configuration for a CustomFunction\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-functions.html#function-configuration",
|
"description": "Configuration for a CustomFunction\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-functions.html#function-configuration",
|
||||||
"title": "FunctionConfiguration",
|
"title": "FunctionConfiguration",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -297,7 +297,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ObjectRelationship": {
|
"ObjectRelationship": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#args-syntax",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#args-syntax",
|
||||||
"title": "ObjectRelationship",
|
"title": "ObjectRelationship",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -323,7 +323,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"ObjRelUsing": {
|
"ObjRelUsing": {
|
||||||
"description": "Use one of the available ways to define an object relationship\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#objrelusing",
|
"description": "Use one of the available ways to define an object relationship\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#objrelusing",
|
||||||
"title": "ObjRelUsing",
|
"title": "ObjRelUsing",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -340,7 +340,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ObjRelUsingManualMapping": {
|
"ObjRelUsingManualMapping": {
|
||||||
"description": "Manual mapping of table and columns\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#objrelusingmanualmapping",
|
"description": "Manual mapping of table and columns\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#objrelusingmanualmapping",
|
||||||
"title": "ObjRelUsingManualMapping",
|
"title": "ObjRelUsingManualMapping",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -371,7 +371,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"ArrayRelationship": {
|
"ArrayRelationship": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#create-array-relationship-syntax",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#create-array-relationship-syntax",
|
||||||
"title": "ArrayRelationship",
|
"title": "ArrayRelationship",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -397,7 +397,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"ArrRelUsing": {
|
"ArrRelUsing": {
|
||||||
"description": "Use one of the available ways to define an object relationship\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#arrrelusing",
|
"description": "Use one of the available ways to define an object relationship\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#arrrelusing",
|
||||||
"title": "ArrRelUsing",
|
"title": "ArrRelUsing",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -414,7 +414,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ArrRelUsingFKeyOn": {
|
"ArrRelUsingFKeyOn": {
|
||||||
"description": "The column with foreign key constraint\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#arrrelusingfkeyon",
|
"description": "The column with foreign key constraint\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#arrrelusingfkeyon",
|
||||||
"title": "ArrRelUsingFKeyOn",
|
"title": "ArrRelUsingFKeyOn",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -440,7 +440,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"ArrRelUsingManualMapping": {
|
"ArrRelUsingManualMapping": {
|
||||||
"description": "Manual mapping of table and columns\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#arrrelusingmanualmapping",
|
"description": "Manual mapping of table and columns\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#arrrelusingmanualmapping",
|
||||||
"title": "ArrRelUsingManualMapping",
|
"title": "ArrRelUsingManualMapping",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -471,7 +471,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"ColumnPresetsExpression": {
|
"ColumnPresetsExpression": {
|
||||||
"description": "Preset values for columns that can be sourced from session variables or static values.\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#columnpresetexp",
|
"description": "Preset values for columns that can be sourced from session variables or static values.\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#columnpresetexp",
|
||||||
"title": "ColumnPresetsExpression",
|
"title": "ColumnPresetsExpression",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
@ -479,7 +479,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"InsertPermissionEntry": {
|
"InsertPermissionEntry": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#args-syntax",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#args-syntax",
|
||||||
"title": "InsertPermissionEntry",
|
"title": "InsertPermissionEntry",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -505,7 +505,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"InsertPermission": {
|
"InsertPermission": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#insertpermission",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#insertpermission",
|
||||||
"title": "InsertPermission",
|
"title": "InsertPermission",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -563,7 +563,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"SelectPermissionEntry": {
|
"SelectPermissionEntry": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#create-select-permission-syntax",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#create-select-permission-syntax",
|
||||||
"title": "SelectPermissionEntry",
|
"title": "SelectPermissionEntry",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -589,7 +589,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"SelectPermission": {
|
"SelectPermission": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#selectpermission",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#selectpermission",
|
||||||
"title": "SelectPermission",
|
"title": "SelectPermission",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -655,7 +655,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"UpdatePermissionEntry": {
|
"UpdatePermissionEntry": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#create-update-permission-syntax",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#create-update-permission-syntax",
|
||||||
"title": "UpdatePermissionEntry",
|
"title": "UpdatePermissionEntry",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -681,7 +681,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"UpdatePermission": {
|
"UpdatePermission": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#updatepermission",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#updatepermission",
|
||||||
"title": "UpdatePermission",
|
"title": "UpdatePermission",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -754,7 +754,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"DeletePermissionEntry": {
|
"DeletePermissionEntry": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#create-delete-permission-syntax",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#create-delete-permission-syntax",
|
||||||
"title": "DeletePermissionEntry",
|
"title": "DeletePermissionEntry",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -780,7 +780,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"DeletePermission": {
|
"DeletePermission": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#deletepermission",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#deletepermission",
|
||||||
"title": "DeletePermission",
|
"title": "DeletePermission",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -807,7 +807,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ComputedField": {
|
"ComputedField": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/computed-field.html#args-syntax",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/computed-field.html#args-syntax",
|
||||||
"title": "ComputedField",
|
"title": "ComputedField",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -833,7 +833,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"ComputedFieldDefinition": {
|
"ComputedFieldDefinition": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/computed-field.html#computedfielddefinition",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/computed-field.html#computedfielddefinition",
|
||||||
"title": "ComputedFieldDefinition",
|
"title": "ComputedFieldDefinition",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -865,7 +865,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"EventTrigger": {
|
"EventTrigger": {
|
||||||
"description": "NOTE: The metadata type doesn't QUITE match the 'create' arguments here\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#create-event-trigger",
|
"description": "NOTE: The metadata type doesn't QUITE match the 'create' arguments here\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#create-event-trigger",
|
||||||
"title": "EventTrigger",
|
"title": "EventTrigger",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -924,17 +924,17 @@
|
|||||||
"title": "enable_manual"
|
"title": "enable_manual"
|
||||||
},
|
},
|
||||||
"insert": {
|
"insert": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec",
|
||||||
"$ref": "#/definitions/OperationSpec",
|
"$ref": "#/definitions/OperationSpec",
|
||||||
"title": "insert"
|
"title": "insert"
|
||||||
},
|
},
|
||||||
"delete": {
|
"delete": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec",
|
||||||
"$ref": "#/definitions/OperationSpec",
|
"$ref": "#/definitions/OperationSpec",
|
||||||
"title": "delete"
|
"title": "delete"
|
||||||
},
|
},
|
||||||
"update": {
|
"update": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec",
|
||||||
"$ref": "#/definitions/OperationSpec",
|
"$ref": "#/definitions/OperationSpec",
|
||||||
"title": "update"
|
"title": "update"
|
||||||
}
|
}
|
||||||
@ -960,12 +960,12 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"OperationSpec": {
|
"OperationSpec": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec",
|
||||||
"title": "OperationSpec",
|
"title": "OperationSpec",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"columns": {
|
"columns": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns",
|
||||||
"anyOf": [
|
"anyOf": [
|
||||||
{
|
{
|
||||||
"type": "array",
|
"type": "array",
|
||||||
@ -983,7 +983,7 @@
|
|||||||
"title": "columns"
|
"title": "columns"
|
||||||
},
|
},
|
||||||
"payload": {
|
"payload": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns",
|
||||||
"anyOf": [
|
"anyOf": [
|
||||||
{
|
{
|
||||||
"type": "array",
|
"type": "array",
|
||||||
@ -1006,7 +1006,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"HeaderFromValue": {
|
"HeaderFromValue": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#headerfromvalue",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#headerfromvalue",
|
||||||
"title": "HeaderFromValue",
|
"title": "HeaderFromValue",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1027,7 +1027,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"HeaderFromEnv": {
|
"HeaderFromEnv": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#headerfromenv",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#headerfromenv",
|
||||||
"title": "HeaderFromEnv",
|
"title": "HeaderFromEnv",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1048,7 +1048,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"RetryConf": {
|
"RetryConf": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#retryconf",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#retryconf",
|
||||||
"title": "RetryConf",
|
"title": "RetryConf",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1070,7 +1070,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"CronTrigger": {
|
"CronTrigger": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/scheduled-triggers.html#create-cron-trigger",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/scheduled-triggers.html#create-cron-trigger",
|
||||||
"title": "CronTrigger",
|
"title": "CronTrigger",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1136,7 +1136,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"RetryConfST": {
|
"RetryConfST": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/scheduled-triggers.html#retryconfst",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/scheduled-triggers.html#retryconfst",
|
||||||
"title": "RetryConfST",
|
"title": "RetryConfST",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1163,7 +1163,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"RemoteSchema": {
|
"RemoteSchema": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-schemas.html#add-remote-schema",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-schemas.html#add-remote-schema",
|
||||||
"title": "RemoteSchema",
|
"title": "RemoteSchema",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1189,7 +1189,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"RemoteSchemaDef": {
|
"RemoteSchemaDef": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#remoteschemadef",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#remoteschemadef",
|
||||||
"title": "RemoteSchemaDef",
|
"title": "RemoteSchemaDef",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1226,7 +1226,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"RemoteRelationship": {
|
"RemoteRelationship": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-relationships.html#args-syntax",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#args-syntax",
|
||||||
"title": "RemoteRelationship",
|
"title": "RemoteRelationship",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1276,7 +1276,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"RemoteField": {
|
"RemoteField": {
|
||||||
"description": "A recursive tree structure that points to the field in the remote schema that needs to be joined with.\nIt is recursive because the remote field maybe nested deeply in the remote schema.\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-relationships.html#remotefield",
|
"description": "A recursive tree structure that points to the field in the remote schema that needs to be joined with.\nIt is recursive because the remote field maybe nested deeply in the remote schema.\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#remotefield",
|
||||||
"title": "RemoteField",
|
"title": "RemoteField",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
@ -1287,7 +1287,7 @@
|
|||||||
"title": "arguments"
|
"title": "arguments"
|
||||||
},
|
},
|
||||||
"field": {
|
"field": {
|
||||||
"description": "A recursive tree structure that points to the field in the remote schema that needs to be joined with.\nIt is recursive because the remote field maybe nested deeply in the remote schema.\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-relationships.html#remotefield",
|
"description": "A recursive tree structure that points to the field in the remote schema that needs to be joined with.\nIt is recursive because the remote field maybe nested deeply in the remote schema.\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#remotefield",
|
||||||
"$ref": "#/definitions/RemoteField",
|
"$ref": "#/definitions/RemoteField",
|
||||||
"title": "field"
|
"title": "field"
|
||||||
}
|
}
|
||||||
@ -1298,7 +1298,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"InputArguments": {
|
"InputArguments": {
|
||||||
"description": "Note: Table columns can be referred by prefixing $ e.g $id.\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-relationships.html#inputarguments",
|
"description": "Note: Table columns can be referred by prefixing $ e.g $id.\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#inputarguments",
|
||||||
"title": "InputArguments",
|
"title": "InputArguments",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
@ -1306,7 +1306,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"QueryCollectionEntry": {
|
"QueryCollectionEntry": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/query-collections.html#args-syntax",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/query-collections.html#args-syntax",
|
||||||
"title": "QueryCollectionEntry",
|
"title": "QueryCollectionEntry",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1344,7 +1344,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"QueryCollection": {
|
"QueryCollection": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#collectionquery",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#collectionquery",
|
||||||
"title": "QueryCollection",
|
"title": "QueryCollection",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1363,7 +1363,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"AllowList": {
|
"AllowList": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/query-collections.html#add-collection-to-allowlist-syntax",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/query-collections.html#add-collection-to-allowlist-syntax",
|
||||||
"title": "AllowList",
|
"title": "AllowList",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1412,7 +1412,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"InputObjectType": {
|
"InputObjectType": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#inputobjecttype",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#inputobjecttype",
|
||||||
"title": "InputObjectType",
|
"title": "InputObjectType",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1441,7 +1441,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"InputObjectField": {
|
"InputObjectField": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#inputobjectfield",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#inputobjectfield",
|
||||||
"title": "InputObjectField",
|
"title": "InputObjectField",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1467,7 +1467,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"ObjectType": {
|
"ObjectType": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#objecttype",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#objecttype",
|
||||||
"title": "ObjectType",
|
"title": "ObjectType",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1504,7 +1504,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"ObjectField": {
|
"ObjectField": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#objectfield",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#objectfield",
|
||||||
"title": "ObjectField",
|
"title": "ObjectField",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1530,7 +1530,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"CustomTypeObjectRelationship": {
|
"CustomTypeObjectRelationship": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#objectrelationship",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#objectrelationship",
|
||||||
"title": "CustomTypeObjectRelationship",
|
"title": "CustomTypeObjectRelationship",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1577,7 +1577,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"ScalarType": {
|
"ScalarType": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#scalartype",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#scalartype",
|
||||||
"title": "ScalarType",
|
"title": "ScalarType",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1597,7 +1597,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"EnumType": {
|
"EnumType": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#enumtype",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#enumtype",
|
||||||
"title": "EnumType",
|
"title": "EnumType",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1626,7 +1626,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"EnumValue": {
|
"EnumValue": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#enumvalue",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#enumvalue",
|
||||||
"title": "EnumValue",
|
"title": "EnumValue",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1651,7 +1651,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Action": {
|
"Action": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/actions.html#args-syntax",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/actions.html#args-syntax",
|
||||||
"title": "Action",
|
"title": "Action",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1691,7 +1691,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"ActionDefinition": {
|
"ActionDefinition": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/actions.html#actiondefinition",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/actions.html#actiondefinition",
|
||||||
"title": "ActionDefinition",
|
"title": "ActionDefinition",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1747,7 +1747,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"InputArgument": {
|
"InputArgument": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/actions.html#inputargument",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/actions.html#inputargument",
|
||||||
"title": "InputArgument",
|
"title": "InputArgument",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1766,7 +1766,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"HasuraMetadataV2": {
|
"HasuraMetadataV2": {
|
||||||
"description": "Type used in exported 'metadata.json' and replace metadata endpoint\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/manage-metadata.html#replace-metadata",
|
"description": "Type used in exported 'metadata.json' and replace metadata endpoint\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/manage-metadata.html#replace-metadata",
|
||||||
"title": "HasuraMetadataV2",
|
"title": "HasuraMetadataV2",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -147,7 +147,7 @@ def to_float(x: Any) -> float:
|
|||||||
@dataclass
|
@dataclass
|
||||||
class HeaderFromValue:
|
class HeaderFromValue:
|
||||||
"""
|
"""
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#headerfromvalue
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#headerfromvalue
|
||||||
"""
|
"""
|
||||||
"""Name of the header"""
|
"""Name of the header"""
|
||||||
name: str
|
name: str
|
||||||
@ -171,7 +171,7 @@ class HeaderFromValue:
|
|||||||
@dataclass
|
@dataclass
|
||||||
class HeaderFromEnv:
|
class HeaderFromEnv:
|
||||||
"""
|
"""
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#headerfromenv
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#headerfromenv
|
||||||
"""
|
"""
|
||||||
"""Name of the header"""
|
"""Name of the header"""
|
||||||
name: str
|
name: str
|
||||||
@ -195,7 +195,7 @@ class HeaderFromEnv:
|
|||||||
@dataclass
|
@dataclass
|
||||||
class ObjectField:
|
class ObjectField:
|
||||||
"""
|
"""
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#objectfield
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#objectfield
|
||||||
"""
|
"""
|
||||||
"""Name of the Input object type"""
|
"""Name of the Input object type"""
|
||||||
name: str
|
name: str
|
||||||
@ -223,7 +223,7 @@ class ObjectField:
|
|||||||
@dataclass
|
@dataclass
|
||||||
class InputArgument:
|
class InputArgument:
|
||||||
"""
|
"""
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/actions.html#inputargument
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/actions.html#inputargument
|
||||||
"""
|
"""
|
||||||
name: str
|
name: str
|
||||||
type: str
|
type: str
|
||||||
@ -245,10 +245,10 @@ class InputArgument:
|
|||||||
@dataclass
|
@dataclass
|
||||||
class Header:
|
class Header:
|
||||||
"""
|
"""
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#headerfromvalue
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#headerfromvalue
|
||||||
|
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#headerfromenv
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#headerfromenv
|
||||||
"""
|
"""
|
||||||
"""Name of the header"""
|
"""Name of the header"""
|
||||||
name: str
|
name: str
|
||||||
@ -283,7 +283,7 @@ class ActionDefinition:
|
|||||||
"""Definition of the action
|
"""Definition of the action
|
||||||
|
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/actions.html#actiondefinition
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/actions.html#actiondefinition
|
||||||
"""
|
"""
|
||||||
"""A String value which supports templating environment variables enclosed in {{ and }}.
|
"""A String value which supports templating environment variables enclosed in {{ and }}.
|
||||||
Template example: https://{{ACTION_API_DOMAIN}}/create-user
|
Template example: https://{{ACTION_API_DOMAIN}}/create-user
|
||||||
@ -340,7 +340,7 @@ class Permissions:
|
|||||||
@dataclass
|
@dataclass
|
||||||
class Action:
|
class Action:
|
||||||
"""
|
"""
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/actions.html#args-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/actions.html#args-syntax
|
||||||
"""
|
"""
|
||||||
"""Definition of the action"""
|
"""Definition of the action"""
|
||||||
definition: ActionDefinition
|
definition: ActionDefinition
|
||||||
@ -372,7 +372,7 @@ class Action:
|
|||||||
@dataclass
|
@dataclass
|
||||||
class AllowList:
|
class AllowList:
|
||||||
"""
|
"""
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/query-collections.html#add-collection-to-allowlist-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/query-collections.html#add-collection-to-allowlist-syntax
|
||||||
"""
|
"""
|
||||||
"""Name of a query collection to be added to the allow-list"""
|
"""Name of a query collection to be added to the allow-list"""
|
||||||
collection: str
|
collection: str
|
||||||
@ -394,7 +394,7 @@ class RetryConfST:
|
|||||||
"""Retry configuration if scheduled invocation delivery fails
|
"""Retry configuration if scheduled invocation delivery fails
|
||||||
|
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/scheduled-triggers.html#retryconfst
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/scheduled-triggers.html#retryconfst
|
||||||
"""
|
"""
|
||||||
"""Number of times to retry delivery.
|
"""Number of times to retry delivery.
|
||||||
Default: 0
|
Default: 0
|
||||||
@ -435,7 +435,7 @@ class RetryConfST:
|
|||||||
@dataclass
|
@dataclass
|
||||||
class CronTrigger:
|
class CronTrigger:
|
||||||
"""
|
"""
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/scheduled-triggers.html#create-cron-trigger
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/scheduled-triggers.html#create-cron-trigger
|
||||||
"""
|
"""
|
||||||
"""List of headers to be sent with the webhook"""
|
"""List of headers to be sent with the webhook"""
|
||||||
headers: List[Header]
|
headers: List[Header]
|
||||||
@ -486,7 +486,7 @@ class CronTrigger:
|
|||||||
@dataclass
|
@dataclass
|
||||||
class EnumValue:
|
class EnumValue:
|
||||||
"""
|
"""
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#enumvalue
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#enumvalue
|
||||||
"""
|
"""
|
||||||
"""Value of the Enum type"""
|
"""Value of the Enum type"""
|
||||||
value: str
|
value: str
|
||||||
@ -514,7 +514,7 @@ class EnumValue:
|
|||||||
@dataclass
|
@dataclass
|
||||||
class EnumType:
|
class EnumType:
|
||||||
"""
|
"""
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#enumtype
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#enumtype
|
||||||
"""
|
"""
|
||||||
"""Name of the Enum type"""
|
"""Name of the Enum type"""
|
||||||
name: str
|
name: str
|
||||||
@ -542,7 +542,7 @@ class EnumType:
|
|||||||
@dataclass
|
@dataclass
|
||||||
class InputObjectField:
|
class InputObjectField:
|
||||||
"""
|
"""
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#inputobjectfield
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#inputobjectfield
|
||||||
"""
|
"""
|
||||||
"""Name of the Input object type"""
|
"""Name of the Input object type"""
|
||||||
name: str
|
name: str
|
||||||
@ -570,7 +570,7 @@ class InputObjectField:
|
|||||||
@dataclass
|
@dataclass
|
||||||
class InputObjectType:
|
class InputObjectType:
|
||||||
"""
|
"""
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#inputobjecttype
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#inputobjecttype
|
||||||
"""
|
"""
|
||||||
"""Fields of the Input object type"""
|
"""Fields of the Input object type"""
|
||||||
fields: List[InputObjectField]
|
fields: List[InputObjectField]
|
||||||
@ -623,7 +623,7 @@ class CustomTypeObjectRelationshipType(Enum):
|
|||||||
@dataclass
|
@dataclass
|
||||||
class CustomTypeObjectRelationship:
|
class CustomTypeObjectRelationship:
|
||||||
"""
|
"""
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#objectrelationship
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#objectrelationship
|
||||||
"""
|
"""
|
||||||
"""Mapping of fields of object type to columns of remote table"""
|
"""Mapping of fields of object type to columns of remote table"""
|
||||||
field_mapping: Dict[str, str]
|
field_mapping: Dict[str, str]
|
||||||
@ -655,7 +655,7 @@ class CustomTypeObjectRelationship:
|
|||||||
@dataclass
|
@dataclass
|
||||||
class ObjectType:
|
class ObjectType:
|
||||||
"""
|
"""
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#objecttype
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#objecttype
|
||||||
"""
|
"""
|
||||||
"""Fields of the Input object type"""
|
"""Fields of the Input object type"""
|
||||||
fields: List[InputObjectField]
|
fields: List[InputObjectField]
|
||||||
@ -687,7 +687,7 @@ class ObjectType:
|
|||||||
@dataclass
|
@dataclass
|
||||||
class ScalarType:
|
class ScalarType:
|
||||||
"""
|
"""
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#scalartype
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#scalartype
|
||||||
"""
|
"""
|
||||||
"""Name of the Scalar type"""
|
"""Name of the Scalar type"""
|
||||||
name: str
|
name: str
|
||||||
@ -739,7 +739,7 @@ class FunctionConfiguration:
|
|||||||
|
|
||||||
Configuration for a CustomFunction
|
Configuration for a CustomFunction
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-functions.html#function-configuration
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-functions.html#function-configuration
|
||||||
"""
|
"""
|
||||||
"""Function argument which accepts session info JSON
|
"""Function argument which accepts session info JSON
|
||||||
Currently, only functions which satisfy the following constraints can be exposed over the
|
Currently, only functions which satisfy the following constraints can be exposed over the
|
||||||
@ -785,7 +785,7 @@ class QualifiedFunction:
|
|||||||
class CustomFunction:
|
class CustomFunction:
|
||||||
"""A custom SQL function to add to the GraphQL schema with configuration.
|
"""A custom SQL function to add to the GraphQL schema with configuration.
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-functions.html#args-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-functions.html#args-syntax
|
||||||
"""
|
"""
|
||||||
"""Name of the SQL function"""
|
"""Name of the SQL function"""
|
||||||
function: Union[QualifiedFunction, str]
|
function: Union[QualifiedFunction, str]
|
||||||
@ -809,7 +809,7 @@ class CustomFunction:
|
|||||||
@dataclass
|
@dataclass
|
||||||
class QueryCollection:
|
class QueryCollection:
|
||||||
"""
|
"""
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#collectionquery
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#collectionquery
|
||||||
"""
|
"""
|
||||||
name: str
|
name: str
|
||||||
query: str
|
query: str
|
||||||
@ -848,7 +848,7 @@ class Definition:
|
|||||||
@dataclass
|
@dataclass
|
||||||
class QueryCollectionEntry:
|
class QueryCollectionEntry:
|
||||||
"""
|
"""
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/query-collections.html#args-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/query-collections.html#args-syntax
|
||||||
"""
|
"""
|
||||||
"""List of queries"""
|
"""List of queries"""
|
||||||
definition: Definition
|
definition: Definition
|
||||||
@ -878,7 +878,7 @@ class RemoteSchemaDef:
|
|||||||
"""Name of the remote schema
|
"""Name of the remote schema
|
||||||
|
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#remoteschemadef
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#remoteschemadef
|
||||||
"""
|
"""
|
||||||
forward_client_headers: Optional[bool] = None
|
forward_client_headers: Optional[bool] = None
|
||||||
headers: Optional[List[Header]] = None
|
headers: Optional[List[Header]] = None
|
||||||
@ -909,7 +909,7 @@ class RemoteSchemaDef:
|
|||||||
@dataclass
|
@dataclass
|
||||||
class RemoteSchema:
|
class RemoteSchema:
|
||||||
"""
|
"""
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-schemas.html#add-remote-schema
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-schemas.html#add-remote-schema
|
||||||
"""
|
"""
|
||||||
"""Name of the remote schema"""
|
"""Name of the remote schema"""
|
||||||
definition: RemoteSchemaDef
|
definition: RemoteSchemaDef
|
||||||
@ -940,7 +940,7 @@ class ArrRelUsingFKeyOn:
|
|||||||
|
|
||||||
The column with foreign key constraint
|
The column with foreign key constraint
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#arrrelusingfkeyon
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#arrrelusingfkeyon
|
||||||
"""
|
"""
|
||||||
column: str
|
column: str
|
||||||
table: Union[QualifiedTable, str]
|
table: Union[QualifiedTable, str]
|
||||||
@ -965,7 +965,7 @@ class ArrRelUsingManualMapping:
|
|||||||
|
|
||||||
Manual mapping of table and columns
|
Manual mapping of table and columns
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#arrrelusingmanualmapping
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#arrrelusingmanualmapping
|
||||||
"""
|
"""
|
||||||
"""Mapping of columns from current table to remote table"""
|
"""Mapping of columns from current table to remote table"""
|
||||||
column_mapping: Dict[str, str]
|
column_mapping: Dict[str, str]
|
||||||
@ -992,7 +992,7 @@ class ArrRelUsing:
|
|||||||
|
|
||||||
Use one of the available ways to define an object relationship
|
Use one of the available ways to define an object relationship
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#arrrelusing
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#arrrelusing
|
||||||
"""
|
"""
|
||||||
"""The column with foreign key constraint"""
|
"""The column with foreign key constraint"""
|
||||||
foreign_key_constraint_on: Optional[ArrRelUsingFKeyOn] = None
|
foreign_key_constraint_on: Optional[ArrRelUsingFKeyOn] = None
|
||||||
@ -1016,7 +1016,7 @@ class ArrRelUsing:
|
|||||||
@dataclass
|
@dataclass
|
||||||
class ArrayRelationship:
|
class ArrayRelationship:
|
||||||
"""
|
"""
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#create-array-relationship-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#create-array-relationship-syntax
|
||||||
"""
|
"""
|
||||||
"""Name of the new relationship"""
|
"""Name of the new relationship"""
|
||||||
name: str
|
name: str
|
||||||
@ -1046,7 +1046,7 @@ class ComputedFieldDefinition:
|
|||||||
"""The computed field definition
|
"""The computed field definition
|
||||||
|
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/computed-field.html#computedfielddefinition
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/computed-field.html#computedfielddefinition
|
||||||
"""
|
"""
|
||||||
"""The SQL function"""
|
"""The SQL function"""
|
||||||
function: Union[QualifiedFunction, str]
|
function: Union[QualifiedFunction, str]
|
||||||
@ -1078,7 +1078,7 @@ class ComputedFieldDefinition:
|
|||||||
@dataclass
|
@dataclass
|
||||||
class ComputedField:
|
class ComputedField:
|
||||||
"""
|
"""
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/computed-field.html#args-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/computed-field.html#args-syntax
|
||||||
"""
|
"""
|
||||||
"""The computed field definition"""
|
"""The computed field definition"""
|
||||||
definition: ComputedFieldDefinition
|
definition: ComputedFieldDefinition
|
||||||
@ -1109,7 +1109,7 @@ class CustomRootFields:
|
|||||||
|
|
||||||
Customise the root fields
|
Customise the root fields
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/table-view.html#custom-root-fields
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#custom-root-fields
|
||||||
"""
|
"""
|
||||||
"""Customise the `delete_<table-name>` root field"""
|
"""Customise the `delete_<table-name>` root field"""
|
||||||
delete: Optional[str] = None
|
delete: Optional[str] = None
|
||||||
@ -1162,7 +1162,7 @@ class CustomRootFields:
|
|||||||
class TableConfig:
|
class TableConfig:
|
||||||
"""Configuration for the table/view
|
"""Configuration for the table/view
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/table-view.html#table-config
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#table-config
|
||||||
"""
|
"""
|
||||||
"""Customise the column names"""
|
"""Customise the column names"""
|
||||||
custom_column_names: Optional[Dict[str, str]] = None
|
custom_column_names: Optional[Dict[str, str]] = None
|
||||||
@ -1188,7 +1188,7 @@ class DeletePermission:
|
|||||||
"""The permission definition
|
"""The permission definition
|
||||||
|
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#deletepermission
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#deletepermission
|
||||||
"""
|
"""
|
||||||
"""Only the rows where this precondition holds true are updatable"""
|
"""Only the rows where this precondition holds true are updatable"""
|
||||||
filter: Optional[Dict[str, Union[float, Dict[str, Any], str]]] = None
|
filter: Optional[Dict[str, Union[float, Dict[str, Any], str]]] = None
|
||||||
@ -1208,7 +1208,7 @@ class DeletePermission:
|
|||||||
@dataclass
|
@dataclass
|
||||||
class DeletePermissionEntry:
|
class DeletePermissionEntry:
|
||||||
"""
|
"""
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#create-delete-permission-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#create-delete-permission-syntax
|
||||||
"""
|
"""
|
||||||
"""The permission definition"""
|
"""The permission definition"""
|
||||||
permission: DeletePermission
|
permission: DeletePermission
|
||||||
@ -1240,14 +1240,14 @@ class EventTriggerColumnsEnum(Enum):
|
|||||||
@dataclass
|
@dataclass
|
||||||
class OperationSpec:
|
class OperationSpec:
|
||||||
"""
|
"""
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
||||||
"""
|
"""
|
||||||
"""
|
"""
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns
|
||||||
"""
|
"""
|
||||||
columns: Union[List[str], EventTriggerColumnsEnum]
|
columns: Union[List[str], EventTriggerColumnsEnum]
|
||||||
"""
|
"""
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns
|
||||||
"""
|
"""
|
||||||
payload: Union[List[str], EventTriggerColumnsEnum, None]
|
payload: Union[List[str], EventTriggerColumnsEnum, None]
|
||||||
|
|
||||||
@ -1270,15 +1270,15 @@ class EventTriggerDefinition:
|
|||||||
"""The SQL function"""
|
"""The SQL function"""
|
||||||
enable_manual: bool
|
enable_manual: bool
|
||||||
"""
|
"""
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
||||||
"""
|
"""
|
||||||
delete: Optional[OperationSpec] = None
|
delete: Optional[OperationSpec] = None
|
||||||
"""
|
"""
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
||||||
"""
|
"""
|
||||||
insert: Optional[OperationSpec] = None
|
insert: Optional[OperationSpec] = None
|
||||||
"""
|
"""
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
||||||
"""
|
"""
|
||||||
update: Optional[OperationSpec] = None
|
update: Optional[OperationSpec] = None
|
||||||
|
|
||||||
@ -1305,7 +1305,7 @@ class RetryConf:
|
|||||||
"""The SQL function
|
"""The SQL function
|
||||||
|
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#retryconf
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#retryconf
|
||||||
"""
|
"""
|
||||||
"""Number of seconds to wait between each retry.
|
"""Number of seconds to wait between each retry.
|
||||||
Default: 10
|
Default: 10
|
||||||
@ -1340,7 +1340,7 @@ class RetryConf:
|
|||||||
class EventTrigger:
|
class EventTrigger:
|
||||||
"""NOTE: The metadata type doesn't QUITE match the 'create' arguments here
|
"""NOTE: The metadata type doesn't QUITE match the 'create' arguments here
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#create-event-trigger
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#create-event-trigger
|
||||||
"""
|
"""
|
||||||
"""The SQL function"""
|
"""The SQL function"""
|
||||||
definition: EventTriggerDefinition
|
definition: EventTriggerDefinition
|
||||||
@ -1381,7 +1381,7 @@ class InsertPermission:
|
|||||||
"""The permission definition
|
"""The permission definition
|
||||||
|
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#insertpermission
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#insertpermission
|
||||||
"""
|
"""
|
||||||
"""Can insert into only these columns (or all when '*' is specified)"""
|
"""Can insert into only these columns (or all when '*' is specified)"""
|
||||||
columns: Union[List[str], EventTriggerColumnsEnum]
|
columns: Union[List[str], EventTriggerColumnsEnum]
|
||||||
@ -1417,7 +1417,7 @@ class InsertPermission:
|
|||||||
@dataclass
|
@dataclass
|
||||||
class InsertPermissionEntry:
|
class InsertPermissionEntry:
|
||||||
"""
|
"""
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#args-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#args-syntax
|
||||||
"""
|
"""
|
||||||
"""The permission definition"""
|
"""The permission definition"""
|
||||||
permission: InsertPermission
|
permission: InsertPermission
|
||||||
@ -1448,7 +1448,7 @@ class ObjRelUsingManualMapping:
|
|||||||
|
|
||||||
Manual mapping of table and columns
|
Manual mapping of table and columns
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#objrelusingmanualmapping
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#objrelusingmanualmapping
|
||||||
"""
|
"""
|
||||||
"""Mapping of columns from current table to remote table"""
|
"""Mapping of columns from current table to remote table"""
|
||||||
column_mapping: Dict[str, str]
|
column_mapping: Dict[str, str]
|
||||||
@ -1475,7 +1475,7 @@ class ObjRelUsing:
|
|||||||
|
|
||||||
Use one of the available ways to define an object relationship
|
Use one of the available ways to define an object relationship
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#objrelusing
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#objrelusing
|
||||||
"""
|
"""
|
||||||
"""The column with foreign key constraint"""
|
"""The column with foreign key constraint"""
|
||||||
foreign_key_constraint_on: Optional[str] = None
|
foreign_key_constraint_on: Optional[str] = None
|
||||||
@ -1499,7 +1499,7 @@ class ObjRelUsing:
|
|||||||
@dataclass
|
@dataclass
|
||||||
class ObjectRelationship:
|
class ObjectRelationship:
|
||||||
"""
|
"""
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#args-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#args-syntax
|
||||||
"""
|
"""
|
||||||
"""Name of the new relationship"""
|
"""Name of the new relationship"""
|
||||||
name: str
|
name: str
|
||||||
@ -1531,7 +1531,7 @@ class RemoteFieldValue:
|
|||||||
joined with.
|
joined with.
|
||||||
It is recursive because the remote field maybe nested deeply in the remote schema.
|
It is recursive because the remote field maybe nested deeply in the remote schema.
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-relationships.html#remotefield
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#remotefield
|
||||||
"""
|
"""
|
||||||
field: Optional[Dict[str, 'RemoteFieldValue']] = None
|
field: Optional[Dict[str, 'RemoteFieldValue']] = None
|
||||||
|
|
||||||
@ -1580,7 +1580,7 @@ class RemoteRelationshipDef:
|
|||||||
@dataclass
|
@dataclass
|
||||||
class RemoteRelationship:
|
class RemoteRelationship:
|
||||||
"""
|
"""
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-relationships.html#args-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#args-syntax
|
||||||
"""
|
"""
|
||||||
"""Definition object"""
|
"""Definition object"""
|
||||||
definition: RemoteRelationshipDef
|
definition: RemoteRelationshipDef
|
||||||
@ -1606,7 +1606,7 @@ class SelectPermission:
|
|||||||
"""The permission definition
|
"""The permission definition
|
||||||
|
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#selectpermission
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#selectpermission
|
||||||
"""
|
"""
|
||||||
"""Only these columns are selectable (or all when '*' is specified)"""
|
"""Only these columns are selectable (or all when '*' is specified)"""
|
||||||
columns: Union[List[str], EventTriggerColumnsEnum]
|
columns: Union[List[str], EventTriggerColumnsEnum]
|
||||||
@ -1642,7 +1642,7 @@ class SelectPermission:
|
|||||||
@dataclass
|
@dataclass
|
||||||
class SelectPermissionEntry:
|
class SelectPermissionEntry:
|
||||||
"""
|
"""
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#create-select-permission-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#create-select-permission-syntax
|
||||||
"""
|
"""
|
||||||
"""The permission definition"""
|
"""The permission definition"""
|
||||||
permission: SelectPermission
|
permission: SelectPermission
|
||||||
@ -1672,7 +1672,7 @@ class UpdatePermission:
|
|||||||
"""The permission definition
|
"""The permission definition
|
||||||
|
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#updatepermission
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#updatepermission
|
||||||
"""
|
"""
|
||||||
"""Only these columns are selectable (or all when '*' is specified)"""
|
"""Only these columns are selectable (or all when '*' is specified)"""
|
||||||
columns: Union[List[str], EventTriggerColumnsEnum]
|
columns: Union[List[str], EventTriggerColumnsEnum]
|
||||||
@ -1704,7 +1704,7 @@ class UpdatePermission:
|
|||||||
@dataclass
|
@dataclass
|
||||||
class UpdatePermissionEntry:
|
class UpdatePermissionEntry:
|
||||||
"""
|
"""
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#create-update-permission-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#create-update-permission-syntax
|
||||||
"""
|
"""
|
||||||
"""The permission definition"""
|
"""The permission definition"""
|
||||||
permission: UpdatePermission
|
permission: UpdatePermission
|
||||||
@ -1737,7 +1737,7 @@ class TableEntry:
|
|||||||
computed_fields: Optional[List[ComputedField]] = None
|
computed_fields: Optional[List[ComputedField]] = None
|
||||||
"""Configuration for the table/view
|
"""Configuration for the table/view
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/table-view.html#table-config
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#table-config
|
||||||
"""
|
"""
|
||||||
configuration: Optional[TableConfig] = None
|
configuration: Optional[TableConfig] = None
|
||||||
delete_permissions: Optional[List[DeletePermissionEntry]] = None
|
delete_permissions: Optional[List[DeletePermissionEntry]] = None
|
||||||
@ -1787,7 +1787,7 @@ class TableEntry:
|
|||||||
class HasuraMetadataV2:
|
class HasuraMetadataV2:
|
||||||
"""Type used in exported 'metadata.json' and replace metadata endpoint
|
"""Type used in exported 'metadata.json' and replace metadata endpoint
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/manage-metadata.html#replace-metadata
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/manage-metadata.html#replace-metadata
|
||||||
"""
|
"""
|
||||||
tables: List[TableEntry]
|
tables: List[TableEntry]
|
||||||
version: float
|
version: float
|
||||||
|
@ -79,7 +79,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#headerfromvalue
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#headerfromvalue
|
||||||
*/
|
*/
|
||||||
export interface HeaderFromValue {
|
export interface HeaderFromValue {
|
||||||
/**
|
/**
|
||||||
@ -94,7 +94,7 @@ export interface HeaderFromValue {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#headerfromenv
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#headerfromenv
|
||||||
*/
|
*/
|
||||||
export interface HeaderFromEnv {
|
export interface HeaderFromEnv {
|
||||||
/**
|
/**
|
||||||
@ -109,7 +109,7 @@ export interface HeaderFromEnv {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#objectfield
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#objectfield
|
||||||
*/
|
*/
|
||||||
export interface ObjectField {
|
export interface ObjectField {
|
||||||
/**
|
/**
|
||||||
@ -129,7 +129,7 @@ export interface ObjectField {
|
|||||||
/**
|
/**
|
||||||
* Type used in exported 'metadata.json' and replace metadata endpoint
|
* Type used in exported 'metadata.json' and replace metadata endpoint
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/manage-metadata.html#replace-metadata
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/manage-metadata.html#replace-metadata
|
||||||
*/
|
*/
|
||||||
export interface HasuraMetadataV2 {
|
export interface HasuraMetadataV2 {
|
||||||
actions?: Action[];
|
actions?: Action[];
|
||||||
@ -145,7 +145,7 @@ export interface HasuraMetadataV2 {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/actions.html#args-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/actions.html#args-syntax
|
||||||
*/
|
*/
|
||||||
export interface Action {
|
export interface Action {
|
||||||
/**
|
/**
|
||||||
@ -170,7 +170,7 @@ export interface Action {
|
|||||||
* Definition of the action
|
* Definition of the action
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/actions.html#actiondefinition
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/actions.html#actiondefinition
|
||||||
*/
|
*/
|
||||||
export interface ActionDefinition {
|
export interface ActionDefinition {
|
||||||
arguments?: InputArgument[];
|
arguments?: InputArgument[];
|
||||||
@ -188,7 +188,7 @@ export interface ActionDefinition {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/actions.html#inputargument
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/actions.html#inputargument
|
||||||
*/
|
*/
|
||||||
export interface InputArgument {
|
export interface InputArgument {
|
||||||
name: string;
|
name: string;
|
||||||
@ -197,10 +197,10 @@ export interface InputArgument {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#headerfromvalue
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#headerfromvalue
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#headerfromenv
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#headerfromenv
|
||||||
*/
|
*/
|
||||||
export interface Header {
|
export interface Header {
|
||||||
/**
|
/**
|
||||||
@ -231,7 +231,7 @@ export interface Permissions {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/query-collections.html#add-collection-to-allowlist-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/query-collections.html#add-collection-to-allowlist-syntax
|
||||||
*/
|
*/
|
||||||
export interface AllowList {
|
export interface AllowList {
|
||||||
/**
|
/**
|
||||||
@ -242,7 +242,7 @@ export interface AllowList {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/scheduled-triggers.html#create-cron-trigger
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/scheduled-triggers.html#create-cron-trigger
|
||||||
*/
|
*/
|
||||||
export interface CronTrigger {
|
export interface CronTrigger {
|
||||||
/**
|
/**
|
||||||
@ -285,7 +285,7 @@ export interface CronTrigger {
|
|||||||
* Retry configuration if scheduled invocation delivery fails
|
* Retry configuration if scheduled invocation delivery fails
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/scheduled-triggers.html#retryconfst
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/scheduled-triggers.html#retryconfst
|
||||||
*/
|
*/
|
||||||
export interface RetryConfST {
|
export interface RetryConfST {
|
||||||
/**
|
/**
|
||||||
@ -320,7 +320,7 @@ export interface CustomTypes {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#enumtype
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#enumtype
|
||||||
*/
|
*/
|
||||||
export interface EnumType {
|
export interface EnumType {
|
||||||
/**
|
/**
|
||||||
@ -339,7 +339,7 @@ export interface EnumType {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#enumvalue
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#enumvalue
|
||||||
*/
|
*/
|
||||||
export interface EnumValue {
|
export interface EnumValue {
|
||||||
/**
|
/**
|
||||||
@ -358,7 +358,7 @@ export interface EnumValue {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#inputobjecttype
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#inputobjecttype
|
||||||
*/
|
*/
|
||||||
export interface InputObjectType {
|
export interface InputObjectType {
|
||||||
/**
|
/**
|
||||||
@ -377,7 +377,7 @@ export interface InputObjectType {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#inputobjectfield
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#inputobjectfield
|
||||||
*/
|
*/
|
||||||
export interface InputObjectField {
|
export interface InputObjectField {
|
||||||
/**
|
/**
|
||||||
@ -396,7 +396,7 @@ export interface InputObjectField {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#objecttype
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#objecttype
|
||||||
*/
|
*/
|
||||||
export interface ObjectType {
|
export interface ObjectType {
|
||||||
/**
|
/**
|
||||||
@ -419,7 +419,7 @@ export interface ObjectType {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#objectrelationship
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#objectrelationship
|
||||||
*/
|
*/
|
||||||
export interface CustomTypeObjectRelationship {
|
export interface CustomTypeObjectRelationship {
|
||||||
/**
|
/**
|
||||||
@ -455,7 +455,7 @@ export enum CustomTypeObjectRelationshipType {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#scalartype
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#scalartype
|
||||||
*/
|
*/
|
||||||
export interface ScalarType {
|
export interface ScalarType {
|
||||||
/**
|
/**
|
||||||
@ -471,7 +471,7 @@ export interface ScalarType {
|
|||||||
/**
|
/**
|
||||||
* A custom SQL function to add to the GraphQL schema with configuration.
|
* A custom SQL function to add to the GraphQL schema with configuration.
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-functions.html#args-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-functions.html#args-syntax
|
||||||
*/
|
*/
|
||||||
export interface CustomFunction {
|
export interface CustomFunction {
|
||||||
/**
|
/**
|
||||||
@ -489,7 +489,7 @@ export interface CustomFunction {
|
|||||||
*
|
*
|
||||||
* Configuration for a CustomFunction
|
* Configuration for a CustomFunction
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-functions.html#function-configuration
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-functions.html#function-configuration
|
||||||
*/
|
*/
|
||||||
export interface FunctionConfiguration {
|
export interface FunctionConfiguration {
|
||||||
/**
|
/**
|
||||||
@ -510,7 +510,7 @@ export interface QualifiedFunction {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/query-collections.html#args-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/query-collections.html#args-syntax
|
||||||
*/
|
*/
|
||||||
export interface QueryCollectionEntry {
|
export interface QueryCollectionEntry {
|
||||||
/**
|
/**
|
||||||
@ -536,7 +536,7 @@ export interface Definition {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#collectionquery
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#collectionquery
|
||||||
*/
|
*/
|
||||||
export interface QueryCollection {
|
export interface QueryCollection {
|
||||||
name: string;
|
name: string;
|
||||||
@ -545,7 +545,7 @@ export interface QueryCollection {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-schemas.html#add-remote-schema
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-schemas.html#add-remote-schema
|
||||||
*/
|
*/
|
||||||
export interface RemoteSchema {
|
export interface RemoteSchema {
|
||||||
/**
|
/**
|
||||||
@ -566,7 +566,7 @@ export interface RemoteSchema {
|
|||||||
* Name of the remote schema
|
* Name of the remote schema
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#remoteschemadef
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#remoteschemadef
|
||||||
*/
|
*/
|
||||||
export interface RemoteSchemaDef {
|
export interface RemoteSchemaDef {
|
||||||
forward_client_headers?: boolean;
|
forward_client_headers?: boolean;
|
||||||
@ -585,7 +585,7 @@ export interface TableEntry {
|
|||||||
/**
|
/**
|
||||||
* Configuration for the table/view
|
* Configuration for the table/view
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/table-view.html#table-config
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#table-config
|
||||||
*/
|
*/
|
||||||
configuration?: TableConfig;
|
configuration?: TableConfig;
|
||||||
delete_permissions?: DeletePermissionEntry[];
|
delete_permissions?: DeletePermissionEntry[];
|
||||||
@ -601,7 +601,7 @@ export interface TableEntry {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#create-array-relationship-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#create-array-relationship-syntax
|
||||||
*/
|
*/
|
||||||
export interface ArrayRelationship {
|
export interface ArrayRelationship {
|
||||||
/**
|
/**
|
||||||
@ -623,7 +623,7 @@ export interface ArrayRelationship {
|
|||||||
*
|
*
|
||||||
* Use one of the available ways to define an object relationship
|
* Use one of the available ways to define an object relationship
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#arrrelusing
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#arrrelusing
|
||||||
*/
|
*/
|
||||||
export interface ArrRelUsing {
|
export interface ArrRelUsing {
|
||||||
/**
|
/**
|
||||||
@ -641,7 +641,7 @@ export interface ArrRelUsing {
|
|||||||
*
|
*
|
||||||
* The column with foreign key constraint
|
* The column with foreign key constraint
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#arrrelusingfkeyon
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#arrrelusingfkeyon
|
||||||
*/
|
*/
|
||||||
export interface ArrRelUsingFKeyOn {
|
export interface ArrRelUsingFKeyOn {
|
||||||
column: string;
|
column: string;
|
||||||
@ -653,7 +653,7 @@ export interface ArrRelUsingFKeyOn {
|
|||||||
*
|
*
|
||||||
* Manual mapping of table and columns
|
* Manual mapping of table and columns
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#arrrelusingmanualmapping
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#arrrelusingmanualmapping
|
||||||
*/
|
*/
|
||||||
export interface ArrRelUsingManualMapping {
|
export interface ArrRelUsingManualMapping {
|
||||||
/**
|
/**
|
||||||
@ -668,7 +668,7 @@ export interface ArrRelUsingManualMapping {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/computed-field.html#args-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/computed-field.html#args-syntax
|
||||||
*/
|
*/
|
||||||
export interface ComputedField {
|
export interface ComputedField {
|
||||||
/**
|
/**
|
||||||
@ -689,7 +689,7 @@ export interface ComputedField {
|
|||||||
* The computed field definition
|
* The computed field definition
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/computed-field.html#computedfielddefinition
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/computed-field.html#computedfielddefinition
|
||||||
*/
|
*/
|
||||||
export interface ComputedFieldDefinition {
|
export interface ComputedFieldDefinition {
|
||||||
/**
|
/**
|
||||||
@ -711,7 +711,7 @@ export interface ComputedFieldDefinition {
|
|||||||
/**
|
/**
|
||||||
* Configuration for the table/view
|
* Configuration for the table/view
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/table-view.html#table-config
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#table-config
|
||||||
*/
|
*/
|
||||||
export interface TableConfig {
|
export interface TableConfig {
|
||||||
/**
|
/**
|
||||||
@ -733,7 +733,7 @@ export interface TableConfig {
|
|||||||
*
|
*
|
||||||
* Customise the root fields
|
* Customise the root fields
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/table-view.html#custom-root-fields
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#custom-root-fields
|
||||||
*/
|
*/
|
||||||
export interface CustomRootFields {
|
export interface CustomRootFields {
|
||||||
/**
|
/**
|
||||||
@ -776,7 +776,7 @@ export interface CustomRootFields {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#create-delete-permission-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#create-delete-permission-syntax
|
||||||
*/
|
*/
|
||||||
export interface DeletePermissionEntry {
|
export interface DeletePermissionEntry {
|
||||||
/**
|
/**
|
||||||
@ -797,7 +797,7 @@ export interface DeletePermissionEntry {
|
|||||||
* The permission definition
|
* The permission definition
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#deletepermission
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#deletepermission
|
||||||
*/
|
*/
|
||||||
export interface DeletePermission {
|
export interface DeletePermission {
|
||||||
/**
|
/**
|
||||||
@ -809,7 +809,7 @@ export interface DeletePermission {
|
|||||||
/**
|
/**
|
||||||
* NOTE: The metadata type doesn't QUITE match the 'create' arguments here
|
* NOTE: The metadata type doesn't QUITE match the 'create' arguments here
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#create-event-trigger
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#create-event-trigger
|
||||||
*/
|
*/
|
||||||
export interface EventTrigger {
|
export interface EventTrigger {
|
||||||
/**
|
/**
|
||||||
@ -841,35 +841,35 @@ export interface EventTrigger {
|
|||||||
export interface EventTriggerDefinition {
|
export interface EventTriggerDefinition {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
||||||
*/
|
*/
|
||||||
delete?: OperationSpec;
|
delete?: OperationSpec;
|
||||||
enable_manual: boolean;
|
enable_manual: boolean;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
||||||
*/
|
*/
|
||||||
insert?: OperationSpec;
|
insert?: OperationSpec;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
||||||
*/
|
*/
|
||||||
update?: OperationSpec;
|
update?: OperationSpec;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
||||||
*/
|
*/
|
||||||
export interface OperationSpec {
|
export interface OperationSpec {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns
|
||||||
*/
|
*/
|
||||||
columns: string[] | Columns;
|
columns: string[] | Columns;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns
|
||||||
*/
|
*/
|
||||||
payload?: string[] | Columns;
|
payload?: string[] | Columns;
|
||||||
}
|
}
|
||||||
@ -882,7 +882,7 @@ export enum Columns {
|
|||||||
* The SQL function
|
* The SQL function
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#retryconf
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#retryconf
|
||||||
*/
|
*/
|
||||||
export interface RetryConf {
|
export interface RetryConf {
|
||||||
/**
|
/**
|
||||||
@ -904,7 +904,7 @@ export interface RetryConf {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#args-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#args-syntax
|
||||||
*/
|
*/
|
||||||
export interface InsertPermissionEntry {
|
export interface InsertPermissionEntry {
|
||||||
/**
|
/**
|
||||||
@ -925,7 +925,7 @@ export interface InsertPermissionEntry {
|
|||||||
* The permission definition
|
* The permission definition
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#insertpermission
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#insertpermission
|
||||||
*/
|
*/
|
||||||
export interface InsertPermission {
|
export interface InsertPermission {
|
||||||
/**
|
/**
|
||||||
@ -951,7 +951,7 @@ export interface InsertPermission {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#args-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#args-syntax
|
||||||
*/
|
*/
|
||||||
export interface ObjectRelationship {
|
export interface ObjectRelationship {
|
||||||
/**
|
/**
|
||||||
@ -973,7 +973,7 @@ export interface ObjectRelationship {
|
|||||||
*
|
*
|
||||||
* Use one of the available ways to define an object relationship
|
* Use one of the available ways to define an object relationship
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#objrelusing
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#objrelusing
|
||||||
*/
|
*/
|
||||||
export interface ObjRelUsing {
|
export interface ObjRelUsing {
|
||||||
/**
|
/**
|
||||||
@ -991,7 +991,7 @@ export interface ObjRelUsing {
|
|||||||
*
|
*
|
||||||
* Manual mapping of table and columns
|
* Manual mapping of table and columns
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#objrelusingmanualmapping
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#objrelusingmanualmapping
|
||||||
*/
|
*/
|
||||||
export interface ObjRelUsingManualMapping {
|
export interface ObjRelUsingManualMapping {
|
||||||
/**
|
/**
|
||||||
@ -1006,7 +1006,7 @@ export interface ObjRelUsingManualMapping {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-relationships.html#args-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#args-syntax
|
||||||
*/
|
*/
|
||||||
export interface RemoteRelationship {
|
export interface RemoteRelationship {
|
||||||
/**
|
/**
|
||||||
@ -1045,14 +1045,14 @@ export interface RemoteField {
|
|||||||
* joined with.
|
* joined with.
|
||||||
* It is recursive because the remote field maybe nested deeply in the remote schema.
|
* It is recursive because the remote field maybe nested deeply in the remote schema.
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-relationships.html#remotefield
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#remotefield
|
||||||
*/
|
*/
|
||||||
field?: { [key: string]: RemoteField };
|
field?: { [key: string]: RemoteField };
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#create-select-permission-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#create-select-permission-syntax
|
||||||
*/
|
*/
|
||||||
export interface SelectPermissionEntry {
|
export interface SelectPermissionEntry {
|
||||||
/**
|
/**
|
||||||
@ -1073,7 +1073,7 @@ export interface SelectPermissionEntry {
|
|||||||
* The permission definition
|
* The permission definition
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#selectpermission
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#selectpermission
|
||||||
*/
|
*/
|
||||||
export interface SelectPermission {
|
export interface SelectPermission {
|
||||||
/**
|
/**
|
||||||
@ -1100,7 +1100,7 @@ export interface SelectPermission {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#create-update-permission-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#create-update-permission-syntax
|
||||||
*/
|
*/
|
||||||
export interface UpdatePermissionEntry {
|
export interface UpdatePermissionEntry {
|
||||||
/**
|
/**
|
||||||
@ -1121,7 +1121,7 @@ export interface UpdatePermissionEntry {
|
|||||||
* The permission definition
|
* The permission definition
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#updatepermission
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#updatepermission
|
||||||
*/
|
*/
|
||||||
export interface UpdatePermission {
|
export interface UpdatePermission {
|
||||||
/**
|
/**
|
||||||
|
@ -50,7 +50,7 @@ definitions:
|
|||||||
description: >-
|
description: >-
|
||||||
Configuration for the table/view
|
Configuration for the table/view
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/table-view.html#table-config
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#table-config
|
||||||
title: TableConfig
|
title: TableConfig
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -77,7 +77,7 @@ definitions:
|
|||||||
description: >-
|
description: >-
|
||||||
Configuration for the table/view
|
Configuration for the table/view
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/table-view.html#table-config
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#table-config
|
||||||
$ref: '#/definitions/TableConfig'
|
$ref: '#/definitions/TableConfig'
|
||||||
title: configuration
|
title: configuration
|
||||||
event_triggers:
|
event_triggers:
|
||||||
@ -131,7 +131,7 @@ definitions:
|
|||||||
description: >-
|
description: >-
|
||||||
Customise the root fields
|
Customise the root fields
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/table-view.html#custom-root-fields
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#custom-root-fields
|
||||||
title: CustomRootFields
|
title: CustomRootFields
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -198,7 +198,7 @@ definitions:
|
|||||||
description: >-
|
description: >-
|
||||||
A custom SQL function to add to the GraphQL schema with configuration.
|
A custom SQL function to add to the GraphQL schema with configuration.
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-functions.html#args-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-functions.html#args-syntax
|
||||||
title: CustomFunction
|
title: CustomFunction
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -218,7 +218,7 @@ definitions:
|
|||||||
description: >-
|
description: >-
|
||||||
Configuration for a CustomFunction
|
Configuration for a CustomFunction
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-functions.html#function-configuration
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-functions.html#function-configuration
|
||||||
title: FunctionConfiguration
|
title: FunctionConfiguration
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -238,7 +238,7 @@ definitions:
|
|||||||
title: session_argument
|
title: session_argument
|
||||||
ObjectRelationship:
|
ObjectRelationship:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#args-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#args-syntax
|
||||||
title: ObjectRelationship
|
title: ObjectRelationship
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -261,7 +261,7 @@ definitions:
|
|||||||
description: >-
|
description: >-
|
||||||
Use one of the available ways to define an object relationship
|
Use one of the available ways to define an object relationship
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#objrelusing
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#objrelusing
|
||||||
title: ObjRelUsing
|
title: ObjRelUsing
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -277,7 +277,7 @@ definitions:
|
|||||||
description: >-
|
description: >-
|
||||||
Manual mapping of table and columns
|
Manual mapping of table and columns
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#objrelusingmanualmapping
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#objrelusingmanualmapping
|
||||||
title: ObjRelUsingManualMapping
|
title: ObjRelUsingManualMapping
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -298,7 +298,7 @@ definitions:
|
|||||||
- remote_table
|
- remote_table
|
||||||
ArrayRelationship:
|
ArrayRelationship:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#create-array-relationship-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#create-array-relationship-syntax
|
||||||
title: ArrayRelationship
|
title: ArrayRelationship
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -321,7 +321,7 @@ definitions:
|
|||||||
description: >-
|
description: >-
|
||||||
Use one of the available ways to define an object relationship
|
Use one of the available ways to define an object relationship
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#arrrelusing
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#arrrelusing
|
||||||
title: ArrRelUsing
|
title: ArrRelUsing
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -337,7 +337,7 @@ definitions:
|
|||||||
description: >-
|
description: >-
|
||||||
The column with foreign key constraint
|
The column with foreign key constraint
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#arrrelusingfkeyon
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#arrrelusingfkeyon
|
||||||
title: ArrRelUsingFKeyOn
|
title: ArrRelUsingFKeyOn
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -356,7 +356,7 @@ definitions:
|
|||||||
description: >-
|
description: >-
|
||||||
Manual mapping of table and columns
|
Manual mapping of table and columns
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#arrrelusingmanualmapping
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#arrrelusingmanualmapping
|
||||||
title: ArrRelUsingManualMapping
|
title: ArrRelUsingManualMapping
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -380,14 +380,14 @@ definitions:
|
|||||||
Preset values for columns that can be sourced from session variables or
|
Preset values for columns that can be sourced from session variables or
|
||||||
static values.
|
static values.
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#columnpresetexp
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#columnpresetexp
|
||||||
title: ColumnPresetsExpression
|
title: ColumnPresetsExpression
|
||||||
type: object
|
type: object
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: string
|
type: string
|
||||||
InsertPermissionEntry:
|
InsertPermissionEntry:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#args-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#args-syntax
|
||||||
title: InsertPermissionEntry
|
title: InsertPermissionEntry
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -408,7 +408,7 @@ definitions:
|
|||||||
- role
|
- role
|
||||||
InsertPermission:
|
InsertPermission:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#insertpermission
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#insertpermission
|
||||||
title: InsertPermission
|
title: InsertPermission
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -453,7 +453,7 @@ definitions:
|
|||||||
- columns
|
- columns
|
||||||
SelectPermissionEntry:
|
SelectPermissionEntry:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#create-select-permission-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#create-select-permission-syntax
|
||||||
title: SelectPermissionEntry
|
title: SelectPermissionEntry
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -474,7 +474,7 @@ definitions:
|
|||||||
- role
|
- role
|
||||||
SelectPermission:
|
SelectPermission:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#selectpermission
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#selectpermission
|
||||||
title: SelectPermission
|
title: SelectPermission
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -518,7 +518,7 @@ definitions:
|
|||||||
- columns
|
- columns
|
||||||
UpdatePermissionEntry:
|
UpdatePermissionEntry:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#create-update-permission-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#create-update-permission-syntax
|
||||||
title: UpdatePermissionEntry
|
title: UpdatePermissionEntry
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -539,7 +539,7 @@ definitions:
|
|||||||
- role
|
- role
|
||||||
UpdatePermission:
|
UpdatePermission:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#updatepermission
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#updatepermission
|
||||||
title: UpdatePermission
|
title: UpdatePermission
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -587,7 +587,7 @@ definitions:
|
|||||||
- columns
|
- columns
|
||||||
DeletePermissionEntry:
|
DeletePermissionEntry:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#create-delete-permission-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#create-delete-permission-syntax
|
||||||
title: DeletePermissionEntry
|
title: DeletePermissionEntry
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -608,7 +608,7 @@ definitions:
|
|||||||
- role
|
- role
|
||||||
DeletePermission:
|
DeletePermission:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#deletepermission
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#deletepermission
|
||||||
title: DeletePermission
|
title: DeletePermission
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -626,7 +626,7 @@ definitions:
|
|||||||
title: filter
|
title: filter
|
||||||
ComputedField:
|
ComputedField:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/computed-field.html#args-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/computed-field.html#args-syntax
|
||||||
title: ComputedField
|
title: ComputedField
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -647,7 +647,7 @@ definitions:
|
|||||||
- name
|
- name
|
||||||
ComputedFieldDefinition:
|
ComputedFieldDefinition:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/computed-field.html#computedfielddefinition
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/computed-field.html#computedfielddefinition
|
||||||
title: ComputedFieldDefinition
|
title: ComputedFieldDefinition
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -676,7 +676,7 @@ definitions:
|
|||||||
description: >-
|
description: >-
|
||||||
NOTE: The metadata type doesn't QUITE match the 'create' arguments here
|
NOTE: The metadata type doesn't QUITE match the 'create' arguments here
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#create-event-trigger
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#create-event-trigger
|
||||||
title: EventTrigger
|
title: EventTrigger
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -720,17 +720,17 @@ definitions:
|
|||||||
title: enable_manual
|
title: enable_manual
|
||||||
insert:
|
insert:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
||||||
$ref: '#/definitions/OperationSpec'
|
$ref: '#/definitions/OperationSpec'
|
||||||
title: insert
|
title: insert
|
||||||
delete:
|
delete:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
||||||
$ref: '#/definitions/OperationSpec'
|
$ref: '#/definitions/OperationSpec'
|
||||||
title: delete
|
title: delete
|
||||||
update:
|
update:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
||||||
$ref: '#/definitions/OperationSpec'
|
$ref: '#/definitions/OperationSpec'
|
||||||
title: update
|
title: update
|
||||||
required:
|
required:
|
||||||
@ -745,13 +745,13 @@ definitions:
|
|||||||
type: string
|
type: string
|
||||||
OperationSpec:
|
OperationSpec:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
||||||
title: OperationSpec
|
title: OperationSpec
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
columns:
|
columns:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns
|
||||||
anyOf:
|
anyOf:
|
||||||
- type: array
|
- type: array
|
||||||
items:
|
items:
|
||||||
@ -762,7 +762,7 @@ definitions:
|
|||||||
title: columns
|
title: columns
|
||||||
payload:
|
payload:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns
|
||||||
anyOf:
|
anyOf:
|
||||||
- type: array
|
- type: array
|
||||||
items:
|
items:
|
||||||
@ -775,7 +775,7 @@ definitions:
|
|||||||
- columns
|
- columns
|
||||||
HeaderFromValue:
|
HeaderFromValue:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#headerfromvalue
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#headerfromvalue
|
||||||
title: HeaderFromValue
|
title: HeaderFromValue
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -792,7 +792,7 @@ definitions:
|
|||||||
- value
|
- value
|
||||||
HeaderFromEnv:
|
HeaderFromEnv:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#headerfromenv
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#headerfromenv
|
||||||
title: HeaderFromEnv
|
title: HeaderFromEnv
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -809,7 +809,7 @@ definitions:
|
|||||||
- value_from_env
|
- value_from_env
|
||||||
RetryConf:
|
RetryConf:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#retryconf
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#retryconf
|
||||||
title: RetryConf
|
title: RetryConf
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -833,7 +833,7 @@ definitions:
|
|||||||
title: timeout_sec
|
title: timeout_sec
|
||||||
CronTrigger:
|
CronTrigger:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/scheduled-triggers.html#create-cron-trigger
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/scheduled-triggers.html#create-cron-trigger
|
||||||
title: CronTrigger
|
title: CronTrigger
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -886,7 +886,7 @@ definitions:
|
|||||||
- webhook
|
- webhook
|
||||||
RetryConfST:
|
RetryConfST:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/scheduled-triggers.html#retryconfst
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/scheduled-triggers.html#retryconfst
|
||||||
title: RetryConfST
|
title: RetryConfST
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -919,7 +919,7 @@ definitions:
|
|||||||
title: tolerance_seconds
|
title: tolerance_seconds
|
||||||
RemoteSchema:
|
RemoteSchema:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-schemas.html#add-remote-schema
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-schemas.html#add-remote-schema
|
||||||
title: RemoteSchema
|
title: RemoteSchema
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -940,7 +940,7 @@ definitions:
|
|||||||
- name
|
- name
|
||||||
RemoteSchemaDef:
|
RemoteSchemaDef:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#remoteschemadef
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#remoteschemadef
|
||||||
title: RemoteSchemaDef
|
title: RemoteSchemaDef
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -965,7 +965,7 @@ definitions:
|
|||||||
title: timeout_seconds
|
title: timeout_seconds
|
||||||
RemoteRelationship:
|
RemoteRelationship:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-relationships.html#args-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#args-syntax
|
||||||
title: RemoteRelationship
|
title: RemoteRelationship
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -1016,7 +1016,7 @@ definitions:
|
|||||||
It is recursive because the remote field maybe nested deeply in the remote
|
It is recursive because the remote field maybe nested deeply in the remote
|
||||||
schema.
|
schema.
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-relationships.html#remotefield
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#remotefield
|
||||||
title: RemoteField
|
title: RemoteField
|
||||||
type: object
|
type: object
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
@ -1033,7 +1033,7 @@ definitions:
|
|||||||
It is recursive because the remote field maybe nested deeply in the
|
It is recursive because the remote field maybe nested deeply in the
|
||||||
remote schema.
|
remote schema.
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-relationships.html#remotefield
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#remotefield
|
||||||
$ref: '#/definitions/RemoteField'
|
$ref: '#/definitions/RemoteField'
|
||||||
title: field
|
title: field
|
||||||
required:
|
required:
|
||||||
@ -1042,14 +1042,14 @@ definitions:
|
|||||||
description: >-
|
description: >-
|
||||||
Note: Table columns can be referred by prefixing $ e.g $id.
|
Note: Table columns can be referred by prefixing $ e.g $id.
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-relationships.html#inputarguments
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#inputarguments
|
||||||
title: InputArguments
|
title: InputArguments
|
||||||
type: object
|
type: object
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: string
|
type: string
|
||||||
QueryCollectionEntry:
|
QueryCollectionEntry:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/query-collections.html#args-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/query-collections.html#args-syntax
|
||||||
title: QueryCollectionEntry
|
title: QueryCollectionEntry
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -1078,7 +1078,7 @@ definitions:
|
|||||||
- name
|
- name
|
||||||
QueryCollection:
|
QueryCollection:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#collectionquery
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#collectionquery
|
||||||
title: QueryCollection
|
title: QueryCollection
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -1093,7 +1093,7 @@ definitions:
|
|||||||
- query
|
- query
|
||||||
AllowList:
|
AllowList:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/query-collections.html#add-collection-to-allowlist-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/query-collections.html#add-collection-to-allowlist-syntax
|
||||||
title: AllowList
|
title: AllowList
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -1129,7 +1129,7 @@ definitions:
|
|||||||
title: enums
|
title: enums
|
||||||
InputObjectType:
|
InputObjectType:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#inputobjecttype
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#inputobjecttype
|
||||||
title: InputObjectType
|
title: InputObjectType
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -1152,7 +1152,7 @@ definitions:
|
|||||||
- name
|
- name
|
||||||
InputObjectField:
|
InputObjectField:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#inputobjectfield
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#inputobjectfield
|
||||||
title: InputObjectField
|
title: InputObjectField
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -1173,7 +1173,7 @@ definitions:
|
|||||||
- type
|
- type
|
||||||
ObjectType:
|
ObjectType:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#objecttype
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#objecttype
|
||||||
title: ObjectType
|
title: ObjectType
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -1202,7 +1202,7 @@ definitions:
|
|||||||
- name
|
- name
|
||||||
ObjectField:
|
ObjectField:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#objectfield
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#objectfield
|
||||||
title: ObjectField
|
title: ObjectField
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -1223,7 +1223,7 @@ definitions:
|
|||||||
- type
|
- type
|
||||||
CustomTypeObjectRelationship:
|
CustomTypeObjectRelationship:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#objectrelationship
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#objectrelationship
|
||||||
title: CustomTypeObjectRelationship
|
title: CustomTypeObjectRelationship
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -1257,7 +1257,7 @@ definitions:
|
|||||||
- type
|
- type
|
||||||
ScalarType:
|
ScalarType:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#scalartype
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#scalartype
|
||||||
title: ScalarType
|
title: ScalarType
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -1273,7 +1273,7 @@ definitions:
|
|||||||
- name
|
- name
|
||||||
EnumType:
|
EnumType:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#enumtype
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#enumtype
|
||||||
title: EnumType
|
title: EnumType
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -1296,7 +1296,7 @@ definitions:
|
|||||||
- values
|
- values
|
||||||
EnumValue:
|
EnumValue:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#enumvalue
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#enumvalue
|
||||||
title: EnumValue
|
title: EnumValue
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -1316,7 +1316,7 @@ definitions:
|
|||||||
- value
|
- value
|
||||||
Action:
|
Action:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/actions.html#args-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/actions.html#args-syntax
|
||||||
title: Action
|
title: Action
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -1347,7 +1347,7 @@ definitions:
|
|||||||
- name
|
- name
|
||||||
ActionDefinition:
|
ActionDefinition:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/actions.html#actiondefinition
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/actions.html#actiondefinition
|
||||||
title: ActionDefinition
|
title: ActionDefinition
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -1390,7 +1390,7 @@ definitions:
|
|||||||
- handler
|
- handler
|
||||||
InputArgument:
|
InputArgument:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/actions.html#inputargument
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/actions.html#inputargument
|
||||||
title: InputArgument
|
title: InputArgument
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -1407,7 +1407,7 @@ definitions:
|
|||||||
description: >-
|
description: >-
|
||||||
Type used in exported 'metadata.json' and replace metadata endpoint
|
Type used in exported 'metadata.json' and replace metadata endpoint
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/manage-metadata.html#replace-metadata
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/manage-metadata.html#replace-metadata
|
||||||
title: HasuraMetadataV2
|
title: HasuraMetadataV2
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
@ -64,7 +64,7 @@
|
|||||||
"required": ["name", "schema"]
|
"required": ["name", "schema"]
|
||||||
},
|
},
|
||||||
"TableConfig": {
|
"TableConfig": {
|
||||||
"description": "Configuration for the table/view\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/table-view.html#table-config",
|
"description": "Configuration for the table/view\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#table-config",
|
||||||
"title": "TableConfig",
|
"title": "TableConfig",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -94,7 +94,7 @@
|
|||||||
"title": "is_enum"
|
"title": "is_enum"
|
||||||
},
|
},
|
||||||
"configuration": {
|
"configuration": {
|
||||||
"description": "Configuration for the table/view\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/table-view.html#table-config",
|
"description": "Configuration for the table/view\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#table-config",
|
||||||
"$ref": "#/definitions/TableConfig",
|
"$ref": "#/definitions/TableConfig",
|
||||||
"title": "configuration"
|
"title": "configuration"
|
||||||
},
|
},
|
||||||
@ -165,7 +165,7 @@
|
|||||||
"required": ["table"]
|
"required": ["table"]
|
||||||
},
|
},
|
||||||
"CustomRootFields": {
|
"CustomRootFields": {
|
||||||
"description": "Customise the root fields\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/table-view.html#custom-root-fields",
|
"description": "Customise the root fields\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#custom-root-fields",
|
||||||
"title": "CustomRootFields",
|
"title": "CustomRootFields",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -250,7 +250,7 @@
|
|||||||
"required": ["name", "schema"]
|
"required": ["name", "schema"]
|
||||||
},
|
},
|
||||||
"Function": {
|
"Function": {
|
||||||
"description": "A custom SQL function to add to the GraphQL schema with configuration.\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-functions.html#args-syntax",
|
"description": "A custom SQL function to add to the GraphQL schema with configuration.\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-functions.html#args-syntax",
|
||||||
"title": "Function",
|
"title": "Function",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -275,7 +275,7 @@
|
|||||||
"required": ["function"]
|
"required": ["function"]
|
||||||
},
|
},
|
||||||
"FunctionConfiguration": {
|
"FunctionConfiguration": {
|
||||||
"description": "Configuration for a CustomFunction\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-functions.html#function-configuration",
|
"description": "Configuration for a CustomFunction\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-functions.html#function-configuration",
|
||||||
"title": "FunctionConfiguration",
|
"title": "FunctionConfiguration",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -287,7 +287,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ObjectRelationship": {
|
"ObjectRelationship": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#args-syntax",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#args-syntax",
|
||||||
"title": "ObjectRelationship",
|
"title": "ObjectRelationship",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -310,7 +310,7 @@
|
|||||||
"required": ["name", "using"]
|
"required": ["name", "using"]
|
||||||
},
|
},
|
||||||
"ObjRelUsing": {
|
"ObjRelUsing": {
|
||||||
"description": "Use one of the available ways to define an object relationship\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#objrelusing",
|
"description": "Use one of the available ways to define an object relationship\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#objrelusing",
|
||||||
"title": "ObjRelUsing",
|
"title": "ObjRelUsing",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -327,7 +327,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ObjRelUsingManualMapping": {
|
"ObjRelUsingManualMapping": {
|
||||||
"description": "Manual mapping of table and columns\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#objrelusingmanualmapping",
|
"description": "Manual mapping of table and columns\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#objrelusingmanualmapping",
|
||||||
"title": "ObjRelUsingManualMapping",
|
"title": "ObjRelUsingManualMapping",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -355,7 +355,7 @@
|
|||||||
"required": ["column_mapping", "remote_table"]
|
"required": ["column_mapping", "remote_table"]
|
||||||
},
|
},
|
||||||
"ArrayRelationship": {
|
"ArrayRelationship": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#create-array-relationship-syntax",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#create-array-relationship-syntax",
|
||||||
"title": "ArrayRelationship",
|
"title": "ArrayRelationship",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -378,7 +378,7 @@
|
|||||||
"required": ["name", "using"]
|
"required": ["name", "using"]
|
||||||
},
|
},
|
||||||
"ArrRelUsing": {
|
"ArrRelUsing": {
|
||||||
"description": "Use one of the available ways to define an object relationship\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#arrrelusing",
|
"description": "Use one of the available ways to define an object relationship\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#arrrelusing",
|
||||||
"title": "ArrRelUsing",
|
"title": "ArrRelUsing",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -395,7 +395,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ArrRelUsingFKeyOn": {
|
"ArrRelUsingFKeyOn": {
|
||||||
"description": "The column with foreign key constraint\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#arrrelusingfkeyon",
|
"description": "The column with foreign key constraint\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#arrrelusingfkeyon",
|
||||||
"title": "ArrRelUsingFKeyOn",
|
"title": "ArrRelUsingFKeyOn",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -418,7 +418,7 @@
|
|||||||
"required": ["column", "table"]
|
"required": ["column", "table"]
|
||||||
},
|
},
|
||||||
"ArrRelUsingManualMapping": {
|
"ArrRelUsingManualMapping": {
|
||||||
"description": "Manual mapping of table and columns\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#arrrelusingmanualmapping",
|
"description": "Manual mapping of table and columns\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#arrrelusingmanualmapping",
|
||||||
"title": "ArrRelUsingManualMapping",
|
"title": "ArrRelUsingManualMapping",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -446,7 +446,7 @@
|
|||||||
"required": ["column_mapping", "remote_table"]
|
"required": ["column_mapping", "remote_table"]
|
||||||
},
|
},
|
||||||
"ColumnPresetsExpression": {
|
"ColumnPresetsExpression": {
|
||||||
"description": "Preset values for columns that can be sourced from session variables or static values.\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#columnpresetexp",
|
"description": "Preset values for columns that can be sourced from session variables or static values.\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#columnpresetexp",
|
||||||
"title": "ColumnPresetsExpression",
|
"title": "ColumnPresetsExpression",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
@ -454,7 +454,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"InsertPermissionEntry": {
|
"InsertPermissionEntry": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#args-syntax",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#args-syntax",
|
||||||
"title": "InsertPermissionEntry",
|
"title": "InsertPermissionEntry",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -477,7 +477,7 @@
|
|||||||
"required": ["permission", "role"]
|
"required": ["permission", "role"]
|
||||||
},
|
},
|
||||||
"InsertPermission": {
|
"InsertPermission": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#insertpermission",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#insertpermission",
|
||||||
"title": "InsertPermission",
|
"title": "InsertPermission",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -528,7 +528,7 @@
|
|||||||
"required": ["columns"]
|
"required": ["columns"]
|
||||||
},
|
},
|
||||||
"SelectPermissionEntry": {
|
"SelectPermissionEntry": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#create-select-permission-syntax",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#create-select-permission-syntax",
|
||||||
"title": "SelectPermissionEntry",
|
"title": "SelectPermissionEntry",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -551,7 +551,7 @@
|
|||||||
"required": ["permission", "role"]
|
"required": ["permission", "role"]
|
||||||
},
|
},
|
||||||
"SelectPermission": {
|
"SelectPermission": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#selectpermission",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#selectpermission",
|
||||||
"title": "SelectPermission",
|
"title": "SelectPermission",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -610,7 +610,7 @@
|
|||||||
"required": ["columns"]
|
"required": ["columns"]
|
||||||
},
|
},
|
||||||
"UpdatePermissionEntry": {
|
"UpdatePermissionEntry": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#create-update-permission-syntax",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#create-update-permission-syntax",
|
||||||
"title": "UpdatePermissionEntry",
|
"title": "UpdatePermissionEntry",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -633,7 +633,7 @@
|
|||||||
"required": ["permission", "role"]
|
"required": ["permission", "role"]
|
||||||
},
|
},
|
||||||
"UpdatePermission": {
|
"UpdatePermission": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#updatepermission",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#updatepermission",
|
||||||
"title": "UpdatePermission",
|
"title": "UpdatePermission",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -696,7 +696,7 @@
|
|||||||
"required": ["columns"]
|
"required": ["columns"]
|
||||||
},
|
},
|
||||||
"DeletePermissionEntry": {
|
"DeletePermissionEntry": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#create-delete-permission-syntax",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#create-delete-permission-syntax",
|
||||||
"title": "DeletePermissionEntry",
|
"title": "DeletePermissionEntry",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -719,7 +719,7 @@
|
|||||||
"required": ["permission", "role"]
|
"required": ["permission", "role"]
|
||||||
},
|
},
|
||||||
"DeletePermission": {
|
"DeletePermission": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#deletepermission",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#deletepermission",
|
||||||
"title": "DeletePermission",
|
"title": "DeletePermission",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -743,7 +743,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ComputedField": {
|
"ComputedField": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/computed-field.html#args-syntax",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/computed-field.html#args-syntax",
|
||||||
"title": "ComputedField",
|
"title": "ComputedField",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -766,7 +766,7 @@
|
|||||||
"required": ["definition", "name"]
|
"required": ["definition", "name"]
|
||||||
},
|
},
|
||||||
"ComputedFieldDefinition": {
|
"ComputedFieldDefinition": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/computed-field.html#computedfielddefinition",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/computed-field.html#computedfielddefinition",
|
||||||
"title": "ComputedFieldDefinition",
|
"title": "ComputedFieldDefinition",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -796,7 +796,7 @@
|
|||||||
"required": ["function"]
|
"required": ["function"]
|
||||||
},
|
},
|
||||||
"EventTrigger": {
|
"EventTrigger": {
|
||||||
"description": "NOTE: The metadata type doesn't QUITE match the \"create\" arguments here\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#create-event-trigger",
|
"description": "NOTE: The metadata type doesn't QUITE match the \"create\" arguments here\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#create-event-trigger",
|
||||||
"title": "EventTrigger",
|
"title": "EventTrigger",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -851,17 +851,17 @@
|
|||||||
"title": "enable_manual"
|
"title": "enable_manual"
|
||||||
},
|
},
|
||||||
"insert": {
|
"insert": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec",
|
||||||
"$ref": "#/definitions/OperationSpec",
|
"$ref": "#/definitions/OperationSpec",
|
||||||
"title": "insert"
|
"title": "insert"
|
||||||
},
|
},
|
||||||
"delete": {
|
"delete": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec",
|
||||||
"$ref": "#/definitions/OperationSpec",
|
"$ref": "#/definitions/OperationSpec",
|
||||||
"title": "delete"
|
"title": "delete"
|
||||||
},
|
},
|
||||||
"update": {
|
"update": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec",
|
||||||
"$ref": "#/definitions/OperationSpec",
|
"$ref": "#/definitions/OperationSpec",
|
||||||
"title": "update"
|
"title": "update"
|
||||||
}
|
}
|
||||||
@ -883,12 +883,12 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"OperationSpec": {
|
"OperationSpec": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec",
|
||||||
"title": "OperationSpec",
|
"title": "OperationSpec",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"columns": {
|
"columns": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns",
|
||||||
"anyOf": [
|
"anyOf": [
|
||||||
{
|
{
|
||||||
"type": "array",
|
"type": "array",
|
||||||
@ -904,7 +904,7 @@
|
|||||||
"title": "columns"
|
"title": "columns"
|
||||||
},
|
},
|
||||||
"payload": {
|
"payload": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns",
|
||||||
"anyOf": [
|
"anyOf": [
|
||||||
{
|
{
|
||||||
"type": "array",
|
"type": "array",
|
||||||
@ -923,7 +923,7 @@
|
|||||||
"required": ["columns"]
|
"required": ["columns"]
|
||||||
},
|
},
|
||||||
"HeaderFromValue": {
|
"HeaderFromValue": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#headerfromvalue",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#headerfromvalue",
|
||||||
"title": "HeaderFromValue",
|
"title": "HeaderFromValue",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -941,7 +941,7 @@
|
|||||||
"required": ["name", "value"]
|
"required": ["name", "value"]
|
||||||
},
|
},
|
||||||
"HeaderFromEnv": {
|
"HeaderFromEnv": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#headerfromenv",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#headerfromenv",
|
||||||
"title": "HeaderFromEnv",
|
"title": "HeaderFromEnv",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -959,7 +959,7 @@
|
|||||||
"required": ["name", "value_from_env"]
|
"required": ["name", "value_from_env"]
|
||||||
},
|
},
|
||||||
"RetryConf": {
|
"RetryConf": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#retryconf",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#retryconf",
|
||||||
"title": "RetryConf",
|
"title": "RetryConf",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -981,7 +981,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"CronTrigger": {
|
"CronTrigger": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/scheduled-triggers.html#create-cron-trigger",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/scheduled-triggers.html#create-cron-trigger",
|
||||||
"title": "CronTrigger",
|
"title": "CronTrigger",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1047,7 +1047,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"RetryConfST": {
|
"RetryConfST": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/scheduled-triggers.html#retryconfst",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/scheduled-triggers.html#retryconfst",
|
||||||
"title": "RetryConfST",
|
"title": "RetryConfST",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1074,7 +1074,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"RemoteSchema": {
|
"RemoteSchema": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-schemas.html#add-remote-schema",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-schemas.html#add-remote-schema",
|
||||||
"title": "RemoteSchema",
|
"title": "RemoteSchema",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1097,7 +1097,7 @@
|
|||||||
"required": ["definition", "name"]
|
"required": ["definition", "name"]
|
||||||
},
|
},
|
||||||
"RemoteSchemaDef": {
|
"RemoteSchemaDef": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#remoteschemadef",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#remoteschemadef",
|
||||||
"title": "RemoteSchemaDef",
|
"title": "RemoteSchemaDef",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1134,7 +1134,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"RemoteRelationship": {
|
"RemoteRelationship": {
|
||||||
"description": "NOTE: Metadata shape is slightly different than \"create\" arguments here\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-relationships.html#args-syntax",
|
"description": "NOTE: Metadata shape is slightly different than \"create\" arguments here\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#args-syntax",
|
||||||
"title": "RemoteRelationship",
|
"title": "RemoteRelationship",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1177,7 +1177,7 @@
|
|||||||
"required": ["hasura_fields", "remote_field", "remote_schema"]
|
"required": ["hasura_fields", "remote_field", "remote_schema"]
|
||||||
},
|
},
|
||||||
"RemoteField": {
|
"RemoteField": {
|
||||||
"description": "A recursive tree structure that points to the field in the remote schema that needs to be joined with.\nIt is recursive because the remote field maybe nested deeply in the remote schema.\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-relationships.html#remotefield",
|
"description": "A recursive tree structure that points to the field in the remote schema that needs to be joined with.\nIt is recursive because the remote field maybe nested deeply in the remote schema.\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#remotefield",
|
||||||
"title": "RemoteField",
|
"title": "RemoteField",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
@ -1188,7 +1188,7 @@
|
|||||||
"title": "arguments"
|
"title": "arguments"
|
||||||
},
|
},
|
||||||
"field": {
|
"field": {
|
||||||
"description": "A recursive tree structure that points to the field in the remote schema that needs to be joined with.\nIt is recursive because the remote field maybe nested deeply in the remote schema.\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-relationships.html#remotefield",
|
"description": "A recursive tree structure that points to the field in the remote schema that needs to be joined with.\nIt is recursive because the remote field maybe nested deeply in the remote schema.\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#remotefield",
|
||||||
"$ref": "#/definitions/RemoteField",
|
"$ref": "#/definitions/RemoteField",
|
||||||
"title": "field"
|
"title": "field"
|
||||||
}
|
}
|
||||||
@ -1197,7 +1197,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"InputArguments": {
|
"InputArguments": {
|
||||||
"description": "Note: Table columns can be referred by prefixing $ e.g $id.\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-relationships.html#inputarguments",
|
"description": "Note: Table columns can be referred by prefixing $ e.g $id.\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#inputarguments",
|
||||||
"title": "InputArguments",
|
"title": "InputArguments",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
@ -1205,7 +1205,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"QueryCollectionEntry": {
|
"QueryCollectionEntry": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/query-collections.html#args-syntax",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/query-collections.html#args-syntax",
|
||||||
"title": "QueryCollectionEntry",
|
"title": "QueryCollectionEntry",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1238,7 +1238,7 @@
|
|||||||
"required": ["definition", "name"]
|
"required": ["definition", "name"]
|
||||||
},
|
},
|
||||||
"QueryCollection": {
|
"QueryCollection": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#collectionquery",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#collectionquery",
|
||||||
"title": "QueryCollection",
|
"title": "QueryCollection",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1254,7 +1254,7 @@
|
|||||||
"required": ["name", "query"]
|
"required": ["name", "query"]
|
||||||
},
|
},
|
||||||
"AllowList": {
|
"AllowList": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/query-collections.html#add-collection-to-allowlist-syntax",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/query-collections.html#add-collection-to-allowlist-syntax",
|
||||||
"title": "AllowList",
|
"title": "AllowList",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1301,7 +1301,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"InputObjectType": {
|
"InputObjectType": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#inputobjecttype",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#inputobjecttype",
|
||||||
"title": "InputObjectType",
|
"title": "InputObjectType",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1327,7 +1327,7 @@
|
|||||||
"required": ["fields", "name"]
|
"required": ["fields", "name"]
|
||||||
},
|
},
|
||||||
"InputObjectField": {
|
"InputObjectField": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#inputobjectfield",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#inputobjectfield",
|
||||||
"title": "InputObjectField",
|
"title": "InputObjectField",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1350,7 +1350,7 @@
|
|||||||
"required": ["name", "type"]
|
"required": ["name", "type"]
|
||||||
},
|
},
|
||||||
"ObjectType": {
|
"ObjectType": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#objecttype",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#objecttype",
|
||||||
"title": "ObjectType",
|
"title": "ObjectType",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1384,7 +1384,7 @@
|
|||||||
"required": ["fields", "name"]
|
"required": ["fields", "name"]
|
||||||
},
|
},
|
||||||
"ObjectField": {
|
"ObjectField": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#objectfield",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#objectfield",
|
||||||
"title": "ObjectField",
|
"title": "ObjectField",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1407,7 +1407,7 @@
|
|||||||
"required": ["name", "type"]
|
"required": ["name", "type"]
|
||||||
},
|
},
|
||||||
"CustomTypeObjectRelationship": {
|
"CustomTypeObjectRelationship": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#objectrelationship",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#objectrelationship",
|
||||||
"title": "CustomTypeObjectRelationship",
|
"title": "CustomTypeObjectRelationship",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1446,7 +1446,7 @@
|
|||||||
"required": ["field_mapping", "name", "remote_table", "type"]
|
"required": ["field_mapping", "name", "remote_table", "type"]
|
||||||
},
|
},
|
||||||
"ScalarType": {
|
"ScalarType": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#scalartype",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#scalartype",
|
||||||
"title": "ScalarType",
|
"title": "ScalarType",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1464,7 +1464,7 @@
|
|||||||
"required": ["name"]
|
"required": ["name"]
|
||||||
},
|
},
|
||||||
"EnumType": {
|
"EnumType": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#enumtype",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#enumtype",
|
||||||
"title": "EnumType",
|
"title": "EnumType",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1490,7 +1490,7 @@
|
|||||||
"required": ["name", "values"]
|
"required": ["name", "values"]
|
||||||
},
|
},
|
||||||
"EnumValue": {
|
"EnumValue": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#enumvalue",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#enumvalue",
|
||||||
"title": "EnumValue",
|
"title": "EnumValue",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1513,7 +1513,7 @@
|
|||||||
"required": ["value"]
|
"required": ["value"]
|
||||||
},
|
},
|
||||||
"Action": {
|
"Action": {
|
||||||
"description": "NOTE: Metadata type is slightly different than \"create\" type\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/actions.html#args-syntax",
|
"description": "NOTE: Metadata type is slightly different than \"create\" type\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/actions.html#args-syntax",
|
||||||
"title": "Action",
|
"title": "Action",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1548,7 +1548,7 @@
|
|||||||
"required": ["definition", "name"]
|
"required": ["definition", "name"]
|
||||||
},
|
},
|
||||||
"ActionDefinition": {
|
"ActionDefinition": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/actions.html#actiondefinition",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/actions.html#actiondefinition",
|
||||||
"title": "ActionDefinition",
|
"title": "ActionDefinition",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1599,7 +1599,7 @@
|
|||||||
"required": ["handler"]
|
"required": ["handler"]
|
||||||
},
|
},
|
||||||
"InputArgument": {
|
"InputArgument": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/actions.html#inputargument",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/actions.html#inputargument",
|
||||||
"title": "InputArgument",
|
"title": "InputArgument",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -64,7 +64,7 @@
|
|||||||
"required": ["name", "schema"]
|
"required": ["name", "schema"]
|
||||||
},
|
},
|
||||||
"TableConfig": {
|
"TableConfig": {
|
||||||
"description": "Configuration for the table/view\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/table-view.html#table-config",
|
"description": "Configuration for the table/view\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#table-config",
|
||||||
"title": "TableConfig",
|
"title": "TableConfig",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -94,7 +94,7 @@
|
|||||||
"title": "is_enum"
|
"title": "is_enum"
|
||||||
},
|
},
|
||||||
"configuration": {
|
"configuration": {
|
||||||
"description": "Configuration for the table/view\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/table-view.html#table-config",
|
"description": "Configuration for the table/view\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#table-config",
|
||||||
"$ref": "#/definitions/TableConfig",
|
"$ref": "#/definitions/TableConfig",
|
||||||
"title": "configuration"
|
"title": "configuration"
|
||||||
},
|
},
|
||||||
@ -165,7 +165,7 @@
|
|||||||
"required": ["table"]
|
"required": ["table"]
|
||||||
},
|
},
|
||||||
"CustomRootFields": {
|
"CustomRootFields": {
|
||||||
"description": "Customise the root fields\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/table-view.html#custom-root-fields",
|
"description": "Customise the root fields\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#custom-root-fields",
|
||||||
"title": "CustomRootFields",
|
"title": "CustomRootFields",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -250,7 +250,7 @@
|
|||||||
"required": ["name", "schema"]
|
"required": ["name", "schema"]
|
||||||
},
|
},
|
||||||
"CustomFunction": {
|
"CustomFunction": {
|
||||||
"description": "A custom SQL function to add to the GraphQL schema with configuration.\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-functions.html#args-syntax",
|
"description": "A custom SQL function to add to the GraphQL schema with configuration.\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-functions.html#args-syntax",
|
||||||
"title": "CustomFunction",
|
"title": "CustomFunction",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -275,7 +275,7 @@
|
|||||||
"required": ["function"]
|
"required": ["function"]
|
||||||
},
|
},
|
||||||
"FunctionConfiguration": {
|
"FunctionConfiguration": {
|
||||||
"description": "Configuration for a CustomFunction\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-functions.html#function-configuration",
|
"description": "Configuration for a CustomFunction\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-functions.html#function-configuration",
|
||||||
"title": "FunctionConfiguration",
|
"title": "FunctionConfiguration",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -287,7 +287,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ObjectRelationship": {
|
"ObjectRelationship": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#args-syntax",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#args-syntax",
|
||||||
"title": "ObjectRelationship",
|
"title": "ObjectRelationship",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -310,7 +310,7 @@
|
|||||||
"required": ["name", "using"]
|
"required": ["name", "using"]
|
||||||
},
|
},
|
||||||
"ObjRelUsing": {
|
"ObjRelUsing": {
|
||||||
"description": "Use one of the available ways to define an object relationship\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#objrelusing",
|
"description": "Use one of the available ways to define an object relationship\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#objrelusing",
|
||||||
"title": "ObjRelUsing",
|
"title": "ObjRelUsing",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -327,7 +327,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ObjRelUsingManualMapping": {
|
"ObjRelUsingManualMapping": {
|
||||||
"description": "Manual mapping of table and columns\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#objrelusingmanualmapping",
|
"description": "Manual mapping of table and columns\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#objrelusingmanualmapping",
|
||||||
"title": "ObjRelUsingManualMapping",
|
"title": "ObjRelUsingManualMapping",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -355,7 +355,7 @@
|
|||||||
"required": ["column_mapping", "remote_table"]
|
"required": ["column_mapping", "remote_table"]
|
||||||
},
|
},
|
||||||
"ArrayRelationship": {
|
"ArrayRelationship": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#create-array-relationship-syntax",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#create-array-relationship-syntax",
|
||||||
"title": "ArrayRelationship",
|
"title": "ArrayRelationship",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -378,7 +378,7 @@
|
|||||||
"required": ["name", "using"]
|
"required": ["name", "using"]
|
||||||
},
|
},
|
||||||
"ArrRelUsing": {
|
"ArrRelUsing": {
|
||||||
"description": "Use one of the available ways to define an object relationship\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#arrrelusing",
|
"description": "Use one of the available ways to define an object relationship\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#arrrelusing",
|
||||||
"title": "ArrRelUsing",
|
"title": "ArrRelUsing",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -395,7 +395,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ArrRelUsingFKeyOn": {
|
"ArrRelUsingFKeyOn": {
|
||||||
"description": "The column with foreign key constraint\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#arrrelusingfkeyon",
|
"description": "The column with foreign key constraint\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#arrrelusingfkeyon",
|
||||||
"title": "ArrRelUsingFKeyOn",
|
"title": "ArrRelUsingFKeyOn",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -418,7 +418,7 @@
|
|||||||
"required": ["column", "table"]
|
"required": ["column", "table"]
|
||||||
},
|
},
|
||||||
"ArrRelUsingManualMapping": {
|
"ArrRelUsingManualMapping": {
|
||||||
"description": "Manual mapping of table and columns\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#arrrelusingmanualmapping",
|
"description": "Manual mapping of table and columns\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#arrrelusingmanualmapping",
|
||||||
"title": "ArrRelUsingManualMapping",
|
"title": "ArrRelUsingManualMapping",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -446,7 +446,7 @@
|
|||||||
"required": ["column_mapping", "remote_table"]
|
"required": ["column_mapping", "remote_table"]
|
||||||
},
|
},
|
||||||
"ColumnPresetsExpression": {
|
"ColumnPresetsExpression": {
|
||||||
"description": "Preset values for columns that can be sourced from session variables or static values.\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#columnpresetexp",
|
"description": "Preset values for columns that can be sourced from session variables or static values.\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#columnpresetexp",
|
||||||
"title": "ColumnPresetsExpression",
|
"title": "ColumnPresetsExpression",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
@ -454,7 +454,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"InsertPermissionEntry": {
|
"InsertPermissionEntry": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#args-syntax",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#args-syntax",
|
||||||
"title": "InsertPermissionEntry",
|
"title": "InsertPermissionEntry",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -477,7 +477,7 @@
|
|||||||
"required": ["permission", "role"]
|
"required": ["permission", "role"]
|
||||||
},
|
},
|
||||||
"InsertPermission": {
|
"InsertPermission": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#insertpermission",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#insertpermission",
|
||||||
"title": "InsertPermission",
|
"title": "InsertPermission",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -528,7 +528,7 @@
|
|||||||
"required": ["columns"]
|
"required": ["columns"]
|
||||||
},
|
},
|
||||||
"SelectPermissionEntry": {
|
"SelectPermissionEntry": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#create-select-permission-syntax",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#create-select-permission-syntax",
|
||||||
"title": "SelectPermissionEntry",
|
"title": "SelectPermissionEntry",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -551,7 +551,7 @@
|
|||||||
"required": ["permission", "role"]
|
"required": ["permission", "role"]
|
||||||
},
|
},
|
||||||
"SelectPermission": {
|
"SelectPermission": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#selectpermission",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#selectpermission",
|
||||||
"title": "SelectPermission",
|
"title": "SelectPermission",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -610,7 +610,7 @@
|
|||||||
"required": ["columns"]
|
"required": ["columns"]
|
||||||
},
|
},
|
||||||
"UpdatePermissionEntry": {
|
"UpdatePermissionEntry": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#create-update-permission-syntax",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#create-update-permission-syntax",
|
||||||
"title": "UpdatePermissionEntry",
|
"title": "UpdatePermissionEntry",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -633,7 +633,7 @@
|
|||||||
"required": ["permission", "role"]
|
"required": ["permission", "role"]
|
||||||
},
|
},
|
||||||
"UpdatePermission": {
|
"UpdatePermission": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#updatepermission",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#updatepermission",
|
||||||
"title": "UpdatePermission",
|
"title": "UpdatePermission",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -696,7 +696,7 @@
|
|||||||
"required": ["columns"]
|
"required": ["columns"]
|
||||||
},
|
},
|
||||||
"DeletePermissionEntry": {
|
"DeletePermissionEntry": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#create-delete-permission-syntax",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#create-delete-permission-syntax",
|
||||||
"title": "DeletePermissionEntry",
|
"title": "DeletePermissionEntry",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -719,7 +719,7 @@
|
|||||||
"required": ["permission", "role"]
|
"required": ["permission", "role"]
|
||||||
},
|
},
|
||||||
"DeletePermission": {
|
"DeletePermission": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#deletepermission",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#deletepermission",
|
||||||
"title": "DeletePermission",
|
"title": "DeletePermission",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -743,7 +743,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ComputedField": {
|
"ComputedField": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/computed-field.html#args-syntax",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/computed-field.html#args-syntax",
|
||||||
"title": "ComputedField",
|
"title": "ComputedField",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -766,7 +766,7 @@
|
|||||||
"required": ["definition", "name"]
|
"required": ["definition", "name"]
|
||||||
},
|
},
|
||||||
"ComputedFieldDefinition": {
|
"ComputedFieldDefinition": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/computed-field.html#computedfielddefinition",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/computed-field.html#computedfielddefinition",
|
||||||
"title": "ComputedFieldDefinition",
|
"title": "ComputedFieldDefinition",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -796,7 +796,7 @@
|
|||||||
"required": ["function"]
|
"required": ["function"]
|
||||||
},
|
},
|
||||||
"EventTrigger": {
|
"EventTrigger": {
|
||||||
"description": "NOTE: The metadata type doesn't QUITE match the 'create' arguments here\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#create-event-trigger",
|
"description": "NOTE: The metadata type doesn't QUITE match the 'create' arguments here\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#create-event-trigger",
|
||||||
"title": "EventTrigger",
|
"title": "EventTrigger",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -851,17 +851,17 @@
|
|||||||
"title": "enable_manual"
|
"title": "enable_manual"
|
||||||
},
|
},
|
||||||
"insert": {
|
"insert": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec",
|
||||||
"$ref": "#/definitions/OperationSpec",
|
"$ref": "#/definitions/OperationSpec",
|
||||||
"title": "insert"
|
"title": "insert"
|
||||||
},
|
},
|
||||||
"delete": {
|
"delete": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec",
|
||||||
"$ref": "#/definitions/OperationSpec",
|
"$ref": "#/definitions/OperationSpec",
|
||||||
"title": "delete"
|
"title": "delete"
|
||||||
},
|
},
|
||||||
"update": {
|
"update": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec",
|
||||||
"$ref": "#/definitions/OperationSpec",
|
"$ref": "#/definitions/OperationSpec",
|
||||||
"title": "update"
|
"title": "update"
|
||||||
}
|
}
|
||||||
@ -883,12 +883,12 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"OperationSpec": {
|
"OperationSpec": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec",
|
||||||
"title": "OperationSpec",
|
"title": "OperationSpec",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"columns": {
|
"columns": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns",
|
||||||
"anyOf": [
|
"anyOf": [
|
||||||
{
|
{
|
||||||
"type": "array",
|
"type": "array",
|
||||||
@ -904,7 +904,7 @@
|
|||||||
"title": "columns"
|
"title": "columns"
|
||||||
},
|
},
|
||||||
"payload": {
|
"payload": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns",
|
||||||
"anyOf": [
|
"anyOf": [
|
||||||
{
|
{
|
||||||
"type": "array",
|
"type": "array",
|
||||||
@ -923,7 +923,7 @@
|
|||||||
"required": ["columns"]
|
"required": ["columns"]
|
||||||
},
|
},
|
||||||
"HeaderFromValue": {
|
"HeaderFromValue": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#headerfromvalue",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#headerfromvalue",
|
||||||
"title": "HeaderFromValue",
|
"title": "HeaderFromValue",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -941,7 +941,7 @@
|
|||||||
"required": ["name", "value"]
|
"required": ["name", "value"]
|
||||||
},
|
},
|
||||||
"HeaderFromEnv": {
|
"HeaderFromEnv": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#headerfromenv",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#headerfromenv",
|
||||||
"title": "HeaderFromEnv",
|
"title": "HeaderFromEnv",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -959,7 +959,7 @@
|
|||||||
"required": ["name", "value_from_env"]
|
"required": ["name", "value_from_env"]
|
||||||
},
|
},
|
||||||
"RetryConf": {
|
"RetryConf": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#retryconf",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#retryconf",
|
||||||
"title": "RetryConf",
|
"title": "RetryConf",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -981,7 +981,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"CronTrigger": {
|
"CronTrigger": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/scheduled-triggers.html#create-cron-trigger",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/scheduled-triggers.html#create-cron-trigger",
|
||||||
"title": "CronTrigger",
|
"title": "CronTrigger",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1047,7 +1047,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"RetryConfST": {
|
"RetryConfST": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/scheduled-triggers.html#retryconfst",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/scheduled-triggers.html#retryconfst",
|
||||||
"title": "RetryConfST",
|
"title": "RetryConfST",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1074,7 +1074,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"RemoteSchema": {
|
"RemoteSchema": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-schemas.html#add-remote-schema",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-schemas.html#add-remote-schema",
|
||||||
"title": "RemoteSchema",
|
"title": "RemoteSchema",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1097,7 +1097,7 @@
|
|||||||
"required": ["definition", "name"]
|
"required": ["definition", "name"]
|
||||||
},
|
},
|
||||||
"RemoteSchemaDef": {
|
"RemoteSchemaDef": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#remoteschemadef",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#remoteschemadef",
|
||||||
"title": "RemoteSchemaDef",
|
"title": "RemoteSchemaDef",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1134,7 +1134,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"RemoteRelationship": {
|
"RemoteRelationship": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-relationships.html#args-syntax",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#args-syntax",
|
||||||
"title": "RemoteRelationship",
|
"title": "RemoteRelationship",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1177,7 +1177,7 @@
|
|||||||
"required": ["hasura_fields", "remote_field", "remote_schema"]
|
"required": ["hasura_fields", "remote_field", "remote_schema"]
|
||||||
},
|
},
|
||||||
"RemoteField": {
|
"RemoteField": {
|
||||||
"description": "A recursive tree structure that points to the field in the remote schema that needs to be joined with.\nIt is recursive because the remote field maybe nested deeply in the remote schema.\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-relationships.html#remotefield",
|
"description": "A recursive tree structure that points to the field in the remote schema that needs to be joined with.\nIt is recursive because the remote field maybe nested deeply in the remote schema.\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#remotefield",
|
||||||
"title": "RemoteField",
|
"title": "RemoteField",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
@ -1188,7 +1188,7 @@
|
|||||||
"title": "arguments"
|
"title": "arguments"
|
||||||
},
|
},
|
||||||
"field": {
|
"field": {
|
||||||
"description": "A recursive tree structure that points to the field in the remote schema that needs to be joined with.\nIt is recursive because the remote field maybe nested deeply in the remote schema.\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-relationships.html#remotefield",
|
"description": "A recursive tree structure that points to the field in the remote schema that needs to be joined with.\nIt is recursive because the remote field maybe nested deeply in the remote schema.\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#remotefield",
|
||||||
"$ref": "#/definitions/RemoteField",
|
"$ref": "#/definitions/RemoteField",
|
||||||
"title": "field"
|
"title": "field"
|
||||||
}
|
}
|
||||||
@ -1197,7 +1197,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"InputArguments": {
|
"InputArguments": {
|
||||||
"description": "Note: Table columns can be referred by prefixing $ e.g $id.\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-relationships.html#inputarguments",
|
"description": "Note: Table columns can be referred by prefixing $ e.g $id.\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#inputarguments",
|
||||||
"title": "InputArguments",
|
"title": "InputArguments",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
@ -1205,7 +1205,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"QueryCollectionEntry": {
|
"QueryCollectionEntry": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/query-collections.html#args-syntax",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/query-collections.html#args-syntax",
|
||||||
"title": "QueryCollectionEntry",
|
"title": "QueryCollectionEntry",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1238,7 +1238,7 @@
|
|||||||
"required": ["definition", "name"]
|
"required": ["definition", "name"]
|
||||||
},
|
},
|
||||||
"QueryCollection": {
|
"QueryCollection": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#collectionquery",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#collectionquery",
|
||||||
"title": "QueryCollection",
|
"title": "QueryCollection",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1254,7 +1254,7 @@
|
|||||||
"required": ["name", "query"]
|
"required": ["name", "query"]
|
||||||
},
|
},
|
||||||
"AllowList": {
|
"AllowList": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/query-collections.html#add-collection-to-allowlist-syntax",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/query-collections.html#add-collection-to-allowlist-syntax",
|
||||||
"title": "AllowList",
|
"title": "AllowList",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1301,7 +1301,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"InputObjectType": {
|
"InputObjectType": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#inputobjecttype",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#inputobjecttype",
|
||||||
"title": "InputObjectType",
|
"title": "InputObjectType",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1327,7 +1327,7 @@
|
|||||||
"required": ["fields", "name"]
|
"required": ["fields", "name"]
|
||||||
},
|
},
|
||||||
"InputObjectField": {
|
"InputObjectField": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#inputobjectfield",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#inputobjectfield",
|
||||||
"title": "InputObjectField",
|
"title": "InputObjectField",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1350,7 +1350,7 @@
|
|||||||
"required": ["name", "type"]
|
"required": ["name", "type"]
|
||||||
},
|
},
|
||||||
"ObjectType": {
|
"ObjectType": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#objecttype",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#objecttype",
|
||||||
"title": "ObjectType",
|
"title": "ObjectType",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1384,7 +1384,7 @@
|
|||||||
"required": ["fields", "name"]
|
"required": ["fields", "name"]
|
||||||
},
|
},
|
||||||
"ObjectField": {
|
"ObjectField": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#objectfield",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#objectfield",
|
||||||
"title": "ObjectField",
|
"title": "ObjectField",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1407,7 +1407,7 @@
|
|||||||
"required": ["name", "type"]
|
"required": ["name", "type"]
|
||||||
},
|
},
|
||||||
"CustomTypeObjectRelationship": {
|
"CustomTypeObjectRelationship": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#objectrelationship",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#objectrelationship",
|
||||||
"title": "CustomTypeObjectRelationship",
|
"title": "CustomTypeObjectRelationship",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1446,7 +1446,7 @@
|
|||||||
"required": ["field_mapping", "name", "remote_table", "type"]
|
"required": ["field_mapping", "name", "remote_table", "type"]
|
||||||
},
|
},
|
||||||
"ScalarType": {
|
"ScalarType": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#scalartype",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#scalartype",
|
||||||
"title": "ScalarType",
|
"title": "ScalarType",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1464,7 +1464,7 @@
|
|||||||
"required": ["name"]
|
"required": ["name"]
|
||||||
},
|
},
|
||||||
"EnumType": {
|
"EnumType": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#enumtype",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#enumtype",
|
||||||
"title": "EnumType",
|
"title": "EnumType",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1490,7 +1490,7 @@
|
|||||||
"required": ["name", "values"]
|
"required": ["name", "values"]
|
||||||
},
|
},
|
||||||
"EnumValue": {
|
"EnumValue": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#enumvalue",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#enumvalue",
|
||||||
"title": "EnumValue",
|
"title": "EnumValue",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1513,7 +1513,7 @@
|
|||||||
"required": ["value"]
|
"required": ["value"]
|
||||||
},
|
},
|
||||||
"Action": {
|
"Action": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/actions.html#args-syntax",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/actions.html#args-syntax",
|
||||||
"title": "Action",
|
"title": "Action",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1548,7 +1548,7 @@
|
|||||||
"required": ["definition", "name"]
|
"required": ["definition", "name"]
|
||||||
},
|
},
|
||||||
"ActionDefinition": {
|
"ActionDefinition": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/actions.html#actiondefinition",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/actions.html#actiondefinition",
|
||||||
"title": "ActionDefinition",
|
"title": "ActionDefinition",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1599,7 +1599,7 @@
|
|||||||
"required": ["handler"]
|
"required": ["handler"]
|
||||||
},
|
},
|
||||||
"InputArgument": {
|
"InputArgument": {
|
||||||
"description": "https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/actions.html#inputargument",
|
"description": "https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/actions.html#inputargument",
|
||||||
"title": "InputArgument",
|
"title": "InputArgument",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -1615,7 +1615,7 @@
|
|||||||
"required": ["name", "type"]
|
"required": ["name", "type"]
|
||||||
},
|
},
|
||||||
"HasuraMetadataV2": {
|
"HasuraMetadataV2": {
|
||||||
"description": "Type used in exported 'metadata.json' and replace metadata endpoint\nhttps://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/manage-metadata.html#replace-metadata",
|
"description": "Type used in exported 'metadata.json' and replace metadata endpoint\nhttps://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/manage-metadata.html#replace-metadata",
|
||||||
"title": "HasuraMetadataV2",
|
"title": "HasuraMetadataV2",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -50,7 +50,7 @@ definitions:
|
|||||||
description: >-
|
description: >-
|
||||||
Configuration for the table/view
|
Configuration for the table/view
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/table-view.html#table-config
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#table-config
|
||||||
title: TableConfig
|
title: TableConfig
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -77,7 +77,7 @@ definitions:
|
|||||||
description: >-
|
description: >-
|
||||||
Configuration for the table/view
|
Configuration for the table/view
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/table-view.html#table-config
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#table-config
|
||||||
$ref: "#/definitions/TableConfig"
|
$ref: "#/definitions/TableConfig"
|
||||||
title: configuration
|
title: configuration
|
||||||
event_triggers:
|
event_triggers:
|
||||||
@ -131,7 +131,7 @@ definitions:
|
|||||||
description: >-
|
description: >-
|
||||||
Customise the root fields
|
Customise the root fields
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/table-view.html#custom-root-fields
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#custom-root-fields
|
||||||
title: CustomRootFields
|
title: CustomRootFields
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -198,7 +198,7 @@ definitions:
|
|||||||
description: >-
|
description: >-
|
||||||
A custom SQL function to add to the GraphQL schema with configuration.
|
A custom SQL function to add to the GraphQL schema with configuration.
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-functions.html#args-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-functions.html#args-syntax
|
||||||
title: CustomFunction
|
title: CustomFunction
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -218,7 +218,7 @@ definitions:
|
|||||||
description: >-
|
description: >-
|
||||||
Configuration for a CustomFunction
|
Configuration for a CustomFunction
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-functions.html#function-configuration
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-functions.html#function-configuration
|
||||||
title: FunctionConfiguration
|
title: FunctionConfiguration
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -238,7 +238,7 @@ definitions:
|
|||||||
title: session_argument
|
title: session_argument
|
||||||
ObjectRelationship:
|
ObjectRelationship:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#args-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#args-syntax
|
||||||
title: ObjectRelationship
|
title: ObjectRelationship
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -261,7 +261,7 @@ definitions:
|
|||||||
description: >-
|
description: >-
|
||||||
Use one of the available ways to define an object relationship
|
Use one of the available ways to define an object relationship
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#objrelusing
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#objrelusing
|
||||||
title: ObjRelUsing
|
title: ObjRelUsing
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -277,7 +277,7 @@ definitions:
|
|||||||
description: >-
|
description: >-
|
||||||
Manual mapping of table and columns
|
Manual mapping of table and columns
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#objrelusingmanualmapping
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#objrelusingmanualmapping
|
||||||
title: ObjRelUsingManualMapping
|
title: ObjRelUsingManualMapping
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -298,7 +298,7 @@ definitions:
|
|||||||
- remote_table
|
- remote_table
|
||||||
ArrayRelationship:
|
ArrayRelationship:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#create-array-relationship-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#create-array-relationship-syntax
|
||||||
title: ArrayRelationship
|
title: ArrayRelationship
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -321,7 +321,7 @@ definitions:
|
|||||||
description: >-
|
description: >-
|
||||||
Use one of the available ways to define an object relationship
|
Use one of the available ways to define an object relationship
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#arrrelusing
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#arrrelusing
|
||||||
title: ArrRelUsing
|
title: ArrRelUsing
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -337,7 +337,7 @@ definitions:
|
|||||||
description: >-
|
description: >-
|
||||||
The column with foreign key constraint
|
The column with foreign key constraint
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#arrrelusingfkeyon
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#arrrelusingfkeyon
|
||||||
title: ArrRelUsingFKeyOn
|
title: ArrRelUsingFKeyOn
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -356,7 +356,7 @@ definitions:
|
|||||||
description: >-
|
description: >-
|
||||||
Manual mapping of table and columns
|
Manual mapping of table and columns
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#arrrelusingmanualmapping
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#arrrelusingmanualmapping
|
||||||
title: ArrRelUsingManualMapping
|
title: ArrRelUsingManualMapping
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -380,14 +380,14 @@ definitions:
|
|||||||
Preset values for columns that can be sourced from session variables or
|
Preset values for columns that can be sourced from session variables or
|
||||||
static values.
|
static values.
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#columnpresetexp
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#columnpresetexp
|
||||||
title: ColumnPresetsExpression
|
title: ColumnPresetsExpression
|
||||||
type: object
|
type: object
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: string
|
type: string
|
||||||
InsertPermissionEntry:
|
InsertPermissionEntry:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#args-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#args-syntax
|
||||||
title: InsertPermissionEntry
|
title: InsertPermissionEntry
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -408,7 +408,7 @@ definitions:
|
|||||||
- role
|
- role
|
||||||
InsertPermission:
|
InsertPermission:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#insertpermission
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#insertpermission
|
||||||
title: InsertPermission
|
title: InsertPermission
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -453,7 +453,7 @@ definitions:
|
|||||||
- columns
|
- columns
|
||||||
SelectPermissionEntry:
|
SelectPermissionEntry:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#create-select-permission-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#create-select-permission-syntax
|
||||||
title: SelectPermissionEntry
|
title: SelectPermissionEntry
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -474,7 +474,7 @@ definitions:
|
|||||||
- role
|
- role
|
||||||
SelectPermission:
|
SelectPermission:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#selectpermission
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#selectpermission
|
||||||
title: SelectPermission
|
title: SelectPermission
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -518,7 +518,7 @@ definitions:
|
|||||||
- columns
|
- columns
|
||||||
UpdatePermissionEntry:
|
UpdatePermissionEntry:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#create-update-permission-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#create-update-permission-syntax
|
||||||
title: UpdatePermissionEntry
|
title: UpdatePermissionEntry
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -539,7 +539,7 @@ definitions:
|
|||||||
- role
|
- role
|
||||||
UpdatePermission:
|
UpdatePermission:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#updatepermission
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#updatepermission
|
||||||
title: UpdatePermission
|
title: UpdatePermission
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -587,7 +587,7 @@ definitions:
|
|||||||
- columns
|
- columns
|
||||||
DeletePermissionEntry:
|
DeletePermissionEntry:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#create-delete-permission-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#create-delete-permission-syntax
|
||||||
title: DeletePermissionEntry
|
title: DeletePermissionEntry
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -608,7 +608,7 @@ definitions:
|
|||||||
- role
|
- role
|
||||||
DeletePermission:
|
DeletePermission:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#deletepermission
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#deletepermission
|
||||||
title: DeletePermission
|
title: DeletePermission
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -626,7 +626,7 @@ definitions:
|
|||||||
title: filter
|
title: filter
|
||||||
ComputedField:
|
ComputedField:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/computed-field.html#args-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/computed-field.html#args-syntax
|
||||||
title: ComputedField
|
title: ComputedField
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -647,7 +647,7 @@ definitions:
|
|||||||
- name
|
- name
|
||||||
ComputedFieldDefinition:
|
ComputedFieldDefinition:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/computed-field.html#computedfielddefinition
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/computed-field.html#computedfielddefinition
|
||||||
title: ComputedFieldDefinition
|
title: ComputedFieldDefinition
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -676,7 +676,7 @@ definitions:
|
|||||||
description: >-
|
description: >-
|
||||||
NOTE: The metadata type doesn't QUITE match the 'create' arguments here
|
NOTE: The metadata type doesn't QUITE match the 'create' arguments here
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#create-event-trigger
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#create-event-trigger
|
||||||
title: EventTrigger
|
title: EventTrigger
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -720,17 +720,17 @@ definitions:
|
|||||||
title: enable_manual
|
title: enable_manual
|
||||||
insert:
|
insert:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
||||||
$ref: "#/definitions/OperationSpec"
|
$ref: "#/definitions/OperationSpec"
|
||||||
title: insert
|
title: insert
|
||||||
delete:
|
delete:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
||||||
$ref: "#/definitions/OperationSpec"
|
$ref: "#/definitions/OperationSpec"
|
||||||
title: delete
|
title: delete
|
||||||
update:
|
update:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
||||||
$ref: "#/definitions/OperationSpec"
|
$ref: "#/definitions/OperationSpec"
|
||||||
title: update
|
title: update
|
||||||
required:
|
required:
|
||||||
@ -745,13 +745,13 @@ definitions:
|
|||||||
type: string
|
type: string
|
||||||
OperationSpec:
|
OperationSpec:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
||||||
title: OperationSpec
|
title: OperationSpec
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
columns:
|
columns:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns
|
||||||
anyOf:
|
anyOf:
|
||||||
- type: array
|
- type: array
|
||||||
items:
|
items:
|
||||||
@ -762,7 +762,7 @@ definitions:
|
|||||||
title: columns
|
title: columns
|
||||||
payload:
|
payload:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns
|
||||||
anyOf:
|
anyOf:
|
||||||
- type: array
|
- type: array
|
||||||
items:
|
items:
|
||||||
@ -775,7 +775,7 @@ definitions:
|
|||||||
- columns
|
- columns
|
||||||
HeaderFromValue:
|
HeaderFromValue:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#headerfromvalue
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#headerfromvalue
|
||||||
title: HeaderFromValue
|
title: HeaderFromValue
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -792,7 +792,7 @@ definitions:
|
|||||||
- value
|
- value
|
||||||
HeaderFromEnv:
|
HeaderFromEnv:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#headerfromenv
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#headerfromenv
|
||||||
title: HeaderFromEnv
|
title: HeaderFromEnv
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -809,7 +809,7 @@ definitions:
|
|||||||
- value_from_env
|
- value_from_env
|
||||||
RetryConf:
|
RetryConf:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#retryconf
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#retryconf
|
||||||
title: RetryConf
|
title: RetryConf
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -833,7 +833,7 @@ definitions:
|
|||||||
title: timeout_sec
|
title: timeout_sec
|
||||||
CronTrigger:
|
CronTrigger:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/scheduled-triggers.html#create-cron-trigger
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/scheduled-triggers.html#create-cron-trigger
|
||||||
title: CronTrigger
|
title: CronTrigger
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -886,7 +886,7 @@ definitions:
|
|||||||
- webhook
|
- webhook
|
||||||
RetryConfST:
|
RetryConfST:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/scheduled-triggers.html#retryconfst
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/scheduled-triggers.html#retryconfst
|
||||||
title: RetryConfST
|
title: RetryConfST
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -919,7 +919,7 @@ definitions:
|
|||||||
title: tolerance_seconds
|
title: tolerance_seconds
|
||||||
RemoteSchema:
|
RemoteSchema:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-schemas.html#add-remote-schema
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-schemas.html#add-remote-schema
|
||||||
title: RemoteSchema
|
title: RemoteSchema
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -940,7 +940,7 @@ definitions:
|
|||||||
- name
|
- name
|
||||||
RemoteSchemaDef:
|
RemoteSchemaDef:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#remoteschemadef
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#remoteschemadef
|
||||||
title: RemoteSchemaDef
|
title: RemoteSchemaDef
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -965,7 +965,7 @@ definitions:
|
|||||||
title: timeout_seconds
|
title: timeout_seconds
|
||||||
RemoteRelationship:
|
RemoteRelationship:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-relationships.html#args-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#args-syntax
|
||||||
title: RemoteRelationship
|
title: RemoteRelationship
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -1016,7 +1016,7 @@ definitions:
|
|||||||
It is recursive because the remote field maybe nested deeply in the remote
|
It is recursive because the remote field maybe nested deeply in the remote
|
||||||
schema.
|
schema.
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-relationships.html#remotefield
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#remotefield
|
||||||
title: RemoteField
|
title: RemoteField
|
||||||
type: object
|
type: object
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
@ -1033,7 +1033,7 @@ definitions:
|
|||||||
It is recursive because the remote field maybe nested deeply in the
|
It is recursive because the remote field maybe nested deeply in the
|
||||||
remote schema.
|
remote schema.
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-relationships.html#remotefield
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#remotefield
|
||||||
$ref: "#/definitions/RemoteField"
|
$ref: "#/definitions/RemoteField"
|
||||||
title: field
|
title: field
|
||||||
required:
|
required:
|
||||||
@ -1042,14 +1042,14 @@ definitions:
|
|||||||
description: >-
|
description: >-
|
||||||
Note: Table columns can be referred by prefixing $ e.g $id.
|
Note: Table columns can be referred by prefixing $ e.g $id.
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-relationships.html#inputarguments
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#inputarguments
|
||||||
title: InputArguments
|
title: InputArguments
|
||||||
type: object
|
type: object
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: string
|
type: string
|
||||||
QueryCollectionEntry:
|
QueryCollectionEntry:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/query-collections.html#args-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/query-collections.html#args-syntax
|
||||||
title: QueryCollectionEntry
|
title: QueryCollectionEntry
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -1078,7 +1078,7 @@ definitions:
|
|||||||
- name
|
- name
|
||||||
QueryCollection:
|
QueryCollection:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#collectionquery
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#collectionquery
|
||||||
title: QueryCollection
|
title: QueryCollection
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -1093,7 +1093,7 @@ definitions:
|
|||||||
- query
|
- query
|
||||||
AllowList:
|
AllowList:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/query-collections.html#add-collection-to-allowlist-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/query-collections.html#add-collection-to-allowlist-syntax
|
||||||
title: AllowList
|
title: AllowList
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -1129,7 +1129,7 @@ definitions:
|
|||||||
title: enums
|
title: enums
|
||||||
InputObjectType:
|
InputObjectType:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#inputobjecttype
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#inputobjecttype
|
||||||
title: InputObjectType
|
title: InputObjectType
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -1152,7 +1152,7 @@ definitions:
|
|||||||
- name
|
- name
|
||||||
InputObjectField:
|
InputObjectField:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#inputobjectfield
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#inputobjectfield
|
||||||
title: InputObjectField
|
title: InputObjectField
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -1173,7 +1173,7 @@ definitions:
|
|||||||
- type
|
- type
|
||||||
ObjectType:
|
ObjectType:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#objecttype
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#objecttype
|
||||||
title: ObjectType
|
title: ObjectType
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -1202,7 +1202,7 @@ definitions:
|
|||||||
- name
|
- name
|
||||||
ObjectField:
|
ObjectField:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#objectfield
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#objectfield
|
||||||
title: ObjectField
|
title: ObjectField
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -1223,7 +1223,7 @@ definitions:
|
|||||||
- type
|
- type
|
||||||
CustomTypeObjectRelationship:
|
CustomTypeObjectRelationship:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#objectrelationship
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#objectrelationship
|
||||||
title: CustomTypeObjectRelationship
|
title: CustomTypeObjectRelationship
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -1257,7 +1257,7 @@ definitions:
|
|||||||
- type
|
- type
|
||||||
ScalarType:
|
ScalarType:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#scalartype
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#scalartype
|
||||||
title: ScalarType
|
title: ScalarType
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -1273,7 +1273,7 @@ definitions:
|
|||||||
- name
|
- name
|
||||||
EnumType:
|
EnumType:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#enumtype
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#enumtype
|
||||||
title: EnumType
|
title: EnumType
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -1296,7 +1296,7 @@ definitions:
|
|||||||
- values
|
- values
|
||||||
EnumValue:
|
EnumValue:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#enumvalue
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#enumvalue
|
||||||
title: EnumValue
|
title: EnumValue
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -1316,7 +1316,7 @@ definitions:
|
|||||||
- value
|
- value
|
||||||
Action:
|
Action:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/actions.html#args-syntax
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/actions.html#args-syntax
|
||||||
title: Action
|
title: Action
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -1347,7 +1347,7 @@ definitions:
|
|||||||
- name
|
- name
|
||||||
ActionDefinition:
|
ActionDefinition:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/actions.html#actiondefinition
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/actions.html#actiondefinition
|
||||||
title: ActionDefinition
|
title: ActionDefinition
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -1390,7 +1390,7 @@ definitions:
|
|||||||
- handler
|
- handler
|
||||||
InputArgument:
|
InputArgument:
|
||||||
description: >-
|
description: >-
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/actions.html#inputargument
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/actions.html#inputargument
|
||||||
title: InputArgument
|
title: InputArgument
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -1407,7 +1407,7 @@ definitions:
|
|||||||
description: >-
|
description: >-
|
||||||
Type used in exported 'metadata.json' and replace metadata endpoint
|
Type used in exported 'metadata.json' and replace metadata endpoint
|
||||||
|
|
||||||
https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/manage-metadata.html#replace-metadata
|
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/manage-metadata.html#replace-metadata
|
||||||
title: HasuraMetadataV2
|
title: HasuraMetadataV2
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
@ -28,7 +28,7 @@ export interface QualifiedTable {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Configuration for the table/view
|
* Configuration for the table/view
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/table-view.html#table-config
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#table-config
|
||||||
*/
|
*/
|
||||||
export interface TableConfig {
|
export interface TableConfig {
|
||||||
/** Customise the table name */
|
/** Customise the table name */
|
||||||
@ -59,7 +59,7 @@ export interface TableEntry {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Customise the root fields
|
* Customise the root fields
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/table-view.html#custom-root-fields
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/table-view.html#custom-root-fields
|
||||||
*/
|
*/
|
||||||
export interface CustomRootFields {
|
export interface CustomRootFields {
|
||||||
/** Customise the `<table-name>` root field */
|
/** Customise the `<table-name>` root field */
|
||||||
@ -106,7 +106,7 @@ export interface QualifiedFunction {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A custom SQL function to add to the GraphQL schema with configuration.
|
* A custom SQL function to add to the GraphQL schema with configuration.
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-functions.html#args-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-functions.html#args-syntax
|
||||||
*/
|
*/
|
||||||
export interface CustomFunction {
|
export interface CustomFunction {
|
||||||
/** Name of the SQL function */
|
/** Name of the SQL function */
|
||||||
@ -117,7 +117,7 @@ export interface CustomFunction {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Configuration for a CustomFunction
|
* Configuration for a CustomFunction
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-functions.html#function-configuration
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-functions.html#function-configuration
|
||||||
*/
|
*/
|
||||||
export interface FunctionConfiguration {
|
export interface FunctionConfiguration {
|
||||||
/**
|
/**
|
||||||
@ -139,7 +139,7 @@ export interface FunctionConfiguration {
|
|||||||
///////////////////////////////
|
///////////////////////////////
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#args-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#args-syntax
|
||||||
*/
|
*/
|
||||||
export interface ObjectRelationship {
|
export interface ObjectRelationship {
|
||||||
/** Name of the new relationship */
|
/** Name of the new relationship */
|
||||||
@ -152,7 +152,7 @@ export interface ObjectRelationship {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Use one of the available ways to define an object relationship
|
* Use one of the available ways to define an object relationship
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#objrelusing
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#objrelusing
|
||||||
*/
|
*/
|
||||||
export interface ObjRelUsing {
|
export interface ObjRelUsing {
|
||||||
/** The column with foreign key constraint */
|
/** The column with foreign key constraint */
|
||||||
@ -163,7 +163,7 @@ export interface ObjRelUsing {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Manual mapping of table and columns
|
* Manual mapping of table and columns
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#objrelusingmanualmapping
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#objrelusingmanualmapping
|
||||||
*/
|
*/
|
||||||
export interface ObjRelUsingManualMapping {
|
export interface ObjRelUsingManualMapping {
|
||||||
/** The table to which the relationship has to be established */
|
/** The table to which the relationship has to be established */
|
||||||
@ -173,7 +173,7 @@ export interface ObjRelUsingManualMapping {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#create-array-relationship-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#create-array-relationship-syntax
|
||||||
*/
|
*/
|
||||||
export interface ArrayRelationship {
|
export interface ArrayRelationship {
|
||||||
/** Name of the new relationship */
|
/** Name of the new relationship */
|
||||||
@ -186,7 +186,7 @@ export interface ArrayRelationship {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Use one of the available ways to define an object relationship
|
* Use one of the available ways to define an object relationship
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#arrrelusing
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#arrrelusing
|
||||||
*/
|
*/
|
||||||
export interface ArrRelUsing {
|
export interface ArrRelUsing {
|
||||||
/** The column with foreign key constraint */
|
/** The column with foreign key constraint */
|
||||||
@ -197,7 +197,7 @@ export interface ArrRelUsing {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The column with foreign key constraint
|
* The column with foreign key constraint
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#arrrelusingfkeyon
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#arrrelusingfkeyon
|
||||||
*/
|
*/
|
||||||
export interface ArrRelUsingFKeyOn {
|
export interface ArrRelUsingFKeyOn {
|
||||||
column: PGColumn
|
column: PGColumn
|
||||||
@ -206,7 +206,7 @@ export interface ArrRelUsingFKeyOn {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Manual mapping of table and columns
|
* Manual mapping of table and columns
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/relationship.html#arrrelusingmanualmapping
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/relationship.html#arrrelusingmanualmapping
|
||||||
*/
|
*/
|
||||||
export interface ArrRelUsingManualMapping {
|
export interface ArrRelUsingManualMapping {
|
||||||
/** The table to which the relationship has to be established */
|
/** The table to which the relationship has to be established */
|
||||||
@ -217,7 +217,7 @@ export interface ArrRelUsingManualMapping {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Preset values for columns that can be sourced from session variables or static values.
|
* Preset values for columns that can be sourced from session variables or static values.
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#columnpresetexp
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#columnpresetexp
|
||||||
*/
|
*/
|
||||||
export interface ColumnPresetsExpression {
|
export interface ColumnPresetsExpression {
|
||||||
[key: string]: string
|
[key: string]: string
|
||||||
@ -232,7 +232,7 @@ export interface ColumnPresetsExpression {
|
|||||||
///////////////////////////////
|
///////////////////////////////
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#args-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#args-syntax
|
||||||
*/
|
*/
|
||||||
export interface InsertPermissionEntry {
|
export interface InsertPermissionEntry {
|
||||||
/** Role */
|
/** Role */
|
||||||
@ -244,7 +244,7 @@ export interface InsertPermissionEntry {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#insertpermission
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#insertpermission
|
||||||
*/
|
*/
|
||||||
export interface InsertPermission {
|
export interface InsertPermission {
|
||||||
/** This expression has to hold true for every new row that is inserted */
|
/** This expression has to hold true for every new row that is inserted */
|
||||||
@ -261,7 +261,7 @@ export interface InsertPermission {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#create-select-permission-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#create-select-permission-syntax
|
||||||
*/
|
*/
|
||||||
export interface SelectPermissionEntry {
|
export interface SelectPermissionEntry {
|
||||||
/** Role */
|
/** Role */
|
||||||
@ -273,7 +273,7 @@ export interface SelectPermissionEntry {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#selectpermission
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#selectpermission
|
||||||
*/
|
*/
|
||||||
export interface SelectPermission {
|
export interface SelectPermission {
|
||||||
/** Only these columns are selectable (or all when '*' is specified) */
|
/** Only these columns are selectable (or all when '*' is specified) */
|
||||||
@ -292,7 +292,7 @@ export interface SelectPermission {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#create-update-permission-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#create-update-permission-syntax
|
||||||
*/
|
*/
|
||||||
export interface UpdatePermissionEntry {
|
export interface UpdatePermissionEntry {
|
||||||
/** Role */
|
/** Role */
|
||||||
@ -304,7 +304,7 @@ export interface UpdatePermissionEntry {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#updatepermission
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#updatepermission
|
||||||
*/
|
*/
|
||||||
export interface UpdatePermission {
|
export interface UpdatePermission {
|
||||||
/** Postcondition which must be satisfied by rows which have been updated */
|
/** Postcondition which must be satisfied by rows which have been updated */
|
||||||
@ -318,7 +318,7 @@ export interface UpdatePermission {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#create-delete-permission-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#create-delete-permission-syntax
|
||||||
*/
|
*/
|
||||||
export interface DeletePermissionEntry {
|
export interface DeletePermissionEntry {
|
||||||
/** Role */
|
/** Role */
|
||||||
@ -330,7 +330,7 @@ export interface DeletePermissionEntry {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/permission.html#deletepermission
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html#deletepermission
|
||||||
*/
|
*/
|
||||||
export interface DeletePermission {
|
export interface DeletePermission {
|
||||||
/** Only the rows where this precondition holds true are updatable */
|
/** Only the rows where this precondition holds true are updatable */
|
||||||
@ -346,7 +346,7 @@ export interface DeletePermission {
|
|||||||
///////////////////////////////
|
///////////////////////////////
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/computed-field.html#args-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/computed-field.html#args-syntax
|
||||||
*/
|
*/
|
||||||
export interface ComputedField {
|
export interface ComputedField {
|
||||||
/** Name of the new computed field */
|
/** Name of the new computed field */
|
||||||
@ -358,7 +358,7 @@ export interface ComputedField {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/computed-field.html#computedfielddefinition
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/computed-field.html#computedfielddefinition
|
||||||
*/
|
*/
|
||||||
export interface ComputedFieldDefinition {
|
export interface ComputedFieldDefinition {
|
||||||
/** The SQL function */
|
/** The SQL function */
|
||||||
@ -379,7 +379,7 @@ export interface ComputedFieldDefinition {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* NOTE: The metadata type doesn't QUITE match the 'create' arguments here
|
* NOTE: The metadata type doesn't QUITE match the 'create' arguments here
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#create-event-trigger
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#create-event-trigger
|
||||||
*/
|
*/
|
||||||
export interface EventTrigger {
|
export interface EventTrigger {
|
||||||
/** Name of the event trigger */
|
/** Name of the event trigger */
|
||||||
@ -403,12 +403,12 @@ export interface EventTriggerDefinition {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns
|
||||||
*/
|
*/
|
||||||
export type EventTriggerColumns = "*" | PGColumn[]
|
export type EventTriggerColumns = "*" | PGColumn[]
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#operationspec
|
||||||
*/
|
*/
|
||||||
export interface OperationSpec {
|
export interface OperationSpec {
|
||||||
columns: EventTriggerColumns
|
columns: EventTriggerColumns
|
||||||
@ -416,7 +416,7 @@ export interface OperationSpec {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#headerfromvalue
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#headerfromvalue
|
||||||
*/
|
*/
|
||||||
export interface HeaderFromValue {
|
export interface HeaderFromValue {
|
||||||
/** Name of the header */
|
/** Name of the header */
|
||||||
@ -426,7 +426,7 @@ export interface HeaderFromValue {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#headerfromenv
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#headerfromenv
|
||||||
*/
|
*/
|
||||||
export interface HeaderFromEnv {
|
export interface HeaderFromEnv {
|
||||||
/** Name of the header */
|
/** Name of the header */
|
||||||
@ -436,7 +436,7 @@ export interface HeaderFromEnv {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/event-triggers.html#retryconf
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#retryconf
|
||||||
*/
|
*/
|
||||||
export interface RetryConf {
|
export interface RetryConf {
|
||||||
/**
|
/**
|
||||||
@ -468,7 +468,7 @@ export interface RetryConf {
|
|||||||
///////////////////////////////
|
///////////////////////////////
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/scheduled-triggers.html#create-cron-trigger
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/scheduled-triggers.html#create-cron-trigger
|
||||||
*/
|
*/
|
||||||
export interface CronTrigger {
|
export interface CronTrigger {
|
||||||
/** Name of the cron trigger */
|
/** Name of the cron trigger */
|
||||||
@ -490,7 +490,7 @@ export interface CronTrigger {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/scheduled-triggers.html#retryconfst
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/scheduled-triggers.html#retryconfst
|
||||||
*/
|
*/
|
||||||
export interface RetryConfST {
|
export interface RetryConfST {
|
||||||
/**
|
/**
|
||||||
@ -528,7 +528,7 @@ export interface RetryConfST {
|
|||||||
///////////////////////////////
|
///////////////////////////////
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-schemas.html#add-remote-schema
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-schemas.html#add-remote-schema
|
||||||
*/
|
*/
|
||||||
export interface RemoteSchema {
|
export interface RemoteSchema {
|
||||||
/** Name of the remote schema */
|
/** Name of the remote schema */
|
||||||
@ -540,7 +540,7 @@ export interface RemoteSchema {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#remoteschemadef
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#remoteschemadef
|
||||||
*/
|
*/
|
||||||
export interface RemoteSchemaDef {
|
export interface RemoteSchemaDef {
|
||||||
url?: string
|
url?: string
|
||||||
@ -561,7 +561,7 @@ export interface RemoteSchemaDef {
|
|||||||
// NOTE: RemoteRelationship Metadata shape is slightly different than 'create' arguments here
|
// NOTE: RemoteRelationship Metadata shape is slightly different than 'create' arguments here
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-relationships.html#args-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#args-syntax
|
||||||
*/
|
*/
|
||||||
export interface RemoteRelationship {
|
export interface RemoteRelationship {
|
||||||
/** Name of the remote relationship */
|
/** Name of the remote relationship */
|
||||||
@ -585,7 +585,7 @@ export interface RemoteRelationshipDef {
|
|||||||
/**
|
/**
|
||||||
* A recursive tree structure that points to the field in the remote schema that needs to be joined with.
|
* A recursive tree structure that points to the field in the remote schema that needs to be joined with.
|
||||||
* It is recursive because the remote field maybe nested deeply in the remote schema.
|
* It is recursive because the remote field maybe nested deeply in the remote schema.
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-relationships.html#remotefield
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#remotefield
|
||||||
*/
|
*/
|
||||||
export interface RemoteField {
|
export interface RemoteField {
|
||||||
[FieldName: string]: {
|
[FieldName: string]: {
|
||||||
@ -596,7 +596,7 @@ export interface RemoteField {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Note: Table columns can be referred by prefixing $ e.g $id.
|
* Note: Table columns can be referred by prefixing $ e.g $id.
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/remote-relationships.html#inputarguments
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#inputarguments
|
||||||
*/
|
*/
|
||||||
export interface InputArguments {
|
export interface InputArguments {
|
||||||
[InputField: string]: PGColumn
|
[InputField: string]: PGColumn
|
||||||
@ -611,7 +611,7 @@ export interface InputArguments {
|
|||||||
///////////////////////////////
|
///////////////////////////////
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/query-collections.html#args-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/query-collections.html#args-syntax
|
||||||
*/
|
*/
|
||||||
export interface QueryCollectionEntry {
|
export interface QueryCollectionEntry {
|
||||||
/** Name of the query collection */
|
/** Name of the query collection */
|
||||||
@ -625,7 +625,7 @@ export interface QueryCollectionEntry {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#collectionquery
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#collectionquery
|
||||||
*/
|
*/
|
||||||
export interface QueryCollection {
|
export interface QueryCollection {
|
||||||
name: string
|
name: string
|
||||||
@ -641,7 +641,7 @@ export interface QueryCollection {
|
|||||||
///////////////////////////////
|
///////////////////////////////
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/query-collections.html#add-collection-to-allowlist-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/query-collections.html#add-collection-to-allowlist-syntax
|
||||||
*/
|
*/
|
||||||
export interface AllowList {
|
export interface AllowList {
|
||||||
/** Name of a query collection to be added to the allow-list */
|
/** Name of a query collection to be added to the allow-list */
|
||||||
@ -664,7 +664,7 @@ export interface CustomTypes {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#inputobjecttype
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#inputobjecttype
|
||||||
*/
|
*/
|
||||||
export interface InputObjectType {
|
export interface InputObjectType {
|
||||||
/** Name of the Input object type */
|
/** Name of the Input object type */
|
||||||
@ -676,7 +676,7 @@ export interface InputObjectType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#inputobjectfield
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#inputobjectfield
|
||||||
*/
|
*/
|
||||||
export interface InputObjectField {
|
export interface InputObjectField {
|
||||||
/** Name of the Input object type */
|
/** Name of the Input object type */
|
||||||
@ -688,7 +688,7 @@ export interface InputObjectField {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#objecttype
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#objecttype
|
||||||
*/
|
*/
|
||||||
export interface ObjectType {
|
export interface ObjectType {
|
||||||
/** Name of the Input object type */
|
/** Name of the Input object type */
|
||||||
@ -702,7 +702,7 @@ export interface ObjectType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#objectfield
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#objectfield
|
||||||
*/
|
*/
|
||||||
export interface ObjectField {
|
export interface ObjectField {
|
||||||
/** Name of the Input object type */
|
/** Name of the Input object type */
|
||||||
@ -714,7 +714,7 @@ export interface ObjectField {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#objectrelationship
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#objectrelationship
|
||||||
*/
|
*/
|
||||||
export interface CustomTypeObjectRelationship {
|
export interface CustomTypeObjectRelationship {
|
||||||
/** Name of the relationship, shouldn’t conflict with existing field names */
|
/** Name of the relationship, shouldn’t conflict with existing field names */
|
||||||
@ -730,7 +730,7 @@ export interface CustomTypeObjectRelationship {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#scalartype
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#scalartype
|
||||||
*/
|
*/
|
||||||
export interface ScalarType {
|
export interface ScalarType {
|
||||||
/** Name of the Scalar type */
|
/** Name of the Scalar type */
|
||||||
@ -740,7 +740,7 @@ export interface ScalarType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#enumtype
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#enumtype
|
||||||
*/
|
*/
|
||||||
export interface EnumType {
|
export interface EnumType {
|
||||||
/** Name of the Enum type */
|
/** Name of the Enum type */
|
||||||
@ -752,7 +752,7 @@ export interface EnumType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/custom-types.html#enumvalue
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-types.html#enumvalue
|
||||||
*/
|
*/
|
||||||
export interface EnumValue {
|
export interface EnumValue {
|
||||||
/** Value of the Enum type */
|
/** Value of the Enum type */
|
||||||
@ -775,7 +775,7 @@ export interface EnumValue {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/actions.html#args-syntax
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/actions.html#args-syntax
|
||||||
*/
|
*/
|
||||||
export interface Action {
|
export interface Action {
|
||||||
/** Name of the action */
|
/** Name of the action */
|
||||||
@ -789,7 +789,7 @@ export interface Action {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/actions.html#actiondefinition
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/actions.html#actiondefinition
|
||||||
*/
|
*/
|
||||||
export interface ActionDefinition {
|
export interface ActionDefinition {
|
||||||
arguments?: InputArgument[]
|
arguments?: InputArgument[]
|
||||||
@ -802,7 +802,7 @@ export interface ActionDefinition {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/actions.html#inputargument
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/actions.html#inputargument
|
||||||
*/
|
*/
|
||||||
export interface InputArgument {
|
export interface InputArgument {
|
||||||
name: string
|
name: string
|
||||||
@ -815,7 +815,7 @@ export interface InputArgument {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Type used in exported 'metadata.json' and replace metadata endpoint
|
* Type used in exported 'metadata.json' and replace metadata endpoint
|
||||||
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/manage-metadata.html#replace-metadata
|
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/manage-metadata.html#replace-metadata
|
||||||
*/
|
*/
|
||||||
export interface HasuraMetadataV2 {
|
export interface HasuraMetadataV2 {
|
||||||
version: number
|
version: number
|
||||||
|
@ -82,7 +82,7 @@ Please note:
|
|||||||
* A session variable will only influence the cache key for a query if it referenced by the execution plan.
|
* A session variable will only influence the cache key for a query if it referenced by the execution plan.
|
||||||
In practice this means that session variables are only factored into cache keys if they are referenced
|
In practice this means that session variables are only factored into cache keys if they are referenced
|
||||||
in the permissions for a query.
|
in the permissions for a query.
|
||||||
See https://hasura.io/docs/1.0/graphql/core/api-reference/schema-metadata-api/permission.html
|
See https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/permission.html
|
||||||
|
|
||||||
Response headers
|
Response headers
|
||||||
----------------
|
----------------
|
||||||
|
@ -58,7 +58,7 @@ Choose from the full list of deployment guides:
|
|||||||
:titlesonly:
|
:titlesonly:
|
||||||
:hidden:
|
:hidden:
|
||||||
|
|
||||||
Using Hasura Cloud <https://hasura.io/docs/1.0/graphql/cloud/getting-started/index.html>
|
Using Hasura Cloud <https://hasura.io/docs/latest/graphql/cloud/getting-started/index.html>
|
||||||
Using Docker <docker>
|
Using Docker <docker>
|
||||||
Using Kubernetes <kubernetes>
|
Using Kubernetes <kubernetes>
|
||||||
Using Heroku (one-click) <heroku>
|
Using Heroku (one-click) <heroku>
|
||||||
|
@ -56,7 +56,7 @@ Get started using an existing database
|
|||||||
:titlesonly:
|
:titlesonly:
|
||||||
:hidden:
|
:hidden:
|
||||||
|
|
||||||
Hasura Cloud quickstart <https://hasura.io/docs/1.0/graphql/cloud/getting-started/index.html>
|
Hasura Cloud quickstart <https://hasura.io/docs/latest/graphql/cloud/getting-started/index.html>
|
||||||
Docker quickstart <docker-simple>
|
Docker quickstart <docker-simple>
|
||||||
Using an existing database <using-existing-database>
|
Using an existing database <using-existing-database>
|
||||||
Making your first GraphQL query <first-graphql-query>
|
Making your first GraphQL query <first-graphql-query>
|
||||||
|
@ -35,7 +35,7 @@ Examples
|
|||||||
# Create a hasura project in the current working directory
|
# Create a hasura project in the current working directory
|
||||||
hasura init .
|
hasura init .
|
||||||
|
|
||||||
# See https://hasura.io/docs/1.0/graphql/manual/migrations/index.html for more details
|
# See https://hasura.io/docs/latest/graphql/core/migrations/index.html for more details
|
||||||
|
|
||||||
Options
|
Options
|
||||||
~~~~~~~
|
~~~~~~~
|
||||||
|
@ -33,11 +33,11 @@ The fastest way to try event triggers out is via Heroku.
|
|||||||
|
|
||||||
3. Configure your first event trigger and webhook
|
3. Configure your first event trigger and webhook
|
||||||
|
|
||||||
Create a table, configure the database update you want to use as a trigger and instantly invoke a webhook by adding a new row in your table. Follow this [simple guide](https://hasura.io/docs/1.0/graphql/manual/getting-started/first-event-trigger.html).
|
Create a table, configure the database update you want to use as a trigger and instantly invoke a webhook by adding a new row in your table. Follow this [simple guide](https://hasura.io/docs/latest/graphql/core/getting-started/first-event-trigger.html).
|
||||||
|
|
||||||
### Other deployment methods
|
### Other deployment methods
|
||||||
|
|
||||||
For Docker-based deployment and advanced configuration options, see [deployment guides](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html).
|
For Docker-based deployment and advanced configuration options, see [deployment guides](https://hasura.io/docs/latest/graphql/core/getting-started/index.html).
|
||||||
|
|
||||||
### Demo (*30 seconds*)
|
### Demo (*30 seconds*)
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ backed by an [Azure Database for
|
|||||||
PostgreSQL](https://azure.microsoft.com/en-us/services/postgresql/) Server.
|
PostgreSQL](https://azure.microsoft.com/en-us/services/postgresql/) Server.
|
||||||
For a more detailed step-by-step guide on deplopying individual
|
For a more detailed step-by-step guide on deplopying individual
|
||||||
resources to Azure using the CLI, refer to the
|
resources to Azure using the CLI, refer to the
|
||||||
[documentation](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html).
|
[documentation](https://hasura.io/docs/latest/graphql/core/guides/deployment/azure-container-instances-postgres.html).
|
||||||
|
|
||||||
[![Deploy to Azure Button](https://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json)
|
[![Deploy to Azure Button](https://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json)
|
||||||
|
|
||||||
@ -76,11 +76,11 @@ http://hasura-graphql-engine.centralindia.azurecontainer.io
|
|||||||
|
|
||||||
## Next steps
|
## Next steps
|
||||||
|
|
||||||
- [Building your schema](https://hasura.io/docs/1.0/graphql/manual/schema/index.html)
|
- [Building your schema](https://hasura.io/docs/latest/graphql/core/schema/index.html)
|
||||||
- [GraphQL Queries](https://hasura.io/docs/1.0/graphql/manual/queries/index.html)
|
- [GraphQL Queries](https://hasura.io/docs/latest/graphql/core/queries/index.html)
|
||||||
- [GraphQL Mutations](https://hasura.io/docs/1.0/graphql/manual/mutations/index.html)
|
- [GraphQL Mutations](https://hasura.io/docs/latest/graphql/core/mutations/index.html)
|
||||||
- [GraphQL Subscriptions](https://hasura.io/docs/1.0/graphql/manual/subscriptions/index.html)
|
- [GraphQL Subscriptions](https://hasura.io/docs/latest/graphql/core/subscriptions/index.html)
|
||||||
- [Event Triggers](https://hasura.io/docs/1.0/graphql/manual/event-triggers/index.html)
|
- [Event Triggers](https://hasura.io/docs/latest/graphql/core/event-triggers/index.html)
|
||||||
- [Authentication/Access control](https://hasura.io/docs/1.0/graphql/manual/auth/index.html)
|
- [Authentication/Access control](https://hasura.io/docs/latest/graphql/core/auth/index.html)
|
||||||
- [Database Migrations](https://hasura.io/docs/1.0/graphql/manual/migrations/index.html)
|
- [Database Migrations](https://hasura.io/docs/latest/graphql/core/migrations/index.html)
|
||||||
- [Guides/Tutorials/Resources](https://hasura.io/docs/1.0/graphql/manual/guides/index.html)
|
- [Guides/Tutorials/Resources](https://hasura.io/docs/latest/graphql/core/guides/index.html)
|
||||||
|
@ -9,7 +9,7 @@ backed by an existing Postgres server (e.g. [Azure Database for
|
|||||||
PostgreSQL](https://azure.microsoft.com/en-us/services/postgresql/)).
|
PostgreSQL](https://azure.microsoft.com/en-us/services/postgresql/)).
|
||||||
For a more detailed step-by-step guide on deplopying individual
|
For a more detailed step-by-step guide on deplopying individual
|
||||||
resources to Azure using the CLI, refer to the
|
resources to Azure using the CLI, refer to the
|
||||||
[documentation](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html).
|
[documentation](https://hasura.io/docs/latest/graphql/core/guides/deployment/azure-container-instances-postgres.html).
|
||||||
|
|
||||||
[![Deploy to Azure Button](https://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container%2fazuredeploy.json)
|
[![Deploy to Azure Button](https://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container%2fazuredeploy.json)
|
||||||
|
|
||||||
@ -84,11 +84,11 @@ Once you open the console, switch to Data tab and you’ll be able to see the ta
|
|||||||
|
|
||||||
## Next steps
|
## Next steps
|
||||||
|
|
||||||
- [Building your schema](https://hasura.io/docs/1.0/graphql/manual/schema/index.html)
|
- [Building your schema](https://hasura.io/docs/latest/graphql/core/schema/index.html)
|
||||||
- [GraphQL Queries](https://hasura.io/docs/1.0/graphql/manual/queries/index.html)
|
- [GraphQL Queries](https://hasura.io/docs/latest/graphql/core/queries/index.html)
|
||||||
- [GraphQL Mutations](https://hasura.io/docs/1.0/graphql/manual/mutations/index.html)
|
- [GraphQL Mutations](https://hasura.io/docs/latest/graphql/core/mutations/index.html)
|
||||||
- [GraphQL Subscriptions](https://hasura.io/docs/1.0/graphql/manual/subscriptions/index.html)
|
- [GraphQL Subscriptions](https://hasura.io/docs/latest/graphql/core/subscriptions/index.html)
|
||||||
- [Event Triggers](https://hasura.io/docs/1.0/graphql/manual/event-triggers/index.html)
|
- [Event Triggers](https://hasura.io/docs/latest/graphql/core/event-triggers/index.html)
|
||||||
- [Authentication/Access control](https://hasura.io/docs/1.0/graphql/manual/auth/index.html)
|
- [Authentication/Access control](https://hasura.io/docs/latest/graphql/core/auth/index.html)
|
||||||
- [Database Migrations](https://hasura.io/docs/1.0/graphql/manual/migrations/index.html)
|
- [Database Migrations](https://hasura.io/docs/latest/graphql/core/migrations/index.html)
|
||||||
- [Guides/Tutorials/Resources](https://hasura.io/docs/1.0/graphql/manual/guides/index.html)
|
- [Guides/Tutorials/Resources](https://hasura.io/docs/latest/graphql/core/guides/index.html)
|
||||||
|
@ -80,7 +80,7 @@ These limitations will be addressed in upcoming versions.
|
|||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
Read the complete [documentation](https://hasura.io/docs/1.0/graphql/manual/remote-schemas/index.html).
|
Read the complete [documentation](https://hasura.io/docs/latest/graphql/core/remote-schemas/index.html).
|
||||||
|
|
||||||
## Translations
|
## Translations
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ CMD graphql-engine \
|
|||||||
|
|
||||||
### Local
|
### Local
|
||||||
|
|
||||||
This is covered in the documentation here: https://hasura.io/docs/1.0/graphql/manual/migrations/auto-apply-migrations.html
|
This is covered in the documentation here: https://hasura.io/docs/latest/graphql/core/migrations/auto-apply-migrations.html
|
||||||
The below [Configuration](#configuration) will also be applicable.
|
The below [Configuration](#configuration) will also be applicable.
|
||||||
|
|
||||||
### Heroku
|
### Heroku
|
||||||
|
@ -34,7 +34,7 @@ CMD graphql-engine \
|
|||||||
|
|
||||||
### Local
|
### Local
|
||||||
|
|
||||||
This is covered in the documentation here: https://hasura.io/docs/1.0/graphql/manual/migrations/auto-apply-migrations.html
|
This is covered in the documentation here: https://hasura.io/docs/latest/graphql/core/migrations/auto-apply-migrations.html
|
||||||
The below [Configuration](#configuration) will also be applicable.
|
The below [Configuration](#configuration) will also be applicable.
|
||||||
|
|
||||||
### Heroku
|
### Heroku
|
||||||
|
@ -848,4 +848,4 @@ telemetryNotice :: String
|
|||||||
telemetryNotice =
|
telemetryNotice =
|
||||||
"Help us improve Hasura! The graphql-engine server collects anonymized "
|
"Help us improve Hasura! The graphql-engine server collects anonymized "
|
||||||
<> "usage stats which allows us to keep improving Hasura at warp speed. "
|
<> "usage stats which allows us to keep improving Hasura at warp speed. "
|
||||||
<> "To read more or opt-out, visit https://hasura.io/docs/1.0/graphql/manual/guides/telemetry.html"
|
<> "To read more or opt-out, visit https://hasura.io/docs/latest/graphql/core/guides/telemetry.html"
|
||||||
|
@ -272,7 +272,7 @@ enablePgcryptoExtension = do
|
|||||||
permissionsMessage =
|
permissionsMessage =
|
||||||
"pgcrypto extension is required, but the current user doesn’t have permission to"
|
"pgcrypto extension is required, but the current user doesn’t have permission to"
|
||||||
<> " create it. Please grant superuser permission, or setup the initial schema via"
|
<> " create it. Please grant superuser permission, or setup the initial schema via"
|
||||||
<> " https://hasura.io/docs/1.0/graphql/manual/deployment/postgres-permissions.html"
|
<> " https://hasura.io/docs/latest/graphql/core/deployment/postgres-permissions.html"
|
||||||
|
|
||||||
dropHdbCatalogSchema :: (MonadTx m) => m ()
|
dropHdbCatalogSchema :: (MonadTx m) => m ()
|
||||||
dropHdbCatalogSchema = liftTx $ Q.catchE defaultTxErrorHandler $
|
dropHdbCatalogSchema = liftTx $ Q.catchE defaultTxErrorHandler $
|
||||||
|
@ -76,7 +76,7 @@ runTrackFunctionV2 (TrackFunctionV2 source qf config) = do
|
|||||||
|
|
||||||
-- | JSON API payload for 'untrack_function':
|
-- | JSON API payload for 'untrack_function':
|
||||||
--
|
--
|
||||||
-- https://hasura.io/docs/1.0/graphql/core/api-reference/schema-metadata-api/custom-functions.html#untrack-function
|
-- https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-functions.html#untrack-function
|
||||||
data UnTrackFunction b
|
data UnTrackFunction b
|
||||||
= UnTrackFunction
|
= UnTrackFunction
|
||||||
{ _utfFunction :: !(FunctionName b)
|
{ _utfFunction :: !(FunctionName b)
|
||||||
|
@ -141,7 +141,7 @@ emptyFunctionConfig = FunctionConfig Nothing Nothing
|
|||||||
|
|
||||||
-- | JSON API payload for v2 of 'track_function':
|
-- | JSON API payload for v2 of 'track_function':
|
||||||
--
|
--
|
||||||
-- https://hasura.io/docs/1.0/graphql/core/api-reference/schema-metadata-api/custom-functions.html#track-function-v2
|
-- https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/custom-functions.html#track-function-v2
|
||||||
data TrackFunctionV2
|
data TrackFunctionV2
|
||||||
= TrackFunctionV2
|
= TrackFunctionV2
|
||||||
{ _tfv2Source :: !SourceName
|
{ _tfv2Source :: !SourceName
|
||||||
|
@ -88,7 +88,7 @@ hashAdminSecret = AdminSecretHash . Crypto.hash . T.encodeUtf8
|
|||||||
-- @Maybe RoleName@ below is the optionally-defined role for the
|
-- @Maybe RoleName@ below is the optionally-defined role for the
|
||||||
-- unauthenticated (anonymous) user.
|
-- unauthenticated (anonymous) user.
|
||||||
--
|
--
|
||||||
-- See: https://hasura.io/docs/1.0/graphql/manual/auth/authentication/unauthenticated-access.html
|
-- See: https://hasura.io/docs/latest/graphql/core/auth/authentication/unauthenticated-access.html
|
||||||
|
|
||||||
data AuthMode
|
data AuthMode
|
||||||
= AMNoAuth
|
= AMNoAuth
|
||||||
|
@ -352,8 +352,8 @@ type ClaimsMap = Map.HashMap SessionVariable J.Value
|
|||||||
-- When no 'x-hasura-user-role' is specified in the request, the mandatory
|
-- When no 'x-hasura-user-role' is specified in the request, the mandatory
|
||||||
-- 'x-hasura-default-role' [2] from the JWT claims will be used.
|
-- 'x-hasura-default-role' [2] from the JWT claims will be used.
|
||||||
|
|
||||||
-- [1]: https://hasura.io/docs/1.0/graphql/manual/auth/authentication/unauthenticated-access.html
|
-- [1]: https://hasura.io/docs/latest/graphql/core/auth/authentication/unauthenticated-access.html
|
||||||
-- [2]: https://hasura.io/docs/1.0/graphql/manual/auth/authentication/jwt.html#the-spec
|
-- [2]: https://hasura.io/docs/latest/graphql/core/auth/authentication/jwt.html#the-spec
|
||||||
processJwt
|
processJwt
|
||||||
:: ( MonadIO m
|
:: ( MonadIO m
|
||||||
, MonadError QErr m)
|
, MonadError QErr m)
|
||||||
|
@ -77,7 +77,7 @@ Najbrži način da isprobate Hasura je putem Heroku-a.
|
|||||||
|
|
||||||
3. Napravi prvi GraphQL upit
|
3. Napravi prvi GraphQL upit
|
||||||
|
|
||||||
Kreiraj tabelu i odmah isprobaj svoj prvi upit. Prati ovaj [jednostavni vodič](https://hasura.io/docs/1.0/graphql/manual/getting-started/first-graphql-query.html).
|
Kreiraj tabelu i odmah isprobaj svoj prvi upit. Prati ovaj [jednostavni vodič](https://hasura.io/docs/latest/graphql/core/getting-started/first-graphql-query.html).
|
||||||
|
|
||||||
### Ostale metode implementacije jednim klikom
|
### Ostale metode implementacije jednim klikom
|
||||||
|
|
||||||
@ -85,12 +85,12 @@ Pogledaj instrukcije za ostale mogućnosti implementacije jednim klikom:
|
|||||||
|
|
||||||
| **Infra provajder** | **Veza** | **Dodatne informacije** |
|
| **Infra provajder** | **Veza** | **Dodatne informacije** |
|
||||||
|:------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------:|
|
|:------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------:|
|
||||||
| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [docs](https://hasura.io/docs/latest/graphql/core/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
||||||
| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html) |
|
| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [docs](https://hasura.io/docs/latest/graphql/core/guides/deployment/azure-container-instances-postgres.html) |
|
||||||
|
|
||||||
### Ostale metode implementacije
|
### Ostale metode implementacije
|
||||||
|
|
||||||
Za Docker-baziranu implementaciju i napredne konfiguracije, pogledajte [implementacijski vodič](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html) ili
|
Za Docker-baziranu implementaciju i napredne konfiguracije, pogledajte [implementacijski vodič](https://hasura.io/docs/latest/graphql/core/getting-started/index.html) ili
|
||||||
[instalirajte manifest](../install-manifests).
|
[instalirajte manifest](../install-manifests).
|
||||||
|
|
||||||
## Arhitektura
|
## Arhitektura
|
||||||
@ -121,7 +121,7 @@ obradu - [pročitaj više](../event-triggers.md).
|
|||||||
|
|
||||||
### Izvedeni podaci ili transformacije podataka
|
### Izvedeni podaci ili transformacije podataka
|
||||||
|
|
||||||
Pretvorite podatke u Postgres ili pokrenite poslovnu logiku na njemu da biste dobili drugi skup podataka koji se može zatražiti koristeći GraphQL Engine - [pročitaj više](https://hasura.io/docs/1.0/graphql/manual/queries/derived-data.html).
|
Pretvorite podatke u Postgres ili pokrenite poslovnu logiku na njemu da biste dobili drugi skup podataka koji se može zatražiti koristeći GraphQL Engine - [pročitaj više](https://hasura.io/docs/latest/graphql/core/queries/derived-data.html).
|
||||||
|
|
||||||
## Demo
|
## Demo
|
||||||
|
|
||||||
|
@ -83,12 +83,12 @@ Hasura可帮助您构建基于Postgres的GraphQL应用程序,或将使用Postg
|
|||||||
|
|
||||||
| **基础设施提供商** | **一键式链接** | **附加信息** |
|
| **基础设施提供商** | **一键式链接** | **附加信息** |
|
||||||
|:------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------:|
|
|:------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------:|
|
||||||
| DigitalOcean | [![部署到 DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [文档](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
| DigitalOcean | [![部署到 DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [文档](https://hasura.io/docs/latest/graphql/core/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
||||||
| Azure | [![部署到 Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [文档](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html) |
|
| Azure | [![部署到 Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [文档](https://hasura.io/docs/latest/graphql/core/guides/deployment/azure-container-instances-postgres.html) |
|
||||||
|
|
||||||
### 其它部署方法
|
### 其它部署方法
|
||||||
|
|
||||||
关于基于Docker的部署和其它高级配置选项,请参阅[部署指南](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html) 或者
|
关于基于Docker的部署和其它高级配置选项,请参阅[部署指南](https://hasura.io/docs/latest/graphql/core/getting-started/index.html) 或者
|
||||||
[安装清单](../install-manifests).
|
[安装清单](../install-manifests).
|
||||||
|
|
||||||
## 架构
|
## 架构
|
||||||
@ -119,7 +119,7 @@ GraphQL Engine提供了易用,可伸缩,高性能的往后端插入自定义
|
|||||||
|
|
||||||
### 派生数据或数据处理
|
### 派生数据或数据处理
|
||||||
|
|
||||||
在Postgres中处理数据或对其做业务逻辑处理来导出另一套可以用GraphQL Engine处理的数据集 - [阅读更多](https://hasura.io/docs/1.0/graphql/manual/queries/derived-data.html).
|
在Postgres中处理数据或对其做业务逻辑处理来导出另一套可以用GraphQL Engine处理的数据集 - [阅读更多](https://hasura.io/docs/latest/graphql/core/queries/derived-data.html).
|
||||||
|
|
||||||
## 演示
|
## 演示
|
||||||
|
|
||||||
|
@ -77,11 +77,11 @@ La manière la plus rapide d'essayer Hasura est via Heroku.
|
|||||||
|
|
||||||
3. Réalisez votre première requête GraphQL
|
3. Réalisez votre première requête GraphQL
|
||||||
|
|
||||||
Créez une table et réalisez votre première requête. Suivez ce [guide](https://hasura.io/docs/1.0/graphql/manual/getting-started/first-graphql-query.html).
|
Créez une table et réalisez votre première requête. Suivez ce [guide](https://hasura.io/docs/latest/graphql/core/getting-started/first-graphql-query.html).
|
||||||
|
|
||||||
### Autres méthodes de déploiement
|
### Autres méthodes de déploiement
|
||||||
|
|
||||||
Pour les méthodes de déploiement basées sur Docker et les options de configuration avancées, consultez les [guides de déploiement](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html) ou les [manifestes d'installation](../install-manifests).
|
Pour les méthodes de déploiement basées sur Docker et les options de configuration avancées, consultez les [guides de déploiement](https://hasura.io/docs/latest/graphql/core/getting-started/index.html) ou les [manifestes d'installation](../install-manifests).
|
||||||
|
|
||||||
## Architecture
|
## Architecture
|
||||||
|
|
||||||
@ -111,7 +111,7 @@ traitements asynchrones - [plus d'informations](event-triggers.french.md).
|
|||||||
|
|
||||||
### Données dérivée ou transformations de données
|
### Données dérivée ou transformations de données
|
||||||
|
|
||||||
Transformez les données dans Postgres ou exécutez de la logique métier dessus pour en deriver un autre jeu de données qui peut être requêté à l'aide de GraphQL Engine - [plus d'informations](https://hasura.io/docs/1.0/graphql/manual/queries/derived-data.html).
|
Transformez les données dans Postgres ou exécutez de la logique métier dessus pour en deriver un autre jeu de données qui peut être requêté à l'aide de GraphQL Engine - [plus d'informations](https://hasura.io/docs/latest/graphql/core/queries/derived-data.html).
|
||||||
|
|
||||||
## Démos
|
## Démos
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ Der schnellste Weg, Hasura auszuprobieren, ist mit Heroku.
|
|||||||
|
|
||||||
3. Erstelle deine erste GraphQL Query
|
3. Erstelle deine erste GraphQL Query
|
||||||
|
|
||||||
Erstelle eine Tabelle und lasse deine erste Query laufen. Folge diesem [einfachem Guide](https://hasura.io/docs/1.0/graphql/manual/getting-started/first-graphql-query.html).
|
Erstelle eine Tabelle und lasse deine erste Query laufen. Folge diesem [einfachem Guide](https://hasura.io/docs/latest/graphql/core/getting-started/first-graphql-query.html).
|
||||||
|
|
||||||
### Andere one-click Deployment Optionen
|
### Andere one-click Deployment Optionen
|
||||||
|
|
||||||
@ -86,13 +86,13 @@ Probiere die folgenden Guides für die one-click Deployment Optionen:
|
|||||||
|
|
||||||
| **Infra Anbieter** | **One-click Link** | **Zusätzliche Information** |
|
| **Infra Anbieter** | **One-click Link** | **Zusätzliche Information** |
|
||||||
| :----------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------: |
|
| :----------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------: |
|
||||||
| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [docs](https://hasura.io/docs/latest/graphql/core/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
||||||
| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html) |
|
| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [docs](https://hasura.io/docs/latest/graphql/core/guides/deployment/azure-container-instances-postgres.html) |
|
||||||
|
|
||||||
### Andere Deployment Möglichkeiten
|
### Andere Deployment Möglichkeiten
|
||||||
|
|
||||||
Für auf Docker basierende Deployments and erweiterte Konfigurationsmöglichkeiten: [Deployment
|
Für auf Docker basierende Deployments and erweiterte Konfigurationsmöglichkeiten: [Deployment
|
||||||
Guides](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html) oder
|
Guides](https://hasura.io/docs/latest/graphql/core/getting-started/index.html) oder
|
||||||
[Manifest installieren](../install-manifests).
|
[Manifest installieren](../install-manifests).
|
||||||
|
|
||||||
## Architektur
|
## Architektur
|
||||||
@ -122,7 +122,7 @@ Das ist perfekt für Benachrichtigungen, Daten-Pipelines von Postgres oder async
|
|||||||
|
|
||||||
### Abgeleitete Daten oder Datentransformation
|
### Abgeleitete Daten oder Datentransformation
|
||||||
|
|
||||||
Transformiere Daten in Postgres oder lasse deine Businesslogik eigene Daten ableiten, welche von der GraphQL Engine abefragt werden können - [mehr dazu](https://hasura.io/docs/1.0/graphql/manual/queries/derived-data.html).
|
Transformiere Daten in Postgres oder lasse deine Businesslogik eigene Daten ableiten, welche von der GraphQL Engine abefragt werden können - [mehr dazu](https://hasura.io/docs/latest/graphql/core/queries/derived-data.html).
|
||||||
|
|
||||||
## Demos
|
## Demos
|
||||||
|
|
||||||
|
@ -75,7 +75,7 @@
|
|||||||
|
|
||||||
3. Κάντε το πρώτο σας ερώτημα GraphQL
|
3. Κάντε το πρώτο σας ερώτημα GraphQL
|
||||||
|
|
||||||
Δημιουργήστε έναν πίνακα και κάντε το πρώτο σας ερώτημα. Ακολουθήστε [αυτόν](https://hasura.io/docs/1.0/graphql/manual/getting-started/first-graphql-query.html) τον απλό οδηγό.
|
Δημιουργήστε έναν πίνακα και κάντε το πρώτο σας ερώτημα. Ακολουθήστε [αυτόν](https://hasura.io/docs/latest/graphql/core/getting-started/first-graphql-query.html) τον απλό οδηγό.
|
||||||
|
|
||||||
### Άλλες μέθοδοι ανάπτυξης σε ένα κλίκ
|
### Άλλες μέθοδοι ανάπτυξης σε ένα κλίκ
|
||||||
|
|
||||||
@ -83,12 +83,12 @@
|
|||||||
|
|
||||||
| **Infra provider** | **One-click link** | **Additional information** |
|
| **Infra provider** | **One-click link** | **Additional information** |
|
||||||
|:------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------:|
|
|:------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------:|
|
||||||
| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [docs](https://hasura.io/docs/latest/graphql/core/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
||||||
| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html) |
|
| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [docs](https://hasura.io/docs/latest/graphql/core/guides/deployment/azure-container-instances-postgres.html) |
|
||||||
|
|
||||||
### Άλλες μέθοδοι ανάπτυξης
|
### Άλλες μέθοδοι ανάπτυξης
|
||||||
|
|
||||||
Για μεθόδους ανάπτυξης με βάση το Docker και για προχωρημένες επιλογές διαμόρφωσης, ανατρέξτε στους [οδηγούς ανάπτυξης](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html) ή στα
|
Για μεθόδους ανάπτυξης με βάση το Docker και για προχωρημένες επιλογές διαμόρφωσης, ανατρέξτε στους [οδηγούς ανάπτυξης](https://hasura.io/docs/latest/graphql/core/getting-started/index.html) ή στα
|
||||||
[μηνύματα εγκατάστασης](https://github.com/hasura/graphql-engine/tree/master/install-manifests).
|
[μηνύματα εγκατάστασης](https://github.com/hasura/graphql-engine/tree/master/install-manifests).
|
||||||
|
|
||||||
## Αρχιτεκτονική
|
## Αρχιτεκτονική
|
||||||
@ -116,7 +116,7 @@
|
|||||||
|
|
||||||
### Παραγόμενα δεδομένα ή μετασχηματισμοί δεδομένων
|
### Παραγόμενα δεδομένα ή μετασχηματισμοί δεδομένων
|
||||||
|
|
||||||
Μετατρέψτε τα δεδομένα στο Postgres ή τρέξτε επιχειρηματική λογική με άλλα δεδομένα που μπορούν να αναζητηθούν χρησιμοποιώντας το GraphQL Engine - [διαβάστε περισσότερα](https://hasura.io/docs/1.0/graphql/manual/queries/derived-data.html).
|
Μετατρέψτε τα δεδομένα στο Postgres ή τρέξτε επιχειρηματική λογική με άλλα δεδομένα που μπορούν να αναζητηθούν χρησιμοποιώντας το GraphQL Engine - [διαβάστε περισσότερα](https://hasura.io/docs/latest/graphql/core/queries/derived-data.html).
|
||||||
|
|
||||||
## Demos
|
## Demos
|
||||||
|
|
||||||
|
@ -77,7 +77,7 @@ Cara paling cepat untuk mencoba Hasura adalah menggunakan Heroku.
|
|||||||
|
|
||||||
3. Buat _query_ GraphQL pertama Anda
|
3. Buat _query_ GraphQL pertama Anda
|
||||||
|
|
||||||
Buat sebuah tabel dan langsung jalankan _query_ pertama Anda. Ikuti [petunjuk sederhana ini](https://hasura.io/docs/1.0/graphql/manual/getting-started/first-graphql-query.html).
|
Buat sebuah tabel dan langsung jalankan _query_ pertama Anda. Ikuti [petunjuk sederhana ini](https://hasura.io/docs/latest/graphql/core/getting-started/first-graphql-query.html).
|
||||||
|
|
||||||
### Pilihan menjalankan aplikasi dengan satu klik lainnya
|
### Pilihan menjalankan aplikasi dengan satu klik lainnya
|
||||||
|
|
||||||
@ -85,12 +85,12 @@ Coba lihat pilihan lainnya untuk menjalankan aplikasi dengan satu klik:
|
|||||||
|
|
||||||
| **Penyedia infrastruktur** | **Tautan satu klik** | **Informasi tambahan** |
|
| **Penyedia infrastruktur** | **Tautan satu klik** | **Informasi tambahan** |
|
||||||
|:------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------:|
|
|:------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------:|
|
||||||
| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [dokumentasi](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [dokumentasi](https://hasura.io/docs/latest/graphql/core/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
||||||
| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [dokumentasi](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html) |
|
| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [dokumentasi](https://hasura.io/docs/latest/graphql/core/guides/deployment/azure-container-instances-postgres.html) |
|
||||||
|
|
||||||
### Metode menjalankan lainnya
|
### Metode menjalankan lainnya
|
||||||
|
|
||||||
Untuk menjalankan berbasis Docker dan konfigurasi lebih lanjut, coba lihat [petunjuk menjalankan](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html) atau
|
Untuk menjalankan berbasis Docker dan konfigurasi lebih lanjut, coba lihat [petunjuk menjalankan](https://hasura.io/docs/latest/graphql/core/getting-started/index.html) atau
|
||||||
[manifestasi instalasi](../install-manifests).
|
[manifestasi instalasi](../install-manifests).
|
||||||
|
|
||||||
## Arsitektur
|
## Arsitektur
|
||||||
@ -119,7 +119,7 @@ Tambahkan logika bisnis asinkron yang dipicu oleh _event_ basis data. Ideal untu
|
|||||||
|
|
||||||
### Data turunan atau transformasi data
|
### Data turunan atau transformasi data
|
||||||
|
|
||||||
Transformasi data di Postgres atau jalankan logika bisnis untuk menghasilkan set data turunan lainnya yang dapat di-_query_ menggunakan GraphQL Engine - [baca lebih lanjut](https://hasura.io/docs/1.0/graphql/manual/queries/derived-data.html).
|
Transformasi data di Postgres atau jalankan logika bisnis untuk menghasilkan set data turunan lainnya yang dapat di-_query_ menggunakan GraphQL Engine - [baca lebih lanjut](https://hasura.io/docs/latest/graphql/core/queries/derived-data.html).
|
||||||
|
|
||||||
## Demo
|
## Demo
|
||||||
|
|
||||||
|
@ -75,7 +75,7 @@ Hasuraを試す最も早い方法はHerokuを使うことです。
|
|||||||
|
|
||||||
3. 最初のGraphQLのクエリを発行
|
3. 最初のGraphQLのクエリを発行
|
||||||
|
|
||||||
テーブルを作成して、最初のクエリを実行します。こちらの [シンプルなガイド](https://hasura.io/docs/1.0/graphql/manual/getting-started/first-graphql-query.html)を参考にしてください。
|
テーブルを作成して、最初のクエリを実行します。こちらの [シンプルなガイド](https://hasura.io/docs/latest/graphql/core/getting-started/first-graphql-query.html)を参考にしてください。
|
||||||
|
|
||||||
### 他のワンクリックでデプロイする方法
|
### 他のワンクリックでデプロイする方法
|
||||||
|
|
||||||
@ -83,12 +83,12 @@ Hasuraを試す最も早い方法はHerokuを使うことです。
|
|||||||
|
|
||||||
| **インフラ業者** | **ワンクリックリンク** | **追加情報** |
|
| **インフラ業者** | **ワンクリックリンク** | **追加情報** |
|
||||||
|:------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------:|
|
|:------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------:|
|
||||||
| DigitalOcean | [![DigitalOceanへのデプロイ](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [ドキュメント](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
| DigitalOcean | [![DigitalOceanへのデプロイ](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [ドキュメント](https://hasura.io/docs/latest/graphql/core/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
||||||
| Azure | [![Azureへのデプロイ](https://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [ドキュメント](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html) |
|
| Azure | [![Azureへのデプロイ](https://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [ドキュメント](https://hasura.io/docs/latest/graphql/core/guides/deployment/azure-container-instances-postgres.html) |
|
||||||
|
|
||||||
### 他のデプロイ方法
|
### 他のデプロイ方法
|
||||||
|
|
||||||
Dockerでのデプロイと高度なカスタマイズオプションについては [デプロイガイド](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html) か
|
Dockerでのデプロイと高度なカスタマイズオプションについては [デプロイガイド](https://hasura.io/docs/latest/graphql/core/getting-started/index.html) か
|
||||||
[インストールマニフェスト](../install-manifests)を参考にしてください。
|
[インストールマニフェスト](../install-manifests)を参考にしてください。
|
||||||
|
|
||||||
## アーキテクチャ
|
## アーキテクチャ
|
||||||
@ -118,7 +118,7 @@ HasuraのPostgresベースのGraphQLスキーマに加えて、リモートス
|
|||||||
|
|
||||||
### 派生データまたはデータ変換
|
### 派生データまたはデータ変換
|
||||||
|
|
||||||
PostgreSQLのデータを変換するか、あるいはその上でビジネスロジックを実行することでGraphQLエンジンを使用して問い合わせることができる別のデータセットを派生させる事ができます。[続きを読む](https://hasura.io/docs/1.0/graphql/manual/queries/derived-data.html).
|
PostgreSQLのデータを変換するか、あるいはその上でビジネスロジックを実行することでGraphQLエンジンを使用して問い合わせることができる別のデータセットを派生させる事ができます。[続きを読む](https://hasura.io/docs/latest/graphql/core/queries/derived-data.html).
|
||||||
|
|
||||||
## デモ
|
## デモ
|
||||||
|
|
||||||
|
@ -77,7 +77,7 @@ La manera más rápida de probar Hasura es usando Heroku.
|
|||||||
|
|
||||||
3. Haz tu primer consulta con GraphQL
|
3. Haz tu primer consulta con GraphQL
|
||||||
|
|
||||||
Crea una tabla e instantáneamente ejecuta tu primer consulta. Sigue esta [guía simple](https://hasura.io/docs/1.0/graphql/manual/getting-started/first-graphql-query.html).
|
Crea una tabla e instantáneamente ejecuta tu primer consulta. Sigue esta [guía simple](https://hasura.io/docs/latest/graphql/core/getting-started/first-graphql-query.html).
|
||||||
|
|
||||||
### Otras opciones de despliegue en un clic
|
### Otras opciones de despliegue en un clic
|
||||||
|
|
||||||
@ -85,12 +85,12 @@ Revisa las instrucciones para las siguientes opciones de despliegue en un click:
|
|||||||
|
|
||||||
| **Proveedor de infraestructura** | **Enlace en un clic** | **Información adicional** |
|
| **Proveedor de infraestructura** | **Enlace en un clic** | **Información adicional** |
|
||||||
|:------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------:|
|
|:------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------:|
|
||||||
| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [docs](https://hasura.io/docs/latest/graphql/core/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
||||||
| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html) |
|
| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [docs](https://hasura.io/docs/latest/graphql/core/guides/deployment/azure-container-instances-postgres.html) |
|
||||||
|
|
||||||
### Otros métodos de despliegue
|
### Otros métodos de despliegue
|
||||||
|
|
||||||
Para el despliegue basado en Docker y opciones de configuración avanzadas, revisar [guías de despliegue](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html) o
|
Para el despliegue basado en Docker y opciones de configuración avanzadas, revisar [guías de despliegue](https://hasura.io/docs/latest/graphql/core/getting-started/index.html) o
|
||||||
[manifiesto de instalación](../install-manifests).
|
[manifiesto de instalación](../install-manifests).
|
||||||
|
|
||||||
## Arquitectura
|
## Arquitectura
|
||||||
@ -120,7 +120,7 @@ Ideal para notificaciones, canales de datos de Postgres o procesamiento asíncro
|
|||||||
|
|
||||||
### Datos derivados o transformación de datos
|
### Datos derivados o transformación de datos
|
||||||
|
|
||||||
Transforma datos en Postgres o ejecuta la lógica de negocio en ellos para derivar otro conjunto de datos que puedan ser consultados usando el motor de GraphQL - [leer más](https://hasura.io/docs/1.0/graphql/manual/queries/derived-data.html).
|
Transforma datos en Postgres o ejecuta la lógica de negocio en ellos para derivar otro conjunto de datos que puedan ser consultados usando el motor de GraphQL - [leer más](https://hasura.io/docs/latest/graphql/core/queries/derived-data.html).
|
||||||
|
|
||||||
## Demos
|
## Demos
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ O modo mais fácil de experimentar Hasura é via o Heroku.
|
|||||||
|
|
||||||
3. Faça sua primeira consulta GraphQL
|
3. Faça sua primeira consulta GraphQL
|
||||||
|
|
||||||
Crie uma tabela e rode instantaneamente sua primeira consulta. Siga esse [simples guia](https://hasura.io/docs/1.0/graphql/manual/getting-started/first-graphql-query.html).
|
Crie uma tabela e rode instantaneamente sua primeira consulta. Siga esse [simples guia](https://hasura.io/docs/latest/graphql/core/getting-started/first-graphql-query.html).
|
||||||
|
|
||||||
### Outros métodos de implantação
|
### Outros métodos de implantação
|
||||||
|
|
||||||
@ -86,12 +86,12 @@ Confira as instruções para as seguintes opções de implantação com um cliqu
|
|||||||
|
|
||||||
| **Fornecedor de infraestrutura** | **Link com um clique** | **Informação adicional** |
|
| **Fornecedor de infraestrutura** | **Link com um clique** | **Informação adicional** |
|
||||||
| :------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------: |
|
| :------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------: |
|
||||||
| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [docs](https://hasura.io/docs/latest/graphql/core/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
||||||
| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html) |
|
| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [docs](https://hasura.io/docs/latest/graphql/core/guides/deployment/azure-container-instances-postgres.html) |
|
||||||
|
|
||||||
### Outros métodos de implantação
|
### Outros métodos de implantação
|
||||||
|
|
||||||
Para implantação baseada no Docker e opções de configuração avançadas, veja o [guias de implantação](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html) ou o
|
Para implantação baseada no Docker e opções de configuração avançadas, veja o [guias de implantação](https://hasura.io/docs/latest/graphql/core/getting-started/index.html) ou o
|
||||||
[manifestos de instalação](/install-manifests).
|
[manifestos de instalação](/install-manifests).
|
||||||
|
|
||||||
## Arquitetura
|
## Arquitetura
|
||||||
@ -120,7 +120,7 @@ Adicione lógica de negócios assíncrona que é acionada com base nos eventos d
|
|||||||
|
|
||||||
### Dados derivados ou transformações de dados
|
### Dados derivados ou transformações de dados
|
||||||
|
|
||||||
Transforme dados no Postgres ou execute a lógica de negócios para obter outro conjunto de dados que possa ser consultado usando o GraphQL Engine - [leia mais](https://hasura.io/docs/1.0/graphql/manual/queries/derived-data.html).
|
Transforme dados no Postgres ou execute a lógica de negócios para obter outro conjunto de dados que possa ser consultado usando o GraphQL Engine - [leia mais](https://hasura.io/docs/latest/graphql/core/queries/derived-data.html).
|
||||||
|
|
||||||
## Demos
|
## Demos
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@ Hasura помогает строить GraphQL приложения при по
|
|||||||
|
|
||||||
3. Сделайте свой первый GraphQL-запрос
|
3. Сделайте свой первый GraphQL-запрос
|
||||||
|
|
||||||
Создайте таблицу и сразу же выполните свой первый запрос. Следуйте следующим указаниям [простое руководство](https://hasura.io/docs/1.0/graphql/manual/getting-started/first-graphql-query.html).
|
Создайте таблицу и сразу же выполните свой первый запрос. Следуйте следующим указаниям [простое руководство](https://hasura.io/docs/latest/graphql/core/getting-started/first-graphql-query.html).
|
||||||
|
|
||||||
### Другие варианты деплоймента одним кликом
|
### Другие варианты деплоймента одним кликом
|
||||||
|
|
||||||
@ -84,12 +84,12 @@ Hasura помогает строить GraphQL приложения при по
|
|||||||
|
|
||||||
| **Infra provider** | **One-click link** | **Additional information** |
|
| **Infra provider** | **One-click link** | **Additional information** |
|
||||||
|:------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------:|
|
|:------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------:|
|
||||||
| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [docs](https://hasura.io/docs/latest/graphql/core/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
||||||
| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html) |
|
| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [docs](https://hasura.io/docs/latest/graphql/core/guides/deployment/azure-container-instances-postgres.html) |
|
||||||
|
|
||||||
### Другие методы деплоймента
|
### Другие методы деплоймента
|
||||||
|
|
||||||
Для методов деплоймента на базе Docker и расширенных опций конфигурации, ознакомьтесь с [руководство по деплойменту](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html) или
|
Для методов деплоймента на базе Docker и расширенных опций конфигурации, ознакомьтесь с [руководство по деплойменту](https://hasura.io/docs/latest/graphql/core/getting-started/index.html) или
|
||||||
[установока манифестов](../install-manifests).
|
[установока манифестов](../install-manifests).
|
||||||
|
|
||||||
## Архитектура
|
## Архитектура
|
||||||
@ -119,7 +119,7 @@ GraphQL Engine предоставляет простые в обосновани
|
|||||||
|
|
||||||
### Полученные данные или трансформация данных
|
### Полученные данные или трансформация данных
|
||||||
|
|
||||||
Преобразование данных в Postgres или запуск бизнес-логики для получения другого набора данных, который можно запросить с помощью GraphQL Engine. - [подробнее](https://hasura.io/docs/1.0/graphql/manual/queries/derived-data.html).
|
Преобразование данных в Postgres или запуск бизнес-логики для получения другого набора данных, который можно запросить с помощью GraphQL Engine. - [подробнее](https://hasura.io/docs/latest/graphql/core/queries/derived-data.html).
|
||||||
|
|
||||||
## Demos
|
## Demos
|
||||||
|
|
||||||
|
@ -35,11 +35,11 @@ La manière la plus rapide de tester les évènements déclencheurs est via Hero
|
|||||||
3. Configurez votre premier évènement déclencheur et webhook
|
3. Configurez votre premier évènement déclencheur et webhook
|
||||||
|
|
||||||
Créez une table, configurez le changement de donnée que vous souhaitez utiliser comme déclencheur et invoquez immédiatement un webhook en ajoutant une nouvelle ligne dans votre table.
|
Créez une table, configurez le changement de donnée que vous souhaitez utiliser comme déclencheur et invoquez immédiatement un webhook en ajoutant une nouvelle ligne dans votre table.
|
||||||
Suivez ce [simple guide](https://hasura.io/docs/1.0/graphql/manual/getting-started/first-event-trigger.html).
|
Suivez ce [simple guide](https://hasura.io/docs/latest/graphql/core/getting-started/first-event-trigger.html).
|
||||||
|
|
||||||
### Autres méthodes de déploiement
|
### Autres méthodes de déploiement
|
||||||
|
|
||||||
Pour les déploiements basés sur Docker et le options de configuration avancées, consultez les [guides de déploiement](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html).
|
Pour les déploiements basés sur Docker et le options de configuration avancées, consultez les [guides de déploiement](https://hasura.io/docs/latest/graphql/core/getting-started/index.html).
|
||||||
|
|
||||||
### Demo (*30 secondes*)
|
### Demo (*30 secondes*)
|
||||||
|
|
||||||
|
@ -75,6 +75,6 @@ Ces limitations seront adressées dans les prochaines versions.
|
|||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
Consultez l'intégralité de la [documentation](https://hasura.io/docs/1.0/graphql/manual/remote-schemas/index.html).
|
Consultez l'intégralité de la [documentation](https://hasura.io/docs/latest/graphql/core/remote-schemas/index.html).
|
||||||
|
|
||||||
|
|
||||||
|
@ -74,7 +74,7 @@
|
|||||||
|
|
||||||
## प्रलेखन
|
## प्रलेखन
|
||||||
|
|
||||||
पूरा पढ़ें [प्रलेखन](https://hasura.io/docs/1.0/graphql/manual/remote-schemas/index.html).
|
पूरा पढ़ें [प्रलेखन](https://hasura.io/docs/latest/graphql/core/remote-schemas/index.html).
|
||||||
|
|
||||||
## अनुवाद
|
## अनुवाद
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user