hongbo-miao/hongbomiao.com

View on GitHub
hasura-graphql-engine/metadata/query_collections.yaml

Summary

Maintainability
Test Coverage
- name: allowed-queries
  definition:
    queries:
      - name: OPALClient
        query: |
          query OPALClient {
              opal_client {
                  id
                  name
                  created_at
                  updated_at
              }
          }
      - name: OPALClientCount
        query: |
          query OPALClientCount {
              opal_client_aggregate {
                  aggregate {
                      count
                  }
              }
          }
      - name: CurrentTime
        query: |
          query CurrentTime {
              currentTime {
                  now
              }
          }
      - name: Seed
        query: |
          query Seed {
              seed {
                  seedNumber
              }
          }
      - name: SetSeed
        query: |
          mutation SetSeed ($n: Int!) {
              setSeed(n: $n) {
                  seedNumber
              }
          }