# Snapshot report for `test/queries.js`

The actual snapshot is saved in `queries.js.snap`.

Generated by [AVA](https://avajs.dev).

## test/queries/add-email-for-authenticate-user-parameter.graphql

> Snapshot 1

    {
      endpoint: {
        parameters: [
          {
            name: 'emails',
            type: 'string[]',
          },
        ],
      },
    }

## test/queries/deprecated-parameter.graphql

> Snapshot 1

    {
      endpoint: {
        method: 'GET',
        parameters: [
          {
            alias: null,
            allowNull: false,
            default: null,
            deprecated: null,
            description: '',
            enum: null,
            in: 'PATH',
            mapToData: null,
            name: 'owner',
            required: true,
            type: 'string',
            validation: null,
          },
          {
            alias: null,
            allowNull: false,
            default: null,
            deprecated: null,
            description: '',
            enum: null,
            in: 'PATH',
            mapToData: null,
            name: 'repo',
            required: true,
            type: 'string',
            validation: null,
          },
          {
            alias: null,
            allowNull: false,
            default: null,
            deprecated: null,
            description: 'The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the `number` field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation.',
            enum: null,
            in: 'PATH',
            mapToData: null,
            name: 'alert_number',
            required: true,
            type: 'integer',
            validation: null,
          },
          {
            alias: 'alert_number',
            allowNull: false,
            default: null,
            deprecated: true,
            description: 'The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the `number` field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation.',
            enum: null,
            in: 'PATH',
            mapToData: null,
            name: 'alert_id',
            required: false,
            type: 'integer',
            validation: null,
          },
        ],
        url: '/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}',
      },
    }

## test/queries/download-archive-deprecations.graphql

> Snapshot 1

    {
      tarballEndpoint: {
        changes: [
          {
            after: {
              operationId: 'repos/download-tarball-archive',
            },
            before: {
              operationId: 'repos/download-archive',
            },
            date: '2020-09-17',
            note: null,
            type: 'OPERATION',
          },
        ],
      },
      zipballEndpoint: {
        changes: [
          {
            after: {
              operationId: 'repos/download-zipball-archive',
            },
            before: {
              operationId: 'repos/download-archive',
            },
            date: '2020-09-17',
            note: null,
            type: 'OPERATION',
          },
        ],
      },
    }

## test/queries/ghec-compatibility-mode.graphql

> Snapshot 1

    {
      withGhecCompatibilityModeFalse: null,
      withGhecCompatibilityModeTrue: {
        id: 'get-audit-log',
      },
      withoutGhecCompatibilityModeTrue: null,
    }

## test/queries/ghec.graphql

> Snapshot 1

    {
      endpoint: {
        id: 'get-audit-log',
      },
    }

## test/queries/is-github-cloud-only-workaround.graphql

> Snapshot 1

    {
      endpoint: {
        isGithubCloudOnly: true,
      },
    }

## test/queries/markdown-render-raw.graphql

> Snapshot 1

    {
      endpoint: {
        headers: [
          {
            name: 'content-type',
            value: 'text/plain; charset=utf-8',
          },
        ],
        parameters: [
          {
            name: 'data',
          },
        ],
      },
    }

## test/queries/not-github-cloud-only-workaround.graphql

> Snapshot 1

    {
      endpoint: {
        isGithubCloudOnly: false,
      },
    }

## test/queries/update-status-check-protection-deprecation.graphql

> Snapshot 1

    {
      endpoint: {
        changes: [
          {
            after: {
              operationId: 'repos/update-status-check-protection',
            },
            before: {
              operationId: 'repos/update-status-check-potection',
            },
            date: '2020-09-17',
            note: null,
            type: 'OPERATION',
          },
        ],
      },
    }
