{"size": 649, "ext": "js", "max_stars_repo_path": "lib/elasticDSL/Query/TermLevel/Ids.js", "max_stars_repo_name": "rccoe/graphql-compose-elasticsearch", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "lib/elasticDSL/Query/TermLevel/Ids.js", "max_issues_repo_name": "rccoe/graphql-compose-elasticsearch", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "lib/elasticDSL/Query/TermLevel/Ids.js", "max_forks_repo_name": "rccoe/graphql-compose-elasticsearch", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 24.9615384615, "max_line_length": 109, "alphanum_fraction": 0.656394453}
"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.getIdsITC = getIdsITC;

var _graphqlCompose = require("graphql-compose");

var _utils = require("../../../utils");

function getIdsITC(opts) {
  const name = (0, _utils.getTypeName)('QueryIds', opts);
  const description = (0, _utils.desc)(`
    Filters documents that only have the provided ids.
    [Documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-ids-query.html)
  `);
  return opts.getOrCreateITC(name, () => ({
    name,
    description,
    fields: {
      type: 'String!',
      values: '[String]!'
    }
  }));
}