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?
|
||||
- [ ] No
|
||||
- [ ] 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
|
||||
<!-- 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.
|
||||
|
||||
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
|
||||
|
||||
@ -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
|
||||
|
||||
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)
|
||||
|
||||
@ -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`.
|
||||
|
||||
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)
|
||||
|
||||
@ -929,7 +929,7 @@ docker run hasura/graphql-engine:v1.2.0 graphql-engine --database-url <db-url> d
|
||||
# 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)
|
||||
|
||||
@ -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.
|
||||
|
||||
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
|
||||
|
||||
|
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
|
||||
|
||||
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
|
||||
|
||||
@ -87,15 +87,15 @@ Check out the instructions for the following one-click deployment options:
|
||||
|
||||
| **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) |
|
||||
| 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) |
|
||||
| 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) |
|
||||
| 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) |
|
||||
| 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/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/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/latest/graphql/core/guides/deployment/render-one-click.html) |
|
||||
|
||||
### 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) or
|
||||
guides](https://hasura.io/docs/latest/graphql/core/getting-started/index.html) or
|
||||
[install manifests](install-manifests).
|
||||
|
||||
## Architecture
|
||||
@ -126,7 +126,7 @@ processing - [read more](event-triggers.md).
|
||||
|
||||
### 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
|
||||
|
||||
|
@ -84,7 +84,7 @@ const (
|
||||
const (
|
||||
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,
|
||||
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
|
||||
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,
|
||||
Args: cobra.MaximumNArgs(1),
|
||||
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" }
|
||||
```
|
||||
|
||||
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
|
||||
|
||||
|
@ -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.
|
||||
|
||||
[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
|
||||
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
*[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.
|
||||
|
||||
*[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
|
||||
|
||||
|
@ -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.
|
||||
|
||||
[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.
|
||||
|
||||
> 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
|
||||
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
|
||||
|
||||
|
@ -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)
|
||||
|
||||
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`
|
||||
|
@ -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)
|
||||
|
||||
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`
|
||||
|
@ -18,7 +18,7 @@ Typical use-cases:
|
||||
|
||||
## 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
|
||||
|
||||
|
@ -12,7 +12,7 @@ npm install
|
||||
> Note: if you clone this project through the Gatsby CLI, it will install the modules for you.
|
||||
|
||||
## 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
|
||||
|
||||
|
@ -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)
|
||||
|
||||
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`)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
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`)
|
||||
|
||||
|
@ -13,7 +13,7 @@ Boilerplate to get started with Nextjs, Hasura GraphQL engine as CMS and postgre
|
||||
[![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`)
|
||||
- Create `author` table:
|
||||
|
@ -11,7 +11,7 @@
|
||||
[![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`)
|
||||
- Create `author` table:
|
||||
|
@ -7,16 +7,16 @@ Boilerplate to get started with Quasar Framework, Hasura GraphQL engine as CMS a
|
||||
# Tutorial
|
||||
|
||||
- Deploy Postgres and GraphQL Engine on 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`)
|
||||
- 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:
|
||||
|
||||
![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
|
||||
```
|
||||
|
||||
- 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
|
||||
|
||||
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.
|
||||
|
||||
- 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
|
||||
|
@ -9,9 +9,9 @@ This app demonstrates pagination using Hasura with Relay. It's for demo purposes
|
||||
- columns: `id`, `body`, `created_at`, `restaurant_id`
|
||||
- `restaurants`
|
||||
- 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 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 `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:
|
||||
@ -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.
|
||||
- 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
|
||||
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`)
|
||||
- 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
|
||||
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`:
|
||||
```yaml
|
||||
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
|
||||
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`:
|
||||
```yaml
|
||||
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
|
||||
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`)
|
||||
- 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
|
||||
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:
|
||||
```bash
|
||||
cd hasura
|
||||
|
@ -25,8 +25,8 @@ Feel free to open pull requests to address these issues or to add/fix console f
|
||||
### Prerequisites
|
||||
|
||||
- [Node.js](https://nodejs.org/en/) (v8.9+)
|
||||
- [Hasura GraphQL Engine](https://hasura.io/docs/1.0/graphql/manual/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 GraphQL Engine](https://hasura.io/docs/latest/graphql/core/getting-started/index.html)
|
||||
- [Hasura CLI](https://hasura.io/docs/latest/graphql/core/hasura-cli/install-hasura-cli.html) (for working with migrations)
|
||||
|
||||
### 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).
|
||||
|
||||
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.
|
||||
|
||||
|
@ -96,11 +96,11 @@ const onboardingList = [
|
||||
title: 'Read the Getting Started Docs',
|
||||
link: {
|
||||
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:
|
||||
'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:
|
||||
'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' },
|
||||
|
@ -300,7 +300,7 @@ class Main extends React.Component {
|
||||
adminSecretHtml = (
|
||||
<div className={styles.secureSection}>
|
||||
<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"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
|
@ -263,7 +263,7 @@ const VersionUpdateNotification: React.FC<VersionUpdateNotificationProps> = ({
|
||||
<span className={styles.middot}> · </span>
|
||||
<a
|
||||
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"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
@ -299,7 +299,7 @@ const VulnerableVersionNotification: React.FC<VulnerableVersionProps> = ({
|
||||
<span className={styles.middot}> · </span>
|
||||
<a
|
||||
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"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
|
@ -78,7 +78,7 @@ export const UpdateVersion: React.FC<UpdateVersionProps> = ({
|
||||
<span className={styles.middot}> · </span>
|
||||
<a
|
||||
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"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
|
@ -23,7 +23,7 @@ class Landing extends React.Component {
|
||||
imgUrl={`${globals.assetsPath}/common/img/actions.png`}
|
||||
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."
|
||||
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} />
|
||||
</div>
|
||||
|
@ -5,7 +5,7 @@ import ToolTip from '../../../../Common/Tooltip/Tooltip';
|
||||
import KnowMoreLink from '../../../../Common/KnowMoreLink/KnowMoreLink';
|
||||
|
||||
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 }) => {
|
||||
if (!isEnum) {
|
||||
|
@ -50,7 +50,7 @@ const SessionVarSection: React.FC<SessionVarSectionProps> = ({
|
||||
<h4 className={styles.subheading_text}>
|
||||
Session argument
|
||||
<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>
|
||||
<div
|
||||
className={isEditing ? styles.editorExpanded : styles.editorCollapsed}
|
||||
|
@ -37,7 +37,7 @@ const PermissionServerFlagNote = ({ isEditable = false }) =>
|
||||
<code>HASURA_GRAPHQL_INFER_FUNCTION_PERMISSIONS=false</code> on the
|
||||
server (
|
||||
<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"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
|
@ -26,7 +26,7 @@ const Migrations = ({ dispatch, migrationMode }) => {
|
||||
<li>
|
||||
Read more about managing migrations with Hasura at the{' '}
|
||||
<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"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
|
@ -352,7 +352,7 @@ const RawSQL = ({
|
||||
<KnowMoreLink
|
||||
text={'See supported functions requirements'}
|
||||
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>
|
||||
|
@ -523,7 +523,7 @@ class Schema extends Component {
|
||||
'Untracked foreign-key relationships',
|
||||
'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>
|
||||
</>
|
||||
);
|
||||
@ -544,7 +544,7 @@ class Schema extends Component {
|
||||
const heading = getSectionHeading(
|
||||
'Untracked custom functions',
|
||||
'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 (
|
||||
|
@ -27,7 +27,7 @@ const ComputedFields = (props: ComputedFieldsProps) => {
|
||||
<h4 className={styles.subheading_text}>
|
||||
Computed fields
|
||||
<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>
|
||||
<ComputedFieldsEditor
|
||||
table={tableSchema}
|
||||
|
@ -402,7 +402,7 @@ const ComputedFieldsEditor: React.FC<ComputedFieldsEditorProps> = ({
|
||||
<b>Session argument:</b>
|
||||
<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>
|
||||
<input
|
||||
type="text"
|
||||
|
@ -1726,7 +1726,7 @@ class Permissions extends Component {
|
||||
'Backend only',
|
||||
tooltip,
|
||||
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
|
||||
testId={'toggle-backend-only'}
|
||||
|
@ -483,7 +483,7 @@ const Relationships = ({
|
||||
Table Relationships
|
||||
<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>
|
||||
{addedRelationshipsView}
|
||||
{getAddRelSection()}
|
||||
|
@ -163,7 +163,7 @@ class RelationshipsView extends Component {
|
||||
Table Relationships
|
||||
<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>
|
||||
{addedRelationshipsView}
|
||||
<div className={styles.activeEdit}>
|
||||
|
@ -26,7 +26,7 @@ const RemoteRelationships: React.FC<Props> = ({
|
||||
Remote Schema Relationships
|
||||
<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>
|
||||
<div className={styles.activeEdit}>
|
||||
<RemoteRelationshipList
|
||||
|
@ -67,7 +67,7 @@ export const Numerics = [...Integers, ...Reals];
|
||||
|
||||
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 = {
|
||||
postgresError: {
|
||||
code: 'postgres-error',
|
||||
|
@ -17,7 +17,7 @@ const Info: React.FC = () => {
|
||||
<p>
|
||||
You can schedule an event from your backend using the{' '}
|
||||
<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"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
|
@ -43,7 +43,7 @@ const Operations = ({
|
||||
<i className="fa fa-question-circle" aria-hidden="true" />
|
||||
</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>
|
||||
) : (
|
||||
capitalize(o)
|
||||
|
@ -36,7 +36,7 @@ insert_user(objects: [{name: "testuser"}] ){
|
||||
imgUrl={`${globals.assetsPath}/common/img/event-trigger.png`}
|
||||
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.`}
|
||||
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} />
|
||||
</div>
|
||||
|
@ -57,7 +57,7 @@ class RemoteSchema extends React.Component {
|
||||
imgUrl={`${globals.assetsPath}/common/img/remote_schema.png`}
|
||||
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."
|
||||
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} />
|
||||
|
||||
|
@ -96,7 +96,7 @@ class About extends Component<ConnectInjectedProps & StateProps> {
|
||||
<b>·</b>
|
||||
</span>
|
||||
<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"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
|
@ -12,7 +12,7 @@ class AllowedQueriesNotes extends React.Component {
|
||||
operations added to the allow-list will be allowed to be
|
||||
executed.
|
||||
<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"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
|
@ -72,7 +72,7 @@ const MetadataOptions = props => {
|
||||
permissions, etc. that is used to generate the GraphQL schema and
|
||||
API.
|
||||
<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"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
|
@ -45,7 +45,7 @@ export interface QualifiedTable {
|
||||
|
||||
/**
|
||||
* 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 {
|
||||
/** Customise the table name */
|
||||
@ -76,7 +76,7 @@ export interface TableEntry {
|
||||
|
||||
/**
|
||||
* 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 {
|
||||
/** 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.
|
||||
* 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 {
|
||||
/** Name of the SQL function */
|
||||
@ -139,7 +139,7 @@ export interface FunctionDefinition {
|
||||
|
||||
/**
|
||||
* 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 {
|
||||
/**
|
||||
@ -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 {
|
||||
/** Name of the new relationship */
|
||||
@ -179,7 +179,7 @@ export interface ObjectRelationship {
|
||||
|
||||
/**
|
||||
* 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 {
|
||||
/** The column with foreign key constraint */
|
||||
@ -190,7 +190,7 @@ export interface ObjRelUsing {
|
||||
|
||||
/**
|
||||
* 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 {
|
||||
/** 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 {
|
||||
/** Name of the new relationship */
|
||||
@ -213,7 +213,7 @@ export interface ArrayRelationship {
|
||||
|
||||
/**
|
||||
* 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 {
|
||||
/** The column with foreign key constraint */
|
||||
@ -224,7 +224,7 @@ export interface ArrRelUsing {
|
||||
|
||||
/**
|
||||
* 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 {
|
||||
column: PGColumn;
|
||||
@ -233,7 +233,7 @@ export interface ArrRelUsingFKeyOn {
|
||||
|
||||
/**
|
||||
* 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 {
|
||||
/** 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.
|
||||
* 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 {
|
||||
[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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
/** The SQL function */
|
||||
@ -406,7 +406,7 @@ export interface ComputedFieldDefinition {
|
||||
|
||||
/**
|
||||
* 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 {
|
||||
/** 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[];
|
||||
|
||||
/**
|
||||
* 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 {
|
||||
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/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#headerfromvalue
|
||||
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/syntax-defs.html#headerfromenv
|
||||
*/
|
||||
export interface ServerHeader {
|
||||
/** 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 {
|
||||
/**
|
||||
@ -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 {
|
||||
/** 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 {
|
||||
/**
|
||||
@ -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 {
|
||||
/** 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 {
|
||||
url?: string;
|
||||
@ -582,7 +582,7 @@ export interface RemoteSchemaDef {
|
||||
// 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 {
|
||||
/** 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.
|
||||
* 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 {
|
||||
[FieldName: string]: {
|
||||
@ -617,7 +617,7 @@ export interface RemoteField {
|
||||
|
||||
/**
|
||||
* 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 {
|
||||
[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 {
|
||||
/** 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 {
|
||||
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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
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 {
|
||||
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';
|
||||
@ -867,7 +867,7 @@ export interface RestEndpointEntry {
|
||||
|
||||
/**
|
||||
* 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 {
|
||||
version: '2';
|
||||
|
@ -24,7 +24,7 @@ const showTelemetryNotification = () => {
|
||||
Help us improve Hasura! The console collects anonymized usage stats
|
||||
which allows us to keep improving Hasura at warp speed.
|
||||
<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"
|
||||
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 {
|
||||
Name string `json:"name"` // Name 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 {
|
||||
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
|
||||
}
|
||||
|
||||
//
|
||||
// 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 {
|
||||
Description *string `json:"description,omitempty"`// Description 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
|
||||
//
|
||||
// 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 {
|
||||
Actions []Action `json:"actions"`
|
||||
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 {
|
||||
Comment *string `json:"comment,omitempty"` // Comment
|
||||
Definition ActionDefinition `json:"definition"` // Definition of the action
|
||||
@ -1011,7 +1011,7 @@ type Action struct {
|
||||
// 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 {
|
||||
Arguments []InputArgument `json:"arguments"`
|
||||
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 {
|
||||
Name string `json:"name"`
|
||||
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 {
|
||||
Name string `json:"name"` // Name 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 {
|
||||
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 {
|
||||
Comment *string `json:"comment,omitempty"` // Custom comment.
|
||||
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
|
||||
//
|
||||
//
|
||||
// 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 {
|
||||
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
|
||||
@ -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 {
|
||||
Description *string `json:"description,omitempty"`// Description 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 {
|
||||
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
|
||||
@ -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 {
|
||||
Description *string `json:"description,omitempty"`// Description 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 {
|
||||
Description *string `json:"description,omitempty"`// Description 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 {
|
||||
Description *string `json:"description,omitempty"`// Description 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 {
|
||||
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
|
||||
@ -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 {
|
||||
Description *string `json:"description,omitempty"`// Description 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.
|
||||
//
|
||||
// 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 {
|
||||
Configuration *FunctionConfiguration `json:"configuration,omitempty"`// Configuration for the SQL function
|
||||
Function *FunctionName `json:"function"` // Name of the SQL function
|
||||
@ -1156,7 +1156,7 @@ type CustomFunction struct {
|
||||
//
|
||||
// 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 {
|
||||
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 {
|
||||
Comment *string `json:"comment,omitempty"`// Comment
|
||||
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 {
|
||||
Name string `json:"name"`
|
||||
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 {
|
||||
Comment *string `json:"comment,omitempty"`// Comment
|
||||
Definition RemoteSchemaDef `json:"definition"` // Name of the remote schema
|
||||
@ -1197,7 +1197,7 @@ type RemoteSchema struct {
|
||||
// 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 {
|
||||
ForwardClientHeaders *bool `json:"forward_client_headers,omitempty"`
|
||||
Headers []Header `json:"headers"`
|
||||
@ -1210,7 +1210,7 @@ type RemoteSchemaDef struct {
|
||||
type TableEntry struct {
|
||||
ArrayRelationships []ArrayRelationship `json:"array_relationships"`
|
||||
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"`
|
||||
EventTriggers []EventTrigger `json:"event_triggers"`
|
||||
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 {
|
||||
Comment *string `json:"comment,omitempty"`// Comment
|
||||
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
|
||||
//
|
||||
// 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 {
|
||||
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
|
||||
@ -1244,7 +1244,7 @@ type ArrRelUsing struct {
|
||||
//
|
||||
// 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 {
|
||||
Column string `json:"column"`
|
||||
Table *TableName `json:"table"`
|
||||
@ -1254,14 +1254,14 @@ type ArrRelUsingFKeyOn struct {
|
||||
//
|
||||
// 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 {
|
||||
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
|
||||
}
|
||||
|
||||
//
|
||||
// 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 {
|
||||
Comment *string `json:"comment,omitempty"`// Comment
|
||||
Definition ComputedFieldDefinition `json:"definition"` // The computed field definition
|
||||
@ -1271,7 +1271,7 @@ type ComputedField struct {
|
||||
// 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 {
|
||||
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
|
||||
@ -1280,7 +1280,7 @@ type ComputedFieldDefinition struct {
|
||||
|
||||
// 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 {
|
||||
CustomColumnNames map[string]string `json:"custom_column_names,omitempty"`// Customise the column names
|
||||
CustomRootFields *CustomRootFields `json:"custom_root_fields,omitempty"` // Customise the root fields
|
||||
@ -1290,7 +1290,7 @@ type TableConfig struct {
|
||||
//
|
||||
// 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 {
|
||||
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
|
||||
@ -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 {
|
||||
Comment *string `json:"comment,omitempty"`// Comment
|
||||
Permission DeletePermission `json:"permission"` // The permission definition
|
||||
@ -1314,14 +1314,14 @@ type DeletePermissionEntry struct {
|
||||
// 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 {
|
||||
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
|
||||
//
|
||||
// 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 {
|
||||
Definition EventTriggerDefinition `json:"definition"` // The SQL function
|
||||
Headers []Header `json:"headers"` // The SQL function
|
||||
@ -1333,23 +1333,23 @@ type EventTrigger struct {
|
||||
|
||||
// The SQL function
|
||||
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"`
|
||||
Insert *OperationSpec `json:"insert,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/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/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 {
|
||||
Columns *EventTriggerColumns `json:"columns"`// ; 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/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/latest/graphql/core/api-reference/schema-metadata-api/event-triggers.html#eventtriggercolumns
|
||||
}
|
||||
|
||||
// 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 {
|
||||
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
|
||||
@ -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 {
|
||||
Comment *string `json:"comment,omitempty"`// Comment
|
||||
Permission InsertPermission `json:"permission"` // The permission definition
|
||||
@ -1367,7 +1367,7 @@ type InsertPermissionEntry struct {
|
||||
// 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 {
|
||||
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
|
||||
@ -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 {
|
||||
Comment *string `json:"comment,omitempty"`// Comment
|
||||
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
|
||||
//
|
||||
// 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 {
|
||||
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
|
||||
@ -1397,14 +1397,14 @@ type ObjRelUsing struct {
|
||||
//
|
||||
// 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 {
|
||||
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
|
||||
}
|
||||
|
||||
//
|
||||
// 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 {
|
||||
Definition RemoteRelationshipDef `json:"definition"`// Definition object
|
||||
Name string `json:"name"` // Name of the remote relationship
|
||||
@ -1419,11 +1419,11 @@ type RemoteRelationshipDef struct {
|
||||
|
||||
type RemoteFieldValue struct {
|
||||
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 {
|
||||
Comment *string `json:"comment,omitempty"`// Comment
|
||||
Permission SelectPermission `json:"permission"` // The permission definition
|
||||
@ -1433,7 +1433,7 @@ type SelectPermissionEntry struct {
|
||||
// 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 {
|
||||
AllowAggregations *bool `json:"allow_aggregations,omitempty"`// Toggle allowing aggregate queries
|
||||
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 {
|
||||
Comment *string `json:"comment,omitempty"`// Comment
|
||||
Permission UpdatePermission `json:"permission"` // The permission definition
|
||||
@ -1453,7 +1453,7 @@ type UpdatePermissionEntry struct {
|
||||
// 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 {
|
||||
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)
|
||||
|
@ -124,7 +124,7 @@ type RemoteField = HashMap Text RemoteFieldValue
|
||||
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 of the header
|
||||
@ -138,7 +138,7 @@ data HeaderFromValue = HeaderFromValue
|
||||
} 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 of the header
|
||||
@ -152,7 +152,7 @@ data HeaderFromEnv = HeaderFromEnv
|
||||
} 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 of the Input object type
|
||||
@ -171,7 +171,7 @@ data ObjectField = ObjectField
|
||||
|
||||
{-| 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
|
||||
{ actionsHasuraMetadataV2 :: Maybe (Vector Action)
|
||||
@ -186,7 +186,7 @@ data HasuraMetadataV2 = HasuraMetadataV2
|
||||
} 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
|
||||
@ -210,7 +210,7 @@ data Action = 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:
|
||||
A String value which supports templating environment variables enclosed in {{ and }}.
|
||||
@ -232,7 +232,7 @@ data ActionDefinitionType
|
||||
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
|
||||
{ nameInputArgument :: Text
|
||||
@ -240,10 +240,10 @@ data InputArgument = InputArgument
|
||||
} 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 of the header
|
||||
@ -266,7 +266,7 @@ data Permissions = Permissions
|
||||
} 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:
|
||||
Name of a query collection to be added to the allow-list
|
||||
@ -276,7 +276,7 @@ data AllowList = AllowList
|
||||
} 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:
|
||||
Custom comment.
|
||||
@ -318,7 +318,7 @@ data CronTrigger = CronTrigger
|
||||
{-| 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:
|
||||
Number of times to retry delivery.
|
||||
@ -352,7 +352,7 @@ data CustomTypes = CustomTypes
|
||||
} 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 of the Enum type
|
||||
@ -370,7 +370,7 @@ data EnumType = EnumType
|
||||
} 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 of the Enum value
|
||||
@ -388,7 +388,7 @@ data EnumValue = EnumValue
|
||||
} 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 of the Input object type
|
||||
@ -406,7 +406,7 @@ data InputObjectType = InputObjectType
|
||||
} 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 of the Input object type
|
||||
@ -424,7 +424,7 @@ data InputObjectField = InputObjectField
|
||||
} 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 of the Input object type
|
||||
@ -446,7 +446,7 @@ data ObjectType = ObjectType
|
||||
} 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:
|
||||
Mapping of fields of object type to columns of remote table
|
||||
@ -484,7 +484,7 @@ data QualifiedTable = QualifiedTable
|
||||
} 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 of the Scalar type
|
||||
@ -499,7 +499,7 @@ data ScalarType = ScalarType
|
||||
|
||||
{-| 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 for the SQL function
|
||||
@ -516,7 +516,7 @@ data CustomFunction = 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:
|
||||
Function argument which accepts session info JSON
|
||||
@ -541,7 +541,7 @@ data QualifiedFunction = QualifiedFunction
|
||||
} 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
|
||||
@ -564,7 +564,7 @@ data Definition = Definition
|
||||
} 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
|
||||
{ nameQueryCollection :: Text
|
||||
@ -572,7 +572,7 @@ data QueryCollection = QueryCollection
|
||||
} 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
|
||||
@ -592,7 +592,7 @@ data RemoteSchema = RemoteSchema
|
||||
{-| 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
|
||||
{ forwardClientHeadersRemoteSchemaDef :: Maybe Bool
|
||||
@ -607,7 +607,7 @@ data RemoteSchemaDef = RemoteSchemaDef
|
||||
configuration:
|
||||
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
|
||||
{ arrayRelationshipsTableEntry :: Maybe (Vector ArrayRelationship)
|
||||
@ -625,7 +625,7 @@ data TableEntry = TableEntry
|
||||
} 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
|
||||
@ -646,7 +646,7 @@ data ArrayRelationship = ArrayRelationship
|
||||
|
||||
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:
|
||||
The column with foreign key constraint
|
||||
@ -663,7 +663,7 @@ data ArrRelUsing = ArrRelUsing
|
||||
|
||||
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
|
||||
{ columnArrRelUsingFKeyOn :: Text
|
||||
@ -674,7 +674,7 @@ data ArrRelUsingFKeyOn = ArrRelUsingFKeyOn
|
||||
|
||||
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:
|
||||
Mapping of columns from current table to remote table
|
||||
@ -688,7 +688,7 @@ data ArrRelUsingManualMapping = ArrRelUsingManualMapping
|
||||
} 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
|
||||
@ -708,7 +708,7 @@ data ComputedField = ComputedField
|
||||
{-| 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:
|
||||
The SQL function
|
||||
@ -729,7 +729,7 @@ data ComputedFieldDefinition = ComputedFieldDefinition
|
||||
|
||||
{-| 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:
|
||||
Customise the column names
|
||||
@ -746,7 +746,7 @@ data TableConfig = TableConfig
|
||||
|
||||
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:
|
||||
Customise the `delete_<table-name>` root field
|
||||
@ -788,7 +788,7 @@ data CustomRootFields = CustomRootFields
|
||||
} 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
|
||||
@ -808,7 +808,7 @@ data DeletePermissionEntry = DeletePermissionEntry
|
||||
{-| 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:
|
||||
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
|
||||
|
||||
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:
|
||||
The SQL function
|
||||
@ -855,15 +855,15 @@ data EventTrigger = EventTrigger
|
||||
|
||||
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:
|
||||
|
||||
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:
|
||||
|
||||
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
|
||||
{ deleteEventTriggerDefinition :: Maybe OperationSpec
|
||||
@ -873,15 +873,15 @@ data EventTriggerDefinition = EventTriggerDefinition
|
||||
} 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:
|
||||
|
||||
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:
|
||||
|
||||
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
|
||||
{ columnsOperationSpec :: EventTriggerColumns
|
||||
@ -900,7 +900,7 @@ data Columns
|
||||
{-| 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:
|
||||
Number of seconds to wait between each retry.
|
||||
@ -921,7 +921,7 @@ data RetryConf = RetryConf
|
||||
} 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
|
||||
@ -941,7 +941,7 @@ data InsertPermissionEntry = InsertPermissionEntry
|
||||
{-| 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:
|
||||
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)
|
||||
|
||||
{-|
|
||||
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
|
||||
@ -987,7 +987,7 @@ data ObjectRelationship = ObjectRelationship
|
||||
|
||||
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:
|
||||
The column with foreign key constraint
|
||||
@ -1004,7 +1004,7 @@ data ObjRelUsing = ObjRelUsing
|
||||
|
||||
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:
|
||||
Mapping of columns from current table to remote table
|
||||
@ -1018,7 +1018,7 @@ data ObjRelUsingManualMapping = ObjRelUsingManualMapping
|
||||
} 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 object
|
||||
@ -1054,7 +1054,7 @@ A recursive tree structure that points to the field in the remote schema that ne
|
||||
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
|
||||
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#remotefield
|
||||
-}
|
||||
data RemoteFieldValue = RemoteFieldValue
|
||||
{ argumentsRemoteFieldValue :: HashMap Text Text
|
||||
@ -1062,7 +1062,7 @@ data RemoteFieldValue = RemoteFieldValue
|
||||
} 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
|
||||
@ -1082,7 +1082,7 @@ data SelectPermissionEntry = SelectPermissionEntry
|
||||
{-| 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:
|
||||
Toggle allowing aggregate queries
|
||||
@ -1108,7 +1108,7 @@ data SelectPermission = SelectPermission
|
||||
} 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
|
||||
@ -1128,7 +1128,7 @@ data UpdatePermissionEntry = UpdatePermissionEntry
|
||||
{-| 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:
|
||||
Postcondition which must be satisfied by rows which have been updated
|
||||
|
@ -67,7 +67,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -97,7 +97,7 @@
|
||||
"title": "is_enum"
|
||||
},
|
||||
"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",
|
||||
"title": "configuration"
|
||||
},
|
||||
@ -170,7 +170,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -258,7 +258,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -285,7 +285,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -297,7 +297,7 @@
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -323,7 +323,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -340,7 +340,7 @@
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -371,7 +371,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -397,7 +397,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -414,7 +414,7 @@
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -440,7 +440,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -471,7 +471,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
@ -479,7 +479,7 @@
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -505,7 +505,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -563,7 +563,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -589,7 +589,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -655,7 +655,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -681,7 +681,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -754,7 +754,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -780,7 +780,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -807,7 +807,7 @@
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -833,7 +833,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -865,7 +865,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -924,17 +924,17 @@
|
||||
"title": "enable_manual"
|
||||
},
|
||||
"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",
|
||||
"title": "insert"
|
||||
},
|
||||
"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",
|
||||
"title": "delete"
|
||||
},
|
||||
"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",
|
||||
"title": "update"
|
||||
}
|
||||
@ -960,12 +960,12 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"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": [
|
||||
{
|
||||
"type": "array",
|
||||
@ -983,7 +983,7 @@
|
||||
"title": "columns"
|
||||
},
|
||||
"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": [
|
||||
{
|
||||
"type": "array",
|
||||
@ -1006,7 +1006,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1027,7 +1027,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1048,7 +1048,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1070,7 +1070,7 @@
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1136,7 +1136,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1163,7 +1163,7 @@
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1189,7 +1189,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1226,7 +1226,7 @@
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1276,7 +1276,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
@ -1287,7 +1287,7 @@
|
||||
"title": "arguments"
|
||||
},
|
||||
"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",
|
||||
"title": "field"
|
||||
}
|
||||
@ -1298,7 +1298,7 @@
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
@ -1306,7 +1306,7 @@
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1344,7 +1344,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1363,7 +1363,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1412,7 +1412,7 @@
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1441,7 +1441,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1467,7 +1467,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1504,7 +1504,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1530,7 +1530,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1577,7 +1577,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1597,7 +1597,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1626,7 +1626,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1651,7 +1651,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1691,7 +1691,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1747,7 +1747,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1766,7 +1766,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
@ -147,7 +147,7 @@ def to_float(x: Any) -> float:
|
||||
@dataclass
|
||||
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: str
|
||||
@ -171,7 +171,7 @@ class HeaderFromValue:
|
||||
@dataclass
|
||||
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: str
|
||||
@ -195,7 +195,7 @@ class HeaderFromEnv:
|
||||
@dataclass
|
||||
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: str
|
||||
@ -223,7 +223,7 @@ class ObjectField:
|
||||
@dataclass
|
||||
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
|
||||
type: str
|
||||
@ -245,10 +245,10 @@ class InputArgument:
|
||||
@dataclass
|
||||
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: str
|
||||
@ -283,7 +283,7 @@ class ActionDefinition:
|
||||
"""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 }}.
|
||||
Template example: https://{{ACTION_API_DOMAIN}}/create-user
|
||||
@ -340,7 +340,7 @@ class Permissions:
|
||||
@dataclass
|
||||
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: ActionDefinition
|
||||
@ -372,7 +372,7 @@ class Action:
|
||||
@dataclass
|
||||
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"""
|
||||
collection: str
|
||||
@ -394,7 +394,7 @@ class RetryConfST:
|
||||
"""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.
|
||||
Default: 0
|
||||
@ -435,7 +435,7 @@ class RetryConfST:
|
||||
@dataclass
|
||||
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"""
|
||||
headers: List[Header]
|
||||
@ -486,7 +486,7 @@ class CronTrigger:
|
||||
@dataclass
|
||||
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: str
|
||||
@ -514,7 +514,7 @@ class EnumValue:
|
||||
@dataclass
|
||||
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: str
|
||||
@ -542,7 +542,7 @@ class EnumType:
|
||||
@dataclass
|
||||
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: str
|
||||
@ -570,7 +570,7 @@ class InputObjectField:
|
||||
@dataclass
|
||||
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: List[InputObjectField]
|
||||
@ -623,7 +623,7 @@ class CustomTypeObjectRelationshipType(Enum):
|
||||
@dataclass
|
||||
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"""
|
||||
field_mapping: Dict[str, str]
|
||||
@ -655,7 +655,7 @@ class CustomTypeObjectRelationship:
|
||||
@dataclass
|
||||
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: List[InputObjectField]
|
||||
@ -687,7 +687,7 @@ class ObjectType:
|
||||
@dataclass
|
||||
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: str
|
||||
@ -739,7 +739,7 @@ class FunctionConfiguration:
|
||||
|
||||
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
|
||||
Currently, only functions which satisfy the following constraints can be exposed over the
|
||||
@ -785,7 +785,7 @@ class QualifiedFunction:
|
||||
class CustomFunction:
|
||||
"""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"""
|
||||
function: Union[QualifiedFunction, str]
|
||||
@ -809,7 +809,7 @@ class CustomFunction:
|
||||
@dataclass
|
||||
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
|
||||
query: str
|
||||
@ -848,7 +848,7 @@ class Definition:
|
||||
@dataclass
|
||||
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"""
|
||||
definition: Definition
|
||||
@ -878,7 +878,7 @@ class RemoteSchemaDef:
|
||||
"""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
|
||||
headers: Optional[List[Header]] = None
|
||||
@ -909,7 +909,7 @@ class RemoteSchemaDef:
|
||||
@dataclass
|
||||
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"""
|
||||
definition: RemoteSchemaDef
|
||||
@ -940,7 +940,7 @@ class ArrRelUsingFKeyOn:
|
||||
|
||||
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
|
||||
table: Union[QualifiedTable, str]
|
||||
@ -965,7 +965,7 @@ class ArrRelUsingManualMapping:
|
||||
|
||||
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"""
|
||||
column_mapping: Dict[str, str]
|
||||
@ -992,7 +992,7 @@ class ArrRelUsing:
|
||||
|
||||
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"""
|
||||
foreign_key_constraint_on: Optional[ArrRelUsingFKeyOn] = None
|
||||
@ -1016,7 +1016,7 @@ class ArrRelUsing:
|
||||
@dataclass
|
||||
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: str
|
||||
@ -1046,7 +1046,7 @@ class ComputedFieldDefinition:
|
||||
"""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"""
|
||||
function: Union[QualifiedFunction, str]
|
||||
@ -1078,7 +1078,7 @@ class ComputedFieldDefinition:
|
||||
@dataclass
|
||||
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"""
|
||||
definition: ComputedFieldDefinition
|
||||
@ -1109,7 +1109,7 @@ class CustomRootFields:
|
||||
|
||||
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"""
|
||||
delete: Optional[str] = None
|
||||
@ -1162,7 +1162,7 @@ class CustomRootFields:
|
||||
class TableConfig:
|
||||
"""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"""
|
||||
custom_column_names: Optional[Dict[str, str]] = None
|
||||
@ -1188,7 +1188,7 @@ class DeletePermission:
|
||||
"""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"""
|
||||
filter: Optional[Dict[str, Union[float, Dict[str, Any], str]]] = None
|
||||
@ -1208,7 +1208,7 @@ class DeletePermission:
|
||||
@dataclass
|
||||
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"""
|
||||
permission: DeletePermission
|
||||
@ -1240,14 +1240,14 @@ class EventTriggerColumnsEnum(Enum):
|
||||
@dataclass
|
||||
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]
|
||||
"""
|
||||
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]
|
||||
|
||||
@ -1270,15 +1270,15 @@ class EventTriggerDefinition:
|
||||
"""The SQL function"""
|
||||
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
|
||||
"""
|
||||
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
|
||||
"""
|
||||
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
|
||||
|
||||
@ -1305,7 +1305,7 @@ class RetryConf:
|
||||
"""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.
|
||||
Default: 10
|
||||
@ -1340,7 +1340,7 @@ class RetryConf:
|
||||
class EventTrigger:
|
||||
"""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"""
|
||||
definition: EventTriggerDefinition
|
||||
@ -1381,7 +1381,7 @@ class InsertPermission:
|
||||
"""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)"""
|
||||
columns: Union[List[str], EventTriggerColumnsEnum]
|
||||
@ -1417,7 +1417,7 @@ class InsertPermission:
|
||||
@dataclass
|
||||
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"""
|
||||
permission: InsertPermission
|
||||
@ -1448,7 +1448,7 @@ class ObjRelUsingManualMapping:
|
||||
|
||||
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"""
|
||||
column_mapping: Dict[str, str]
|
||||
@ -1475,7 +1475,7 @@ class ObjRelUsing:
|
||||
|
||||
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"""
|
||||
foreign_key_constraint_on: Optional[str] = None
|
||||
@ -1499,7 +1499,7 @@ class ObjRelUsing:
|
||||
@dataclass
|
||||
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: str
|
||||
@ -1531,7 +1531,7 @@ class RemoteFieldValue:
|
||||
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
|
||||
https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#remotefield
|
||||
"""
|
||||
field: Optional[Dict[str, 'RemoteFieldValue']] = None
|
||||
|
||||
@ -1580,7 +1580,7 @@ class RemoteRelationshipDef:
|
||||
@dataclass
|
||||
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: RemoteRelationshipDef
|
||||
@ -1606,7 +1606,7 @@ class SelectPermission:
|
||||
"""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)"""
|
||||
columns: Union[List[str], EventTriggerColumnsEnum]
|
||||
@ -1642,7 +1642,7 @@ class SelectPermission:
|
||||
@dataclass
|
||||
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"""
|
||||
permission: SelectPermission
|
||||
@ -1672,7 +1672,7 @@ class UpdatePermission:
|
||||
"""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)"""
|
||||
columns: Union[List[str], EventTriggerColumnsEnum]
|
||||
@ -1704,7 +1704,7 @@ class UpdatePermission:
|
||||
@dataclass
|
||||
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"""
|
||||
permission: UpdatePermission
|
||||
@ -1737,7 +1737,7 @@ class TableEntry:
|
||||
computed_fields: Optional[List[ComputedField]] = None
|
||||
"""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
|
||||
delete_permissions: Optional[List[DeletePermissionEntry]] = None
|
||||
@ -1787,7 +1787,7 @@ class TableEntry:
|
||||
class HasuraMetadataV2:
|
||||
"""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]
|
||||
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 {
|
||||
/**
|
||||
@ -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 {
|
||||
/**
|
||||
@ -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 {
|
||||
/**
|
||||
@ -129,7 +129,7 @@ export interface ObjectField {
|
||||
/**
|
||||
* 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 {
|
||||
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 {
|
||||
/**
|
||||
@ -170,7 +170,7 @@ export interface 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 {
|
||||
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 {
|
||||
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 {
|
||||
/**
|
||||
@ -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 {
|
||||
/**
|
||||
@ -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 {
|
||||
/**
|
||||
@ -285,7 +285,7 @@ export interface CronTrigger {
|
||||
* 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 {
|
||||
/**
|
||||
@ -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 {
|
||||
/**
|
||||
@ -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 {
|
||||
/**
|
||||
@ -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 {
|
||||
/**
|
||||
@ -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 {
|
||||
/**
|
||||
@ -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 {
|
||||
/**
|
||||
@ -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 {
|
||||
/**
|
||||
@ -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 {
|
||||
/**
|
||||
@ -471,7 +471,7 @@ export interface ScalarType {
|
||||
/**
|
||||
* 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 {
|
||||
/**
|
||||
@ -489,7 +489,7 @@ export interface 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 {
|
||||
/**
|
||||
@ -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 {
|
||||
/**
|
||||
@ -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 {
|
||||
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 {
|
||||
/**
|
||||
@ -566,7 +566,7 @@ export interface RemoteSchema {
|
||||
* 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 {
|
||||
forward_client_headers?: boolean;
|
||||
@ -585,7 +585,7 @@ export interface TableEntry {
|
||||
/**
|
||||
* 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;
|
||||
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 {
|
||||
/**
|
||||
@ -623,7 +623,7 @@ export interface ArrayRelationship {
|
||||
*
|
||||
* 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 {
|
||||
/**
|
||||
@ -641,7 +641,7 @@ export interface ArrRelUsing {
|
||||
*
|
||||
* 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 {
|
||||
column: string;
|
||||
@ -653,7 +653,7 @@ export interface ArrRelUsingFKeyOn {
|
||||
*
|
||||
* 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 {
|
||||
/**
|
||||
@ -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 {
|
||||
/**
|
||||
@ -689,7 +689,7 @@ export interface ComputedField {
|
||||
* 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 {
|
||||
/**
|
||||
@ -711,7 +711,7 @@ export interface ComputedFieldDefinition {
|
||||
/**
|
||||
* 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 {
|
||||
/**
|
||||
@ -733,7 +733,7 @@ export interface TableConfig {
|
||||
*
|
||||
* 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 {
|
||||
/**
|
||||
@ -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 {
|
||||
/**
|
||||
@ -797,7 +797,7 @@ export interface DeletePermissionEntry {
|
||||
* 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 {
|
||||
/**
|
||||
@ -809,7 +809,7 @@ export interface DeletePermission {
|
||||
/**
|
||||
* 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 {
|
||||
/**
|
||||
@ -841,35 +841,35 @@ export interface EventTrigger {
|
||||
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;
|
||||
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;
|
||||
/**
|
||||
*
|
||||
* 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;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* 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 {
|
||||
/**
|
||||
*
|
||||
* 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;
|
||||
/**
|
||||
*
|
||||
* 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;
|
||||
}
|
||||
@ -882,7 +882,7 @@ export enum Columns {
|
||||
* 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 {
|
||||
/**
|
||||
@ -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 {
|
||||
/**
|
||||
@ -925,7 +925,7 @@ export interface InsertPermissionEntry {
|
||||
* 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 {
|
||||
/**
|
||||
@ -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 {
|
||||
/**
|
||||
@ -973,7 +973,7 @@ export interface ObjectRelationship {
|
||||
*
|
||||
* 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 {
|
||||
/**
|
||||
@ -991,7 +991,7 @@ export interface ObjRelUsing {
|
||||
*
|
||||
* 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 {
|
||||
/**
|
||||
@ -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 {
|
||||
/**
|
||||
@ -1045,14 +1045,14 @@ export interface RemoteField {
|
||||
* 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
|
||||
* https://hasura.io/docs/latest/graphql/core/api-reference/schema-metadata-api/remote-relationships.html#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 {
|
||||
/**
|
||||
@ -1073,7 +1073,7 @@ export interface SelectPermissionEntry {
|
||||
* 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 {
|
||||
/**
|
||||
@ -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 {
|
||||
/**
|
||||
@ -1121,7 +1121,7 @@ export interface UpdatePermissionEntry {
|
||||
* 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 {
|
||||
/**
|
||||
|
@ -50,7 +50,7 @@ definitions:
|
||||
description: >-
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -77,7 +77,7 @@ definitions:
|
||||
description: >-
|
||||
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'
|
||||
title: configuration
|
||||
event_triggers:
|
||||
@ -131,7 +131,7 @@ definitions:
|
||||
description: >-
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -198,7 +198,7 @@ definitions:
|
||||
description: >-
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -218,7 +218,7 @@ definitions:
|
||||
description: >-
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -238,7 +238,7 @@ definitions:
|
||||
title: session_argument
|
||||
ObjectRelationship:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -261,7 +261,7 @@ definitions:
|
||||
description: >-
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -277,7 +277,7 @@ definitions:
|
||||
description: >-
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -298,7 +298,7 @@ definitions:
|
||||
- remote_table
|
||||
ArrayRelationship:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -321,7 +321,7 @@ definitions:
|
||||
description: >-
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -337,7 +337,7 @@ definitions:
|
||||
description: >-
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -356,7 +356,7 @@ definitions:
|
||||
description: >-
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -380,14 +380,14 @@ definitions:
|
||||
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
|
||||
title: ColumnPresetsExpression
|
||||
type: object
|
||||
additionalProperties:
|
||||
type: string
|
||||
InsertPermissionEntry:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -408,7 +408,7 @@ definitions:
|
||||
- role
|
||||
InsertPermission:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -453,7 +453,7 @@ definitions:
|
||||
- columns
|
||||
SelectPermissionEntry:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -474,7 +474,7 @@ definitions:
|
||||
- role
|
||||
SelectPermission:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -518,7 +518,7 @@ definitions:
|
||||
- columns
|
||||
UpdatePermissionEntry:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -539,7 +539,7 @@ definitions:
|
||||
- role
|
||||
UpdatePermission:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -587,7 +587,7 @@ definitions:
|
||||
- columns
|
||||
DeletePermissionEntry:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -608,7 +608,7 @@ definitions:
|
||||
- role
|
||||
DeletePermission:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -626,7 +626,7 @@ definitions:
|
||||
title: filter
|
||||
ComputedField:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -647,7 +647,7 @@ definitions:
|
||||
- name
|
||||
ComputedFieldDefinition:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -676,7 +676,7 @@ definitions:
|
||||
description: >-
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -720,17 +720,17 @@ definitions:
|
||||
title: enable_manual
|
||||
insert:
|
||||
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'
|
||||
title: insert
|
||||
delete:
|
||||
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'
|
||||
title: delete
|
||||
update:
|
||||
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'
|
||||
title: update
|
||||
required:
|
||||
@ -745,13 +745,13 @@ definitions:
|
||||
type: string
|
||||
OperationSpec:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
columns:
|
||||
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:
|
||||
- type: array
|
||||
items:
|
||||
@ -762,7 +762,7 @@ definitions:
|
||||
title: columns
|
||||
payload:
|
||||
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:
|
||||
- type: array
|
||||
items:
|
||||
@ -775,7 +775,7 @@ definitions:
|
||||
- columns
|
||||
HeaderFromValue:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -792,7 +792,7 @@ definitions:
|
||||
- value
|
||||
HeaderFromEnv:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -809,7 +809,7 @@ definitions:
|
||||
- value_from_env
|
||||
RetryConf:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -833,7 +833,7 @@ definitions:
|
||||
title: timeout_sec
|
||||
CronTrigger:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -886,7 +886,7 @@ definitions:
|
||||
- webhook
|
||||
RetryConfST:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -919,7 +919,7 @@ definitions:
|
||||
title: tolerance_seconds
|
||||
RemoteSchema:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -940,7 +940,7 @@ definitions:
|
||||
- name
|
||||
RemoteSchemaDef:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -965,7 +965,7 @@ definitions:
|
||||
title: timeout_seconds
|
||||
RemoteRelationship:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -1016,7 +1016,7 @@ definitions:
|
||||
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
|
||||
title: RemoteField
|
||||
type: object
|
||||
additionalProperties:
|
||||
@ -1033,7 +1033,7 @@ definitions:
|
||||
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
|
||||
$ref: '#/definitions/RemoteField'
|
||||
title: field
|
||||
required:
|
||||
@ -1042,14 +1042,14 @@ definitions:
|
||||
description: >-
|
||||
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
|
||||
type: object
|
||||
additionalProperties:
|
||||
type: string
|
||||
QueryCollectionEntry:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -1078,7 +1078,7 @@ definitions:
|
||||
- name
|
||||
QueryCollection:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -1093,7 +1093,7 @@ definitions:
|
||||
- query
|
||||
AllowList:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -1129,7 +1129,7 @@ definitions:
|
||||
title: enums
|
||||
InputObjectType:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -1152,7 +1152,7 @@ definitions:
|
||||
- name
|
||||
InputObjectField:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -1173,7 +1173,7 @@ definitions:
|
||||
- type
|
||||
ObjectType:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -1202,7 +1202,7 @@ definitions:
|
||||
- name
|
||||
ObjectField:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -1223,7 +1223,7 @@ definitions:
|
||||
- type
|
||||
CustomTypeObjectRelationship:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -1257,7 +1257,7 @@ definitions:
|
||||
- type
|
||||
ScalarType:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -1273,7 +1273,7 @@ definitions:
|
||||
- name
|
||||
EnumType:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -1296,7 +1296,7 @@ definitions:
|
||||
- values
|
||||
EnumValue:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -1316,7 +1316,7 @@ definitions:
|
||||
- value
|
||||
Action:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -1347,7 +1347,7 @@ definitions:
|
||||
- name
|
||||
ActionDefinition:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -1390,7 +1390,7 @@ definitions:
|
||||
- handler
|
||||
InputArgument:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -1407,7 +1407,7 @@ definitions:
|
||||
description: >-
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
|
@ -64,7 +64,7 @@
|
||||
"required": ["name", "schema"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -94,7 +94,7 @@
|
||||
"title": "is_enum"
|
||||
},
|
||||
"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",
|
||||
"title": "configuration"
|
||||
},
|
||||
@ -165,7 +165,7 @@
|
||||
"required": ["table"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -250,7 +250,7 @@
|
||||
"required": ["name", "schema"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -275,7 +275,7 @@
|
||||
"required": ["function"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -287,7 +287,7 @@
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -310,7 +310,7 @@
|
||||
"required": ["name", "using"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -327,7 +327,7 @@
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -355,7 +355,7 @@
|
||||
"required": ["column_mapping", "remote_table"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -378,7 +378,7 @@
|
||||
"required": ["name", "using"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -395,7 +395,7 @@
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -418,7 +418,7 @@
|
||||
"required": ["column", "table"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -446,7 +446,7 @@
|
||||
"required": ["column_mapping", "remote_table"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
@ -454,7 +454,7 @@
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -477,7 +477,7 @@
|
||||
"required": ["permission", "role"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -528,7 +528,7 @@
|
||||
"required": ["columns"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -551,7 +551,7 @@
|
||||
"required": ["permission", "role"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -610,7 +610,7 @@
|
||||
"required": ["columns"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -633,7 +633,7 @@
|
||||
"required": ["permission", "role"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -696,7 +696,7 @@
|
||||
"required": ["columns"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -719,7 +719,7 @@
|
||||
"required": ["permission", "role"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -743,7 +743,7 @@
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -766,7 +766,7 @@
|
||||
"required": ["definition", "name"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -796,7 +796,7 @@
|
||||
"required": ["function"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -851,17 +851,17 @@
|
||||
"title": "enable_manual"
|
||||
},
|
||||
"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",
|
||||
"title": "insert"
|
||||
},
|
||||
"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",
|
||||
"title": "delete"
|
||||
},
|
||||
"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",
|
||||
"title": "update"
|
||||
}
|
||||
@ -883,12 +883,12 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"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": [
|
||||
{
|
||||
"type": "array",
|
||||
@ -904,7 +904,7 @@
|
||||
"title": "columns"
|
||||
},
|
||||
"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": [
|
||||
{
|
||||
"type": "array",
|
||||
@ -923,7 +923,7 @@
|
||||
"required": ["columns"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -941,7 +941,7 @@
|
||||
"required": ["name", "value"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -959,7 +959,7 @@
|
||||
"required": ["name", "value_from_env"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -981,7 +981,7 @@
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1047,7 +1047,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1074,7 +1074,7 @@
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1097,7 +1097,7 @@
|
||||
"required": ["definition", "name"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1134,7 +1134,7 @@
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1177,7 +1177,7 @@
|
||||
"required": ["hasura_fields", "remote_field", "remote_schema"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
@ -1188,7 +1188,7 @@
|
||||
"title": "arguments"
|
||||
},
|
||||
"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",
|
||||
"title": "field"
|
||||
}
|
||||
@ -1197,7 +1197,7 @@
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
@ -1205,7 +1205,7 @@
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1238,7 +1238,7 @@
|
||||
"required": ["definition", "name"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1254,7 +1254,7 @@
|
||||
"required": ["name", "query"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1301,7 +1301,7 @@
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1327,7 +1327,7 @@
|
||||
"required": ["fields", "name"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1350,7 +1350,7 @@
|
||||
"required": ["name", "type"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1384,7 +1384,7 @@
|
||||
"required": ["fields", "name"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1407,7 +1407,7 @@
|
||||
"required": ["name", "type"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1446,7 +1446,7 @@
|
||||
"required": ["field_mapping", "name", "remote_table", "type"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1464,7 +1464,7 @@
|
||||
"required": ["name"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1490,7 +1490,7 @@
|
||||
"required": ["name", "values"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1513,7 +1513,7 @@
|
||||
"required": ["value"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1548,7 +1548,7 @@
|
||||
"required": ["definition", "name"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1599,7 +1599,7 @@
|
||||
"required": ["handler"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
@ -64,7 +64,7 @@
|
||||
"required": ["name", "schema"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -94,7 +94,7 @@
|
||||
"title": "is_enum"
|
||||
},
|
||||
"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",
|
||||
"title": "configuration"
|
||||
},
|
||||
@ -165,7 +165,7 @@
|
||||
"required": ["table"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -250,7 +250,7 @@
|
||||
"required": ["name", "schema"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -275,7 +275,7 @@
|
||||
"required": ["function"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -287,7 +287,7 @@
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -310,7 +310,7 @@
|
||||
"required": ["name", "using"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -327,7 +327,7 @@
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -355,7 +355,7 @@
|
||||
"required": ["column_mapping", "remote_table"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -378,7 +378,7 @@
|
||||
"required": ["name", "using"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -395,7 +395,7 @@
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -418,7 +418,7 @@
|
||||
"required": ["column", "table"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -446,7 +446,7 @@
|
||||
"required": ["column_mapping", "remote_table"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
@ -454,7 +454,7 @@
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -477,7 +477,7 @@
|
||||
"required": ["permission", "role"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -528,7 +528,7 @@
|
||||
"required": ["columns"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -551,7 +551,7 @@
|
||||
"required": ["permission", "role"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -610,7 +610,7 @@
|
||||
"required": ["columns"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -633,7 +633,7 @@
|
||||
"required": ["permission", "role"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -696,7 +696,7 @@
|
||||
"required": ["columns"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -719,7 +719,7 @@
|
||||
"required": ["permission", "role"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -743,7 +743,7 @@
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -766,7 +766,7 @@
|
||||
"required": ["definition", "name"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -796,7 +796,7 @@
|
||||
"required": ["function"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -851,17 +851,17 @@
|
||||
"title": "enable_manual"
|
||||
},
|
||||
"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",
|
||||
"title": "insert"
|
||||
},
|
||||
"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",
|
||||
"title": "delete"
|
||||
},
|
||||
"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",
|
||||
"title": "update"
|
||||
}
|
||||
@ -883,12 +883,12 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"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": [
|
||||
{
|
||||
"type": "array",
|
||||
@ -904,7 +904,7 @@
|
||||
"title": "columns"
|
||||
},
|
||||
"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": [
|
||||
{
|
||||
"type": "array",
|
||||
@ -923,7 +923,7 @@
|
||||
"required": ["columns"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -941,7 +941,7 @@
|
||||
"required": ["name", "value"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -959,7 +959,7 @@
|
||||
"required": ["name", "value_from_env"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -981,7 +981,7 @@
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1047,7 +1047,7 @@
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1074,7 +1074,7 @@
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1097,7 +1097,7 @@
|
||||
"required": ["definition", "name"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1134,7 +1134,7 @@
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1177,7 +1177,7 @@
|
||||
"required": ["hasura_fields", "remote_field", "remote_schema"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
@ -1188,7 +1188,7 @@
|
||||
"title": "arguments"
|
||||
},
|
||||
"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",
|
||||
"title": "field"
|
||||
}
|
||||
@ -1197,7 +1197,7 @@
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
@ -1205,7 +1205,7 @@
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1238,7 +1238,7 @@
|
||||
"required": ["definition", "name"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1254,7 +1254,7 @@
|
||||
"required": ["name", "query"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1301,7 +1301,7 @@
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1327,7 +1327,7 @@
|
||||
"required": ["fields", "name"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1350,7 +1350,7 @@
|
||||
"required": ["name", "type"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1384,7 +1384,7 @@
|
||||
"required": ["fields", "name"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1407,7 +1407,7 @@
|
||||
"required": ["name", "type"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1446,7 +1446,7 @@
|
||||
"required": ["field_mapping", "name", "remote_table", "type"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1464,7 +1464,7 @@
|
||||
"required": ["name"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1490,7 +1490,7 @@
|
||||
"required": ["name", "values"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1513,7 +1513,7 @@
|
||||
"required": ["value"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1548,7 +1548,7 @@
|
||||
"required": ["definition", "name"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1599,7 +1599,7 @@
|
||||
"required": ["handler"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1615,7 +1615,7 @@
|
||||
"required": ["name", "type"]
|
||||
},
|
||||
"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",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
@ -50,7 +50,7 @@ definitions:
|
||||
description: >-
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -77,7 +77,7 @@ definitions:
|
||||
description: >-
|
||||
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"
|
||||
title: configuration
|
||||
event_triggers:
|
||||
@ -131,7 +131,7 @@ definitions:
|
||||
description: >-
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -198,7 +198,7 @@ definitions:
|
||||
description: >-
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -218,7 +218,7 @@ definitions:
|
||||
description: >-
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -238,7 +238,7 @@ definitions:
|
||||
title: session_argument
|
||||
ObjectRelationship:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -261,7 +261,7 @@ definitions:
|
||||
description: >-
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -277,7 +277,7 @@ definitions:
|
||||
description: >-
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -298,7 +298,7 @@ definitions:
|
||||
- remote_table
|
||||
ArrayRelationship:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -321,7 +321,7 @@ definitions:
|
||||
description: >-
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -337,7 +337,7 @@ definitions:
|
||||
description: >-
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -356,7 +356,7 @@ definitions:
|
||||
description: >-
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -380,14 +380,14 @@ definitions:
|
||||
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
|
||||
title: ColumnPresetsExpression
|
||||
type: object
|
||||
additionalProperties:
|
||||
type: string
|
||||
InsertPermissionEntry:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -408,7 +408,7 @@ definitions:
|
||||
- role
|
||||
InsertPermission:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -453,7 +453,7 @@ definitions:
|
||||
- columns
|
||||
SelectPermissionEntry:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -474,7 +474,7 @@ definitions:
|
||||
- role
|
||||
SelectPermission:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -518,7 +518,7 @@ definitions:
|
||||
- columns
|
||||
UpdatePermissionEntry:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -539,7 +539,7 @@ definitions:
|
||||
- role
|
||||
UpdatePermission:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -587,7 +587,7 @@ definitions:
|
||||
- columns
|
||||
DeletePermissionEntry:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -608,7 +608,7 @@ definitions:
|
||||
- role
|
||||
DeletePermission:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -626,7 +626,7 @@ definitions:
|
||||
title: filter
|
||||
ComputedField:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -647,7 +647,7 @@ definitions:
|
||||
- name
|
||||
ComputedFieldDefinition:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -676,7 +676,7 @@ definitions:
|
||||
description: >-
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -720,17 +720,17 @@ definitions:
|
||||
title: enable_manual
|
||||
insert:
|
||||
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"
|
||||
title: insert
|
||||
delete:
|
||||
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"
|
||||
title: delete
|
||||
update:
|
||||
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"
|
||||
title: update
|
||||
required:
|
||||
@ -745,13 +745,13 @@ definitions:
|
||||
type: string
|
||||
OperationSpec:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
columns:
|
||||
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:
|
||||
- type: array
|
||||
items:
|
||||
@ -762,7 +762,7 @@ definitions:
|
||||
title: columns
|
||||
payload:
|
||||
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:
|
||||
- type: array
|
||||
items:
|
||||
@ -775,7 +775,7 @@ definitions:
|
||||
- columns
|
||||
HeaderFromValue:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -792,7 +792,7 @@ definitions:
|
||||
- value
|
||||
HeaderFromEnv:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -809,7 +809,7 @@ definitions:
|
||||
- value_from_env
|
||||
RetryConf:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -833,7 +833,7 @@ definitions:
|
||||
title: timeout_sec
|
||||
CronTrigger:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -886,7 +886,7 @@ definitions:
|
||||
- webhook
|
||||
RetryConfST:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -919,7 +919,7 @@ definitions:
|
||||
title: tolerance_seconds
|
||||
RemoteSchema:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -940,7 +940,7 @@ definitions:
|
||||
- name
|
||||
RemoteSchemaDef:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -965,7 +965,7 @@ definitions:
|
||||
title: timeout_seconds
|
||||
RemoteRelationship:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -1016,7 +1016,7 @@ definitions:
|
||||
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
|
||||
title: RemoteField
|
||||
type: object
|
||||
additionalProperties:
|
||||
@ -1033,7 +1033,7 @@ definitions:
|
||||
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
|
||||
$ref: "#/definitions/RemoteField"
|
||||
title: field
|
||||
required:
|
||||
@ -1042,14 +1042,14 @@ definitions:
|
||||
description: >-
|
||||
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
|
||||
type: object
|
||||
additionalProperties:
|
||||
type: string
|
||||
QueryCollectionEntry:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -1078,7 +1078,7 @@ definitions:
|
||||
- name
|
||||
QueryCollection:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -1093,7 +1093,7 @@ definitions:
|
||||
- query
|
||||
AllowList:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -1129,7 +1129,7 @@ definitions:
|
||||
title: enums
|
||||
InputObjectType:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -1152,7 +1152,7 @@ definitions:
|
||||
- name
|
||||
InputObjectField:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -1173,7 +1173,7 @@ definitions:
|
||||
- type
|
||||
ObjectType:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -1202,7 +1202,7 @@ definitions:
|
||||
- name
|
||||
ObjectField:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -1223,7 +1223,7 @@ definitions:
|
||||
- type
|
||||
CustomTypeObjectRelationship:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -1257,7 +1257,7 @@ definitions:
|
||||
- type
|
||||
ScalarType:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -1273,7 +1273,7 @@ definitions:
|
||||
- name
|
||||
EnumType:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -1296,7 +1296,7 @@ definitions:
|
||||
- values
|
||||
EnumValue:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -1316,7 +1316,7 @@ definitions:
|
||||
- value
|
||||
Action:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -1347,7 +1347,7 @@ definitions:
|
||||
- name
|
||||
ActionDefinition:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -1390,7 +1390,7 @@ definitions:
|
||||
- handler
|
||||
InputArgument:
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
@ -1407,7 +1407,7 @@ definitions:
|
||||
description: >-
|
||||
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
|
||||
type: object
|
||||
properties:
|
||||
|
@ -28,7 +28,7 @@ export interface QualifiedTable {
|
||||
|
||||
/**
|
||||
* 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 {
|
||||
/** Customise the table name */
|
||||
@ -59,7 +59,7 @@ export interface TableEntry {
|
||||
|
||||
/**
|
||||
* 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 {
|
||||
/** 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.
|
||||
* 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 {
|
||||
/** Name of the SQL function */
|
||||
@ -117,7 +117,7 @@ export interface 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 {
|
||||
/**
|
||||
@ -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 {
|
||||
/** Name of the new relationship */
|
||||
@ -152,7 +152,7 @@ export interface ObjectRelationship {
|
||||
|
||||
/**
|
||||
* 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 {
|
||||
/** The column with foreign key constraint */
|
||||
@ -163,7 +163,7 @@ export interface ObjRelUsing {
|
||||
|
||||
/**
|
||||
* 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 {
|
||||
/** 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 {
|
||||
/** Name of the new relationship */
|
||||
@ -186,7 +186,7 @@ export interface ArrayRelationship {
|
||||
|
||||
/**
|
||||
* 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 {
|
||||
/** The column with foreign key constraint */
|
||||
@ -197,7 +197,7 @@ export interface ArrRelUsing {
|
||||
|
||||
/**
|
||||
* 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 {
|
||||
column: PGColumn
|
||||
@ -206,7 +206,7 @@ export interface ArrRelUsingFKeyOn {
|
||||
|
||||
/**
|
||||
* 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 {
|
||||
/** 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.
|
||||
* 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 {
|
||||
[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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
/** The SQL function */
|
||||
@ -379,7 +379,7 @@ export interface ComputedFieldDefinition {
|
||||
|
||||
/**
|
||||
* 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 {
|
||||
/** 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[]
|
||||
|
||||
/**
|
||||
* 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 {
|
||||
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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
/**
|
||||
@ -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 {
|
||||
/** 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 {
|
||||
/**
|
||||
@ -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 {
|
||||
/** 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 {
|
||||
url?: string
|
||||
@ -561,7 +561,7 @@ export interface RemoteSchemaDef {
|
||||
// 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 {
|
||||
/** 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.
|
||||
* 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 {
|
||||
[FieldName: string]: {
|
||||
@ -596,7 +596,7 @@ export interface RemoteField {
|
||||
|
||||
/**
|
||||
* 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 {
|
||||
[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 {
|
||||
/** 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 {
|
||||
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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
/** 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 {
|
||||
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 {
|
||||
name: string
|
||||
@ -815,7 +815,7 @@ export interface InputArgument {
|
||||
|
||||
/**
|
||||
* 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 {
|
||||
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.
|
||||
In practice this means that session variables are only factored into cache keys if they are referenced
|
||||
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
|
||||
----------------
|
||||
|
@ -58,7 +58,7 @@ Choose from the full list of deployment guides:
|
||||
:titlesonly:
|
||||
: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 Kubernetes <kubernetes>
|
||||
Using Heroku (one-click) <heroku>
|
||||
|
@ -56,7 +56,7 @@ Get started using an existing database
|
||||
:titlesonly:
|
||||
: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>
|
||||
Using an existing database <using-existing-database>
|
||||
Making your first GraphQL query <first-graphql-query>
|
||||
|
@ -35,7 +35,7 @@ Examples
|
||||
# Create a hasura project in the current working directory
|
||||
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
|
||||
~~~~~~~
|
||||
|
@ -33,11 +33,11 @@ The fastest way to try event triggers out is via Heroku.
|
||||
|
||||
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
|
||||
|
||||
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*)
|
||||
|
||||
|
@ -9,7 +9,7 @@ backed by an [Azure Database for
|
||||
PostgreSQL](https://azure.microsoft.com/en-us/services/postgresql/) Server.
|
||||
For a more detailed step-by-step guide on deplopying individual
|
||||
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)
|
||||
|
||||
@ -76,11 +76,11 @@ http://hasura-graphql-engine.centralindia.azurecontainer.io
|
||||
|
||||
## Next steps
|
||||
|
||||
- [Building your schema](https://hasura.io/docs/1.0/graphql/manual/schema/index.html)
|
||||
- [GraphQL Queries](https://hasura.io/docs/1.0/graphql/manual/queries/index.html)
|
||||
- [GraphQL Mutations](https://hasura.io/docs/1.0/graphql/manual/mutations/index.html)
|
||||
- [GraphQL Subscriptions](https://hasura.io/docs/1.0/graphql/manual/subscriptions/index.html)
|
||||
- [Event Triggers](https://hasura.io/docs/1.0/graphql/manual/event-triggers/index.html)
|
||||
- [Authentication/Access control](https://hasura.io/docs/1.0/graphql/manual/auth/index.html)
|
||||
- [Database Migrations](https://hasura.io/docs/1.0/graphql/manual/migrations/index.html)
|
||||
- [Guides/Tutorials/Resources](https://hasura.io/docs/1.0/graphql/manual/guides/index.html)
|
||||
- [Building your schema](https://hasura.io/docs/latest/graphql/core/schema/index.html)
|
||||
- [GraphQL Queries](https://hasura.io/docs/latest/graphql/core/queries/index.html)
|
||||
- [GraphQL Mutations](https://hasura.io/docs/latest/graphql/core/mutations/index.html)
|
||||
- [GraphQL Subscriptions](https://hasura.io/docs/latest/graphql/core/subscriptions/index.html)
|
||||
- [Event Triggers](https://hasura.io/docs/latest/graphql/core/event-triggers/index.html)
|
||||
- [Authentication/Access control](https://hasura.io/docs/latest/graphql/core/auth/index.html)
|
||||
- [Database Migrations](https://hasura.io/docs/latest/graphql/core/migrations/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/)).
|
||||
For a more detailed step-by-step guide on deplopying individual
|
||||
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)
|
||||
|
||||
@ -84,11 +84,11 @@ Once you open the console, switch to Data tab and you’ll be able to see the ta
|
||||
|
||||
## Next steps
|
||||
|
||||
- [Building your schema](https://hasura.io/docs/1.0/graphql/manual/schema/index.html)
|
||||
- [GraphQL Queries](https://hasura.io/docs/1.0/graphql/manual/queries/index.html)
|
||||
- [GraphQL Mutations](https://hasura.io/docs/1.0/graphql/manual/mutations/index.html)
|
||||
- [GraphQL Subscriptions](https://hasura.io/docs/1.0/graphql/manual/subscriptions/index.html)
|
||||
- [Event Triggers](https://hasura.io/docs/1.0/graphql/manual/event-triggers/index.html)
|
||||
- [Authentication/Access control](https://hasura.io/docs/1.0/graphql/manual/auth/index.html)
|
||||
- [Database Migrations](https://hasura.io/docs/1.0/graphql/manual/migrations/index.html)
|
||||
- [Guides/Tutorials/Resources](https://hasura.io/docs/1.0/graphql/manual/guides/index.html)
|
||||
- [Building your schema](https://hasura.io/docs/latest/graphql/core/schema/index.html)
|
||||
- [GraphQL Queries](https://hasura.io/docs/latest/graphql/core/queries/index.html)
|
||||
- [GraphQL Mutations](https://hasura.io/docs/latest/graphql/core/mutations/index.html)
|
||||
- [GraphQL Subscriptions](https://hasura.io/docs/latest/graphql/core/subscriptions/index.html)
|
||||
- [Event Triggers](https://hasura.io/docs/latest/graphql/core/event-triggers/index.html)
|
||||
- [Authentication/Access control](https://hasura.io/docs/latest/graphql/core/auth/index.html)
|
||||
- [Database Migrations](https://hasura.io/docs/latest/graphql/core/migrations/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
|
||||
|
||||
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
|
||||
|
||||
|
@ -33,7 +33,7 @@ CMD graphql-engine \
|
||||
|
||||
### 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.
|
||||
|
||||
### Heroku
|
||||
|
@ -34,7 +34,7 @@ CMD graphql-engine \
|
||||
|
||||
### 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.
|
||||
|
||||
### Heroku
|
||||
|
@ -848,4 +848,4 @@ telemetryNotice :: String
|
||||
telemetryNotice =
|
||||
"Help us improve Hasura! The graphql-engine server collects anonymized "
|
||||
<> "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 =
|
||||
"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"
|
||||
<> " 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 = liftTx $ Q.catchE defaultTxErrorHandler $
|
||||
|
@ -76,7 +76,7 @@ runTrackFunctionV2 (TrackFunctionV2 source qf config) = do
|
||||
|
||||
-- | 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
|
||||
= UnTrackFunction
|
||||
{ _utfFunction :: !(FunctionName b)
|
||||
|
@ -141,7 +141,7 @@ emptyFunctionConfig = FunctionConfig Nothing Nothing
|
||||
|
||||
-- | 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
|
||||
= TrackFunctionV2
|
||||
{ _tfv2Source :: !SourceName
|
||||
|
@ -88,7 +88,7 @@ hashAdminSecret = AdminSecretHash . Crypto.hash . T.encodeUtf8
|
||||
-- @Maybe RoleName@ below is the optionally-defined role for the
|
||||
-- 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
|
||||
= 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
|
||||
-- '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
|
||||
-- [2]: https://hasura.io/docs/1.0/graphql/manual/auth/authentication/jwt.html#the-spec
|
||||
-- [1]: https://hasura.io/docs/latest/graphql/core/auth/authentication/unauthenticated-access.html
|
||||
-- [2]: https://hasura.io/docs/latest/graphql/core/auth/authentication/jwt.html#the-spec
|
||||
processJwt
|
||||
:: ( MonadIO m
|
||||
, MonadError QErr m)
|
||||
|
@ -77,7 +77,7 @@ Najbrži način da isprobate Hasura je putem Heroku-a.
|
||||
|
||||
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
|
||||
|
||||
@ -85,12 +85,12 @@ Pogledaj instrukcije za ostale mogućnosti implementacije jednim klikom:
|
||||
|
||||
| **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) |
|
||||
| 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) |
|
||||
| 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/latest/graphql/core/guides/deployment/azure-container-instances-postgres.html) |
|
||||
|
||||
### 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).
|
||||
|
||||
## Arhitektura
|
||||
@ -121,7 +121,7 @@ obradu - [pročitaj više](../event-triggers.md).
|
||||
|
||||
### 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
|
||||
|
||||
|
@ -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) |
|
||||
| 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) |
|
||||
| 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/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).
|
||||
|
||||
## 架构
|
||||
@ -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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
@ -111,7 +111,7 @@ traitements asynchrones - [plus d'informations](event-triggers.french.md).
|
||||
|
||||
### 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
|
||||
|
||||
|
@ -78,7 +78,7 @@ Der schnellste Weg, Hasura auszuprobieren, ist mit Heroku.
|
||||
|
||||
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
|
||||
|
||||
@ -86,13 +86,13 @@ Probiere die folgenden Guides für die one-click Deployment Optionen:
|
||||
|
||||
| **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) |
|
||||
| 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) |
|
||||
| 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/latest/graphql/core/guides/deployment/azure-container-instances-postgres.html) |
|
||||
|
||||
### Andere Deployment Möglichkeiten
|
||||
|
||||
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).
|
||||
|
||||
## Architektur
|
||||
@ -122,7 +122,7 @@ Das ist perfekt für Benachrichtigungen, Daten-Pipelines von Postgres oder async
|
||||
|
||||
### 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
|
||||
|
||||
|
@ -75,7 +75,7 @@
|
||||
|
||||
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** |
|
||||
|:------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------:|
|
||||
| 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) |
|
||||
| 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) |
|
||||
| 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/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).
|
||||
|
||||
## Αρχιτεκτονική
|
||||
@ -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
|
||||
|
||||
|
@ -77,7 +77,7 @@ Cara paling cepat untuk mencoba Hasura adalah menggunakan Heroku.
|
||||
|
||||
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
|
||||
|
||||
@ -85,12 +85,12 @@ Coba lihat pilihan lainnya untuk menjalankan aplikasi dengan satu klik:
|
||||
|
||||
| **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) |
|
||||
| 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) |
|
||||
| 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/latest/graphql/core/guides/deployment/azure-container-instances-postgres.html) |
|
||||
|
||||
### 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).
|
||||
|
||||
## Arsitektur
|
||||
@ -119,7 +119,7 @@ Tambahkan logika bisnis asinkron yang dipicu oleh _event_ basis data. Ideal untu
|
||||
|
||||
### 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
|
||||
|
||||
|
@ -75,7 +75,7 @@ Hasuraを試す最も早い方法はHerokuを使うことです。
|
||||
|
||||
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) |
|
||||
| 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) |
|
||||
| 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/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)を参考にしてください。
|
||||
|
||||
## アーキテクチャ
|
||||
@ -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
|
||||
|
||||
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
|
||||
|
||||
@ -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** |
|
||||
|:------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------:|
|
||||
| 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) |
|
||||
| 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) |
|
||||
| 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/latest/graphql/core/guides/deployment/azure-container-instances-postgres.html) |
|
||||
|
||||
### 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).
|
||||
|
||||
## Arquitectura
|
||||
@ -120,7 +120,7 @@ Ideal para notificaciones, canales de datos de Postgres o procesamiento asíncro
|
||||
|
||||
### 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
|
||||
|
||||
|
@ -78,7 +78,7 @@ O modo mais fácil de experimentar Hasura é via o Heroku.
|
||||
|
||||
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
|
||||
|
||||
@ -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** |
|
||||
| :------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------: |
|
||||
| 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) |
|
||||
| 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) |
|
||||
| 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/latest/graphql/core/guides/deployment/azure-container-instances-postgres.html) |
|
||||
|
||||
### 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).
|
||||
|
||||
## 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
|
||||
|
||||
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
|
||||
|
||||
|
@ -76,7 +76,7 @@ Hasura помогает строить 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** |
|
||||
|:------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------:|
|
||||
| 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) |
|
||||
| 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) |
|
||||
| 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/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).
|
||||
|
||||
## Архитектура
|
||||
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
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
|
||||
|
||||
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*)
|
||||
|
||||
|
@ -75,6 +75,6 @@ Ces limitations seront adressées dans les prochaines versions.
|
||||
|
||||
## 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