From a8f73dbfe0f76ff4eec4829a1426019a6df25eb2 Mon Sep 17 00:00:00 2001 From: Ivan Goncharov Date: Thu, 2 Apr 2020 15:06:40 +0300 Subject: [PATCH] Update prettier (#2499) --- .prettierrc | 3 +- README.md | 4 +- docs/Guides-ConstructingTypes.md | 4 +- docs/Tutorial-Authentication.md | 2 +- docs/Tutorial-BasicTypes.md | 2 +- docs/Tutorial-GettingStarted.md | 2 +- docs/Tutorial-GraphQLClients.md | 8 +- docs/Tutorial-Mutations.md | 18 +- docs/Tutorial-ObjectTypes.md | 4 +- docs/Tutorial-PassingArguments.md | 10 +- package.json | 2 +- resources/benchmark-fork.js | 6 +- resources/benchmark.js | 6 +- resources/build.js | 4 +- resources/check-cover.js | 10 +- resources/eslint-rules/no-dir-import.js | 2 +- resources/gen-changelog.js | 22 +- resources/utils.js | 7 +- src/__fixtures__/github-schema.graphql | 14429 ++++++++++++---- src/__fixtures__/kitchen-sink.graphql | 32 +- src/__tests__/starWarsData.js | 2 +- src/__tests__/starWarsSchema.js | 4 +- src/error/GraphQLError.js | 2 +- .../__tests__/abstract-promise-test.js | 10 +- src/execution/__tests__/abstract-test.js | 8 +- src/execution/__tests__/executor-test.js | 10 +- src/execution/__tests__/mutations-test.js | 2 +- src/execution/__tests__/nonnull-test.js | 12 +- .../__tests__/union-interface-test.js | 6 +- src/execution/execute.js | 20 +- src/execution/values.js | 27 +- src/graphql.js | 2 +- src/jsutils/__tests__/inspect-test.js | 2 +- src/jsutils/didYouMean.js | 2 +- src/jsutils/inspect.js | 2 +- src/jsutils/printPathArray.js | 2 +- src/jsutils/promiseForObject.js | 4 +- src/jsutils/promiseReduce.js | 2 +- src/language/__tests__/lexer-test.js | 2 +- src/language/__tests__/predicates-test.js | 4 +- src/language/ast.js | 4 +- src/language/printLocation.js | 2 +- src/language/printer.js | 10 +- src/polyfills/arrayFrom.js | 2 +- src/polyfills/find.js | 4 +- src/polyfills/flatMap.js | 4 +- src/polyfills/isFinite.js | 2 +- src/polyfills/isInteger.js | 2 +- src/polyfills/objectEntries.js | 2 +- src/polyfills/objectValues.js | 2 +- .../eventEmitterAsyncIterator-test.js | 6 +- .../__tests__/eventEmitterAsyncIterator.js | 2 +- .../__tests__/mapAsyncIterator-test.js | 34 +- src/subscription/__tests__/subscribe-test.js | 16 +- src/subscription/mapAsyncIterator.js | 12 +- src/subscription/subscribe.js | 6 +- src/type/definition.js | 20 +- src/type/introspection.js | 57 +- src/type/schema.js | 2 +- src/type/validate.js | 22 +- src/utilities/TypeInfo.js | 2 +- .../__tests__/buildClientSchema-test.js | 4 +- .../__tests__/coerceInputValue-test.js | 6 +- src/utilities/__tests__/extendSchema-test.js | 2 +- .../__tests__/findDeprecatedUsages-test.js | 4 +- .../__tests__/stripIgnoredCharacters-test.js | 2 +- src/utilities/buildASTSchema.js | 6 +- src/utilities/buildClientSchema.js | 12 +- src/utilities/concatAST.js | 2 +- src/utilities/extendSchema.js | 4 +- src/utilities/findBreakingChanges.js | 4 +- src/utilities/lexicographicSortSchema.js | 21 +- src/utilities/printSchema.js | 12 +- src/utilities/separateOperations.js | 2 +- src/utilities/typeComparators.js | 2 +- src/utilities/valueFromAST.js | 2 +- src/utilities/valueFromASTUntyped.js | 8 +- src/validation/ValidationContext.js | 6 +- src/validation/__tests__/validation-test.js | 2 +- .../rules/FieldsOnCorrectTypeRule.js | 2 +- .../rules/KnownArgumentNamesRule.js | 6 +- src/validation/rules/KnownDirectivesRule.js | 2 +- src/validation/rules/KnownTypeNamesRule.js | 2 +- .../rules/LoneAnonymousOperationRule.js | 2 +- src/validation/rules/NoFragmentCyclesRule.js | 2 +- .../rules/OverlappingFieldsCanBeMergedRule.js | 4 +- .../rules/ProvidedRequiredArgumentsRule.js | 8 +- .../rules/ValuesOfCorrectTypeRule.js | 12 +- src/validation/validate.js | 12 +- yarn.lock | 8 +- 90 files changed, 11147 insertions(+), 3929 deletions(-) diff --git a/.prettierrc b/.prettierrc index 6de9cff5b4..a20502b7f0 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,5 +1,4 @@ { "singleQuote": true, - "trailingComma": "all", - "endOfLine": "lf" + "trailingComma": "all" } diff --git a/README.md b/README.md index 54200e290d..82b748950a 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ Then, serve the result of a query against that type schema. ```js var query = '{ hello }'; -graphql(schema, query).then(result => { +graphql(schema, query).then((result) => { // Prints // { // data: { hello: "world" } @@ -90,7 +90,7 @@ it, reporting errors otherwise. ```js var query = '{ BoyHowdy }'; -graphql(schema, query).then(result => { +graphql(schema, query).then((result) => { // Prints // { // errors: [ diff --git a/docs/Guides-ConstructingTypes.md b/docs/Guides-ConstructingTypes.md index 5410b7b9c3..acd1b7ce70 100644 --- a/docs/Guides-ConstructingTypes.md +++ b/docs/Guides-ConstructingTypes.md @@ -41,7 +41,7 @@ var fakeDatabase = { }; var root = { - user: function({ id }) { + user: function ({ id }) { return fakeDatabase[id]; }, }; @@ -98,7 +98,7 @@ var queryType = new graphql.GraphQLObjectType({ args: { id: { type: graphql.GraphQLString }, }, - resolve: function(_, { id }) { + resolve: function (_, { id }) { return fakeDatabase[id]; }, }, diff --git a/docs/Tutorial-Authentication.md b/docs/Tutorial-Authentication.md index d15ec03a0c..ac8decd661 100644 --- a/docs/Tutorial-Authentication.md +++ b/docs/Tutorial-Authentication.md @@ -30,7 +30,7 @@ function loggingMiddleware(req, res, next) { } var root = { - ip: function(args, request) { + ip: function (args, request) { return request.ip; }, }; diff --git a/docs/Tutorial-BasicTypes.md b/docs/Tutorial-BasicTypes.md index 75ff173241..30a48d8e13 100644 --- a/docs/Tutorial-BasicTypes.md +++ b/docs/Tutorial-BasicTypes.md @@ -39,7 +39,7 @@ var root = { return Math.random(); }, rollThreeDice: () => { - return [1, 2, 3].map(_ => 1 + Math.floor(Math.random() * 6)); + return [1, 2, 3].map((_) => 1 + Math.floor(Math.random() * 6)); }, }; diff --git a/docs/Tutorial-GettingStarted.md b/docs/Tutorial-GettingStarted.md index 03a9e47704..19c4cfb11f 100644 --- a/docs/Tutorial-GettingStarted.md +++ b/docs/Tutorial-GettingStarted.md @@ -40,7 +40,7 @@ var root = { }; // Run the GraphQL query '{ hello }' and print out the response -graphql(schema, '{ hello }', root).then(response => { +graphql(schema, '{ hello }', root).then((response) => { console.log(response); }); ``` diff --git a/docs/Tutorial-GraphQLClients.md b/docs/Tutorial-GraphQLClients.md index 10c7cc72a4..578a0d8f47 100644 --- a/docs/Tutorial-GraphQLClients.md +++ b/docs/Tutorial-GraphQLClients.md @@ -36,8 +36,8 @@ fetch('/graphql', { }, body: JSON.stringify({ query: '{ hello }' }), }) - .then(r => r.json()) - .then(data => console.log('data returned:', data)); + .then((r) => r.json()) + .then((data) => console.log('data returned:', data)); ``` You should see the data returned, logged in the console: @@ -76,8 +76,8 @@ fetch('/graphql', { variables: { dice, sides }, }), }) - .then(r => r.json()) - .then(data => console.log('data returned:', data)); + .then((r) => r.json()) + .then((data) => console.log('data returned:', data)); ``` Using this syntax for variables is a good idea because it automatically prevents bugs due to escaping, and it makes it easier to monitor your server. diff --git a/docs/Tutorial-Mutations.md b/docs/Tutorial-Mutations.md index df8f1614c4..e1e30a2480 100644 --- a/docs/Tutorial-Mutations.md +++ b/docs/Tutorial-Mutations.md @@ -27,11 +27,11 @@ Both mutations and queries can be handled by root resolvers, so the root that im ```js var fakeDatabase = {}; var root = { - setMessage: function({ message }) { + setMessage: function ({ message }) { fakeDatabase.message = message; return message; }, - getMessage: function() { + getMessage: function () { return fakeDatabase.message; }, }; @@ -112,22 +112,20 @@ class Message { var fakeDatabase = {}; var root = { - getMessage: function({ id }) { + getMessage: function ({ id }) { if (!fakeDatabase[id]) { throw new Error('no message exists with id ' + id); } return new Message(id, fakeDatabase[id]); }, - createMessage: function({ input }) { + createMessage: function ({ input }) { // Create a random id for our "database". - var id = require('crypto') - .randomBytes(10) - .toString('hex'); + var id = require('crypto').randomBytes(10).toString('hex'); fakeDatabase[id] = input; return new Message(id, input); }, - updateMessage: function({ id, input }) { + updateMessage: function ({ id, input }) { if (!fakeDatabase[id]) { throw new Error('no message exists with id ' + id); } @@ -188,8 +186,8 @@ fetch('/graphql', { }, }), }) - .then(r => r.json()) - .then(data => console.log('data returned:', data)); + .then((r) => r.json()) + .then((data) => console.log('data returned:', data)); ``` One particular type of mutation is operations that change users, like signing up a new user. While you can implement this using GraphQL mutations, you can reuse many existing libraries if you learn about [GraphQL with authentication and Express middleware](/graphql-js/authentication-and-express-middleware/). diff --git a/docs/Tutorial-ObjectTypes.md b/docs/Tutorial-ObjectTypes.md index 3bef47f6bd..f45ffa73f1 100644 --- a/docs/Tutorial-ObjectTypes.md +++ b/docs/Tutorial-ObjectTypes.md @@ -50,7 +50,7 @@ class RandomDie { } var root = { - getDie: function({ numSides }) { + getDie: function ({ numSides }) { return new RandomDie(numSides || 6); }, }; @@ -111,7 +111,7 @@ class RandomDie { // The root provides the top-level API endpoints var root = { - getDie: function({ numSides }) { + getDie: function ({ numSides }) { return new RandomDie(numSides || 6); }, }; diff --git a/docs/Tutorial-PassingArguments.md b/docs/Tutorial-PassingArguments.md index fac0c1f3c4..9a1ada9f18 100644 --- a/docs/Tutorial-PassingArguments.md +++ b/docs/Tutorial-PassingArguments.md @@ -28,7 +28,7 @@ So far, our resolver functions took no arguments. When a resolver takes argument ```js var root = { - rollDice: function(args) { + rollDice: function (args) { var output = []; for (var i = 0; i < args.numDice; i++) { output.push(1 + Math.floor(Math.random() * (args.numSides || 6))); @@ -42,7 +42,7 @@ It's convenient to use [ES6 destructuring assignment](https://developer.mozilla. ```js var root = { - rollDice: function({ numDice, numSides }) { + rollDice: function ({ numDice, numSides }) { var output = []; for (var i = 0; i < numDice; i++) { output.push(1 + Math.floor(Math.random() * (numSides || 6))); @@ -70,7 +70,7 @@ var schema = buildSchema(` // The root provides a resolver function for each API endpoint var root = { - rollDice: function({ numDice, numSides }) { + rollDice: function ({ numDice, numSides }) { var output = []; for (var i = 0; i < numDice; i++) { output.push(1 + Math.floor(Math.random() * (numSides || 6))); @@ -125,8 +125,8 @@ fetch('/graphql', { variables: { dice, sides }, }), }) - .then(r => r.json()) - .then(data => console.log('data returned:', data)); + .then((r) => r.json()) + .then((data) => console.log('data returned:', data)); ``` Using `$dice` and `$sides` as variables in GraphQL means we don't have to worry about escaping on the client side. diff --git a/package.json b/package.json index 621e7fb8b9..fbe1e6b748 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "flow-bin": "0.120.1", "mocha": "7.1.0", "nyc": "15.0.0", - "prettier": "1.19.1", + "prettier": "2.0.2", "typescript": "^3.8.3" } } diff --git a/resources/benchmark-fork.js b/resources/benchmark-fork.js index 206f839669..9a0abfe931 100644 --- a/resources/benchmark-fork.js +++ b/resources/benchmark-fork.js @@ -43,15 +43,15 @@ function sampleModule(modulePath) { let message; let error; - child.on('message', msg => (message = msg)); - child.on('error', e => (error = e)); + child.on('message', (msg) => (message = msg)); + child.on('error', (e) => (error = e)); child.on('close', () => { if (message) { return resolve(message); } reject(error || new Error('Forked process closed without error')); }); - }).then(result => { + }).then((result) => { global.gc(); return result; }); diff --git a/resources/benchmark.js b/resources/benchmark.js index aae0b71f54..c8a39255ce 100644 --- a/resources/benchmark.js +++ b/resources/benchmark.js @@ -229,7 +229,7 @@ function maxBy(array, fn) { // Prepare all revisions and run benchmarks matching a pattern against them. async function prepareAndRunBenchmarks(benchmarkPatterns, revisions) { - const environments = revisions.map(revision => ({ + const environments = revisions.map((revision) => ({ revision, distPath: prepareRevision(revision), })); @@ -269,8 +269,8 @@ async function prepareAndRunBenchmarks(benchmarkPatterns, revisions) { function matchBenchmarks(patterns) { let benchmarks = findFiles(LOCAL_DIR('src'), '*/__tests__/*-benchmark.js'); if (patterns.length > 0) { - benchmarks = benchmarks.filter(benchmark => - patterns.some(pattern => path.join('src', benchmark).includes(pattern)), + benchmarks = benchmarks.filter((benchmark) => + patterns.some((pattern) => path.join('src', benchmark).includes(pattern)), ); } diff --git a/resources/build.js b/resources/build.js index 6b1b7a6d12..f21020f994 100644 --- a/resources/build.js +++ b/resources/build.js @@ -77,8 +77,8 @@ function showStats() { stats.sort((a, b) => b[1] - a[1]); stats = stats.map(([type, size]) => [type, (size / 1024).toFixed(2) + ' KB']); - const typeMaxLength = Math.max(...stats.map(x => x[0].length)); - const sizeMaxLength = Math.max(...stats.map(x => x[1].length)); + const typeMaxLength = Math.max(...stats.map((x) => x[0].length)); + const sizeMaxLength = Math.max(...stats.map((x) => x[1].length)); for (const [type, size] of stats) { console.log( type.padStart(typeMaxLength) + ' | ' + size.padStart(sizeMaxLength), diff --git a/resources/check-cover.js b/resources/check-cover.js index aaf070da2f..42a30e4eee 100644 --- a/resources/check-cover.js +++ b/resources/check-cover.js @@ -14,13 +14,13 @@ const { rmdirRecursive('./coverage/flow'); getFullCoverage() - .then(fullCoverage => + .then((fullCoverage) => writeFile( './coverage/flow/full-coverage.json', JSON.stringify(fullCoverage), ), ) - .catch(error => { + .catch((error) => { console.error(error.stack); process.exit(1); }); @@ -34,10 +34,10 @@ async function getFullCoverage() { // TODO: measure coverage for all files. ATM missing types for chai & mocha const files = readdirRecursive('./src', { ignoreDir: /^__.*__$/ }) - .filter(filepath => filepath.endsWith('.js')) - .map(filepath => path.join('src/', filepath)); + .filter((filepath) => filepath.endsWith('.js')) + .map((filepath) => path.join('src/', filepath)); - await Promise.all(files.map(getCoverage)).then(coverages => { + await Promise.all(files.map(getCoverage)).then((coverages) => { for (const coverage of coverages) { fullCoverage[coverage.path] = coverage; } diff --git a/resources/eslint-rules/no-dir-import.js b/resources/eslint-rules/no-dir-import.js index 41220c35fa..45ab9d19f3 100644 --- a/resources/eslint-rules/no-dir-import.js +++ b/resources/eslint-rules/no-dir-import.js @@ -5,7 +5,7 @@ const fs = require('fs'); const path = require('path'); -module.exports = function(context) { +module.exports = function (context) { return { ImportDeclaration: checkImporPath, ExportNamedDeclaration: checkImporPath, diff --git a/resources/gen-changelog.js b/resources/gen-changelog.js index 35422851ca..19e8bfda85 100644 --- a/resources/gen-changelog.js +++ b/resources/gen-changelog.js @@ -59,8 +59,8 @@ if (repoURLMatch == null) { const [, githubOrg, githubRepo] = repoURLMatch; getChangeLog() - .then(changelog => process.stdout.write(changelog)) - .catch(error => console.error(error)); + .then((changelog) => process.stdout.write(changelog)) + .catch((error) => console.error(error)); function getChangeLog() { const { version } = packageJSON; @@ -76,8 +76,8 @@ function getChangeLog() { const date = exec('git log -1 --format=%cd --date=short'); return getCommitsInfo(commitsList.split('\n')) - .then(commitsInfo => getPRsInfo(commitsInfoToPRs(commitsInfo))) - .then(prsInfo => genChangeLog(tag, date, prsInfo)); + .then((commitsInfo) => getPRsInfo(commitsInfoToPRs(commitsInfo))) + .then((prsInfo) => genChangeLog(tag, date, prsInfo)); } function genChangeLog(tag, date, allPRs) { @@ -86,8 +86,8 @@ function genChangeLog(tag, date, allPRs) { for (const pr of allPRs) { const labels = pr.labels.nodes - .map(label => label.name) - .filter(label => label.startsWith('PR: ')); + .map((label) => label.name) + .filter((label) => label.startsWith('PR: ')); if (labels.length === 0) { throw new Error(`PR is missing label. See ${pr.url}`); @@ -153,12 +153,12 @@ function graphqlRequestImpl(query, variables, cb) { }, }); - req.on('response', res => { + req.on('response', (res) => { let responseBody = ''; res.setEncoding('utf8'); - res.on('data', d => (responseBody += d)); - res.on('error', error => resultCB(error)); + res.on('data', (d) => (responseBody += d)); + res.on('error', (error) => resultCB(error)); res.on('end', () => { if (res.statusCode !== 200) { @@ -187,7 +187,7 @@ function graphqlRequestImpl(query, variables, cb) { }); }); - req.on('error', error => resultCB(error)); + req.on('error', (error) => resultCB(error)); req.write(JSON.stringify({ query, variables })); req.end(); } @@ -271,7 +271,7 @@ function commitsInfoToPRs(commits) { const prs = {}; for (const commit of commits) { const associatedPRs = commit.associatedPullRequests.nodes.filter( - pr => pr.repository.nameWithOwner === `${githubOrg}/${githubRepo}`, + (pr) => pr.repository.nameWithOwner === `${githubOrg}/${githubRepo}`, ); if (associatedPRs.length === 0) { const match = / \(#([0-9]+)\)$/m.exec(commit.message); diff --git a/resources/utils.js b/resources/utils.js index 75df766d00..3c64785d7f 100644 --- a/resources/utils.js +++ b/resources/utils.js @@ -31,10 +31,7 @@ function removeTrailingNewLine(str) { return str; } - return str - .split('\n') - .slice(0, -1) - .join('\n'); + return str.split('\n').slice(0, -1).join('\n'); } function mkdirRecursive(dirPath) { @@ -68,7 +65,7 @@ function readdirRecursive(dirPath, opts = {}) { if (ignoreDir && ignoreDir.test(name)) { continue; } - const list = readdirRecursive(path.join(dirPath, name), opts).map(f => + const list = readdirRecursive(path.join(dirPath, name), opts).map((f) => path.join(name, f), ); result.push(...list); diff --git a/src/__fixtures__/github-schema.graphql b/src/__fixtures__/github-schema.graphql index 51dbeff4b3..7baa42397a 100644 --- a/src/__fixtures__/github-schema.graphql +++ b/src/__fixtures__/github-schema.graphql @@ -1,21 +1,35 @@ -"""Autogenerated input type of AcceptTopicSuggestion""" +""" +Autogenerated input type of AcceptTopicSuggestion +""" input AcceptTopicSuggestionInput { - """The Node ID of the repository.""" + """ + The Node ID of the repository. + """ repositoryId: ID! - """The name of the suggested topic.""" + """ + The name of the suggested topic. + """ name: String! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of AcceptTopicSuggestion""" +""" +Autogenerated return type of AcceptTopicSuggestion +""" type AcceptTopicSuggestionPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The accepted topic.""" + """ + The accepted topic. + """ topic: Topic } @@ -23,67 +37,109 @@ type AcceptTopicSuggestionPayload { Represents an object which can take actions on GitHub. Typically a User or Bot. """ interface Actor { - """A URL pointing to the actor's public avatar.""" + """ + A URL pointing to the actor's public avatar. + """ avatarUrl( - """The size of the resulting square image.""" + """ + The size of the resulting square image. + """ size: Int ): URI! - """The username of the actor.""" + """ + The username of the actor. + """ login: String! - """The HTTP path for this actor.""" + """ + The HTTP path for this actor. + """ resourcePath: URI! - """The HTTP URL for this actor.""" + """ + The HTTP URL for this actor. + """ url: URI! } -"""Autogenerated input type of AddAssigneesToAssignable""" +""" +Autogenerated input type of AddAssigneesToAssignable +""" input AddAssigneesToAssignableInput { - """The id of the assignable object to add assignees to.""" + """ + The id of the assignable object to add assignees to. + """ assignableId: ID! - """The id of users to add as assignees.""" + """ + The id of users to add as assignees. + """ assigneeIds: [ID!]! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of AddAssigneesToAssignable""" +""" +Autogenerated return type of AddAssigneesToAssignable +""" type AddAssigneesToAssignablePayload { - """The item that was assigned.""" + """ + The item that was assigned. + """ assignable: Assignable - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated input type of AddComment""" +""" +Autogenerated input type of AddComment +""" input AddCommentInput { - """The Node ID of the subject to modify.""" + """ + The Node ID of the subject to modify. + """ subjectId: ID! - """The contents of the comment.""" + """ + The contents of the comment. + """ body: String! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of AddComment""" +""" +Autogenerated return type of AddComment +""" type AddCommentPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The edge from the subject's comment connection.""" + """ + The edge from the subject's comment connection. + """ commentEdge: IssueCommentEdge - """The subject""" + """ + The subject + """ subject: Node - """The edge from the subject's timeline connection.""" + """ + The edge from the subject's timeline connection. + """ timelineEdge: IssueTimelineItemEdge } @@ -91,248 +147,410 @@ type AddCommentPayload { Represents a 'added_to_project' event on a given issue or pull request. """ type AddedToProjectEvent implements Node { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """Identifies the primary key from the database.""" + """ + Identifies the primary key from the database. + """ databaseId: Int id: ID! } -"""Autogenerated input type of AddLabelsToLabelable""" +""" +Autogenerated input type of AddLabelsToLabelable +""" input AddLabelsToLabelableInput { - """The id of the labelable object to add labels to.""" + """ + The id of the labelable object to add labels to. + """ labelableId: ID! - """The ids of the labels to add.""" + """ + The ids of the labels to add. + """ labelIds: [ID!]! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of AddLabelsToLabelable""" +""" +Autogenerated return type of AddLabelsToLabelable +""" type AddLabelsToLabelablePayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The item that was labeled.""" + """ + The item that was labeled. + """ labelable: Labelable } -"""Autogenerated input type of AddProjectCard""" +""" +Autogenerated input type of AddProjectCard +""" input AddProjectCardInput { - """The Node ID of the ProjectColumn.""" + """ + The Node ID of the ProjectColumn. + """ projectColumnId: ID! - """The content of the card. Must be a member of the ProjectCardItem union""" + """ + The content of the card. Must be a member of the ProjectCardItem union + """ contentId: ID - """The note on the card.""" + """ + The note on the card. + """ note: String - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of AddProjectCard""" +""" +Autogenerated return type of AddProjectCard +""" type AddProjectCardPayload { - """The edge from the ProjectColumn's card connection.""" + """ + The edge from the ProjectColumn's card connection. + """ cardEdge: ProjectCardEdge - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The ProjectColumn""" + """ + The ProjectColumn + """ projectColumn: ProjectColumn } -"""Autogenerated input type of AddProjectColumn""" +""" +Autogenerated input type of AddProjectColumn +""" input AddProjectColumnInput { - """The Node ID of the project.""" + """ + The Node ID of the project. + """ projectId: ID! - """The name of the column.""" + """ + The name of the column. + """ name: String! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of AddProjectColumn""" +""" +Autogenerated return type of AddProjectColumn +""" type AddProjectColumnPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The edge from the project's column connection.""" + """ + The edge from the project's column connection. + """ columnEdge: ProjectColumnEdge - """The project""" + """ + The project + """ project: Project } -"""Autogenerated input type of AddPullRequestReviewComment""" +""" +Autogenerated input type of AddPullRequestReviewComment +""" input AddPullRequestReviewCommentInput { - """The Node ID of the review to modify.""" + """ + The Node ID of the review to modify. + """ pullRequestReviewId: ID! - """The SHA of the commit to comment on.""" + """ + The SHA of the commit to comment on. + """ commitOID: GitObjectID - """The text of the comment.""" + """ + The text of the comment. + """ body: String! - """The relative path of the file to comment on.""" + """ + The relative path of the file to comment on. + """ path: String - """The line index in the diff to comment on.""" + """ + The line index in the diff to comment on. + """ position: Int - """The comment id to reply to.""" + """ + The comment id to reply to. + """ inReplyTo: ID - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of AddPullRequestReviewComment""" +""" +Autogenerated return type of AddPullRequestReviewComment +""" type AddPullRequestReviewCommentPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The newly created comment.""" + """ + The newly created comment. + """ comment: PullRequestReviewComment - """The edge from the review's comment connection.""" + """ + The edge from the review's comment connection. + """ commentEdge: PullRequestReviewCommentEdge } -"""Autogenerated input type of AddPullRequestReview""" +""" +Autogenerated input type of AddPullRequestReview +""" input AddPullRequestReviewInput { - """The Node ID of the pull request to modify.""" + """ + The Node ID of the pull request to modify. + """ pullRequestId: ID! - """The commit OID the review pertains to.""" + """ + The commit OID the review pertains to. + """ commitOID: GitObjectID - """The contents of the review body comment.""" + """ + The contents of the review body comment. + """ body: String - """The event to perform on the pull request review.""" + """ + The event to perform on the pull request review. + """ event: PullRequestReviewEvent - """The review line comments.""" + """ + The review line comments. + """ comments: [DraftPullRequestReviewComment] - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of AddPullRequestReview""" +""" +Autogenerated return type of AddPullRequestReview +""" type AddPullRequestReviewPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The newly created pull request review.""" + """ + The newly created pull request review. + """ pullRequestReview: PullRequestReview - """The edge from the pull request's review connection.""" + """ + The edge from the pull request's review connection. + """ reviewEdge: PullRequestReviewEdge } -"""Autogenerated input type of AddReaction""" +""" +Autogenerated input type of AddReaction +""" input AddReactionInput { - """The Node ID of the subject to modify.""" + """ + The Node ID of the subject to modify. + """ subjectId: ID! - """The name of the emoji to react with.""" + """ + The name of the emoji to react with. + """ content: ReactionContent! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of AddReaction""" +""" +Autogenerated return type of AddReaction +""" type AddReactionPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The reaction object.""" + """ + The reaction object. + """ reaction: Reaction - """The reactable subject.""" + """ + The reactable subject. + """ subject: Reactable } -"""Autogenerated input type of AddStar""" +""" +Autogenerated input type of AddStar +""" input AddStarInput { - """The Starrable ID to star.""" + """ + The Starrable ID to star. + """ starrableId: ID! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of AddStar""" +""" +Autogenerated return type of AddStar +""" type AddStarPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The starrable.""" + """ + The starrable. + """ starrable: Starrable } -"""A GitHub App.""" +""" +A GitHub App. +""" type App implements Node { - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """Identifies the primary key from the database.""" + """ + Identifies the primary key from the database. + """ databaseId: Int - """The description of the app.""" + """ + The description of the app. + """ description: String id: ID! - """The hex color code, without the leading '#', for the logo background.""" + """ + The hex color code, without the leading '#', for the logo background. + """ logoBackgroundColor: String! - """A URL pointing to the app's logo.""" + """ + A URL pointing to the app's logo. + """ logoUrl( - """The size of the resulting image.""" + """ + The size of the resulting image. + """ size: Int ): URI! - """The name of the app.""" + """ + The name of the app. + """ name: String! - """A slug based on the name of the app for use in URLs.""" + """ + A slug based on the name of the app for use in URLs. + """ slug: String! - """Identifies the date and time when the object was last updated.""" + """ + Identifies the date and time when the object was last updated. + """ updatedAt: DateTime! - """The URL to the app's homepage.""" + """ + The URL to the app's homepage. + """ url: URI! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type AppEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: App } -"""An object that can have users assigned to it.""" +""" +An object that can have users assigned to it. +""" interface Assignable { - """A list of Users assigned to this object.""" + """ + A list of Users assigned to this object. + """ assignees( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -340,27 +558,41 @@ interface Assignable { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): UserConnection! } -"""Represents an 'assigned' event on any assignable object.""" +""" +Represents an 'assigned' event on any assignable object. +""" type AssignedEvent implements Node { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Identifies the assignable associated with the event.""" + """ + Identifies the assignable associated with the event. + """ assignable: Assignable! - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! id: ID! - """Identifies the user who was assigned.""" + """ + Identifies the user who was assigned. + """ user: User } @@ -368,23 +600,35 @@ type AssignedEvent implements Node { Represents a 'base_ref_changed' event on a given issue or pull request. """ type BaseRefChangedEvent implements Node { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """Identifies the primary key from the database.""" + """ + Identifies the primary key from the database. + """ databaseId: Int id: ID! } -"""Represents a 'base_ref_force_pushed' event on a given pull request.""" +""" +Represents a 'base_ref_force_pushed' event on a given pull request. +""" type BaseRefForcePushedEvent implements Node { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Identifies the after commit SHA for the 'base_ref_force_pushed' event.""" + """ + Identifies the after commit SHA for the 'base_ref_force_pushed' event. + """ afterCommit: Commit """ @@ -392,11 +636,15 @@ type BaseRefForcePushedEvent implements Node { """ beforeCommit: Commit - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! id: ID! - """PullRequest referenced by event.""" + """ + PullRequest referenced by event. + """ pullRequest: PullRequest! """ @@ -405,13 +653,19 @@ type BaseRefForcePushedEvent implements Node { ref: Ref } -"""Represents a Git blame.""" +""" +Represents a Git blame. +""" type Blame { - """The list of ranges from a Git blame.""" + """ + The list of ranges from a Git blame. + """ ranges: [BlameRange!]! } -"""Represents a range of information from a Git blame.""" +""" +Represents a range of information from a Git blame. +""" type BlameRange { """ Identifies the recency of the change, from 1 (new) to 10 (old). This is @@ -421,82 +675,130 @@ type BlameRange { """ age: Int! - """Identifies the line author""" + """ + Identifies the line author + """ commit: Commit! - """The ending line for the range""" + """ + The ending line for the range + """ endingLine: Int! - """The starting line for the range""" + """ + The starting line for the range + """ startingLine: Int! } -"""Represents a Git blob.""" +""" +Represents a Git blob. +""" type Blob implements Node & GitObject { - """An abbreviated version of the Git object ID""" + """ + An abbreviated version of the Git object ID + """ abbreviatedOid: String! - """Byte size of Blob object""" + """ + Byte size of Blob object + """ byteSize: Int! - """The HTTP path for this Git object""" + """ + The HTTP path for this Git object + """ commitResourcePath: URI! - """The HTTP URL for this Git object""" + """ + The HTTP URL for this Git object + """ commitUrl: URI! id: ID! - """Indicates whether the Blob is binary or text""" + """ + Indicates whether the Blob is binary or text + """ isBinary: Boolean! - """Indicates whether the contents is truncated""" + """ + Indicates whether the contents is truncated + """ isTruncated: Boolean! - """The Git object ID""" + """ + The Git object ID + """ oid: GitObjectID! - """The Repository the Git object belongs to""" + """ + The Repository the Git object belongs to + """ repository: Repository! - """UTF8 text data or null if the Blob is binary""" + """ + UTF8 text data or null if the Blob is binary + """ text: String } -"""A special type of user which takes actions on behalf of GitHub Apps.""" +""" +A special type of user which takes actions on behalf of GitHub Apps. +""" type Bot implements Node & Actor & UniformResourceLocatable { - """A URL pointing to the GitHub App's public avatar.""" + """ + A URL pointing to the GitHub App's public avatar. + """ avatarUrl( - """The size of the resulting square image.""" + """ + The size of the resulting square image. + """ size: Int ): URI! - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """Identifies the primary key from the database.""" + """ + Identifies the primary key from the database. + """ databaseId: Int id: ID! - """The username of the actor.""" + """ + The username of the actor. + """ login: String! - """The HTTP path for this bot""" + """ + The HTTP path for this bot + """ resourcePath: URI! - """Identifies the date and time when the object was last updated.""" + """ + Identifies the date and time when the object was last updated. + """ updatedAt: DateTime! - """The HTTP URL for this bot""" + """ + The HTTP URL for this bot + """ url: URI! } -"""A branch protection rule.""" +""" +A branch protection rule. +""" type BranchProtectionRule implements Node { """ A list of conflicts matching branches protection rule and other branch protection rules """ branchProtectionRuleConflicts( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -504,17 +806,25 @@ type BranchProtectionRule implements Node { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): BranchProtectionRuleConflictConnection! - """The actor who created this branch protection rule.""" + """ + The actor who created this branch protection rule. + """ creator: Actor - """Identifies the primary key from the database.""" + """ + Identifies the primary key from the database. + """ databaseId: Int """ @@ -523,12 +833,18 @@ type BranchProtectionRule implements Node { dismissesStaleReviews: Boolean! id: ID! - """Can admins overwrite branch protection.""" + """ + Can admins overwrite branch protection. + """ isAdminEnforced: Boolean! - """Repository refs that are protected by this rule""" + """ + Repository refs that are protected by this rule + """ matchingRefs( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -536,19 +852,29 @@ type BranchProtectionRule implements Node { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): RefConnection! - """Identifies the protection rule pattern.""" + """ + Identifies the protection rule pattern. + """ pattern: String! - """A list push allowances for this branch protection rule.""" + """ + A list push allowances for this branch protection rule. + """ pushAllowances( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -556,17 +882,25 @@ type BranchProtectionRule implements Node { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): PushAllowanceConnection! - """The repository associated with this branch protection rule.""" + """ + The repository associated with this branch protection rule. + """ repository: Repository - """Number of approving reviews required to update matching branches.""" + """ + Number of approving reviews required to update matching branches. + """ requiredApprovingReviewCount: Int """ @@ -574,27 +908,43 @@ type BranchProtectionRule implements Node { """ requiredStatusCheckContexts: [String] - """Are approving reviews required to update matching branches.""" + """ + Are approving reviews required to update matching branches. + """ requiresApprovingReviews: Boolean! - """Are commits required to be signed.""" + """ + Are commits required to be signed. + """ requiresCommitSignatures: Boolean! - """Are status checks required to update matching branches.""" + """ + Are status checks required to update matching branches. + """ requiresStatusChecks: Boolean! - """Are branches required to be up to date before merging.""" + """ + Are branches required to be up to date before merging. + """ requiresStrictStatusChecks: Boolean! - """Is pushing to matching branches restricted.""" + """ + Is pushing to matching branches restricted. + """ restrictsPushes: Boolean! - """Is dismissal of pull request reviews restricted.""" + """ + Is dismissal of pull request reviews restricted. + """ restrictsReviewDismissals: Boolean! - """A list review dismissal allowances for this branch protection rule.""" + """ + A list review dismissal allowances for this branch protection rule. + """ reviewDismissalAllowances( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -602,82 +952,130 @@ type BranchProtectionRule implements Node { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): ReviewDismissalAllowanceConnection! } -"""A conflict between two branch protection rules.""" +""" +A conflict between two branch protection rules. +""" type BranchProtectionRuleConflict { - """Identifies the branch protection rule.""" + """ + Identifies the branch protection rule. + """ branchProtectionRule: BranchProtectionRule - """Identifies the conflicting branch protection rule.""" + """ + Identifies the conflicting branch protection rule. + """ conflictingBranchProtectionRule: BranchProtectionRule - """Identifies the branch ref that has conflicting rules""" + """ + Identifies the branch ref that has conflicting rules + """ ref: Ref } -"""The connection type for BranchProtectionRuleConflict.""" +""" +The connection type for BranchProtectionRuleConflict. +""" type BranchProtectionRuleConflictConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [BranchProtectionRuleConflictEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [BranchProtectionRuleConflict] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type BranchProtectionRuleConflictEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: BranchProtectionRuleConflict } -"""The connection type for BranchProtectionRule.""" +""" +The connection type for BranchProtectionRule. +""" type BranchProtectionRuleConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [BranchProtectionRuleEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [BranchProtectionRule] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type BranchProtectionRuleEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: BranchProtectionRule } -"""Autogenerated input type of ChangeUserStatus""" +""" +Autogenerated input type of ChangeUserStatus +""" input ChangeUserStatusInput { """ The emoji to represent your status. Can either be a native Unicode emoji or an emoji name with colons, e.g., :grinning:. """ emoji: String - """A short description of your current status.""" + """ + A short description of your current status. + """ message: String """ @@ -691,167 +1089,271 @@ input ChangeUserStatusInput { """ limitedAvailability: Boolean = false - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of ChangeUserStatus""" +""" +Autogenerated return type of ChangeUserStatus +""" type ChangeUserStatusPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """Your updated status.""" + """ + Your updated status. + """ status: UserStatus } -"""Autogenerated input type of ClearLabelsFromLabelable""" +""" +Autogenerated input type of ClearLabelsFromLabelable +""" input ClearLabelsFromLabelableInput { - """The id of the labelable object to clear the labels from.""" + """ + The id of the labelable object to clear the labels from. + """ labelableId: ID! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of ClearLabelsFromLabelable""" +""" +Autogenerated return type of ClearLabelsFromLabelable +""" type ClearLabelsFromLabelablePayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The item that was unlabeled.""" + """ + The item that was unlabeled. + """ labelable: Labelable } -"""Autogenerated input type of CloneProject""" +""" +Autogenerated input type of CloneProject +""" input CloneProjectInput { - """The owner ID to create the project under.""" + """ + The owner ID to create the project under. + """ targetOwnerId: ID! - """The source project to clone.""" + """ + The source project to clone. + """ sourceId: ID! - """Whether or not to clone the source project's workflows.""" + """ + Whether or not to clone the source project's workflows. + """ includeWorkflows: Boolean! - """The name of the project.""" + """ + The name of the project. + """ name: String! - """The description of the project.""" + """ + The description of the project. + """ body: String - """The visibility of the project, defaults to false (private).""" + """ + The visibility of the project, defaults to false (private). + """ public: Boolean - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of CloneProject""" +""" +Autogenerated return type of CloneProject +""" type CloneProjectPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The id of the JobStatus for populating cloned fields.""" + """ + The id of the JobStatus for populating cloned fields. + """ jobStatusId: String - """The new cloned project.""" + """ + The new cloned project. + """ project: Project } -"""An object that can be closed""" +""" +An object that can be closed +""" interface Closable { """ `true` if the object is closed (definition of closed may depend on type) """ closed: Boolean! - """Identifies the date and time when the object was closed.""" + """ + Identifies the date and time when the object was closed. + """ closedAt: DateTime } -"""Represents a 'closed' event on any `Closable`.""" +""" +Represents a 'closed' event on any `Closable`. +""" type ClosedEvent implements Node & UniformResourceLocatable { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Object that was closed.""" + """ + Object that was closed. + """ closable: Closable! - """Object which triggered the creation of this event.""" + """ + Object which triggered the creation of this event. + """ closer: Closer - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! id: ID! - """The HTTP path for this closed event.""" + """ + The HTTP path for this closed event. + """ resourcePath: URI! - """The HTTP URL for this closed event.""" + """ + The HTTP URL for this closed event. + """ url: URI! } -"""Autogenerated input type of CloseIssue""" +""" +Autogenerated input type of CloseIssue +""" input CloseIssueInput { - """ID of the issue to be closed.""" + """ + ID of the issue to be closed. + """ issueId: ID! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of CloseIssue""" +""" +Autogenerated return type of CloseIssue +""" type CloseIssuePayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The issue that was closed.""" + """ + The issue that was closed. + """ issue: Issue } -"""Autogenerated input type of ClosePullRequest""" +""" +Autogenerated input type of ClosePullRequest +""" input ClosePullRequestInput { - """ID of the pull request to be closed.""" + """ + ID of the pull request to be closed. + """ pullRequestId: ID! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of ClosePullRequest""" +""" +Autogenerated return type of ClosePullRequest +""" type ClosePullRequestPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The pull request that was closed.""" + """ + The pull request that was closed. + """ pullRequest: PullRequest } -"""The object which triggered a `ClosedEvent`.""" +""" +The object which triggered a `ClosedEvent`. +""" union Closer = Commit | PullRequest -"""The Code of Conduct for a repository""" +""" +The Code of Conduct for a repository +""" type CodeOfConduct implements Node { - """The body of the Code of Conduct""" + """ + The body of the Code of Conduct + """ body: String id: ID! - """The key for the Code of Conduct""" + """ + The key for the Code of Conduct + """ key: String! - """The formal name of the Code of Conduct""" + """ + The formal name of the Code of Conduct + """ name: String! - """The HTTP path for this Code of Conduct""" + """ + The HTTP path for this Code of Conduct + """ resourcePath: URI - """The HTTP URL for this Code of Conduct""" + """ + The HTTP URL for this Code of Conduct + """ url: URI } -"""Collaborators affiliation level with a subject.""" +""" +Collaborators affiliation level with a subject. +""" enum CollaboratorAffiliation { - """All outside collaborators of an organization-owned subject.""" + """ + All outside collaborators of an organization-owned subject. + """ OUTSIDE """ @@ -859,37 +1361,59 @@ enum CollaboratorAffiliation { """ DIRECT - """All collaborators the authenticated user can see.""" + """ + All collaborators the authenticated user can see. + """ ALL } -"""Types that can be inside Collection Items.""" +""" +Types that can be inside Collection Items. +""" union CollectionItemContent = Repository | Organization | User -"""Represents a comment.""" +""" +Represents a comment. +""" interface Comment { - """The actor who authored the comment.""" + """ + The actor who authored the comment. + """ author: Actor - """Author's association with the subject of the comment.""" + """ + Author's association with the subject of the comment. + """ authorAssociation: CommentAuthorAssociation! - """The body as Markdown.""" + """ + The body as Markdown. + """ body: String! - """The body rendered to HTML.""" + """ + The body rendered to HTML. + """ bodyHTML: HTML! - """The body rendered to text.""" + """ + The body rendered to text. + """ bodyText: String! - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """Check if this comment was created via an email reply.""" + """ + Check if this comment was created via an email reply. + """ createdViaEmail: Boolean! - """The actor who edited the comment.""" + """ + The actor who edited the comment. + """ editor: Actor id: ID! @@ -898,18 +1422,28 @@ interface Comment { """ includesCreatedEdit: Boolean! - """The moment the editor made the last edit""" + """ + The moment the editor made the last edit + """ lastEditedAt: DateTime - """Identifies when the comment was published at.""" + """ + Identifies when the comment was published at. + """ publishedAt: DateTime - """Identifies the date and time when the object was last updated.""" + """ + Identifies the date and time when the object was last updated. + """ updatedAt: DateTime! - """A list of edits to this content.""" + """ + A list of edits to this content. + """ userContentEdits( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -917,88 +1451,140 @@ interface Comment { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): UserContentEditConnection - """Did the viewer author this comment.""" + """ + Did the viewer author this comment. + """ viewerDidAuthor: Boolean! } -"""A comment author association with repository.""" +""" +A comment author association with repository. +""" enum CommentAuthorAssociation { - """Author is a member of the organization that owns the repository.""" + """ + Author is a member of the organization that owns the repository. + """ MEMBER - """Author is the owner of the repository.""" + """ + Author is the owner of the repository. + """ OWNER - """Author has been invited to collaborate on the repository.""" + """ + Author has been invited to collaborate on the repository. + """ COLLABORATOR - """Author has previously committed to the repository.""" + """ + Author has previously committed to the repository. + """ CONTRIBUTOR - """Author has not previously committed to the repository.""" + """ + Author has not previously committed to the repository. + """ FIRST_TIME_CONTRIBUTOR - """Author has not previously committed to GitHub.""" + """ + Author has not previously committed to GitHub. + """ FIRST_TIMER - """Author has no association with the repository.""" + """ + Author has no association with the repository. + """ NONE } -"""The possible errors that will prevent a user from updating a comment.""" +""" +The possible errors that will prevent a user from updating a comment. +""" enum CommentCannotUpdateReason { """ You must be the author or have write access to this repository to update this comment. """ INSUFFICIENT_ACCESS - """Unable to create comment because issue is locked.""" + """ + Unable to create comment because issue is locked. + """ LOCKED - """You must be logged in to update this comment.""" + """ + You must be logged in to update this comment. + """ LOGIN_REQUIRED - """Repository is under maintenance.""" + """ + Repository is under maintenance. + """ MAINTENANCE - """At least one email address must be verified to update this comment.""" + """ + At least one email address must be verified to update this comment. + """ VERIFIED_EMAIL_REQUIRED - """You cannot update this comment""" + """ + You cannot update this comment + """ DENIED } -"""Represents a 'comment_deleted' event on a given issue or pull request.""" +""" +Represents a 'comment_deleted' event on a given issue or pull request. +""" type CommentDeletedEvent implements Node { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """Identifies the primary key from the database.""" + """ + Identifies the primary key from the database. + """ databaseId: Int id: ID! } -"""Represents a Git commit.""" +""" +Represents a Git commit. +""" type Commit implements Node & GitObject & Subscribable & UniformResourceLocatable { - """An abbreviated version of the Git object ID""" + """ + An abbreviated version of the Git object ID + """ abbreviatedOid: String! - """The number of additions in this commit.""" + """ + The number of additions in this commit. + """ additions: Int! - """The pull requests associated with a commit""" + """ + The pull requests associated with a commit + """ associatedPullRequests( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -1006,37 +1592,59 @@ type Commit implements Node & GitObject & Subscribable & UniformResourceLocatabl """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """Ordering options for pull requests.""" + """ + Ordering options for pull requests. + """ orderBy: PullRequestOrder ): PullRequestConnection - """Authorship details of the commit.""" + """ + Authorship details of the commit. + """ author: GitActor - """Check if the committer and the author match.""" + """ + Check if the committer and the author match. + """ authoredByCommitter: Boolean! - """The datetime when this commit was authored.""" + """ + The datetime when this commit was authored. + """ authoredDate: DateTime! - """Fetches `git blame` information.""" + """ + Fetches `git blame` information. + """ blame( - """The file whose Git blame information you want.""" + """ + The file whose Git blame information you want. + """ path: String! ): Blame! - """The number of changed files in this commit.""" + """ + The number of changed files in this commit. + """ changedFiles: Int! - """Comments made on the commit.""" + """ + Comments made on the commit. + """ comments( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -1044,40 +1652,64 @@ type Commit implements Node & GitObject & Subscribable & UniformResourceLocatabl """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): CommitCommentConnection! - """The HTTP path for this Git object""" + """ + The HTTP path for this Git object + """ commitResourcePath: URI! - """The HTTP URL for this Git object""" + """ + The HTTP URL for this Git object + """ commitUrl: URI! - """The datetime when this commit was committed.""" + """ + The datetime when this commit was committed. + """ committedDate: DateTime! - """Check if commited via GitHub web UI.""" + """ + Check if commited via GitHub web UI. + """ committedViaWeb: Boolean! - """Committership details of the commit.""" + """ + Committership details of the commit. + """ committer: GitActor - """The number of deletions in this commit.""" + """ + The number of deletions in this commit. + """ deletions: Int! - """The deployments associated with a commit.""" + """ + The deployments associated with a commit. + """ deployments( - """Environments to list deployments for""" + """ + Environments to list deployments for + """ environments: [String!] - """Ordering options for deployments returned from the connection.""" + """ + Ordering options for deployments returned from the connection. + """ orderBy: DeploymentOrder - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -1085,10 +1717,14 @@ type Commit implements Node & GitObject & Subscribable & UniformResourceLocatabl """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): DeploymentConnection @@ -1096,7 +1732,9 @@ type Commit implements Node & GitObject & Subscribable & UniformResourceLocatabl The linear commit history starting from (and including) this commit, in the same order as `git log`. """ history( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -1104,10 +1742,14 @@ type Commit implements Node & GitObject & Subscribable & UniformResourceLocatabl """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int """ @@ -1120,35 +1762,55 @@ type Commit implements Node & GitObject & Subscribable & UniformResourceLocatabl """ author: CommitAuthor - """Allows specifying a beginning time or date for fetching commits.""" + """ + Allows specifying a beginning time or date for fetching commits. + """ since: GitTimestamp - """Allows specifying an ending time or date for fetching commits.""" + """ + Allows specifying an ending time or date for fetching commits. + """ until: GitTimestamp ): CommitHistoryConnection! id: ID! - """The Git commit message""" + """ + The Git commit message + """ message: String! - """The Git commit message body""" + """ + The Git commit message body + """ messageBody: String! - """The commit message body rendered to HTML.""" + """ + The commit message body rendered to HTML. + """ messageBodyHTML: HTML! - """The Git commit message headline""" + """ + The Git commit message headline + """ messageHeadline: String! - """The commit message headline rendered to HTML.""" + """ + The commit message headline rendered to HTML. + """ messageHeadlineHTML: HTML! - """The Git object ID""" + """ + The Git object ID + """ oid: GitObjectID! - """The parents of a commit.""" + """ + The parents of a commit. + """ parents( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -1156,26 +1818,40 @@ type Commit implements Node & GitObject & Subscribable & UniformResourceLocatabl """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): CommitConnection! - """The datetime when this commit was pushed.""" + """ + The datetime when this commit was pushed. + """ pushedDate: DateTime - """The Repository this commit belongs to""" + """ + The Repository this commit belongs to + """ repository: Repository! - """The HTTP path for this commit""" + """ + The HTTP path for this commit + """ resourcePath: URI! - """Commit signing information, if present.""" + """ + Commit signing information, if present. + """ signature: GitSignature - """Status information for this commit""" + """ + Status information for this commit + """ status: Status """ @@ -1184,16 +1860,24 @@ type Commit implements Node & GitObject & Subscribable & UniformResourceLocatabl """ tarballUrl: URI! - """Commit's root Tree""" + """ + Commit's root Tree + """ tree: Tree! - """The HTTP path for the tree of this commit""" + """ + The HTTP path for the tree of this commit + """ treeResourcePath: URI! - """The HTTP URL for the tree of this commit""" + """ + The HTTP URL for the tree of this commit + """ treeUrl: URI! - """The HTTP URL for this commit""" + """ + The HTTP URL for this commit + """ url: URI! """ @@ -1213,7 +1897,9 @@ type Commit implements Node & GitObject & Subscribable & UniformResourceLocatabl zipballUrl: URI! } -"""Specifies an author for filtering Git commits.""" +""" +Specifies an author for filtering Git commits. +""" input CommitAuthor { """ ID of a User to filter by. If non-null, only commits authored by this user @@ -1227,21 +1913,33 @@ input CommitAuthor { emails: [String!] } -"""Represents a comment on a given Commit.""" +""" +Represents a comment on a given Commit. +""" type CommitComment implements Node & Comment & Deletable & Updatable & UpdatableComment & Reactable & RepositoryNode { - """The actor who authored the comment.""" + """ + The actor who authored the comment. + """ author: Actor - """Author's association with the subject of the comment.""" + """ + Author's association with the subject of the comment. + """ authorAssociation: CommentAuthorAssociation! - """Identifies the comment body.""" + """ + Identifies the comment body. + """ body: String! - """Identifies the comment body rendered to HTML.""" + """ + Identifies the comment body rendered to HTML. + """ bodyHTML: HTML! - """The body rendered to text.""" + """ + The body rendered to text. + """ bodyText: String! """ @@ -1249,16 +1947,24 @@ type CommitComment implements Node & Comment & Deletable & Updatable & Updatable """ commit: Commit - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """Check if this comment was created via an email reply.""" + """ + Check if this comment was created via an email reply. + """ createdViaEmail: Boolean! - """Identifies the primary key from the database.""" + """ + Identifies the primary key from the database. + """ databaseId: Int - """The actor who edited the comment.""" + """ + The actor who edited the comment. + """ editor: Actor id: ID! @@ -1267,30 +1973,48 @@ type CommitComment implements Node & Comment & Deletable & Updatable & Updatable """ includesCreatedEdit: Boolean! - """Returns whether or not a comment has been minimized.""" + """ + Returns whether or not a comment has been minimized. + """ isMinimized: Boolean! - """The moment the editor made the last edit""" + """ + The moment the editor made the last edit + """ lastEditedAt: DateTime - """Returns why the comment was minimized.""" + """ + Returns why the comment was minimized. + """ minimizedReason: String - """Identifies the file path associated with the comment.""" + """ + Identifies the file path associated with the comment. + """ path: String - """Identifies the line position associated with the comment.""" + """ + Identifies the line position associated with the comment. + """ position: Int - """Identifies when the comment was published at.""" + """ + Identifies when the comment was published at. + """ publishedAt: DateTime - """A list of reactions grouped by content left on the subject.""" + """ + A list of reactions grouped by content left on the subject. + """ reactionGroups: [ReactionGroup!] - """A list of Reactions left on the Issue.""" + """ + A list of Reactions left on the Issue. + """ reactions( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -1298,34 +2022,54 @@ type CommitComment implements Node & Comment & Deletable & Updatable & Updatable """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """Allows filtering Reactions by emoji.""" + """ + Allows filtering Reactions by emoji. + """ content: ReactionContent - """Allows specifying the order in which reactions are returned.""" + """ + Allows specifying the order in which reactions are returned. + """ orderBy: ReactionOrder ): ReactionConnection! - """The repository associated with this node.""" + """ + The repository associated with this node. + """ repository: Repository! - """The HTTP path permalink for this commit comment.""" + """ + The HTTP path permalink for this commit comment. + """ resourcePath: URI! - """Identifies the date and time when the object was last updated.""" + """ + Identifies the date and time when the object was last updated. + """ updatedAt: DateTime! - """The HTTP URL permalink for this commit comment.""" + """ + The HTTP URL permalink for this commit comment. + """ url: URI! - """A list of edits to this content.""" + """ + A list of edits to this content. + """ userContentEdits( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -1333,61 +2077,99 @@ type CommitComment implements Node & Comment & Deletable & Updatable & Updatable """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): UserContentEditConnection - """Check if the current viewer can delete this object.""" + """ + Check if the current viewer can delete this object. + """ viewerCanDelete: Boolean! - """Check if the current viewer can minimize this object.""" + """ + Check if the current viewer can minimize this object. + """ viewerCanMinimize: Boolean! - """Can user react to this subject""" + """ + Can user react to this subject + """ viewerCanReact: Boolean! - """Check if the current viewer can update this object.""" + """ + Check if the current viewer can update this object. + """ viewerCanUpdate: Boolean! - """Reasons why the current viewer can not update this comment.""" + """ + Reasons why the current viewer can not update this comment. + """ viewerCannotUpdateReasons: [CommentCannotUpdateReason!]! - """Did the viewer author this comment.""" + """ + Did the viewer author this comment. + """ viewerDidAuthor: Boolean! } -"""The connection type for CommitComment.""" +""" +The connection type for CommitComment. +""" type CommitCommentConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [CommitCommentEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [CommitComment] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type CommitCommentEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: CommitComment } -"""A thread of comments on a commit.""" +""" +A thread of comments on a commit. +""" type CommitCommentThread implements Node & RepositoryNode { - """The comments that exist in this thread.""" + """ + The comments that exist in this thread. + """ comments( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -1395,65 +2177,105 @@ type CommitCommentThread implements Node & RepositoryNode { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): CommitCommentConnection! - """The commit the comments were made on.""" + """ + The commit the comments were made on. + """ commit: Commit! id: ID! - """The file the comments were made on.""" + """ + The file the comments were made on. + """ path: String - """The position in the diff for the commit that the comment was made on.""" + """ + The position in the diff for the commit that the comment was made on. + """ position: Int - """The repository associated with this node.""" + """ + The repository associated with this node. + """ repository: Repository! } -"""The connection type for Commit.""" +""" +The connection type for Commit. +""" type CommitConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [CommitEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [Commit] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""Ordering options for commit contribution connections.""" +""" +Ordering options for commit contribution connections. +""" input CommitContributionOrder { - """The field by which to order commit contributions.""" + """ + The field by which to order commit contributions. + """ field: CommitContributionOrderField! - """The ordering direction.""" + """ + The ordering direction. + """ direction: OrderDirection! } -"""Properties by which commit contribution connections can be ordered.""" +""" +Properties by which commit contribution connections can be ordered. +""" enum CommitContributionOrderField { - """Order commit contributions by when they were made.""" + """ + Order commit contributions by when they were made. + """ OCCURRED_AT - """Order commit contributions by how many commits they represent.""" + """ + Order commit contributions by how many commits they represent. + """ COMMIT_COUNT } -"""This aggregates commits made by a user within one repository.""" +""" +This aggregates commits made by a user within one repository. +""" type CommitContributionsByRepository { - """The commit contributions, each representing a day.""" + """ + The commit contributions, each representing a day. + """ contributions( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -1461,10 +2283,14 @@ type CommitContributionsByRepository { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int """ @@ -1473,7 +2299,9 @@ type CommitContributionsByRepository { orderBy: CommitContributionOrder ): CreatedCommitContributionConnection! - """The repository in which the commits were made.""" + """ + The repository in which the commits were made. + """ repository: Repository! """ @@ -1487,55 +2315,85 @@ type CommitContributionsByRepository { url: URI! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type CommitEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: Commit } -"""The connection type for Commit.""" +""" +The connection type for Commit. +""" type CommitHistoryConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [CommitEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [Commit] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""A content attachment""" +""" +A content attachment +""" type ContentAttachment { """ The body text of the content attachment. This parameter supports markdown. """ body: String! - """The content reference that the content attachment is attached to.""" + """ + The content reference that the content attachment is attached to. + """ contentReference: ContentReference! - """Identifies the primary key from the database.""" + """ + Identifies the primary key from the database. + """ databaseId: Int! id: ID! - """The title of the content attachment.""" + """ + The title of the content attachment. + """ title: String! } -"""A content reference""" +""" +A content reference +""" type ContentReference { - """Identifies the primary key from the database.""" + """ + Identifies the primary key from the database. + """ databaseId: Int! id: ID! - """The reference of the content reference.""" + """ + The reference of the content reference. + """ reference: String! } @@ -1547,27 +2405,33 @@ interface Contribution { Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no longer access. - """ isRestricted: Boolean! - """When this contribution was made.""" + """ + When this contribution was made. + """ occurredAt: DateTime! - """The HTTP path for this contribution.""" + """ + The HTTP path for this contribution. + """ resourcePath: URI! - """The HTTP URL for this contribution.""" + """ + The HTTP URL for this contribution. + """ url: URI! """ The user who made this contribution. - """ user: User! } -"""A calendar of contributions made on GitHub by a user.""" +""" +A calendar of contributions made on GitHub by a user. +""" type ContributionCalendar { """ A list of hex color codes used in this calendar. The darker the color, the more contributions it represents. @@ -1579,27 +2443,39 @@ type ContributionCalendar { """ isHalloween: Boolean! - """A list of the months of contributions in this calendar.""" + """ + A list of the months of contributions in this calendar. + """ months: [ContributionCalendarMonth!]! - """The count of total contributions in the calendar.""" + """ + The count of total contributions in the calendar. + """ totalContributions: Int! - """A list of the weeks of contributions in this calendar.""" + """ + A list of the weeks of contributions in this calendar. + """ weeks: [ContributionCalendarWeek!]! } -"""Represents a single day of contributions on GitHub by a user.""" +""" +Represents a single day of contributions on GitHub by a user. +""" type ContributionCalendarDay { """ The hex color code that represents how many contributions were made on this day compared to others in the calendar. """ color: String! - """How many contributions were made by the user on this day.""" + """ + How many contributions were made by the user on this day. + """ contributionCount: Int! - """The day this square represents.""" + """ + The day this square represents. + """ date: Date! """ @@ -1608,42 +2484,68 @@ type ContributionCalendarDay { weekday: Int! } -"""A month of contributions in a user's contribution graph.""" +""" +A month of contributions in a user's contribution graph. +""" type ContributionCalendarMonth { - """The date of the first day of this month.""" + """ + The date of the first day of this month. + """ firstDay: Date! - """The name of the month.""" + """ + The name of the month. + """ name: String! - """How many weeks started in this month.""" + """ + How many weeks started in this month. + """ totalWeeks: Int! - """The year the month occurred in.""" + """ + The year the month occurred in. + """ year: Int! } -"""A week of contributions in a user's contribution graph.""" +""" +A week of contributions in a user's contribution graph. +""" type ContributionCalendarWeek { - """The days of contributions in this week.""" + """ + The days of contributions in this week. + """ contributionDays: [ContributionCalendarDay!]! - """The date of the earliest square in this week.""" + """ + The date of the earliest square in this week. + """ firstDay: Date! } -"""Ordering options for contribution connections.""" +""" +Ordering options for contribution connections. +""" input ContributionOrder { - """The field by which to order contributions.""" + """ + The field by which to order contributions. + """ field: ContributionOrderField! - """The ordering direction.""" + """ + The ordering direction. + """ direction: OrderDirection! } -"""Properties by which contribution connections can be ordered.""" +""" +Properties by which contribution connections can be ordered. +""" enum ContributionOrderField { - """Order contributions by when they were made.""" + """ + Order contributions by when they were made. + """ OCCURRED_AT } @@ -1651,13 +2553,19 @@ enum ContributionOrderField { A contributions collection aggregates contributions such as opened issues and commits created by a user. """ type ContributionsCollection { - """Commit contributions made by the user, grouped by repository.""" + """ + Commit contributions made by the user, grouped by repository. + """ commitContributionsByRepository( - """How many repositories should be included.""" + """ + How many repositories should be included. + """ maxRepositories: Int = 25 ): [CommitContributionsByRepository!]! - """A calendar of this user's contributions on GitHub.""" + """ + A calendar of this user's contributions on GitHub. + """ contributionCalendar: ContributionCalendar! """ @@ -1667,7 +2575,6 @@ type ContributionsCollection { """ Determine if this collection's time span ends in the current month. - """ doesEndInCurrentMonth: Boolean! @@ -1677,7 +2584,9 @@ type ContributionsCollection { """ earliestRestrictedContributionDate: Date - """The ending date and time of this collection.""" + """ + The ending date and time of this collection. + """ endedAt: DateTime! """ @@ -1689,11 +2598,10 @@ type ContributionsCollection { firstIssueContribution( """ If true, the first issue will be returned even if it was opened outside of the collection's time range. - + **Upcoming Change on 2019-07-01 UTC** **Description:** `ignoreTimeRange` will be removed. Use a `ContributionsCollection` starting sufficiently far back **Reason:** ignore_time_range will be removed - """ ignoreTimeRange: Boolean = false ): CreatedIssueOrRestrictedContribution @@ -1707,11 +2615,10 @@ type ContributionsCollection { firstPullRequestContribution( """ If true, the first pull request will be returned even if it was opened outside of the collection's time range. - + **Upcoming Change on 2019-07-01 UTC** **Description:** `ignoreTimeRange` will be removed. Use a `ContributionsCollection` starting sufficiently far back **Reason:** ignore_time_range will be removed - """ ignoreTimeRange: Boolean = false ): CreatedPullRequestOrRestrictedContribution @@ -1725,11 +2632,10 @@ type ContributionsCollection { firstRepositoryContribution( """ If true, the first repository will be returned even if it was opened outside of the collection's time range. - + **Upcoming Change on 2019-07-01 UTC** **Description:** `ignoreTimeRange` will be removed. Use a `ContributionsCollection` starting sufficiently far back **Reason:** ignore_time_range will be removed - """ ignoreTimeRange: Boolean = false ): CreatedRepositoryOrRestrictedContribution @@ -1739,7 +2645,9 @@ type ContributionsCollection { """ hasActivityInThePast: Boolean! - """Determine if there are any contributions in this collection.""" + """ + Determine if there are any contributions in this collection. + """ hasAnyContributions: Boolean! """ @@ -1749,12 +2657,18 @@ type ContributionsCollection { """ hasAnyRestrictedContributions: Boolean! - """Whether or not the collector's time span is all within the same day.""" + """ + Whether or not the collector's time span is all within the same day. + """ isSingleDay: Boolean! - """A list of issues the user opened.""" + """ + A list of issues the user opened. + """ issueContributions( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -1762,31 +2676,49 @@ type ContributionsCollection { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """Should the user's first issue ever be excluded from the result.""" + """ + Should the user's first issue ever be excluded from the result. + """ excludeFirst: Boolean = false - """Should the user's most commented issue be excluded from the result.""" + """ + Should the user's most commented issue be excluded from the result. + """ excludePopular: Boolean = false - """Ordering options for contributions returned from the connection.""" + """ + Ordering options for contributions returned from the connection. + """ orderBy: ContributionOrder ): CreatedIssueContributionConnection! - """Issue contributions made by the user, grouped by repository.""" + """ + Issue contributions made by the user, grouped by repository. + """ issueContributionsByRepository( - """How many repositories should be included.""" + """ + How many repositories should be included. + """ maxRepositories: Int = 25 - """Should the user's first issue ever be excluded from the result.""" + """ + Should the user's first issue ever be excluded from the result. + """ excludeFirst: Boolean = false - """Should the user's most commented issue be excluded from the result.""" + """ + Should the user's most commented issue be excluded from the result. + """ excludePopular: Boolean = false ): [IssueContributionsByRepository!]! @@ -1797,11 +2729,10 @@ type ContributionsCollection { joinedGitHubContribution( """ If true, the contribution will be returned even if the user signed up outside of the collection's time range. - + **Upcoming Change on 2019-07-01 UTC** **Description:** `ignoreTimeRange` will be removed. Use a `ContributionsCollection` starting sufficiently far back **Reason:** ignore_time_range will be removed - """ ignoreTimeRange: Boolean = false ): JoinedGitHubContribution @@ -1815,34 +2746,34 @@ type ContributionsCollection { """ When this collection's time range does not include any activity from the user, use this to get a different collection from an earlier time range that does have activity. - """ mostRecentCollectionWithActivity: ContributionsCollection """ Returns a different contributions collection from an earlier time range than this one that does not have any contributions. - """ mostRecentCollectionWithoutActivity: ContributionsCollection """ The issue the user opened on GitHub that received the most comments in the specified time frame. - """ popularIssueContribution: CreatedIssueContribution """ The pull request the user opened on GitHub that received the most comments in the specified time frame. - """ popularPullRequestContribution: CreatedPullRequestContribution - """Pull request contributions made by the user.""" + """ + Pull request contributions made by the user. + """ pullRequestContributions( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -1850,13 +2781,19 @@ type ContributionsCollection { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """Should the user's first pull request ever be excluded from the result.""" + """ + Should the user's first pull request ever be excluded from the result. + """ excludeFirst: Boolean = false """ @@ -1864,16 +2801,24 @@ type ContributionsCollection { """ excludePopular: Boolean = false - """Ordering options for contributions returned from the connection.""" + """ + Ordering options for contributions returned from the connection. + """ orderBy: ContributionOrder ): CreatedPullRequestContributionConnection! - """Pull request contributions made by the user, grouped by repository.""" + """ + Pull request contributions made by the user, grouped by repository. + """ pullRequestContributionsByRepository( - """How many repositories should be included.""" + """ + How many repositories should be included. + """ maxRepositories: Int = 25 - """Should the user's first pull request ever be excluded from the result.""" + """ + Should the user's first pull request ever be excluded from the result. + """ excludeFirst: Boolean = false """ @@ -1882,9 +2827,13 @@ type ContributionsCollection { excludePopular: Boolean = false ): [PullRequestContributionsByRepository!]! - """Pull request review contributions made by the user.""" + """ + Pull request review contributions made by the user. + """ pullRequestReviewContributions( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -1892,13 +2841,19 @@ type ContributionsCollection { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """Ordering options for contributions returned from the connection.""" + """ + Ordering options for contributions returned from the connection. + """ orderBy: ContributionOrder ): CreatedPullRequestReviewContributionConnection! @@ -1906,7 +2861,9 @@ type ContributionsCollection { Pull request review contributions made by the user, grouped by repository. """ pullRequestReviewContributionsByRepository( - """How many repositories should be included.""" + """ + How many repositories should be included. + """ maxRepositories: Int = 25 ): [PullRequestReviewContributionsByRepository!]! @@ -1914,7 +2871,9 @@ type ContributionsCollection { A list of repositories owned by the user that the user created in this time range. """ repositoryContributions( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -1922,16 +2881,24 @@ type ContributionsCollection { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """Should the user's first repository ever be excluded from the result.""" + """ + Should the user's first repository ever be excluded from the result. + """ excludeFirst: Boolean = false - """Ordering options for contributions returned from the connection.""" + """ + Ordering options for contributions returned from the connection. + """ orderBy: ContributionOrder ): CreatedRepositoryContributionConnection! @@ -1941,24 +2908,38 @@ type ContributionsCollection { """ restrictedContributionsCount: Int! - """The beginning date and time of this collection.""" + """ + The beginning date and time of this collection. + """ startedAt: DateTime! - """How many commits were made by the user in this time span.""" + """ + How many commits were made by the user in this time span. + """ totalCommitContributions: Int! - """How many issues the user opened.""" + """ + How many issues the user opened. + """ totalIssueContributions( - """Should the user's first issue ever be excluded from this count.""" + """ + Should the user's first issue ever be excluded from this count. + """ excludeFirst: Boolean = false - """Should the user's most commented issue be excluded from this count.""" + """ + Should the user's most commented issue be excluded from this count. + """ excludePopular: Boolean = false ): Int! - """How many pull requests the user opened.""" + """ + How many pull requests the user opened. + """ totalPullRequestContributions( - """Should the user's first pull request ever be excluded from this count.""" + """ + Should the user's first pull request ever be excluded from this count. + """ excludeFirst: Boolean = false """ @@ -1967,27 +2948,43 @@ type ContributionsCollection { excludePopular: Boolean = false ): Int! - """How many pull request reviews the user left.""" + """ + How many pull request reviews the user left. + """ totalPullRequestReviewContributions: Int! - """How many different repositories the user committed to.""" + """ + How many different repositories the user committed to. + """ totalRepositoriesWithContributedCommits: Int! - """How many different repositories the user opened issues in.""" + """ + How many different repositories the user opened issues in. + """ totalRepositoriesWithContributedIssues( - """Should the user's first issue ever be excluded from this count.""" + """ + Should the user's first issue ever be excluded from this count. + """ excludeFirst: Boolean = false - """Should the user's most commented issue be excluded from this count.""" + """ + Should the user's most commented issue be excluded from this count. + """ excludePopular: Boolean = false ): Int! - """How many different repositories the user left pull request reviews in.""" + """ + How many different repositories the user left pull request reviews in. + """ totalRepositoriesWithContributedPullRequestReviews: Int! - """How many different repositories the user opened pull requests in.""" + """ + How many different repositories the user opened pull requests in. + """ totalRepositoriesWithContributedPullRequests( - """Should the user's first pull request ever be excluded from this count.""" + """ + Should the user's first pull request ever be excluded from this count. + """ excludeFirst: Boolean = false """ @@ -1996,13 +2993,19 @@ type ContributionsCollection { excludePopular: Boolean = false ): Int! - """How many repositories the user created.""" + """ + How many repositories the user created. + """ totalRepositoryContributions( - """Should the user's first repository ever be excluded from this count.""" + """ + Should the user's first repository ever be excluded from this count. + """ excludeFirst: Boolean = false ): Int! - """The user who made the contributions in this collection.""" + """ + The user who made the contributions in this collection. + """ user: User! } @@ -2010,23 +3013,35 @@ type ContributionsCollection { Represents a 'converted_note_to_issue' event on a given issue or pull request. """ type ConvertedNoteToIssueEvent implements Node { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """Identifies the primary key from the database.""" + """ + Identifies the primary key from the database. + """ databaseId: Int id: ID! } -"""Autogenerated input type of ConvertProjectCardNoteToIssue""" +""" +Autogenerated input type of ConvertProjectCardNoteToIssue +""" input ConvertProjectCardNoteToIssueInput { - """The ProjectCard ID to convert.""" + """ + The ProjectCard ID to convert. + """ projectCardId: ID! - """The ID of the repository to create the issue in.""" + """ + The ID of the repository to create the issue in. + """ repositoryId: ID! """ @@ -2034,51 +3049,79 @@ input ConvertProjectCardNoteToIssueInput { """ title: String - """The body of the newly created issue.""" + """ + The body of the newly created issue. + """ body: String - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of ConvertProjectCardNoteToIssue""" +""" +Autogenerated return type of ConvertProjectCardNoteToIssue +""" type ConvertProjectCardNoteToIssuePayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The updated ProjectCard.""" + """ + The updated ProjectCard. + """ projectCard: ProjectCard } -"""Autogenerated input type of CreateBranchProtectionRule""" +""" +Autogenerated input type of CreateBranchProtectionRule +""" input CreateBranchProtectionRuleInput { """ The global relay id of the repository in which a new branch protection rule should be created in. """ repositoryId: ID! - """The glob-like pattern used to determine matching branches.""" + """ + The glob-like pattern used to determine matching branches. + """ pattern: String! - """Are approving reviews required to update matching branches.""" + """ + Are approving reviews required to update matching branches. + """ requiresApprovingReviews: Boolean - """Number of approving reviews required to update matching branches.""" + """ + Number of approving reviews required to update matching branches. + """ requiredApprovingReviewCount: Int - """Are commits required to be signed.""" + """ + Are commits required to be signed. + """ requiresCommitSignatures: Boolean - """Can admins overwrite branch protection.""" + """ + Can admins overwrite branch protection. + """ isAdminEnforced: Boolean - """Are status checks required to update matching branches.""" + """ + Are status checks required to update matching branches. + """ requiresStatusChecks: Boolean - """Are branches required to be up to date before merging.""" + """ + Are branches required to be up to date before merging. + """ requiresStrictStatusChecks: Boolean - """Are reviews from code owners required to update matching branches.""" + """ + Are reviews from code owners required to update matching branches. + """ requiresCodeOwnerReviews: Boolean """ @@ -2086,7 +3129,9 @@ input CreateBranchProtectionRuleInput { """ dismissesStaleReviews: Boolean - """Is dismissal of pull request reviews restricted.""" + """ + Is dismissal of pull request reviews restricted. + """ restrictsReviewDismissals: Boolean """ @@ -2094,10 +3139,14 @@ input CreateBranchProtectionRuleInput { """ reviewDismissalActorIds: [ID!] - """Is pushing to matching branches restricted.""" + """ + Is pushing to matching branches restricted. + """ restrictsPushes: Boolean - """A list of User or Team IDs allowed to push to matching branches.""" + """ + A list of User or Team IDs allowed to push to matching branches. + """ pushActorIds: [ID!] """ @@ -2105,150 +3154,217 @@ input CreateBranchProtectionRuleInput { """ requiredStatusCheckContexts: [String!] - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of CreateBranchProtectionRule""" +""" +Autogenerated return type of CreateBranchProtectionRule +""" type CreateBranchProtectionRulePayload { - """The newly created BranchProtectionRule.""" + """ + The newly created BranchProtectionRule. + """ branchProtectionRule: BranchProtectionRule - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated input type of CreateContentAttachment""" +""" +Autogenerated input type of CreateContentAttachment +""" input CreateContentAttachmentInput { - """The node ID of the content_reference.""" + """ + The node ID of the content_reference. + """ contentReferenceId: ID! - """The title of the content attachment.""" + """ + The title of the content attachment. + """ title: String! - """The body of the content attachment, which may contain markdown.""" + """ + The body of the content attachment, which may contain markdown. + """ body: String! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Represents the contribution a user made by committing to a repository.""" +""" +Represents the contribution a user made by committing to a repository. +""" type CreatedCommitContribution implements Contribution { - """How many commits were made on this day to this repository by the user.""" + """ + How many commits were made on this day to this repository by the user. + """ commitCount: Int! """ Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no longer access. - """ isRestricted: Boolean! - """When this contribution was made.""" + """ + When this contribution was made. + """ occurredAt: DateTime! - """The repository the user made a commit in.""" + """ + The repository the user made a commit in. + """ repository: Repository! - """The HTTP path for this contribution.""" + """ + The HTTP path for this contribution. + """ resourcePath: URI! - """The HTTP URL for this contribution.""" + """ + The HTTP URL for this contribution. + """ url: URI! """ The user who made this contribution. - """ user: User! } -"""The connection type for CreatedCommitContribution.""" +""" +The connection type for CreatedCommitContribution. +""" type CreatedCommitContributionConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [CreatedCommitContributionEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [CreatedCommitContribution] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! """ Identifies the total count of commits across days and repositories in the connection. - """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type CreatedCommitContributionEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: CreatedCommitContribution } -"""Represents the contribution a user made on GitHub by opening an issue.""" +""" +Represents the contribution a user made on GitHub by opening an issue. +""" type CreatedIssueContribution implements Contribution { """ Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no longer access. - """ isRestricted: Boolean! - """The issue that was opened.""" + """ + The issue that was opened. + """ issue: Issue! - """When this contribution was made.""" + """ + When this contribution was made. + """ occurredAt: DateTime! - """The HTTP path for this contribution.""" + """ + The HTTP path for this contribution. + """ resourcePath: URI! - """The HTTP URL for this contribution.""" + """ + The HTTP URL for this contribution. + """ url: URI! """ The user who made this contribution. - """ user: User! } -"""The connection type for CreatedIssueContribution.""" +""" +The connection type for CreatedIssueContribution. +""" type CreatedIssueContributionConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [CreatedIssueContributionEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [CreatedIssueContribution] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type CreatedIssueContributionEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: CreatedIssueContribution } """ Represents either a issue the viewer can access or a restricted contribution. """ -union CreatedIssueOrRestrictedContribution = CreatedIssueContribution | RestrictedContribution +union CreatedIssueOrRestrictedContribution = + CreatedIssueContribution + | RestrictedContribution """ Represents the contribution a user made on GitHub by opening a pull request. @@ -2258,57 +3374,81 @@ type CreatedPullRequestContribution implements Contribution { Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no longer access. - """ isRestricted: Boolean! - """When this contribution was made.""" + """ + When this contribution was made. + """ occurredAt: DateTime! - """The pull request that was opened.""" + """ + The pull request that was opened. + """ pullRequest: PullRequest! - """The HTTP path for this contribution.""" + """ + The HTTP path for this contribution. + """ resourcePath: URI! - """The HTTP URL for this contribution.""" + """ + The HTTP URL for this contribution. + """ url: URI! """ The user who made this contribution. - """ user: User! } -"""The connection type for CreatedPullRequestContribution.""" +""" +The connection type for CreatedPullRequestContribution. +""" type CreatedPullRequestContributionConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [CreatedPullRequestContributionEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [CreatedPullRequestContribution] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type CreatedPullRequestContributionEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: CreatedPullRequestContribution } """ Represents either a pull request the viewer can access or a restricted contribution. """ -union CreatedPullRequestOrRestrictedContribution = CreatedPullRequestContribution | RestrictedContribution +union CreatedPullRequestOrRestrictedContribution = + CreatedPullRequestContribution + | RestrictedContribution """ Represents the contribution a user made by leaving a review on a pull request. @@ -2318,56 +3458,82 @@ type CreatedPullRequestReviewContribution implements Contribution { Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no longer access. - """ isRestricted: Boolean! - """When this contribution was made.""" + """ + When this contribution was made. + """ occurredAt: DateTime! - """The pull request the user reviewed.""" + """ + The pull request the user reviewed. + """ pullRequest: PullRequest! - """The review the user left on the pull request.""" + """ + The review the user left on the pull request. + """ pullRequestReview: PullRequestReview! - """The repository containing the pull request that the user reviewed.""" + """ + The repository containing the pull request that the user reviewed. + """ repository: Repository! - """The HTTP path for this contribution.""" + """ + The HTTP path for this contribution. + """ resourcePath: URI! - """The HTTP URL for this contribution.""" + """ + The HTTP URL for this contribution. + """ url: URI! """ The user who made this contribution. - """ user: User! } -"""The connection type for CreatedPullRequestReviewContribution.""" +""" +The connection type for CreatedPullRequestReviewContribution. +""" type CreatedPullRequestReviewContributionConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [CreatedPullRequestReviewContributionEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [CreatedPullRequestReviewContribution] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type CreatedPullRequestReviewContributionEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: CreatedPullRequestReviewContribution } @@ -2379,392 +3545,628 @@ type CreatedRepositoryContribution implements Contribution { Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no longer access. - """ isRestricted: Boolean! - """When this contribution was made.""" + """ + When this contribution was made. + """ occurredAt: DateTime! - """The repository that was created.""" + """ + The repository that was created. + """ repository: Repository! - """The HTTP path for this contribution.""" + """ + The HTTP path for this contribution. + """ resourcePath: URI! - """The HTTP URL for this contribution.""" + """ + The HTTP URL for this contribution. + """ url: URI! """ The user who made this contribution. - """ user: User! } -"""The connection type for CreatedRepositoryContribution.""" +""" +The connection type for CreatedRepositoryContribution. +""" type CreatedRepositoryContributionConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [CreatedRepositoryContributionEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [CreatedRepositoryContribution] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type CreatedRepositoryContributionEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: CreatedRepositoryContribution } """ Represents either a repository the viewer can access or a restricted contribution. """ -union CreatedRepositoryOrRestrictedContribution = CreatedRepositoryContribution | RestrictedContribution +union CreatedRepositoryOrRestrictedContribution = + CreatedRepositoryContribution + | RestrictedContribution -"""Autogenerated input type of CreateIssue""" +""" +Autogenerated input type of CreateIssue +""" input CreateIssueInput { - """The Node ID of the repository.""" + """ + The Node ID of the repository. + """ repositoryId: ID! - """The title for the issue.""" + """ + The title for the issue. + """ title: String! - """The body for the issue description.""" + """ + The body for the issue description. + """ body: String - """The Node ID for the user assignee for this issue.""" + """ + The Node ID for the user assignee for this issue. + """ assigneeIds: [ID!] - """The Node ID of the milestone for this issue.""" + """ + The Node ID of the milestone for this issue. + """ milestoneId: ID - """An array of Node IDs of labels for this issue.""" + """ + An array of Node IDs of labels for this issue. + """ labelIds: [ID!] - """An array of Node IDs for projects associated with this issue.""" + """ + An array of Node IDs for projects associated with this issue. + """ projectIds: [ID!] - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of CreateIssue""" +""" +Autogenerated return type of CreateIssue +""" type CreateIssuePayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The new issue.""" + """ + The new issue. + """ issue: Issue } -"""Autogenerated input type of CreateProject""" +""" +Autogenerated input type of CreateProject +""" input CreateProjectInput { - """The owner ID to create the project under.""" + """ + The owner ID to create the project under. + """ ownerId: ID! - """The name of project.""" + """ + The name of project. + """ name: String! - """The description of project.""" + """ + The description of project. + """ body: String - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of CreateProject""" +""" +Autogenerated return type of CreateProject +""" type CreateProjectPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The new project.""" + """ + The new project. + """ project: Project } -"""Autogenerated input type of CreatePullRequest""" +""" +Autogenerated input type of CreatePullRequest +""" input CreatePullRequestInput { - """The Node ID of the repository.""" + """ + The Node ID of the repository. + """ repositoryId: ID! """ The name of the branch you want your changes pulled into. This should be an existing branch on the current repository. You cannot update the base branch on a pull request to point to another repository. - """ baseRefName: String! """ The name of the branch where your changes are implemented. For cross-repository pull requests in the same network, namespace `head_ref_name` with a user like this: `username:branch`. - """ headRefName: String! - """The title of the pull request.""" + """ + The title of the pull request. + """ title: String! - """The contents of the pull request.""" + """ + The contents of the pull request. + """ body: String - """Indicates whether maintainers can modify the pull request.""" + """ + Indicates whether maintainers can modify the pull request. + """ maintainerCanModify: Boolean = true - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of CreatePullRequest""" +""" +Autogenerated return type of CreatePullRequest +""" type CreatePullRequestPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The new pull request.""" + """ + The new pull request. + """ pullRequest: PullRequest } -"""Represents a mention made by one issue or pull request to another.""" +""" +Represents a mention made by one issue or pull request to another. +""" type CrossReferencedEvent implements Node & UniformResourceLocatable { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! id: ID! - """Reference originated in a different repository.""" + """ + Reference originated in a different repository. + """ isCrossRepository: Boolean! - """Identifies when the reference was made.""" + """ + Identifies when the reference was made. + """ referencedAt: DateTime! - """The HTTP path for this pull request.""" + """ + The HTTP path for this pull request. + """ resourcePath: URI! - """Issue or pull request that made the reference.""" + """ + Issue or pull request that made the reference. + """ source: ReferencedSubject! - """Issue or pull request to which the reference was made.""" + """ + Issue or pull request to which the reference was made. + """ target: ReferencedSubject! - """The HTTP URL for this pull request.""" + """ + The HTTP URL for this pull request. + """ url: URI! - """Checks if the target will be closed when the source is merged.""" + """ + Checks if the target will be closed when the source is merged. + """ willCloseTarget: Boolean! } -"""An ISO-8601 encoded date string.""" +""" +An ISO-8601 encoded date string. +""" scalar Date -"""An ISO-8601 encoded UTC date string.""" +""" +An ISO-8601 encoded UTC date string. +""" scalar DateTime -"""Autogenerated input type of DeclineTopicSuggestion""" +""" +Autogenerated input type of DeclineTopicSuggestion +""" input DeclineTopicSuggestionInput { - """The Node ID of the repository.""" + """ + The Node ID of the repository. + """ repositoryId: ID! - """The name of the suggested topic.""" + """ + The name of the suggested topic. + """ name: String! - """The reason why the suggested topic is declined.""" + """ + The reason why the suggested topic is declined. + """ reason: TopicSuggestionDeclineReason! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of DeclineTopicSuggestion""" +""" +Autogenerated return type of DeclineTopicSuggestion +""" type DeclineTopicSuggestionPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The declined topic.""" + """ + The declined topic. + """ topic: Topic } -"""The possible default permissions for repositories.""" +""" +The possible default permissions for repositories. +""" enum DefaultRepositoryPermissionField { - """No access""" + """ + No access + """ NONE - """Can read repos by default""" + """ + Can read repos by default + """ READ - """Can read and write repos by default""" + """ + Can read and write repos by default + """ WRITE - """Can read, write, and administrate repos by default""" + """ + Can read, write, and administrate repos by default + """ ADMIN } -"""Entities that can be deleted.""" +""" +Entities that can be deleted. +""" interface Deletable { - """Check if the current viewer can delete this object.""" + """ + Check if the current viewer can delete this object. + """ viewerCanDelete: Boolean! } -"""Autogenerated input type of DeleteBranchProtectionRule""" +""" +Autogenerated input type of DeleteBranchProtectionRule +""" input DeleteBranchProtectionRuleInput { - """The global relay id of the branch protection rule to be deleted.""" + """ + The global relay id of the branch protection rule to be deleted. + """ branchProtectionRuleId: ID! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of DeleteBranchProtectionRule""" +""" +Autogenerated return type of DeleteBranchProtectionRule +""" type DeleteBranchProtectionRulePayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated input type of DeleteIssueComment""" +""" +Autogenerated input type of DeleteIssueComment +""" input DeleteIssueCommentInput { - """The ID of the comment to delete.""" + """ + The ID of the comment to delete. + """ id: ID! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of DeleteIssueComment""" +""" +Autogenerated return type of DeleteIssueComment +""" type DeleteIssueCommentPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated input type of DeleteIssue""" +""" +Autogenerated input type of DeleteIssue +""" input DeleteIssueInput { - """The ID of the issue to delete.""" + """ + The ID of the issue to delete. + """ issueId: ID! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of DeleteIssue""" +""" +Autogenerated return type of DeleteIssue +""" type DeleteIssuePayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The repository the issue belonged to""" + """ + The repository the issue belonged to + """ repository: Repository } -"""Autogenerated input type of DeleteProjectCard""" +""" +Autogenerated input type of DeleteProjectCard +""" input DeleteProjectCardInput { - """The id of the card to delete.""" + """ + The id of the card to delete. + """ cardId: ID! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of DeleteProjectCard""" +""" +Autogenerated return type of DeleteProjectCard +""" type DeleteProjectCardPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The column the deleted card was in.""" + """ + The column the deleted card was in. + """ column: ProjectColumn - """The deleted card ID.""" + """ + The deleted card ID. + """ deletedCardId: ID } -"""Autogenerated input type of DeleteProjectColumn""" +""" +Autogenerated input type of DeleteProjectColumn +""" input DeleteProjectColumnInput { - """The id of the column to delete.""" + """ + The id of the column to delete. + """ columnId: ID! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of DeleteProjectColumn""" +""" +Autogenerated return type of DeleteProjectColumn +""" type DeleteProjectColumnPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The deleted column ID.""" + """ + The deleted column ID. + """ deletedColumnId: ID - """The project the deleted column was in.""" + """ + The project the deleted column was in. + """ project: Project } -"""Autogenerated input type of DeleteProject""" +""" +Autogenerated input type of DeleteProject +""" input DeleteProjectInput { - """The Project ID to update.""" + """ + The Project ID to update. + """ projectId: ID! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of DeleteProject""" +""" +Autogenerated return type of DeleteProject +""" type DeleteProjectPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The repository or organization the project was removed from.""" + """ + The repository or organization the project was removed from. + """ owner: ProjectOwner } -"""Autogenerated input type of DeletePullRequestReviewComment""" +""" +Autogenerated input type of DeletePullRequestReviewComment +""" input DeletePullRequestReviewCommentInput { - """The ID of the comment to delete.""" + """ + The ID of the comment to delete. + """ id: ID! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of DeletePullRequestReviewComment""" +""" +Autogenerated return type of DeletePullRequestReviewComment +""" type DeletePullRequestReviewCommentPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The pull request review the deleted comment belonged to.""" + """ + The pull request review the deleted comment belonged to. + """ pullRequestReview: PullRequestReview } -"""Autogenerated input type of DeletePullRequestReview""" +""" +Autogenerated input type of DeletePullRequestReview +""" input DeletePullRequestReviewInput { - """The Node ID of the pull request review to delete.""" + """ + The Node ID of the pull request review to delete. + """ pullRequestReviewId: ID! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of DeletePullRequestReview""" +""" +Autogenerated return type of DeletePullRequestReview +""" type DeletePullRequestReviewPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The deleted pull request review.""" + """ + The deleted pull request review. + """ pullRequestReview: PullRequestReview } -"""Represents a 'demilestoned' event on a given issue or pull request.""" +""" +Represents a 'demilestoned' event on a given issue or pull request. +""" type DemilestonedEvent implements Node { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! id: ID! @@ -2773,78 +4175,126 @@ type DemilestonedEvent implements Node { """ milestoneTitle: String! - """Object referenced by event.""" + """ + Object referenced by event. + """ subject: MilestoneItem! } -"""Represents a 'deployed' event on a given pull request.""" +""" +Represents a 'deployed' event on a given pull request. +""" type DeployedEvent implements Node { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """Identifies the primary key from the database.""" + """ + Identifies the primary key from the database. + """ databaseId: Int - """The deployment associated with the 'deployed' event.""" + """ + The deployment associated with the 'deployed' event. + """ deployment: Deployment! id: ID! - """PullRequest referenced by event.""" + """ + PullRequest referenced by event. + """ pullRequest: PullRequest! - """The ref associated with the 'deployed' event.""" + """ + The ref associated with the 'deployed' event. + """ ref: Ref } -"""A repository deploy key.""" +""" +A repository deploy key. +""" type DeployKey implements Node { - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! id: ID! - """The deploy key.""" + """ + The deploy key. + """ key: String! - """Whether or not the deploy key is read only.""" + """ + Whether or not the deploy key is read only. + """ readOnly: Boolean! - """The deploy key title.""" + """ + The deploy key title. + """ title: String! - """Whether or not the deploy key has been verified.""" + """ + Whether or not the deploy key has been verified. + """ verified: Boolean! } -"""The connection type for DeployKey.""" +""" +The connection type for DeployKey. +""" type DeployKeyConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [DeployKeyEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [DeployKey] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type DeployKeyEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: DeployKey } -"""Represents triggered deployment instance.""" +""" +Represents triggered deployment instance. +""" type Deployment implements Node { - """Identifies the commit sha of the deployment.""" + """ + Identifies the commit sha of the deployment. + """ commit: Commit """ @@ -2852,26 +4302,40 @@ type Deployment implements Node { """ commitOid: String! - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """Identifies the actor who triggered the deployment.""" + """ + Identifies the actor who triggered the deployment. + """ creator: Actor - """Identifies the primary key from the database.""" + """ + Identifies the primary key from the database. + """ databaseId: Int - """The deployment description.""" + """ + The deployment description. + """ description: String - """The environment to which this deployment was made.""" + """ + The environment to which this deployment was made. + """ environment: String id: ID! - """The latest status of this deployment.""" + """ + The latest status of this deployment. + """ latestStatus: DeploymentStatus - """Extra information that a deployment system might need.""" + """ + Extra information that a deployment system might need. + """ payload: String """ @@ -2879,15 +4343,23 @@ type Deployment implements Node { """ ref: Ref - """Identifies the repository associated with the deployment.""" + """ + Identifies the repository associated with the deployment. + """ repository: Repository! - """The current state of the deployment.""" + """ + The current state of the deployment. + """ state: DeploymentState - """A list of statuses associated with the deployment.""" + """ + A list of statuses associated with the deployment. + """ statuses( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -2895,41 +4367,65 @@ type Deployment implements Node { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): DeploymentStatusConnection - """The deployment task.""" + """ + The deployment task. + """ task: String - """Identifies the date and time when the object was last updated.""" + """ + Identifies the date and time when the object was last updated. + """ updatedAt: DateTime! } -"""The connection type for Deployment.""" +""" +The connection type for Deployment. +""" type DeploymentConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [DeploymentEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [Deployment] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type DeploymentEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: Deployment } @@ -2937,187 +4433,307 @@ type DeploymentEdge { Represents a 'deployment_environment_changed' event on a given pull request. """ type DeploymentEnvironmentChangedEvent implements Node { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """The deployment status that updated the deployment environment.""" + """ + The deployment status that updated the deployment environment. + """ deploymentStatus: DeploymentStatus! id: ID! - """PullRequest referenced by event.""" + """ + PullRequest referenced by event. + """ pullRequest: PullRequest! } -"""Ordering options for deployment connections""" +""" +Ordering options for deployment connections +""" input DeploymentOrder { - """The field to order deployments by.""" + """ + The field to order deployments by. + """ field: DeploymentOrderField! - """The ordering direction.""" + """ + The ordering direction. + """ direction: OrderDirection! } -"""Properties by which deployment connections can be ordered.""" +""" +Properties by which deployment connections can be ordered. +""" enum DeploymentOrderField { - """Order collection by creation time""" + """ + Order collection by creation time + """ CREATED_AT } -"""The possible states in which a deployment can be.""" +""" +The possible states in which a deployment can be. +""" enum DeploymentState { - """The pending deployment was not updated after 30 minutes.""" + """ + The pending deployment was not updated after 30 minutes. + """ ABANDONED - """The deployment is currently active.""" + """ + The deployment is currently active. + """ ACTIVE - """An inactive transient deployment.""" + """ + An inactive transient deployment. + """ DESTROYED - """The deployment experienced an error.""" + """ + The deployment experienced an error. + """ ERROR - """The deployment has failed.""" + """ + The deployment has failed. + """ FAILURE - """The deployment is inactive.""" + """ + The deployment is inactive. + """ INACTIVE - """The deployment is pending.""" + """ + The deployment is pending. + """ PENDING - """The deployment has queued""" + """ + The deployment has queued + """ QUEUED - """The deployment is in progress.""" + """ + The deployment is in progress. + """ IN_PROGRESS } -"""Describes the status of a given deployment attempt.""" +""" +Describes the status of a given deployment attempt. +""" type DeploymentStatus implements Node { - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """Identifies the actor who triggered the deployment.""" + """ + Identifies the actor who triggered the deployment. + """ creator: Actor - """Identifies the deployment associated with status.""" + """ + Identifies the deployment associated with status. + """ deployment: Deployment! - """Identifies the description of the deployment.""" + """ + Identifies the description of the deployment. + """ description: String - """Identifies the environment URL of the deployment.""" + """ + Identifies the environment URL of the deployment. + """ environmentUrl: URI id: ID! - """Identifies the log URL of the deployment.""" + """ + Identifies the log URL of the deployment. + """ logUrl: URI - """Identifies the current state of the deployment.""" + """ + Identifies the current state of the deployment. + """ state: DeploymentStatusState! - """Identifies the date and time when the object was last updated.""" + """ + Identifies the date and time when the object was last updated. + """ updatedAt: DateTime! } -"""The connection type for DeploymentStatus.""" +""" +The connection type for DeploymentStatus. +""" type DeploymentStatusConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [DeploymentStatusEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [DeploymentStatus] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type DeploymentStatusEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: DeploymentStatus } -"""The possible states for a deployment status.""" +""" +The possible states for a deployment status. +""" enum DeploymentStatusState { - """The deployment is pending.""" + """ + The deployment is pending. + """ PENDING - """The deployment was successful.""" + """ + The deployment was successful. + """ SUCCESS - """The deployment has failed.""" + """ + The deployment has failed. + """ FAILURE - """The deployment is inactive.""" + """ + The deployment is inactive. + """ INACTIVE - """The deployment experienced an error.""" + """ + The deployment experienced an error. + """ ERROR - """The deployment is queued""" + """ + The deployment is queued + """ QUEUED - """The deployment is in progress.""" + """ + The deployment is in progress. + """ IN_PROGRESS } -"""Autogenerated input type of DismissPullRequestReview""" +""" +Autogenerated input type of DismissPullRequestReview +""" input DismissPullRequestReviewInput { - """The Node ID of the pull request review to modify.""" + """ + The Node ID of the pull request review to modify. + """ pullRequestReviewId: ID! - """The contents of the pull request review dismissal message.""" + """ + The contents of the pull request review dismissal message. + """ message: String! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of DismissPullRequestReview""" +""" +Autogenerated return type of DismissPullRequestReview +""" type DismissPullRequestReviewPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The dismissed pull request review.""" + """ + The dismissed pull request review. + """ pullRequestReview: PullRequestReview } -"""Specifies a review comment to be left with a Pull Request Review.""" +""" +Specifies a review comment to be left with a Pull Request Review. +""" input DraftPullRequestReviewComment { - """Path to the file being commented on.""" + """ + Path to the file being commented on. + """ path: String! - """Position in the file to leave a comment on.""" + """ + Position in the file to leave a comment on. + """ position: Int! - """Body of the comment to leave.""" + """ + Body of the comment to leave. + """ body: String! } -"""An external identity provisioned by SAML SSO or SCIM.""" +""" +An external identity provisioned by SAML SSO or SCIM. +""" type ExternalIdentity implements Node { - """The GUID for this identity""" + """ + The GUID for this identity + """ guid: String! id: ID! - """Organization invitation for this SCIM-provisioned external identity""" + """ + Organization invitation for this SCIM-provisioned external identity + """ organizationInvitation: OrganizationInvitation - """SAML Identity attributes""" + """ + SAML Identity attributes + """ samlIdentity: ExternalIdentitySamlAttributes - """SCIM Identity attributes""" + """ + SCIM Identity attributes + """ scimIdentity: ExternalIdentityScimAttributes """ @@ -3126,77 +4742,127 @@ type ExternalIdentity implements Node { user: User } -"""The connection type for ExternalIdentity.""" +""" +The connection type for ExternalIdentity. +""" type ExternalIdentityConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [ExternalIdentityEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [ExternalIdentity] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type ExternalIdentityEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: ExternalIdentity } -"""SAML attributes for the External Identity""" +""" +SAML attributes for the External Identity +""" type ExternalIdentitySamlAttributes { - """The NameID of the SAML identity""" + """ + The NameID of the SAML identity + """ nameId: String } -"""SCIM attributes for the External Identity""" +""" +SCIM attributes for the External Identity +""" type ExternalIdentityScimAttributes { - """The userName of the SCIM identity""" + """ + The userName of the SCIM identity + """ username: String } -"""The connection type for User.""" +""" +The connection type for User. +""" type FollowerConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [UserEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [User] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""The connection type for User.""" +""" +The connection type for User. +""" type FollowingConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [UserEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [User] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""A Gist.""" +""" +A Gist. +""" type Gist implements Node & Starrable { - """A list of comments associated with the gist""" + """ + A list of comments associated with the gist + """ comments( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -3204,44 +4870,70 @@ type Gist implements Node & Starrable { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): GistCommentConnection! - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """The gist description.""" + """ + The gist description. + """ description: String - """The files in this gist.""" + """ + The files in this gist. + """ files( - """The maximum number of files to return.""" + """ + The maximum number of files to return. + """ limit: Int = 10 ): [GistFile] id: ID! - """Identifies if the gist is a fork.""" + """ + Identifies if the gist is a fork. + """ isFork: Boolean! - """Whether the gist is public or not.""" + """ + Whether the gist is public or not. + """ isPublic: Boolean! - """The gist name.""" + """ + The gist name. + """ name: String! - """The gist owner.""" + """ + The gist owner. + """ owner: RepositoryOwner - """Identifies when the gist was last pushed to.""" + """ + Identifies when the gist was last pushed to. + """ pushedAt: DateTime - """A list of users who have starred this starrable.""" + """ + A list of users who have starred this starrable. + """ stargazers( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -3249,17 +4941,25 @@ type Gist implements Node & Starrable { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """Order for connection""" + """ + Order for connection + """ orderBy: StarOrder ): StargazerConnection! - """Identifies the date and time when the object was last updated.""" + """ + Identifies the date and time when the object was last updated. + """ updatedAt: DateTime! """ @@ -3268,36 +4968,58 @@ type Gist implements Node & Starrable { viewerHasStarred: Boolean! } -"""Represents a comment on an Gist.""" +""" +Represents a comment on an Gist. +""" type GistComment implements Node & Comment & Deletable & Updatable & UpdatableComment { - """The actor who authored the comment.""" + """ + The actor who authored the comment. + """ author: Actor - """Author's association with the gist.""" + """ + Author's association with the gist. + """ authorAssociation: CommentAuthorAssociation! - """Identifies the comment body.""" + """ + Identifies the comment body. + """ body: String! - """The comment body rendered to HTML.""" + """ + The comment body rendered to HTML. + """ bodyHTML: HTML! - """The body rendered to text.""" + """ + The body rendered to text. + """ bodyText: String! - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """Check if this comment was created via an email reply.""" + """ + Check if this comment was created via an email reply. + """ createdViaEmail: Boolean! - """Identifies the primary key from the database.""" + """ + Identifies the primary key from the database. + """ databaseId: Int - """The actor who edited the comment.""" + """ + The actor who edited the comment. + """ editor: Actor - """The associated gist.""" + """ + The associated gist. + """ gist: Gist! id: ID! @@ -3306,24 +5028,38 @@ type GistComment implements Node & Comment & Deletable & Updatable & UpdatableCo """ includesCreatedEdit: Boolean! - """Returns whether or not a comment has been minimized.""" + """ + Returns whether or not a comment has been minimized. + """ isMinimized: Boolean! - """The moment the editor made the last edit""" + """ + The moment the editor made the last edit + """ lastEditedAt: DateTime - """Returns why the comment was minimized.""" + """ + Returns why the comment was minimized. + """ minimizedReason: String - """Identifies when the comment was published at.""" + """ + Identifies when the comment was published at. + """ publishedAt: DateTime - """Identifies the date and time when the object was last updated.""" + """ + Identifies the date and time when the object was last updated. + """ updatedAt: DateTime! - """A list of edits to this content.""" + """ + A list of edits to this content. + """ userContentEdits( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -3331,160 +5067,260 @@ type GistComment implements Node & Comment & Deletable & Updatable & UpdatableCo """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): UserContentEditConnection - """Check if the current viewer can delete this object.""" + """ + Check if the current viewer can delete this object. + """ viewerCanDelete: Boolean! - """Check if the current viewer can minimize this object.""" + """ + Check if the current viewer can minimize this object. + """ viewerCanMinimize: Boolean! - """Check if the current viewer can update this object.""" + """ + Check if the current viewer can update this object. + """ viewerCanUpdate: Boolean! - """Reasons why the current viewer can not update this comment.""" + """ + Reasons why the current viewer can not update this comment. + """ viewerCannotUpdateReasons: [CommentCannotUpdateReason!]! - """Did the viewer author this comment.""" + """ + Did the viewer author this comment. + """ viewerDidAuthor: Boolean! } -"""The connection type for GistComment.""" +""" +The connection type for GistComment. +""" type GistCommentConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [GistCommentEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [GistComment] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type GistCommentEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: GistComment } -"""The connection type for Gist.""" +""" +The connection type for Gist. +""" type GistConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [GistEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [Gist] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type GistEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: Gist } -"""A file in a gist.""" +""" +A file in a gist. +""" type GistFile { """ The file name encoded to remove characters that are invalid in URL paths. """ encodedName: String - """The gist file encoding.""" + """ + The gist file encoding. + """ encoding: String - """The file extension from the file name.""" + """ + The file extension from the file name. + """ extension: String - """Indicates if this file is an image.""" + """ + Indicates if this file is an image. + """ isImage: Boolean! - """Whether the file's contents were truncated.""" + """ + Whether the file's contents were truncated. + """ isTruncated: Boolean! - """The programming language this file is written in.""" + """ + The programming language this file is written in. + """ language: Language - """The gist file name.""" + """ + The gist file name. + """ name: String - """The gist file size in bytes.""" + """ + The gist file size in bytes. + """ size: Int - """UTF8 text data or null if the file is binary""" + """ + UTF8 text data or null if the file is binary + """ text( - """Optionally truncate the returned file to this length.""" + """ + Optionally truncate the returned file to this length. + """ truncate: Int ): String } -"""Ordering options for gist connections""" +""" +Ordering options for gist connections +""" input GistOrder { - """The field to order repositories by.""" + """ + The field to order repositories by. + """ field: GistOrderField! - """The ordering direction.""" + """ + The ordering direction. + """ direction: OrderDirection! } -"""Properties by which gist connections can be ordered.""" +""" +Properties by which gist connections can be ordered. +""" enum GistOrderField { - """Order gists by creation time""" + """ + Order gists by creation time + """ CREATED_AT - """Order gists by update time""" + """ + Order gists by update time + """ UPDATED_AT - """Order gists by push time""" + """ + Order gists by push time + """ PUSHED_AT } -"""The privacy of a Gist""" +""" +The privacy of a Gist +""" enum GistPrivacy { - """Public""" + """ + Public + """ PUBLIC - """Secret""" + """ + Secret + """ SECRET - """Gists that are public and secret""" + """ + Gists that are public and secret + """ ALL } -"""Represents an actor in a Git commit (ie. an author or committer).""" +""" +Represents an actor in a Git commit (ie. an author or committer). +""" type GitActor { - """A URL pointing to the author's public avatar.""" + """ + A URL pointing to the author's public avatar. + """ avatarUrl( - """The size of the resulting square image.""" + """ + The size of the resulting square image. + """ size: Int ): URI! - """The timestamp of the Git action (authoring or committing).""" + """ + The timestamp of the Git action (authoring or committing). + """ date: GitTimestamp - """The email in the Git commit.""" + """ + The email in the Git commit. + """ email: String - """The name in the Git commit.""" + """ + The name in the Git commit. + """ name: String """ @@ -3493,55 +5329,89 @@ type GitActor { user: User } -"""Represents information about the GitHub instance.""" +""" +Represents information about the GitHub instance. +""" type GitHubMetadata { - """Returns a String that's a SHA of `github-services`""" + """ + Returns a String that's a SHA of `github-services` + """ gitHubServicesSha: GitObjectID! - """IP addresses that users connect to for git operations""" + """ + IP addresses that users connect to for git operations + """ gitIpAddresses: [String!] - """IP addresses that service hooks are sent from""" + """ + IP addresses that service hooks are sent from + """ hookIpAddresses: [String!] - """IP addresses that the importer connects from""" + """ + IP addresses that the importer connects from + """ importerIpAddresses: [String!] - """Whether or not users are verified""" + """ + Whether or not users are verified + """ isPasswordAuthenticationVerifiable: Boolean! - """IP addresses for GitHub Pages' A records""" + """ + IP addresses for GitHub Pages' A records + """ pagesIpAddresses: [String!] } -"""Represents a Git object.""" +""" +Represents a Git object. +""" interface GitObject { - """An abbreviated version of the Git object ID""" + """ + An abbreviated version of the Git object ID + """ abbreviatedOid: String! - """The HTTP path for this Git object""" + """ + The HTTP path for this Git object + """ commitResourcePath: URI! - """The HTTP URL for this Git object""" + """ + The HTTP URL for this Git object + """ commitUrl: URI! id: ID! - """The Git object ID""" + """ + The Git object ID + """ oid: GitObjectID! - """The Repository the Git object belongs to""" + """ + The Repository the Git object belongs to + """ repository: Repository! } -"""A Git object ID.""" +""" +A Git object ID. +""" scalar GitObjectID -"""Information about a signature (GPG or S/MIME) on a Commit or Tag.""" +""" +Information about a signature (GPG or S/MIME) on a Commit or Tag. +""" interface GitSignature { - """Email used to sign this object.""" + """ + Email used to sign this object. + """ email: String! - """True if the signature is valid and verified by GitHub.""" + """ + True if the signature is valid and verified by GitHub. + """ isValid: Boolean! """ @@ -3549,10 +5419,14 @@ interface GitSignature { """ payload: String! - """ASCII-armored signature header from object.""" + """ + ASCII-armored signature header from object. + """ signature: String! - """GitHub user corresponding to the email signing this commit.""" + """ + GitHub user corresponding to the email signing this commit. + """ signer: User """ @@ -3561,37 +5435,59 @@ interface GitSignature { """ state: GitSignatureState! - """True if the signature was made with GitHub's signing key.""" + """ + True if the signature was made with GitHub's signing key. + """ wasSignedByGitHub: Boolean! } -"""The state of a Git signature.""" +""" +The state of a Git signature. +""" enum GitSignatureState { - """Valid signature and verified by GitHub""" + """ + Valid signature and verified by GitHub + """ VALID - """Invalid signature""" + """ + Invalid signature + """ INVALID - """Malformed signature""" + """ + Malformed signature + """ MALFORMED_SIG - """Key used for signing not known to GitHub""" + """ + Key used for signing not known to GitHub + """ UNKNOWN_KEY - """Invalid email used for signing""" + """ + Invalid email used for signing + """ BAD_EMAIL - """Email used for signing unverified on GitHub""" + """ + Email used for signing unverified on GitHub + """ UNVERIFIED_EMAIL - """Email used for signing not known to GitHub""" + """ + Email used for signing not known to GitHub + """ NO_USER - """Unknown signature type""" + """ + Unknown signature type + """ UNKNOWN_SIG_TYPE - """Unsigned""" + """ + Unsigned + """ UNSIGNED """ @@ -3599,29 +5495,45 @@ enum GitSignatureState { """ GPGVERIFY_UNAVAILABLE - """Internal error - the GPG verification service misbehaved""" + """ + Internal error - the GPG verification service misbehaved + """ GPGVERIFY_ERROR - """The usage flags for the key that signed this don't allow signing""" + """ + The usage flags for the key that signed this don't allow signing + """ NOT_SIGNING_KEY - """Signing key expired""" + """ + Signing key expired + """ EXPIRED_KEY - """Valid signature, pending certificate revocation checking""" + """ + Valid signature, pending certificate revocation checking + """ OCSP_PENDING - """Valid siganture, though certificate revocation check failed""" + """ + Valid siganture, though certificate revocation check failed + """ OCSP_ERROR - """The signing certificate or its chain could not be verified""" + """ + The signing certificate or its chain could not be verified + """ BAD_CERT - """One or more certificates in chain has been revoked""" + """ + One or more certificates in chain has been revoked + """ OCSP_REVOKED } -"""Git SSH string""" +""" +Git SSH string +""" scalar GitSSHRemote """ @@ -3629,15 +5541,23 @@ An ISO-8601 encoded date string. Unlike the DateTime type, GitTimestamp is not c """ scalar GitTimestamp -"""Represents a GPG signature on a Commit or Tag.""" +""" +Represents a GPG signature on a Commit or Tag. +""" type GpgSignature implements GitSignature { - """Email used to sign this object.""" + """ + Email used to sign this object. + """ email: String! - """True if the signature is valid and verified by GitHub.""" + """ + True if the signature is valid and verified by GitHub. + """ isValid: Boolean! - """Hex-encoded ID of the key that signed this object.""" + """ + Hex-encoded ID of the key that signed this object. + """ keyId: String """ @@ -3645,10 +5565,14 @@ type GpgSignature implements GitSignature { """ payload: String! - """ASCII-armored signature header from object.""" + """ + ASCII-armored signature header from object. + """ signature: String! - """GitHub user corresponding to the email signing this commit.""" + """ + GitHub user corresponding to the email signing this commit. + """ signer: User """ @@ -3657,19 +5581,29 @@ type GpgSignature implements GitSignature { """ state: GitSignatureState! - """True if the signature was made with GitHub's signing key.""" + """ + True if the signature was made with GitHub's signing key. + """ wasSignedByGitHub: Boolean! } -"""Represents a 'head_ref_deleted' event on a given pull request.""" +""" +Represents a 'head_ref_deleted' event on a given pull request. +""" type HeadRefDeletedEvent implements Node { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """Identifies the Ref associated with the `head_ref_deleted` event.""" + """ + Identifies the Ref associated with the `head_ref_deleted` event. + """ headRef: Ref """ @@ -3678,16 +5612,24 @@ type HeadRefDeletedEvent implements Node { headRefName: String! id: ID! - """PullRequest referenced by event.""" + """ + PullRequest referenced by event. + """ pullRequest: PullRequest! } -"""Represents a 'head_ref_force_pushed' event on a given pull request.""" +""" +Represents a 'head_ref_force_pushed' event on a given pull request. +""" type HeadRefForcePushedEvent implements Node { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Identifies the after commit SHA for the 'head_ref_force_pushed' event.""" + """ + Identifies the after commit SHA for the 'head_ref_force_pushed' event. + """ afterCommit: Commit """ @@ -3695,11 +5637,15 @@ type HeadRefForcePushedEvent implements Node { """ beforeCommit: Commit - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! id: ID! - """PullRequest referenced by event.""" + """ + PullRequest referenced by event. + """ pullRequest: PullRequest! """ @@ -3708,27 +5654,39 @@ type HeadRefForcePushedEvent implements Node { ref: Ref } -"""Represents a 'head_ref_restored' event on a given pull request.""" +""" +Represents a 'head_ref_restored' event on a given pull request. +""" type HeadRefRestoredEvent implements Node { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! id: ID! - """PullRequest referenced by event.""" + """ + PullRequest referenced by event. + """ pullRequest: PullRequest! } -"""A string containing HTML code.""" +""" +A string containing HTML code. +""" scalar HTML """ The possible states in which authentication can be configured with an identity provider. """ enum IdentityProviderConfigurationState { - """Authentication with an identity provider is configured and enforced.""" + """ + Authentication with an identity provider is configured and enforced. + """ ENFORCED """ @@ -3736,28 +5694,44 @@ enum IdentityProviderConfigurationState { """ CONFIGURED - """Authentication with an identity provider is not configured.""" + """ + Authentication with an identity provider is not configured. + """ UNCONFIGURED } -"""Autogenerated input type of ImportProject""" +""" +Autogenerated input type of ImportProject +""" input ImportProjectInput { - """The name of the Organization or User to create the Project under.""" + """ + The name of the Organization or User to create the Project under. + """ ownerName: String! - """The name of Project.""" + """ + The name of Project. + """ name: String! - """The description of Project.""" + """ + The description of Project. + """ body: String - """Whether the Project is public or not.""" + """ + Whether the Project is public or not. + """ public: Boolean = false - """A list of columns containing issues and pull requests.""" + """ + A list of columns containing issues and pull requests. + """ columnImports: [ProjectColumnImport!]! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } @@ -3765,12 +5739,18 @@ input ImportProjectInput { An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. """ type Issue implements Node & Assignable & Closable & Comment & Updatable & UpdatableComment & Labelable & Lockable & Reactable & RepositoryNode & Subscribable & UniformResourceLocatable { - """Reason that the conversation was locked.""" + """ + Reason that the conversation was locked. + """ activeLockReason: LockReason - """A list of Users assigned to this object.""" + """ + A list of Users assigned to this object. + """ assignees( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -3778,26 +5758,40 @@ type Issue implements Node & Assignable & Closable & Comment & Updatable & Updat """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): UserConnection! - """The actor who authored the comment.""" + """ + The actor who authored the comment. + """ author: Actor - """Author's association with the subject of the comment.""" + """ + Author's association with the subject of the comment. + """ authorAssociation: CommentAuthorAssociation! - """Identifies the body of the issue.""" + """ + Identifies the body of the issue. + """ body: String! - """Identifies the body of the issue rendered to HTML.""" + """ + Identifies the body of the issue rendered to HTML. + """ bodyHTML: HTML! - """Identifies the body of the issue rendered to text.""" + """ + Identifies the body of the issue rendered to text. + """ bodyText: String! """ @@ -3805,12 +5799,18 @@ type Issue implements Node & Assignable & Closable & Comment & Updatable & Updat """ closed: Boolean! - """Identifies the date and time when the object was closed.""" + """ + Identifies the date and time when the object was closed. + """ closedAt: DateTime - """A list of comments associated with the Issue.""" + """ + A list of comments associated with the Issue. + """ comments( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -3818,23 +5818,35 @@ type Issue implements Node & Assignable & Closable & Comment & Updatable & Updat """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): IssueCommentConnection! - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """Check if this comment was created via an email reply.""" + """ + Check if this comment was created via an email reply. + """ createdViaEmail: Boolean! - """Identifies the primary key from the database.""" + """ + Identifies the primary key from the database. + """ databaseId: Int - """The actor who edited the comment.""" + """ + The actor who edited the comment. + """ editor: Actor id: ID! @@ -3843,9 +5855,13 @@ type Issue implements Node & Assignable & Closable & Comment & Updatable & Updat """ includesCreatedEdit: Boolean! - """A list of labels associated with the object.""" + """ + A list of labels associated with the object. + """ labels( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -3853,28 +5869,44 @@ type Issue implements Node & Assignable & Closable & Comment & Updatable & Updat """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): LabelConnection - """The moment the editor made the last edit""" + """ + The moment the editor made the last edit + """ lastEditedAt: DateTime - """`true` if the object is locked""" + """ + `true` if the object is locked + """ locked: Boolean! - """Identifies the milestone associated with the issue.""" + """ + Identifies the milestone associated with the issue. + """ milestone: Milestone - """Identifies the issue number.""" + """ + Identifies the issue number. + """ number: Int! - """A list of Users that are participating in the Issue conversation.""" + """ + A list of Users that are participating in the Issue conversation. + """ participants( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -3882,16 +5914,24 @@ type Issue implements Node & Assignable & Closable & Comment & Updatable & Updat """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): UserConnection! - """List of project cards associated with this issue.""" + """ + List of project cards associated with this issue. + """ projectCards( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -3899,25 +5939,39 @@ type Issue implements Node & Assignable & Closable & Comment & Updatable & Updat """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """A list of archived states to filter the cards by""" + """ + A list of archived states to filter the cards by + """ archivedStates: [ProjectCardArchivedState] ): ProjectCardConnection! - """Identifies when the comment was published at.""" + """ + Identifies when the comment was published at. + """ publishedAt: DateTime - """A list of reactions grouped by content left on the subject.""" + """ + A list of reactions grouped by content left on the subject. + """ reactionGroups: [ReactionGroup!] - """A list of Reactions left on the Issue.""" + """ + A list of Reactions left on the Issue. + """ reactions( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -3925,34 +5979,54 @@ type Issue implements Node & Assignable & Closable & Comment & Updatable & Updat """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """Allows filtering Reactions by emoji.""" + """ + Allows filtering Reactions by emoji. + """ content: ReactionContent - """Allows specifying the order in which reactions are returned.""" + """ + Allows specifying the order in which reactions are returned. + """ orderBy: ReactionOrder ): ReactionConnection! - """The repository associated with this node.""" + """ + The repository associated with this node. + """ repository: Repository! - """The HTTP path for this issue""" + """ + The HTTP path for this issue + """ resourcePath: URI! - """Identifies the state of the issue.""" + """ + Identifies the state of the issue. + """ state: IssueState! - """A list of events, comments, commits, etc. associated with the issue.""" + """ + A list of events, comments, commits, etc. associated with the issue. + """ timeline( - """Allows filtering timeline events by a `since` timestamp.""" + """ + Allows filtering timeline events by a `since` timestamp. + """ since: DateTime - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -3960,25 +6034,39 @@ type Issue implements Node & Assignable & Closable & Comment & Updatable & Updat """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): IssueTimelineConnection! - """A list of events, comments, commits, etc. associated with the issue.""" + """ + A list of events, comments, commits, etc. associated with the issue. + """ timelineItems( - """Filter timeline items by a `since` timestamp.""" + """ + Filter timeline items by a `since` timestamp. + """ since: DateTime - """Skips the first _n_ elements in the list.""" + """ + Skips the first _n_ elements in the list. + """ skip: Int - """Filter timeline items by type.""" + """ + Filter timeline items by type. + """ itemTypes: [IssueTimelineItemsItemType!] - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -3986,25 +6074,39 @@ type Issue implements Node & Assignable & Closable & Comment & Updatable & Updat """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): IssueTimelineItemsConnection! - """Identifies the issue title.""" + """ + Identifies the issue title. + """ title: String! - """Identifies the date and time when the object was last updated.""" + """ + Identifies the date and time when the object was last updated. + """ updatedAt: DateTime! - """The HTTP URL for this issue""" + """ + The HTTP URL for this issue + """ url: URI! - """A list of edits to this content.""" + """ + A list of edits to this content. + """ userContentEdits( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -4012,14 +6114,20 @@ type Issue implements Node & Assignable & Closable & Comment & Updatable & Updat """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): UserContentEditConnection - """Can user react to this subject""" + """ + Can user react to this subject + """ viewerCanReact: Boolean! """ @@ -4027,13 +6135,19 @@ type Issue implements Node & Assignable & Closable & Comment & Updatable & Updat """ viewerCanSubscribe: Boolean! - """Check if the current viewer can update this object.""" + """ + Check if the current viewer can update this object. + """ viewerCanUpdate: Boolean! - """Reasons why the current viewer can not update this comment.""" + """ + Reasons why the current viewer can not update this comment. + """ viewerCannotUpdateReasons: [CommentCannotUpdateReason!]! - """Did the viewer author this comment.""" + """ + Did the viewer author this comment. + """ viewerDidAuthor: Boolean! """ @@ -4042,33 +6156,53 @@ type Issue implements Node & Assignable & Closable & Comment & Updatable & Updat viewerSubscription: SubscriptionState } -"""Represents a comment on an Issue.""" +""" +Represents a comment on an Issue. +""" type IssueComment implements Node & Comment & Deletable & Updatable & UpdatableComment & Reactable & RepositoryNode { - """The actor who authored the comment.""" + """ + The actor who authored the comment. + """ author: Actor - """Author's association with the subject of the comment.""" + """ + Author's association with the subject of the comment. + """ authorAssociation: CommentAuthorAssociation! - """The body as Markdown.""" + """ + The body as Markdown. + """ body: String! - """The body rendered to HTML.""" + """ + The body rendered to HTML. + """ bodyHTML: HTML! - """The body rendered to text.""" + """ + The body rendered to text. + """ bodyText: String! - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """Check if this comment was created via an email reply.""" + """ + Check if this comment was created via an email reply. + """ createdViaEmail: Boolean! - """Identifies the primary key from the database.""" + """ + Identifies the primary key from the database. + """ databaseId: Int - """The actor who edited the comment.""" + """ + The actor who edited the comment. + """ editor: Actor id: ID! @@ -4077,34 +6211,49 @@ type IssueComment implements Node & Comment & Deletable & Updatable & UpdatableC """ includesCreatedEdit: Boolean! - """Returns whether or not a comment has been minimized.""" + """ + Returns whether or not a comment has been minimized. + """ isMinimized: Boolean! - """Identifies the issue associated with the comment.""" + """ + Identifies the issue associated with the comment. + """ issue: Issue! - """The moment the editor made the last edit""" + """ + The moment the editor made the last edit + """ lastEditedAt: DateTime - """Returns why the comment was minimized.""" + """ + Returns why the comment was minimized. + """ minimizedReason: String - """Identifies when the comment was published at.""" + """ + Identifies when the comment was published at. + """ publishedAt: DateTime """ Returns the pull request associated with the comment, if this comment was made on a pull request. - """ pullRequest: PullRequest - """A list of reactions grouped by content left on the subject.""" + """ + A list of reactions grouped by content left on the subject. + """ reactionGroups: [ReactionGroup!] - """A list of Reactions left on the Issue.""" + """ + A list of Reactions left on the Issue. + """ reactions( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -4112,34 +6261,54 @@ type IssueComment implements Node & Comment & Deletable & Updatable & UpdatableC """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """Allows filtering Reactions by emoji.""" + """ + Allows filtering Reactions by emoji. + """ content: ReactionContent - """Allows specifying the order in which reactions are returned.""" + """ + Allows specifying the order in which reactions are returned. + """ orderBy: ReactionOrder ): ReactionConnection! - """The repository associated with this node.""" + """ + The repository associated with this node. + """ repository: Repository! - """The HTTP path for this issue comment""" + """ + The HTTP path for this issue comment + """ resourcePath: URI! - """Identifies the date and time when the object was last updated.""" + """ + Identifies the date and time when the object was last updated. + """ updatedAt: DateTime! - """The HTTP URL for this issue comment""" + """ + The HTTP URL for this issue comment + """ url: URI! - """A list of edits to this content.""" + """ + A list of edits to this content. + """ userContentEdits( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -4147,76 +6316,124 @@ type IssueComment implements Node & Comment & Deletable & Updatable & UpdatableC """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): UserContentEditConnection - """Check if the current viewer can delete this object.""" + """ + Check if the current viewer can delete this object. + """ viewerCanDelete: Boolean! - """Check if the current viewer can minimize this object.""" + """ + Check if the current viewer can minimize this object. + """ viewerCanMinimize: Boolean! - """Can user react to this subject""" + """ + Can user react to this subject + """ viewerCanReact: Boolean! - """Check if the current viewer can update this object.""" + """ + Check if the current viewer can update this object. + """ viewerCanUpdate: Boolean! - """Reasons why the current viewer can not update this comment.""" + """ + Reasons why the current viewer can not update this comment. + """ viewerCannotUpdateReasons: [CommentCannotUpdateReason!]! - """Did the viewer author this comment.""" + """ + Did the viewer author this comment. + """ viewerDidAuthor: Boolean! } -"""The connection type for IssueComment.""" +""" +The connection type for IssueComment. +""" type IssueCommentConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [IssueCommentEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [IssueComment] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type IssueCommentEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: IssueComment } -"""The connection type for Issue.""" +""" +The connection type for Issue. +""" type IssueConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [IssueEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [Issue] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""This aggregates issues opened by a user within one repository.""" +""" +This aggregates issues opened by a user within one repository. +""" type IssueContributionsByRepository { - """The issue contributions.""" + """ + The issue contributions. + """ contributions( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -4224,30 +6441,46 @@ type IssueContributionsByRepository { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """Ordering options for contributions returned from the connection.""" + """ + Ordering options for contributions returned from the connection. + """ orderBy: ContributionOrder ): CreatedIssueContributionConnection! - """The repository in which the issues were opened.""" + """ + The repository in which the issues were opened. + """ repository: Repository! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type IssueEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: Issue } -"""Ways in which to filter lists of issues.""" +""" +Ways in which to filter lists of issues. +""" input IssueFilters { """ List issues assigned to given name. Pass in `null` for issues with no assigned @@ -4255,13 +6488,19 @@ input IssueFilters { """ assignee: String - """List issues created by given name.""" + """ + List issues created by given name. + """ createdBy: String - """List issues where the list of label names exist on the issue.""" + """ + List issues where the list of label names exist on the issue. + """ labels: [String!] - """List issues where the given name is mentioned in the issue.""" + """ + List issues where the given name is mentioned in the issue. + """ mentioned: String """ @@ -4271,97 +6510,204 @@ input IssueFilters { """ milestone: String - """List issues that have been updated at or after the given date.""" + """ + List issues that have been updated at or after the given date. + """ since: DateTime - """List issues filtered by the list of states given.""" + """ + List issues filtered by the list of states given. + """ states: [IssueState!] - """List issues subscribed to by viewer.""" + """ + List issues subscribed to by viewer. + """ viewerSubscribed: Boolean = false } -"""Ways in which lists of issues can be ordered upon return.""" +""" +Ways in which lists of issues can be ordered upon return. +""" input IssueOrder { - """The field in which to order issues by.""" + """ + The field in which to order issues by. + """ field: IssueOrderField! - """The direction in which to order issues by the specified field.""" + """ + The direction in which to order issues by the specified field. + """ direction: OrderDirection! } -"""Properties by which issue connections can be ordered.""" +""" +Properties by which issue connections can be ordered. +""" enum IssueOrderField { - """Order issues by creation time""" + """ + Order issues by creation time + """ CREATED_AT - """Order issues by update time""" + """ + Order issues by update time + """ UPDATED_AT - """Order issues by comment count""" + """ + Order issues by comment count + """ COMMENTS } -"""Used for return value of Repository.issueOrPullRequest.""" +""" +Used for return value of Repository.issueOrPullRequest. +""" union IssueOrPullRequest = Issue | PullRequest -"""The possible PubSub channels for an issue.""" +""" +The possible PubSub channels for an issue. +""" enum IssuePubSubTopic { - """The channel ID for observing issue updates.""" + """ + The channel ID for observing issue updates. + """ UPDATED - """The channel ID for marking an issue as read.""" + """ + The channel ID for marking an issue as read. + """ MARKASREAD - """The channel ID for updating items on the issue timeline.""" + """ + The channel ID for updating items on the issue timeline. + """ TIMELINE - """The channel ID for observing issue state updates.""" + """ + The channel ID for observing issue state updates. + """ STATE } -"""The possible states of an issue.""" +""" +The possible states of an issue. +""" enum IssueState { - """An issue that is still open""" + """ + An issue that is still open + """ OPEN - """An issue that has been closed""" + """ + An issue that has been closed + """ CLOSED } -"""The connection type for IssueTimelineItem.""" +""" +The connection type for IssueTimelineItem. +""" type IssueTimelineConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [IssueTimelineItemEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [IssueTimelineItem] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An item in an issue timeline""" -union IssueTimelineItem = Commit | IssueComment | CrossReferencedEvent | ClosedEvent | ReopenedEvent | SubscribedEvent | UnsubscribedEvent | ReferencedEvent | AssignedEvent | UnassignedEvent | LabeledEvent | UnlabeledEvent | UserBlockedEvent | MilestonedEvent | DemilestonedEvent | RenamedTitleEvent | LockedEvent | UnlockedEvent | TransferredEvent +""" +An item in an issue timeline +""" +union IssueTimelineItem = + Commit + | IssueComment + | CrossReferencedEvent + | ClosedEvent + | ReopenedEvent + | SubscribedEvent + | UnsubscribedEvent + | ReferencedEvent + | AssignedEvent + | UnassignedEvent + | LabeledEvent + | UnlabeledEvent + | UserBlockedEvent + | MilestonedEvent + | DemilestonedEvent + | RenamedTitleEvent + | LockedEvent + | UnlockedEvent + | TransferredEvent -"""An edge in a connection.""" +""" +An edge in a connection. +""" type IssueTimelineItemEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: IssueTimelineItem } -"""An item in an issue timeline""" -union IssueTimelineItems = IssueComment | CrossReferencedEvent | AddedToProjectEvent | AssignedEvent | ClosedEvent | CommentDeletedEvent | ConvertedNoteToIssueEvent | DemilestonedEvent | LabeledEvent | LockedEvent | MentionedEvent | MilestonedEvent | MovedColumnsInProjectEvent | PinnedEvent | ReferencedEvent | RemovedFromProjectEvent | RenamedTitleEvent | ReopenedEvent | SubscribedEvent | TransferredEvent | UnassignedEvent | UnlabeledEvent | UnlockedEvent | UserBlockedEvent | UnpinnedEvent | UnsubscribedEvent +""" +An item in an issue timeline +""" +union IssueTimelineItems = + IssueComment + | CrossReferencedEvent + | AddedToProjectEvent + | AssignedEvent + | ClosedEvent + | CommentDeletedEvent + | ConvertedNoteToIssueEvent + | DemilestonedEvent + | LabeledEvent + | LockedEvent + | MentionedEvent + | MilestonedEvent + | MovedColumnsInProjectEvent + | PinnedEvent + | ReferencedEvent + | RemovedFromProjectEvent + | RenamedTitleEvent + | ReopenedEvent + | SubscribedEvent + | TransferredEvent + | UnassignedEvent + | UnlabeledEvent + | UnlockedEvent + | UserBlockedEvent + | UnpinnedEvent + | UnsubscribedEvent -"""The connection type for IssueTimelineItems.""" +""" +The connection type for IssueTimelineItems. +""" type IssueTimelineItemsConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [IssueTimelineItemsEdge] """ @@ -4369,7 +6715,9 @@ type IssueTimelineItemsConnection { """ filteredCount: Int! - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [IssueTimelineItems] """ @@ -4377,31 +6725,49 @@ type IssueTimelineItemsConnection { """ pageCount: Int! - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! - """Identifies the date and time when the timeline was last updated.""" + """ + Identifies the date and time when the timeline was last updated. + """ updatedAt: DateTime! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type IssueTimelineItemsEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: IssueTimelineItems } -"""The possible item types found in a timeline.""" +""" +The possible item types found in a timeline. +""" enum IssueTimelineItemsItemType { - """Represents a comment on an Issue.""" + """ + Represents a comment on an Issue. + """ ISSUE_COMMENT - """Represents a mention made by one issue or pull request to another.""" + """ + Represents a mention made by one issue or pull request to another. + """ CROSS_REFERENCED_EVENT """ @@ -4409,13 +6775,19 @@ enum IssueTimelineItemsItemType { """ ADDED_TO_PROJECT_EVENT - """Represents an 'assigned' event on any assignable object.""" + """ + Represents an 'assigned' event on any assignable object. + """ ASSIGNED_EVENT - """Represents a 'closed' event on any `Closable`.""" + """ + Represents a 'closed' event on any `Closable`. + """ CLOSED_EVENT - """Represents a 'comment_deleted' event on a given issue or pull request.""" + """ + Represents a 'comment_deleted' event on a given issue or pull request. + """ COMMENT_DELETED_EVENT """ @@ -4423,19 +6795,29 @@ enum IssueTimelineItemsItemType { """ CONVERTED_NOTE_TO_ISSUE_EVENT - """Represents a 'demilestoned' event on a given issue or pull request.""" + """ + Represents a 'demilestoned' event on a given issue or pull request. + """ DEMILESTONED_EVENT - """Represents a 'labeled' event on a given issue or pull request.""" + """ + Represents a 'labeled' event on a given issue or pull request. + """ LABELED_EVENT - """Represents a 'locked' event on a given issue or pull request.""" + """ + Represents a 'locked' event on a given issue or pull request. + """ LOCKED_EVENT - """Represents a 'mentioned' event on a given issue or pull request.""" + """ + Represents a 'mentioned' event on a given issue or pull request. + """ MENTIONED_EVENT - """Represents a 'milestoned' event on a given issue or pull request.""" + """ + Represents a 'milestoned' event on a given issue or pull request. + """ MILESTONED_EVENT """ @@ -4443,10 +6825,14 @@ enum IssueTimelineItemsItemType { """ MOVED_COLUMNS_IN_PROJECT_EVENT - """Represents a 'pinned' event on a given issue or pull request.""" + """ + Represents a 'pinned' event on a given issue or pull request. + """ PINNED_EVENT - """Represents a 'referenced' event on a given `ReferencedSubject`.""" + """ + Represents a 'referenced' event on a given `ReferencedSubject`. + """ REFERENCED_EVENT """ @@ -4454,93 +6840,141 @@ enum IssueTimelineItemsItemType { """ REMOVED_FROM_PROJECT_EVENT - """Represents a 'renamed' event on a given issue or pull request""" + """ + Represents a 'renamed' event on a given issue or pull request + """ RENAMED_TITLE_EVENT - """Represents a 'reopened' event on any `Closable`.""" + """ + Represents a 'reopened' event on any `Closable`. + """ REOPENED_EVENT - """Represents a 'subscribed' event on a given `Subscribable`.""" + """ + Represents a 'subscribed' event on a given `Subscribable`. + """ SUBSCRIBED_EVENT - """Represents a 'transferred' event on a given issue or pull request.""" + """ + Represents a 'transferred' event on a given issue or pull request. + """ TRANSFERRED_EVENT - """Represents an 'unassigned' event on any assignable object.""" + """ + Represents an 'unassigned' event on any assignable object. + """ UNASSIGNED_EVENT - """Represents an 'unlabeled' event on a given issue or pull request.""" + """ + Represents an 'unlabeled' event on a given issue or pull request. + """ UNLABELED_EVENT - """Represents an 'unlocked' event on a given issue or pull request.""" + """ + Represents an 'unlocked' event on a given issue or pull request. + """ UNLOCKED_EVENT - """Represents a 'user_blocked' event on a given user.""" + """ + Represents a 'user_blocked' event on a given user. + """ USER_BLOCKED_EVENT - """Represents an 'unpinned' event on a given issue or pull request.""" + """ + Represents an 'unpinned' event on a given issue or pull request. + """ UNPINNED_EVENT - """Represents an 'unsubscribed' event on a given `Subscribable`.""" + """ + Represents an 'unsubscribed' event on a given `Subscribable`. + """ UNSUBSCRIBED_EVENT } -"""Represents a user signing up for a GitHub account.""" +""" +Represents a user signing up for a GitHub account. +""" type JoinedGitHubContribution implements Contribution { """ Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no longer access. - """ isRestricted: Boolean! - """When this contribution was made.""" + """ + When this contribution was made. + """ occurredAt: DateTime! - """The HTTP path for this contribution.""" + """ + The HTTP path for this contribution. + """ resourcePath: URI! - """The HTTP URL for this contribution.""" + """ + The HTTP URL for this contribution. + """ url: URI! """ The user who made this contribution. - """ user: User! } -"""A label for categorizing Issues or Milestones with a given Repository.""" +""" +A label for categorizing Issues or Milestones with a given Repository. +""" type Label implements Node { - """Identifies the label color.""" + """ + Identifies the label color. + """ color: String! - """Identifies the date and time when the label was created.""" + """ + Identifies the date and time when the label was created. + """ createdAt: DateTime - """A brief description of this label.""" + """ + A brief description of this label. + """ description: String id: ID! - """Indicates whether or not this is a default label.""" + """ + Indicates whether or not this is a default label. + """ isDefault: Boolean! - """A list of issues associated with this label.""" + """ + A list of issues associated with this label. + """ issues( - """Ordering options for issues returned from the connection.""" + """ + Ordering options for issues returned from the connection. + """ orderBy: IssueOrder - """A list of label names to filter the pull requests by.""" + """ + A list of label names to filter the pull requests by. + """ labels: [String!] - """A list of states to filter the issues by.""" + """ + A list of states to filter the issues by. + """ states: [IssueState!] - """Filtering options for issues returned from the connection.""" + """ + Filtering options for issues returned from the connection. + """ filterBy: IssueFilters - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -4548,34 +6982,54 @@ type Label implements Node { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): IssueConnection! - """Identifies the label name.""" + """ + Identifies the label name. + """ name: String! - """A list of pull requests associated with this label.""" + """ + A list of pull requests associated with this label. + """ pullRequests( - """A list of states to filter the pull requests by.""" + """ + A list of states to filter the pull requests by. + """ states: [PullRequestState!] - """A list of label names to filter the pull requests by.""" + """ + A list of label names to filter the pull requests by. + """ labels: [String!] - """The head ref name to filter the pull requests by.""" + """ + The head ref name to filter the pull requests by. + """ headRefName: String - """The base ref name to filter the pull requests by.""" + """ + The base ref name to filter the pull requests by. + """ baseRefName: String - """Ordering options for pull requests returned from the connection.""" + """ + Ordering options for pull requests returned from the connection. + """ orderBy: IssueOrder - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -4583,31 +7037,49 @@ type Label implements Node { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): PullRequestConnection! - """The repository associated with this label.""" + """ + The repository associated with this label. + """ repository: Repository! - """The HTTP path for this label.""" + """ + The HTTP path for this label. + """ resourcePath: URI! - """Identifies the date and time when the label was last updated.""" + """ + Identifies the date and time when the label was last updated. + """ updatedAt: DateTime - """The HTTP URL for this label.""" + """ + The HTTP URL for this label. + """ url: URI! } -"""An object that can have labels assigned to it.""" +""" +An object that can have labels assigned to it. +""" interface Labelable { - """A list of labels associated with the object.""" + """ + A list of labels associated with the object. + """ labels( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -4615,140 +7087,226 @@ interface Labelable { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): LabelConnection } -"""The connection type for Label.""" +""" +The connection type for Label. +""" type LabelConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [LabelEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [Label] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""Represents a 'labeled' event on a given issue or pull request.""" +""" +Represents a 'labeled' event on a given issue or pull request. +""" type LabeledEvent implements Node { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! id: ID! - """Identifies the label associated with the 'labeled' event.""" + """ + Identifies the label associated with the 'labeled' event. + """ label: Label! - """Identifies the `Labelable` associated with the event.""" + """ + Identifies the `Labelable` associated with the event. + """ labelable: Labelable! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type LabelEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: Label } -"""Represents a given language found in repositories.""" +""" +Represents a given language found in repositories. +""" type Language implements Node { - """The color defined for the current language.""" + """ + The color defined for the current language. + """ color: String id: ID! - """The name of the current language.""" + """ + The name of the current language. + """ name: String! } -"""A list of languages associated with the parent.""" +""" +A list of languages associated with the parent. +""" type LanguageConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [LanguageEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [Language] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! - """The total size in bytes of files written in that language.""" + """ + The total size in bytes of files written in that language. + """ totalSize: Int! } -"""Represents the language of a repository.""" +""" +Represents the language of a repository. +""" type LanguageEdge { cursor: String! node: Language! - """The number of bytes of code written in the language.""" + """ + The number of bytes of code written in the language. + """ size: Int! } -"""Ordering options for language connections.""" +""" +Ordering options for language connections. +""" input LanguageOrder { - """The field to order languages by.""" + """ + The field to order languages by. + """ field: LanguageOrderField! - """The ordering direction.""" + """ + The ordering direction. + """ direction: OrderDirection! } -"""Properties by which language connections can be ordered.""" +""" +Properties by which language connections can be ordered. +""" enum LanguageOrderField { - """Order languages by the size of all files containing the language""" + """ + Order languages by the size of all files containing the language + """ SIZE } -"""A repository's open source license""" +""" +A repository's open source license +""" type License implements Node { - """The full text of the license""" + """ + The full text of the license + """ body: String! - """The conditions set by the license""" + """ + The conditions set by the license + """ conditions: [LicenseRule]! - """A human-readable description of the license""" + """ + A human-readable description of the license + """ description: String - """Whether the license should be featured""" + """ + Whether the license should be featured + """ featured: Boolean! - """Whether the license should be displayed in license pickers""" + """ + Whether the license should be displayed in license pickers + """ hidden: Boolean! id: ID! - """Instructions on how to implement the license""" + """ + Instructions on how to implement the license + """ implementation: String - """The lowercased SPDX ID of the license""" + """ + The lowercased SPDX ID of the license + """ key: String! - """The limitations set by the license""" + """ + The limitations set by the license + """ limitations: [LicenseRule]! - """The license full name specified by """ + """ + The license full name specified by + """ name: String! - """Customary short name if applicable (e.g, GPLv3)""" + """ + Customary short name if applicable (e.g, GPLv3) + """ nickname: String - """The permissions set by the license""" + """ + The permissions set by the license + """ permissions: [LicenseRule]! """ @@ -4756,72 +7314,116 @@ type License implements Node { """ pseudoLicense: Boolean! - """Short identifier specified by """ + """ + Short identifier specified by + """ spdxId: String - """URL to the license on """ + """ + URL to the license on + """ url: URI } -"""Describes a License's conditions, permissions, and limitations""" +""" +Describes a License's conditions, permissions, and limitations +""" type LicenseRule { - """A description of the rule""" + """ + A description of the rule + """ description: String! - """The machine-readable rule key""" + """ + The machine-readable rule key + """ key: String! - """The human-readable rule label""" + """ + The human-readable rule label + """ label: String! } -"""An object that can be locked.""" +""" +An object that can be locked. +""" interface Lockable { - """Reason that the conversation was locked.""" + """ + Reason that the conversation was locked. + """ activeLockReason: LockReason - """`true` if the object is locked""" + """ + `true` if the object is locked + """ locked: Boolean! } -"""Represents a 'locked' event on a given issue or pull request.""" +""" +Represents a 'locked' event on a given issue or pull request. +""" type LockedEvent implements Node { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! id: ID! - """Reason that the conversation was locked (optional).""" + """ + Reason that the conversation was locked (optional). + """ lockReason: LockReason - """Object that was locked.""" + """ + Object that was locked. + """ lockable: Lockable! } -"""Autogenerated input type of LockLockable""" +""" +Autogenerated input type of LockLockable +""" input LockLockableInput { - """ID of the issue or pull request to be locked.""" + """ + ID of the issue or pull request to be locked. + """ lockableId: ID! - """A reason for why the issue or pull request will be locked.""" + """ + A reason for why the issue or pull request will be locked. + """ lockReason: LockReason - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of LockLockable""" +""" +Autogenerated return type of LockLockable +""" type LockLockablePayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The item that was locked.""" + """ + The item that was locked. + """ lockedRecord: Lockable } -"""The possible reasons that an issue or pull request was locked.""" +""" +The possible reasons that an issue or pull request was locked. +""" enum LockReason { """ The issue or pull request was locked because the conversation was off-topic. @@ -4844,37 +7446,59 @@ enum LockReason { SPAM } -"""A placeholder user for attribution of imported data on GitHub.""" +""" +A placeholder user for attribution of imported data on GitHub. +""" type Mannequin implements Node & Actor & UniformResourceLocatable { - """A URL pointing to the GitHub App's public avatar.""" + """ + A URL pointing to the GitHub App's public avatar. + """ avatarUrl( - """The size of the resulting square image.""" + """ + The size of the resulting square image. + """ size: Int ): URI! - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """Identifies the primary key from the database.""" + """ + Identifies the primary key from the database. + """ databaseId: Int id: ID! - """The username of the actor.""" + """ + The username of the actor. + """ login: String! - """The HTML path to this resource.""" + """ + The HTML path to this resource. + """ resourcePath: URI! - """Identifies the date and time when the object was last updated.""" + """ + Identifies the date and time when the object was last updated. + """ updatedAt: DateTime! - """The URL to this resource.""" + """ + The URL to this resource. + """ url: URI! } -"""A public description of a Marketplace category.""" +""" +A public description of a Marketplace category. +""" type MarketplaceCategory implements Node { - """The category's description.""" + """ + The category's description. + """ description: String """ @@ -4883,31 +7507,49 @@ type MarketplaceCategory implements Node { howItWorks: String id: ID! - """The category's name.""" + """ + The category's name. + """ name: String! - """How many Marketplace listings have this as their primary category.""" + """ + How many Marketplace listings have this as their primary category. + """ primaryListingCount: Int! - """The HTTP path for this Marketplace category.""" + """ + The HTTP path for this Marketplace category. + """ resourcePath: URI! - """How many Marketplace listings have this as their secondary category.""" + """ + How many Marketplace listings have this as their secondary category. + """ secondaryListingCount: Int! - """The short name of the category used in its URL.""" + """ + The short name of the category used in its URL. + """ slug: String! - """The HTTP URL for this Marketplace category.""" + """ + The HTTP URL for this Marketplace category. + """ url: URI! } -"""A listing in the GitHub integration marketplace.""" +""" +A listing in the GitHub integration marketplace. +""" type MarketplaceListing implements Node { - """The GitHub App this listing represents.""" + """ + The GitHub App this listing represents. + """ app: App - """URL to the listing owner's company site.""" + """ + URL to the listing owner's company site. + """ companyUrl: URI """ @@ -4920,53 +7562,90 @@ type MarketplaceListing implements Node { """ configurationUrl: URI! - """URL to the listing's documentation.""" + """ + URL to the listing's documentation. + """ documentationUrl: URI - """The listing's detailed description.""" + """ + The listing's detailed description. + """ extendedDescription: String - """The listing's detailed description rendered to HTML.""" + """ + The listing's detailed description rendered to HTML. + """ extendedDescriptionHTML: HTML! - """The listing's introductory description.""" + """ + The listing's introductory description. + """ fullDescription: String! - """The listing's introductory description rendered to HTML.""" + """ + The listing's introductory description rendered to HTML. + """ fullDescriptionHTML: HTML! """ Whether this listing has been submitted for review from GitHub for approval to be displayed in the Marketplace. """ - hasApprovalBeenRequested: Boolean! @deprecated(reason: "`hasApprovalBeenRequested` will be removed. Use `isVerificationPendingFromDraft` instead. Removal on 2019-10-01 UTC.") + hasApprovalBeenRequested: Boolean! + @deprecated( + reason: "`hasApprovalBeenRequested` will be removed. Use `isVerificationPendingFromDraft` instead. Removal on 2019-10-01 UTC." + ) - """Does this listing have any plans with a free trial?""" + """ + Does this listing have any plans with a free trial? + """ hasPublishedFreeTrialPlans: Boolean! - """Does this listing have a terms of service link?""" + """ + Does this listing have a terms of service link? + """ hasTermsOfService: Boolean! - """A technical description of how this app works with GitHub.""" + """ + A technical description of how this app works with GitHub. + """ howItWorks: String - """The listing's technical description rendered to HTML.""" + """ + The listing's technical description rendered to HTML. + """ howItWorksHTML: HTML! id: ID! - """URL to install the product to the viewer's account or organization.""" + """ + URL to install the product to the viewer's account or organization. + """ installationUrl: URI - """Whether this listing's app has been installed for the current viewer""" + """ + Whether this listing's app has been installed for the current viewer + """ installedForViewer: Boolean! - """Whether this listing has been approved for display in the Marketplace.""" - isApproved: Boolean! @deprecated(reason: "`isApproved` will be removed. Use `isPublic` instead. Removal on 2019-10-01 UTC.") + """ + Whether this listing has been approved for display in the Marketplace. + """ + isApproved: Boolean! + @deprecated( + reason: "`isApproved` will be removed. Use `isPublic` instead. Removal on 2019-10-01 UTC." + ) - """Whether this listing has been removed from the Marketplace.""" + """ + Whether this listing has been removed from the Marketplace. + """ isArchived: Boolean! - """Whether this listing has been removed from the Marketplace.""" - isDelisted: Boolean! @deprecated(reason: "`isDelisted` will be removed. Use `isArchived` instead. Removal on 2019-10-01 UTC.") + """ + Whether this listing has been removed from the Marketplace. + """ + isDelisted: Boolean! + @deprecated( + reason: "`isDelisted` will be removed. Use `isArchived` instead. Removal on 2019-10-01 UTC." + ) """ Whether this listing is still an editable draft that has not been submitted @@ -4979,7 +7658,9 @@ type MarketplaceListing implements Node { """ isPaid: Boolean! - """Whether this listing has been approved for display in the Marketplace.""" + """ + Whether this listing has been approved for display in the Marketplace. + """ isPublic: Boolean! """ @@ -5012,16 +7693,24 @@ type MarketplaceListing implements Node { """ isVerified: Boolean! - """The hex color code, without the leading '#', for the logo background.""" + """ + The hex color code, without the leading '#', for the logo background. + """ logoBackgroundColor: String! - """URL for the listing's logo image.""" + """ + URL for the listing's logo image. + """ logoUrl( - """The size in pixels of the resulting square image.""" + """ + The size in pixels of the resulting square image. + """ size: Int = 400 ): URI - """The listing's full name.""" + """ + The listing's full name. + """ name: String! """ @@ -5029,10 +7718,14 @@ type MarketplaceListing implements Node { """ normalizedShortDescription: String! - """URL to the listing's detailed pricing.""" + """ + URL to the listing's detailed pricing. + """ pricingUrl: URI - """The category that best describes the listing.""" + """ + The category that best describes the listing. + """ primaryCategory: MarketplaceCategory! """ @@ -5040,25 +7733,39 @@ type MarketplaceListing implements Node { """ privacyPolicyUrl: URI! - """The HTTP path for the Marketplace listing.""" + """ + The HTTP path for the Marketplace listing. + """ resourcePath: URI! - """The URLs for the listing's screenshots.""" + """ + The URLs for the listing's screenshots. + """ screenshotUrls: [String]! - """An alternate category that describes the listing.""" + """ + An alternate category that describes the listing. + """ secondaryCategory: MarketplaceCategory - """The listing's very short description.""" + """ + The listing's very short description. + """ shortDescription: String! - """The short name of the listing used in its URL.""" + """ + The short name of the listing used in its URL. + """ slug: String! - """URL to the listing's status page.""" + """ + URL to the listing's status page. + """ statusUrl: URI - """An email address for support for this listing's app.""" + """ + An email address for support for this listing's app. + """ supportEmail: String """ @@ -5067,106 +7774,133 @@ type MarketplaceListing implements Node { """ supportUrl: URI! - """URL to the listing's terms of service.""" + """ + URL to the listing's terms of service. + """ termsOfServiceUrl: URI - """The HTTP URL for the Marketplace listing.""" + """ + The HTTP URL for the Marketplace listing. + """ url: URI! - """Can the current viewer add plans for this Marketplace listing.""" + """ + Can the current viewer add plans for this Marketplace listing. + """ viewerCanAddPlans: Boolean! - """Can the current viewer approve this Marketplace listing.""" + """ + Can the current viewer approve this Marketplace listing. + """ viewerCanApprove: Boolean! - """Can the current viewer delist this Marketplace listing.""" + """ + Can the current viewer delist this Marketplace listing. + """ viewerCanDelist: Boolean! - """Can the current viewer edit this Marketplace listing.""" + """ + Can the current viewer edit this Marketplace listing. + """ viewerCanEdit: Boolean! """ Can the current viewer edit the primary and secondary category of this Marketplace listing. - """ viewerCanEditCategories: Boolean! - """Can the current viewer edit the plans for this Marketplace listing.""" + """ + Can the current viewer edit the plans for this Marketplace listing. + """ viewerCanEditPlans: Boolean! """ Can the current viewer return this Marketplace listing to draft state so it becomes editable again. - """ viewerCanRedraft: Boolean! """ Can the current viewer reject this Marketplace listing by returning it to an editable draft state or rejecting it entirely. - """ viewerCanReject: Boolean! """ Can the current viewer request this listing be reviewed for display in the Marketplace as verified. - """ viewerCanRequestApproval: Boolean! """ Indicates whether the current user has an active subscription to this Marketplace listing. - """ viewerHasPurchased: Boolean! """ Indicates if the current user has purchased a subscription to this Marketplace listing for all of the organizations the user owns. - """ viewerHasPurchasedForAllOrganizations: Boolean! """ Does the current viewer role allow them to administer this Marketplace listing. - """ viewerIsListingAdmin: Boolean! } -"""Look up Marketplace Listings""" +""" +Look up Marketplace Listings +""" type MarketplaceListingConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [MarketplaceListingEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [MarketplaceListing] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type MarketplaceListingEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: MarketplaceListing } -"""Entities that have members who can set status messages.""" +""" +Entities that have members who can set status messages. +""" interface MemberStatusable { """ Get the status messages members of this entity have set that are either public or visible only to the organization. """ memberStatuses( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -5174,73 +7908,117 @@ interface MemberStatusable { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """Ordering options for user statuses returned from the connection.""" + """ + Ordering options for user statuses returned from the connection. + """ orderBy: UserStatusOrder ): UserStatusConnection! } -"""Represents a 'mentioned' event on a given issue or pull request.""" +""" +Represents a 'mentioned' event on a given issue or pull request. +""" type MentionedEvent implements Node { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """Identifies the primary key from the database.""" + """ + Identifies the primary key from the database. + """ databaseId: Int id: ID! } -"""Whether or not a PullRequest can be merged.""" +""" +Whether or not a PullRequest can be merged. +""" enum MergeableState { - """The pull request can be merged.""" + """ + The pull request can be merged. + """ MERGEABLE - """The pull request cannot be merged due to merge conflicts.""" + """ + The pull request cannot be merged due to merge conflicts. + """ CONFLICTING - """The mergeability of the pull request is still being calculated.""" + """ + The mergeability of the pull request is still being calculated. + """ UNKNOWN } -"""Represents a 'merged' event on a given pull request.""" +""" +Represents a 'merged' event on a given pull request. +""" type MergedEvent implements Node & UniformResourceLocatable { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Identifies the commit associated with the `merge` event.""" + """ + Identifies the commit associated with the `merge` event. + """ commit: Commit - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! id: ID! - """Identifies the Ref associated with the `merge` event.""" + """ + Identifies the Ref associated with the `merge` event. + """ mergeRef: Ref - """Identifies the name of the Ref associated with the `merge` event.""" + """ + Identifies the name of the Ref associated with the `merge` event. + """ mergeRefName: String! - """PullRequest referenced by event.""" + """ + PullRequest referenced by event. + """ pullRequest: PullRequest! - """The HTTP path for this merged event.""" + """ + The HTTP path for this merged event. + """ resourcePath: URI! - """The HTTP URL for this merged event.""" + """ + The HTTP URL for this merged event. + """ url: URI! } -"""Autogenerated input type of MergePullRequest""" +""" +Autogenerated input type of MergePullRequest +""" input MergePullRequestInput { - """ID of the pull request to be merged.""" + """ + ID of the pull request to be merged. + """ pullRequestId: ID! """ @@ -5258,57 +8036,89 @@ input MergePullRequestInput { """ expectedHeadOid: GitObjectID - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of MergePullRequest""" +""" +Autogenerated return type of MergePullRequest +""" type MergePullRequestPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The pull request that was merged.""" + """ + The pull request that was merged. + """ pullRequest: PullRequest } -"""Represents a Milestone object on a given repository.""" +""" +Represents a Milestone object on a given repository. +""" type Milestone implements Node & Closable & UniformResourceLocatable { """ `true` if the object is closed (definition of closed may depend on type) """ closed: Boolean! - """Identifies the date and time when the object was closed.""" + """ + Identifies the date and time when the object was closed. + """ closedAt: DateTime - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """Identifies the actor who created the milestone.""" + """ + Identifies the actor who created the milestone. + """ creator: Actor - """Identifies the description of the milestone.""" + """ + Identifies the description of the milestone. + """ description: String - """Identifies the due date of the milestone.""" + """ + Identifies the due date of the milestone. + """ dueOn: DateTime id: ID! - """A list of issues associated with the milestone.""" + """ + A list of issues associated with the milestone. + """ issues( - """Ordering options for issues returned from the connection.""" + """ + Ordering options for issues returned from the connection. + """ orderBy: IssueOrder - """A list of label names to filter the pull requests by.""" + """ + A list of label names to filter the pull requests by. + """ labels: [String!] - """A list of states to filter the issues by.""" + """ + A list of states to filter the issues by. + """ states: [IssueState!] - """Filtering options for issues returned from the connection.""" + """ + Filtering options for issues returned from the connection. + """ filterBy: IssueFilters - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -5316,34 +8126,54 @@ type Milestone implements Node & Closable & UniformResourceLocatable { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): IssueConnection! - """Identifies the number of the milestone.""" + """ + Identifies the number of the milestone. + """ number: Int! - """A list of pull requests associated with the milestone.""" + """ + A list of pull requests associated with the milestone. + """ pullRequests( - """A list of states to filter the pull requests by.""" + """ + A list of states to filter the pull requests by. + """ states: [PullRequestState!] - """A list of label names to filter the pull requests by.""" + """ + A list of label names to filter the pull requests by. + """ labels: [String!] - """The head ref name to filter the pull requests by.""" + """ + The head ref name to filter the pull requests by. + """ headRefName: String - """The base ref name to filter the pull requests by.""" + """ + The base ref name to filter the pull requests by. + """ baseRefName: String - """Ordering options for pull requests returned from the connection.""" + """ + Ordering options for pull requests returned from the connection. + """ orderBy: IssueOrder - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -5351,117 +8181,191 @@ type Milestone implements Node & Closable & UniformResourceLocatable { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): PullRequestConnection! - """The repository associated with this milestone.""" + """ + The repository associated with this milestone. + """ repository: Repository! - """The HTTP path for this milestone""" + """ + The HTTP path for this milestone + """ resourcePath: URI! - """Identifies the state of the milestone.""" + """ + Identifies the state of the milestone. + """ state: MilestoneState! - """Identifies the title of the milestone.""" + """ + Identifies the title of the milestone. + """ title: String! - """Identifies the date and time when the object was last updated.""" + """ + Identifies the date and time when the object was last updated. + """ updatedAt: DateTime! - """The HTTP URL for this milestone""" + """ + The HTTP URL for this milestone + """ url: URI! } -"""The connection type for Milestone.""" +""" +The connection type for Milestone. +""" type MilestoneConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [MilestoneEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [Milestone] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""Represents a 'milestoned' event on a given issue or pull request.""" +""" +Represents a 'milestoned' event on a given issue or pull request. +""" type MilestonedEvent implements Node { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! id: ID! - """Identifies the milestone title associated with the 'milestoned' event.""" + """ + Identifies the milestone title associated with the 'milestoned' event. + """ milestoneTitle: String! - """Object referenced by event.""" + """ + Object referenced by event. + """ subject: MilestoneItem! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type MilestoneEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: Milestone } -"""Types that can be inside a Milestone.""" +""" +Types that can be inside a Milestone. +""" union MilestoneItem = Issue | PullRequest -"""Ordering options for milestone connections.""" +""" +Ordering options for milestone connections. +""" input MilestoneOrder { - """The field to order milestones by.""" + """ + The field to order milestones by. + """ field: MilestoneOrderField! - """The ordering direction.""" + """ + The ordering direction. + """ direction: OrderDirection! } -"""Properties by which milestone connections can be ordered.""" +""" +Properties by which milestone connections can be ordered. +""" enum MilestoneOrderField { - """Order milestones by when they are due.""" + """ + Order milestones by when they are due. + """ DUE_DATE - """Order milestones by when they were created.""" + """ + Order milestones by when they were created. + """ CREATED_AT - """Order milestones by when they were last updated.""" + """ + Order milestones by when they were last updated. + """ UPDATED_AT - """Order milestones by their number.""" + """ + Order milestones by their number. + """ NUMBER } -"""The possible states of a milestone.""" +""" +The possible states of a milestone. +""" enum MilestoneState { - """A milestone that is still open.""" + """ + A milestone that is still open. + """ OPEN - """A milestone that has been closed.""" + """ + A milestone that has been closed. + """ CLOSED } -"""Autogenerated input type of MinimizeComment""" +""" +Autogenerated input type of MinimizeComment +""" input MinimizeCommentInput { - """The Node ID of the subject to modify.""" + """ + The Node ID of the subject to modify. + """ subjectId: ID! - """The classification of comment""" + """ + The classification of comment + """ classifier: ReportedContentClassifiers! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } @@ -5469,23 +8373,35 @@ input MinimizeCommentInput { Represents a 'moved_columns_in_project' event on a given issue or pull request. """ type MovedColumnsInProjectEvent implements Node { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """Identifies the primary key from the database.""" + """ + Identifies the primary key from the database. + """ databaseId: Int id: ID! } -"""Autogenerated input type of MoveProjectCard""" +""" +Autogenerated input type of MoveProjectCard +""" input MoveProjectCardInput { - """The id of the card to move.""" + """ + The id of the card to move. + """ cardId: ID! - """The id of the column to move it into.""" + """ + The id of the column to move it into. + """ columnId: ID! """ @@ -5493,22 +8409,34 @@ input MoveProjectCardInput { """ afterCardId: ID - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of MoveProjectCard""" +""" +Autogenerated return type of MoveProjectCard +""" type MoveProjectCardPayload { - """The new edge of the moved card.""" + """ + The new edge of the moved card. + """ cardEdge: ProjectCardEdge - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated input type of MoveProjectColumn""" +""" +Autogenerated input type of MoveProjectColumn +""" input MoveProjectColumnInput { - """The id of the column to move.""" + """ + The id of the column to move. + """ columnId: ID! """ @@ -5516,205 +8444,379 @@ input MoveProjectColumnInput { """ afterColumnId: ID - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of MoveProjectColumn""" +""" +Autogenerated return type of MoveProjectColumn +""" type MoveProjectColumnPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The new edge of the moved column.""" + """ + The new edge of the moved column. + """ columnEdge: ProjectColumnEdge } -"""The root query for implementing GraphQL mutations.""" +""" +The root query for implementing GraphQL mutations. +""" type Mutation { - """Applies a suggested topic to the repository.""" - acceptTopicSuggestion(input: AcceptTopicSuggestionInput!): AcceptTopicSuggestionPayload + """ + Applies a suggested topic to the repository. + """ + acceptTopicSuggestion( + input: AcceptTopicSuggestionInput! + ): AcceptTopicSuggestionPayload - """Adds assignees to an assignable object.""" - addAssigneesToAssignable(input: AddAssigneesToAssignableInput!): AddAssigneesToAssignablePayload + """ + Adds assignees to an assignable object. + """ + addAssigneesToAssignable( + input: AddAssigneesToAssignableInput! + ): AddAssigneesToAssignablePayload - """Adds a comment to an Issue or Pull Request.""" + """ + Adds a comment to an Issue or Pull Request. + """ addComment(input: AddCommentInput!): AddCommentPayload - """Adds labels to a labelable object.""" - addLabelsToLabelable(input: AddLabelsToLabelableInput!): AddLabelsToLabelablePayload + """ + Adds labels to a labelable object. + """ + addLabelsToLabelable( + input: AddLabelsToLabelableInput! + ): AddLabelsToLabelablePayload """ Adds a card to a ProjectColumn. Either `contentId` or `note` must be provided but **not** both. """ addProjectCard(input: AddProjectCardInput!): AddProjectCardPayload - """Adds a column to a Project.""" + """ + Adds a column to a Project. + """ addProjectColumn(input: AddProjectColumnInput!): AddProjectColumnPayload - """Adds a review to a Pull Request.""" - addPullRequestReview(input: AddPullRequestReviewInput!): AddPullRequestReviewPayload + """ + Adds a review to a Pull Request. + """ + addPullRequestReview( + input: AddPullRequestReviewInput! + ): AddPullRequestReviewPayload - """Adds a comment to a review.""" - addPullRequestReviewComment(input: AddPullRequestReviewCommentInput!): AddPullRequestReviewCommentPayload + """ + Adds a comment to a review. + """ + addPullRequestReviewComment( + input: AddPullRequestReviewCommentInput! + ): AddPullRequestReviewCommentPayload - """Adds a reaction to a subject.""" + """ + Adds a reaction to a subject. + """ addReaction(input: AddReactionInput!): AddReactionPayload - """Adds a star to a Starrable.""" + """ + Adds a star to a Starrable. + """ addStar(input: AddStarInput!): AddStarPayload - """Update your status on GitHub.""" + """ + Update your status on GitHub. + """ changeUserStatus(input: ChangeUserStatusInput!): ChangeUserStatusPayload - """Clears all labels from a labelable object.""" - clearLabelsFromLabelable(input: ClearLabelsFromLabelableInput!): ClearLabelsFromLabelablePayload + """ + Clears all labels from a labelable object. + """ + clearLabelsFromLabelable( + input: ClearLabelsFromLabelableInput! + ): ClearLabelsFromLabelablePayload """ Creates a new project by cloning configuration from an existing project. """ cloneProject(input: CloneProjectInput!): CloneProjectPayload - """Close an issue.""" + """ + Close an issue. + """ closeIssue(input: CloseIssueInput!): CloseIssuePayload - """Close a pull request.""" + """ + Close a pull request. + """ closePullRequest(input: ClosePullRequestInput!): ClosePullRequestPayload """ Convert a project note card to one associated with a newly created issue. """ - convertProjectCardNoteToIssue(input: ConvertProjectCardNoteToIssueInput!): ConvertProjectCardNoteToIssuePayload + convertProjectCardNoteToIssue( + input: ConvertProjectCardNoteToIssueInput! + ): ConvertProjectCardNoteToIssuePayload - """Create a new branch protection rule""" - createBranchProtectionRule(input: CreateBranchProtectionRuleInput!): CreateBranchProtectionRulePayload + """ + Create a new branch protection rule + """ + createBranchProtectionRule( + input: CreateBranchProtectionRuleInput! + ): CreateBranchProtectionRulePayload - """Creates a new issue.""" + """ + Creates a new issue. + """ createIssue(input: CreateIssueInput!): CreateIssuePayload - """Creates a new project.""" + """ + Creates a new project. + """ createProject(input: CreateProjectInput!): CreateProjectPayload - """Create a new pull request""" + """ + Create a new pull request + """ createPullRequest(input: CreatePullRequestInput!): CreatePullRequestPayload - """Rejects a suggested topic for the repository.""" - declineTopicSuggestion(input: DeclineTopicSuggestionInput!): DeclineTopicSuggestionPayload + """ + Rejects a suggested topic for the repository. + """ + declineTopicSuggestion( + input: DeclineTopicSuggestionInput! + ): DeclineTopicSuggestionPayload - """Delete a branch protection rule""" - deleteBranchProtectionRule(input: DeleteBranchProtectionRuleInput!): DeleteBranchProtectionRulePayload + """ + Delete a branch protection rule + """ + deleteBranchProtectionRule( + input: DeleteBranchProtectionRuleInput! + ): DeleteBranchProtectionRulePayload - """Deletes an Issue object.""" + """ + Deletes an Issue object. + """ deleteIssue(input: DeleteIssueInput!): DeleteIssuePayload - """Deletes an IssueComment object.""" + """ + Deletes an IssueComment object. + """ deleteIssueComment(input: DeleteIssueCommentInput!): DeleteIssueCommentPayload - """Deletes a project.""" + """ + Deletes a project. + """ deleteProject(input: DeleteProjectInput!): DeleteProjectPayload - """Deletes a project card.""" + """ + Deletes a project card. + """ deleteProjectCard(input: DeleteProjectCardInput!): DeleteProjectCardPayload - """Deletes a project column.""" - deleteProjectColumn(input: DeleteProjectColumnInput!): DeleteProjectColumnPayload + """ + Deletes a project column. + """ + deleteProjectColumn( + input: DeleteProjectColumnInput! + ): DeleteProjectColumnPayload - """Deletes a pull request review.""" - deletePullRequestReview(input: DeletePullRequestReviewInput!): DeletePullRequestReviewPayload + """ + Deletes a pull request review. + """ + deletePullRequestReview( + input: DeletePullRequestReviewInput! + ): DeletePullRequestReviewPayload - """Deletes a pull request review comment.""" - deletePullRequestReviewComment(input: DeletePullRequestReviewCommentInput!): DeletePullRequestReviewCommentPayload + """ + Deletes a pull request review comment. + """ + deletePullRequestReviewComment( + input: DeletePullRequestReviewCommentInput! + ): DeletePullRequestReviewCommentPayload - """Dismisses an approved or rejected pull request review.""" - dismissPullRequestReview(input: DismissPullRequestReviewInput!): DismissPullRequestReviewPayload + """ + Dismisses an approved or rejected pull request review. + """ + dismissPullRequestReview( + input: DismissPullRequestReviewInput! + ): DismissPullRequestReviewPayload - """Lock a lockable object""" + """ + Lock a lockable object + """ lockLockable(input: LockLockableInput!): LockLockablePayload - """Merge a pull request.""" + """ + Merge a pull request. + """ mergePullRequest(input: MergePullRequestInput!): MergePullRequestPayload - """Moves a project card to another place.""" + """ + Moves a project card to another place. + """ moveProjectCard(input: MoveProjectCardInput!): MoveProjectCardPayload - """Moves a project column to another place.""" + """ + Moves a project column to another place. + """ moveProjectColumn(input: MoveProjectColumnInput!): MoveProjectColumnPayload - """Removes assignees from an assignable object.""" - removeAssigneesFromAssignable(input: RemoveAssigneesFromAssignableInput!): RemoveAssigneesFromAssignablePayload + """ + Removes assignees from an assignable object. + """ + removeAssigneesFromAssignable( + input: RemoveAssigneesFromAssignableInput! + ): RemoveAssigneesFromAssignablePayload - """Removes labels from a Labelable object.""" - removeLabelsFromLabelable(input: RemoveLabelsFromLabelableInput!): RemoveLabelsFromLabelablePayload + """ + Removes labels from a Labelable object. + """ + removeLabelsFromLabelable( + input: RemoveLabelsFromLabelableInput! + ): RemoveLabelsFromLabelablePayload - """Removes outside collaborator from all repositories in an organization.""" - removeOutsideCollaborator(input: RemoveOutsideCollaboratorInput!): RemoveOutsideCollaboratorPayload + """ + Removes outside collaborator from all repositories in an organization. + """ + removeOutsideCollaborator( + input: RemoveOutsideCollaboratorInput! + ): RemoveOutsideCollaboratorPayload - """Removes a reaction from a subject.""" + """ + Removes a reaction from a subject. + """ removeReaction(input: RemoveReactionInput!): RemoveReactionPayload - """Removes a star from a Starrable.""" + """ + Removes a star from a Starrable. + """ removeStar(input: RemoveStarInput!): RemoveStarPayload - """Reopen a issue.""" + """ + Reopen a issue. + """ reopenIssue(input: ReopenIssueInput!): ReopenIssuePayload - """Reopen a pull request.""" + """ + Reopen a pull request. + """ reopenPullRequest(input: ReopenPullRequestInput!): ReopenPullRequestPayload - """Set review requests on a pull request.""" + """ + Set review requests on a pull request. + """ requestReviews(input: RequestReviewsInput!): RequestReviewsPayload - """Marks a review thread as resolved.""" - resolveReviewThread(input: ResolveReviewThreadInput!): ResolveReviewThreadPayload + """ + Marks a review thread as resolved. + """ + resolveReviewThread( + input: ResolveReviewThreadInput! + ): ResolveReviewThreadPayload - """Submits a pending pull request review.""" - submitPullRequestReview(input: SubmitPullRequestReviewInput!): SubmitPullRequestReviewPayload + """ + Submits a pending pull request review. + """ + submitPullRequestReview( + input: SubmitPullRequestReviewInput! + ): SubmitPullRequestReviewPayload - """Unlock a lockable object""" + """ + Unlock a lockable object + """ unlockLockable(input: UnlockLockableInput!): UnlockLockablePayload - """Unmark an issue as a duplicate of another issue.""" - unmarkIssueAsDuplicate(input: UnmarkIssueAsDuplicateInput!): UnmarkIssueAsDuplicatePayload + """ + Unmark an issue as a duplicate of another issue. + """ + unmarkIssueAsDuplicate( + input: UnmarkIssueAsDuplicateInput! + ): UnmarkIssueAsDuplicatePayload - """Marks a review thread as unresolved.""" - unresolveReviewThread(input: UnresolveReviewThreadInput!): UnresolveReviewThreadPayload + """ + Marks a review thread as unresolved. + """ + unresolveReviewThread( + input: UnresolveReviewThreadInput! + ): UnresolveReviewThreadPayload - """Create a new branch protection rule""" - updateBranchProtectionRule(input: UpdateBranchProtectionRuleInput!): UpdateBranchProtectionRulePayload + """ + Create a new branch protection rule + """ + updateBranchProtectionRule( + input: UpdateBranchProtectionRuleInput! + ): UpdateBranchProtectionRulePayload - """Updates an Issue.""" + """ + Updates an Issue. + """ updateIssue(input: UpdateIssueInput!): UpdateIssuePayload - """Updates an IssueComment object.""" + """ + Updates an IssueComment object. + """ updateIssueComment(input: UpdateIssueCommentInput!): UpdateIssueCommentPayload - """Updates an existing project.""" + """ + Updates an existing project. + """ updateProject(input: UpdateProjectInput!): UpdateProjectPayload - """Updates an existing project card.""" + """ + Updates an existing project card. + """ updateProjectCard(input: UpdateProjectCardInput!): UpdateProjectCardPayload - """Updates an existing project column.""" - updateProjectColumn(input: UpdateProjectColumnInput!): UpdateProjectColumnPayload + """ + Updates an existing project column. + """ + updateProjectColumn( + input: UpdateProjectColumnInput! + ): UpdateProjectColumnPayload - """Update a pull request""" + """ + Update a pull request + """ updatePullRequest(input: UpdatePullRequestInput!): UpdatePullRequestPayload - """Updates the body of a pull request review.""" - updatePullRequestReview(input: UpdatePullRequestReviewInput!): UpdatePullRequestReviewPayload + """ + Updates the body of a pull request review. + """ + updatePullRequestReview( + input: UpdatePullRequestReviewInput! + ): UpdatePullRequestReviewPayload - """Updates a pull request review comment.""" - updatePullRequestReviewComment(input: UpdatePullRequestReviewCommentInput!): UpdatePullRequestReviewCommentPayload + """ + Updates a pull request review comment. + """ + updatePullRequestReviewComment( + input: UpdatePullRequestReviewCommentInput! + ): UpdatePullRequestReviewCommentPayload - """Updates the state for subscribable subjects.""" + """ + Updates the state for subscribable subjects. + """ updateSubscription(input: UpdateSubscriptionInput!): UpdateSubscriptionPayload - """Replaces the repository's topics with the given topics.""" + """ + Replaces the repository's topics with the given topics. + """ updateTopics(input: UpdateTopicsInput!): UpdateTopicsPayload } -"""An object with an ID.""" +""" +An object with an ID. +""" interface Node { - """ID of the object.""" + """ + ID of the object. + """ id: ID! } @@ -5722,10 +8824,14 @@ interface Node { Possible directions in which to order a list of items when provided an `orderBy` argument. """ enum OrderDirection { - """Specifies an ascending order for a given `orderBy` argument.""" + """ + Specifies an ascending order for a given `orderBy` argument. + """ ASC - """Specifies a descending order for a given `orderBy` argument.""" + """ + Specifies a descending order for a given `orderBy` argument. + """ DESC } @@ -5737,27 +8843,41 @@ type Organization implements Node & Actor & RegistryPackageOwner & RegistryPacka Determine if this repository owner has any items that can be pinned to their profile. """ anyPinnableItems( - """Filter to only a particular kind of pinnable item.""" + """ + Filter to only a particular kind of pinnable item. + """ type: PinnableItemType ): Boolean! - """A URL pointing to the organization's public avatar.""" + """ + A URL pointing to the organization's public avatar. + """ avatarUrl( - """The size of the resulting square image.""" + """ + The size of the resulting square image. + """ size: Int ): URI! - """Identifies the primary key from the database.""" + """ + Identifies the primary key from the database. + """ databaseId: Int - """The organization's public profile description.""" + """ + The organization's public profile description. + """ description: String - """The organization's public email.""" + """ + The organization's public email. + """ email: String id: ID! - """Whether the organization has verified its profile email and website.""" + """ + Whether the organization has verified its profile email and website. + """ isVerified: Boolean! """ @@ -5766,17 +8886,23 @@ type Organization implements Node & Actor & RegistryPackageOwner & RegistryPacka """ itemShowcase: ProfileItemShowcase! - """The organization's public profile location.""" + """ + The organization's public profile location. + """ location: String - """The organization's login name.""" + """ + The organization's login name. + """ login: String! """ Get the status messages members of this entity have set that are either public or visible only to the organization. """ memberStatuses( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -5784,19 +8910,29 @@ type Organization implements Node & Actor & RegistryPackageOwner & RegistryPacka """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """Ordering options for user statuses returned from the connection.""" + """ + Ordering options for user statuses returned from the connection. + """ orderBy: UserStatusOrder ): UserStatusConnection! - """A list of users who are members of this organization.""" + """ + A list of users who are members of this organization. + """ membersWithRole( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -5804,28 +8940,44 @@ type Organization implements Node & Actor & RegistryPackageOwner & RegistryPacka """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): OrganizationMemberConnection! - """The organization's public profile name.""" + """ + The organization's public profile name. + """ name: String - """The HTTP path creating a new team""" + """ + The HTTP path creating a new team + """ newTeamResourcePath: URI! - """The HTTP URL creating a new team""" + """ + The HTTP URL creating a new team + """ newTeamUrl: URI! - """The billing email for the organization.""" + """ + The billing email for the organization. + """ organizationBillingEmail: String - """A list of users who have been invited to join this organization.""" + """ + A list of users who have been invited to join this organization. + """ pendingMembers( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -5833,10 +8985,14 @@ type Organization implements Node & Actor & RegistryPackageOwner & RegistryPacka """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): UserConnection! @@ -5844,10 +9000,14 @@ type Organization implements Node & Actor & RegistryPackageOwner & RegistryPacka A list of repositories and gists this profile owner can pin to their profile. """ pinnableItems( - """Filter the types of pinnable items that are returned.""" + """ + Filter the types of pinnable items that are returned. + """ types: [PinnableItemType!] - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -5855,10 +9015,14 @@ type Organization implements Node & Actor & RegistryPackageOwner & RegistryPacka """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): PinnableItemConnection! @@ -5866,10 +9030,14 @@ type Organization implements Node & Actor & RegistryPackageOwner & RegistryPacka A list of repositories and gists this profile owner has pinned to their profile """ pinnedItems( - """Filter the types of pinned items that are returned.""" + """ + Filter the types of pinned items that are returned. + """ types: [PinnableItemType!] - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -5877,10 +9045,14 @@ type Organization implements Node & Actor & RegistryPackageOwner & RegistryPacka """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): PinnableItemConnection! @@ -5889,12 +9061,18 @@ type Organization implements Node & Actor & RegistryPackageOwner & RegistryPacka """ pinnedItemsRemaining: Int! - """A list of repositories this user has pinned to their profile""" + """ + A list of repositories this user has pinned to their profile + """ pinnedRepositories( - """If non-null, filters repositories according to privacy""" + """ + If non-null, filters repositories according to privacy + """ privacy: RepositoryPrivacy - """Ordering options for repositories returned from the connection""" + """ + Ordering options for repositories returned from the connection + """ orderBy: RepositoryOrder """ @@ -5916,7 +9094,9 @@ type Organization implements Node & Actor & RegistryPackageOwner & RegistryPacka """ isLocked: Boolean - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -5924,31 +9104,52 @@ type Organization implements Node & Actor & RegistryPackageOwner & RegistryPacka """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - ): RepositoryConnection! @deprecated(reason: "pinnedRepositories will be removed Use ProfileOwner.pinnedItems instead. Removal on 2019-07-01 UTC.") + ): RepositoryConnection! + @deprecated( + reason: "pinnedRepositories will be removed Use ProfileOwner.pinnedItems instead. Removal on 2019-07-01 UTC." + ) - """Find project by number.""" + """ + Find project by number. + """ project( - """The project number to find.""" + """ + The project number to find. + """ number: Int! ): Project - """A list of projects under the owner.""" + """ + A list of projects under the owner. + """ projects( - """Ordering options for projects returned from the connection""" + """ + Ordering options for projects returned from the connection + """ orderBy: ProjectOrder - """Query to search projects by, currently only searching by name.""" + """ + Query to search projects by, currently only searching by name. + """ search: String - """A list of states to filter the projects by.""" + """ + A list of states to filter the projects by. + """ states: [ProjectState!] - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -5956,25 +9157,39 @@ type Organization implements Node & Actor & RegistryPackageOwner & RegistryPacka """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): ProjectConnection! - """The HTTP path listing organization's projects""" + """ + The HTTP path listing organization's projects + """ projectsResourcePath: URI! - """The HTTP URL listing organization's projects""" + """ + The HTTP URL listing organization's projects + """ projectsUrl: URI! - """A list of repositories that the user owns.""" + """ + A list of repositories that the user owns. + """ repositories( - """If non-null, filters repositories according to privacy""" + """ + If non-null, filters repositories according to privacy + """ privacy: RepositoryPrivacy - """Ordering options for repositories returned from the connection""" + """ + Ordering options for repositories returned from the connection + """ orderBy: RepositoryOrder """ @@ -5996,7 +9211,9 @@ type Organization implements Node & Actor & RegistryPackageOwner & RegistryPacka """ isLocked: Boolean - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -6004,10 +9221,14 @@ type Organization implements Node & Actor & RegistryPackageOwner & RegistryPacka """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int """ @@ -6016,9 +9237,13 @@ type Organization implements Node & Actor & RegistryPackageOwner & RegistryPacka isFork: Boolean ): RepositoryConnection! - """Find Repository.""" + """ + Find Repository. + """ repository( - """Name of Repository to find.""" + """ + Name of Repository to find. + """ name: String! ): Repository @@ -6028,21 +9253,33 @@ type Organization implements Node & Actor & RegistryPackageOwner & RegistryPacka """ requiresTwoFactorAuthentication: Boolean - """The HTTP path for this organization.""" + """ + The HTTP path for this organization. + """ resourcePath: URI! - """The Organization's SAML identity providers""" + """ + The Organization's SAML identity providers + """ samlIdentityProvider: OrganizationIdentityProvider - """Find an organization's team by its slug.""" + """ + Find an organization's team by its slug. + """ team( - """The name or slug of the team to find.""" + """ + The name or slug of the team to find. + """ slug: String! ): Team - """A list of teams in this organization.""" + """ + A list of teams in this organization. + """ teams( - """If non-null, filters teams according to privacy""" + """ + If non-null, filters teams according to privacy + """ privacy: TeamPrivacy """ @@ -6050,13 +9287,19 @@ type Organization implements Node & Actor & RegistryPackageOwner & RegistryPacka """ role: TeamRole - """If non-null, filters teams with query on team name and team slug""" + """ + If non-null, filters teams with query on team name and team slug + """ query: String - """User logins to filter by""" + """ + User logins to filter by + """ userLogins: [String!] - """Ordering options for teams returned from the connection""" + """ + Ordering options for teams returned from the connection + """ orderBy: TeamOrder """ @@ -6064,10 +9307,14 @@ type Organization implements Node & Actor & RegistryPackageOwner & RegistryPacka """ ldapMapped: Boolean - """If true, restrict to only root teams""" + """ + If true, restrict to only root teams + """ rootTeamsOnly: Boolean = false - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -6075,65 +9322,105 @@ type Organization implements Node & Actor & RegistryPackageOwner & RegistryPacka """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): TeamConnection! - """The HTTP path listing organization's teams""" + """ + The HTTP path listing organization's teams + """ teamsResourcePath: URI! - """The HTTP URL listing organization's teams""" + """ + The HTTP URL listing organization's teams + """ teamsUrl: URI! - """The HTTP URL for this organization.""" + """ + The HTTP URL for this organization. + """ url: URI! - """Organization is adminable by the viewer.""" + """ + Organization is adminable by the viewer. + """ viewerCanAdminister: Boolean! - """Can the viewer pin repositories and gists to the profile?""" + """ + Can the viewer pin repositories and gists to the profile? + """ viewerCanChangePinnedItems: Boolean! - """Can the current viewer create new projects on this owner.""" + """ + Can the current viewer create new projects on this owner. + """ viewerCanCreateProjects: Boolean! - """Viewer can create repositories on this organization""" + """ + Viewer can create repositories on this organization + """ viewerCanCreateRepositories: Boolean! - """Viewer can create teams on this organization.""" + """ + Viewer can create teams on this organization. + """ viewerCanCreateTeams: Boolean! - """Viewer is an active member of this organization.""" + """ + Viewer is an active member of this organization. + """ viewerIsAMember: Boolean! - """The organization's public profile URL.""" + """ + The organization's public profile URL. + """ websiteUrl: URI } -"""The connection type for Organization.""" +""" +The connection type for Organization. +""" type OrganizationConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [OrganizationEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [Organization] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type OrganizationEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: Organization } @@ -6146,9 +9433,13 @@ type OrganizationIdentityProvider implements Node { """ digestMethod: URI - """External Identities provisioned by this Identity Provider""" + """ + External Identities provisioned by this Identity Provider + """ externalIdentities( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -6156,10 +9447,14 @@ type OrganizationIdentityProvider implements Node { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): ExternalIdentityConnection! id: ID! @@ -6169,10 +9464,14 @@ type OrganizationIdentityProvider implements Node { """ idpCertificate: X509Certificate - """The Issuer Entity ID for the SAML Identity Provider""" + """ + The Issuer Entity ID for the SAML Identity Provider + """ issuer: String - """Organization this Identity Provider belongs to""" + """ + Organization this Identity Provider belongs to + """ organization: Organization """ @@ -6180,101 +9479,165 @@ type OrganizationIdentityProvider implements Node { """ signatureMethod: URI - """The URL endpoint for the Identity Provider's SAML SSO.""" + """ + The URL endpoint for the Identity Provider's SAML SSO. + """ ssoUrl: URI } -"""An Invitation for a user to an organization.""" +""" +An Invitation for a user to an organization. +""" type OrganizationInvitation implements Node { - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """The email address of the user invited to the organization.""" + """ + The email address of the user invited to the organization. + """ email: String id: ID! - """The type of invitation that was sent (e.g. email, user).""" + """ + The type of invitation that was sent (e.g. email, user). + """ invitationType: OrganizationInvitationType! - """The user who was invited to the organization.""" + """ + The user who was invited to the organization. + """ invitee: User - """The user who created the invitation.""" + """ + The user who created the invitation. + """ inviter: User! - """The organization the invite is for""" + """ + The organization the invite is for + """ organization: Organization! - """The user's pending role in the organization (e.g. member, owner).""" + """ + The user's pending role in the organization (e.g. member, owner). + """ role: OrganizationInvitationRole! } -"""The connection type for OrganizationInvitation.""" +""" +The connection type for OrganizationInvitation. +""" type OrganizationInvitationConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [OrganizationInvitationEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [OrganizationInvitation] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type OrganizationInvitationEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: OrganizationInvitation } -"""The possible organization invitation roles.""" +""" +The possible organization invitation roles. +""" enum OrganizationInvitationRole { - """The user is invited to be a direct member of the organization.""" + """ + The user is invited to be a direct member of the organization. + """ DIRECT_MEMBER - """The user is invited to be an admin of the organization.""" + """ + The user is invited to be an admin of the organization. + """ ADMIN - """The user is invited to be a billing manager of the organization.""" + """ + The user is invited to be a billing manager of the organization. + """ BILLING_MANAGER - """The user's previous role will be reinstated.""" + """ + The user's previous role will be reinstated. + """ REINSTATE } -"""The possible organization invitation types.""" +""" +The possible organization invitation types. +""" enum OrganizationInvitationType { - """The invitation was to an existing user.""" + """ + The invitation was to an existing user. + """ USER - """The invitation was to an email address.""" + """ + The invitation was to an email address. + """ EMAIL } -"""The connection type for User.""" +""" +The connection type for User. +""" type OrganizationMemberConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [OrganizationMemberEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [User] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""Represents a user within an organization.""" +""" +Represents a user within an organization. +""" type OrganizationMemberEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! """ @@ -6282,110 +9645,180 @@ type OrganizationMemberEdge { """ hasTwoFactorEnabled: Boolean - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: User - """The role this user has in the organization.""" + """ + The role this user has in the organization. + """ role: OrganizationMemberRole } -"""The possible roles within an organization for its members.""" +""" +The possible roles within an organization for its members. +""" enum OrganizationMemberRole { - """The user is a member of the organization.""" + """ + The user is a member of the organization. + """ MEMBER - """The user is an administrator of the organization.""" + """ + The user is an administrator of the organization. + """ ADMIN } -"""Information about pagination in a connection.""" +""" +Information about pagination in a connection. +""" type PageInfo { - """When paginating forwards, the cursor to continue.""" + """ + When paginating forwards, the cursor to continue. + """ endCursor: String - """When paginating forwards, are there more items?""" + """ + When paginating forwards, are there more items? + """ hasNextPage: Boolean! - """When paginating backwards, are there more items?""" + """ + When paginating backwards, are there more items? + """ hasPreviousPage: Boolean! - """When paginating backwards, the cursor to continue.""" + """ + When paginating backwards, the cursor to continue. + """ startCursor: String } -"""Types that can grant permissions on a repository to a user""" +""" +Types that can grant permissions on a repository to a user +""" union PermissionGranter = Organization | Repository | Team -"""A level of permission and source for a user's access to a repository.""" +""" +A level of permission and source for a user's access to a repository. +""" type PermissionSource { - """The organization the repository belongs to.""" + """ + The organization the repository belongs to. + """ organization: Organization! - """The level of access this source has granted to the user.""" + """ + The level of access this source has granted to the user. + """ permission: DefaultRepositoryPermissionField! - """The source of this permission.""" + """ + The source of this permission. + """ source: PermissionGranter! } -"""Autogenerated input type of PinIssue""" +""" +Autogenerated input type of PinIssue +""" input PinIssueInput { - """The ID of the issue to be pinned""" + """ + The ID of the issue to be pinned + """ issueId: ID! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Types that can be pinned to a profile page.""" +""" +Types that can be pinned to a profile page. +""" union PinnableItem = Gist | Repository -"""The connection type for PinnableItem.""" +""" +The connection type for PinnableItem. +""" type PinnableItemConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [PinnableItemEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [PinnableItem] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type PinnableItemEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: PinnableItem } -"""Represents items that can be pinned to a profile page or dashboard.""" +""" +Represents items that can be pinned to a profile page or dashboard. +""" enum PinnableItemType { - """A repository.""" + """ + A repository. + """ REPOSITORY - """A gist.""" + """ + A gist. + """ GIST - """An issue.""" + """ + An issue. + """ ISSUE } -"""Represents a 'pinned' event on a given issue or pull request.""" +""" +Represents a 'pinned' event on a given issue or pull request. +""" type PinnedEvent implements Node { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! id: ID! - """Identifies the issue associated with the event.""" + """ + Identifies the issue associated with the event. + """ issue: Issue! } @@ -6394,7 +9827,9 @@ A curatable list of repositories relating to a repository owner, which defaults to showing the most popular repositories they own. """ type ProfileItemShowcase { - """Whether or not the owner has pinned any repositories or gists.""" + """ + Whether or not the owner has pinned any repositories or gists. + """ hasPinnedItems: Boolean! """ @@ -6403,7 +9838,9 @@ type ProfileItemShowcase { repositories will be returned. """ items( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -6411,25 +9848,35 @@ type ProfileItemShowcase { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): PinnableItemConnection! } -"""Represents any entity on GitHub that has a profile page.""" +""" +Represents any entity on GitHub that has a profile page. +""" interface ProfileOwner { """ Determine if this repository owner has any items that can be pinned to their profile. """ anyPinnableItems( - """Filter to only a particular kind of pinnable item.""" + """ + Filter to only a particular kind of pinnable item. + """ type: PinnableItemType ): Boolean! - """The public profile email.""" + """ + The public profile email. + """ email: String id: ID! @@ -6439,23 +9886,33 @@ interface ProfileOwner { """ itemShowcase: ProfileItemShowcase! - """The public profile location.""" + """ + The public profile location. + """ location: String - """The username used to login.""" + """ + The username used to login. + """ login: String! - """The public profile name.""" + """ + The public profile name. + """ name: String """ A list of repositories and gists this profile owner can pin to their profile. """ pinnableItems( - """Filter the types of pinnable items that are returned.""" + """ + Filter the types of pinnable items that are returned. + """ types: [PinnableItemType!] - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -6463,10 +9920,14 @@ interface ProfileOwner { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): PinnableItemConnection! @@ -6474,10 +9935,14 @@ interface ProfileOwner { A list of repositories and gists this profile owner has pinned to their profile """ pinnedItems( - """Filter the types of pinned items that are returned.""" + """ + Filter the types of pinned items that are returned. + """ types: [PinnableItemType!] - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -6485,10 +9950,14 @@ interface ProfileOwner { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): PinnableItemConnection! @@ -6497,10 +9966,14 @@ interface ProfileOwner { """ pinnedItemsRemaining: Int! - """Can the viewer pin repositories and gists to the profile?""" + """ + Can the viewer pin repositories and gists to the profile? + """ viewerCanChangePinnedItems: Boolean! - """The public profile website URL.""" + """ + The public profile website URL. + """ websiteUrl: URI } @@ -6508,10 +9981,14 @@ interface ProfileOwner { Projects manage issues, pull requests and notes within a project owner. """ type Project implements Node & Closable & Updatable { - """The project's description body.""" + """ + The project's description body. + """ body: String - """The projects description body rendered to HTML.""" + """ + The projects description body rendered to HTML. + """ bodyHTML: HTML! """ @@ -6519,12 +9996,18 @@ type Project implements Node & Closable & Updatable { """ closed: Boolean! - """Identifies the date and time when the object was closed.""" + """ + Identifies the date and time when the object was closed. + """ closedAt: DateTime - """List of columns in the project""" + """ + List of columns in the project + """ columns( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -6532,27 +10015,41 @@ type Project implements Node & Closable & Updatable { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): ProjectColumnConnection! - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """The actor who originally created the project.""" + """ + The actor who originally created the project. + """ creator: Actor - """Identifies the primary key from the database.""" + """ + Identifies the primary key from the database. + """ databaseId: Int id: ID! - """The project's name.""" + """ + The project's name. + """ name: String! - """The project's number.""" + """ + The project's number. + """ number: Int! """ @@ -6560,9 +10057,13 @@ type Project implements Node & Closable & Updatable { """ owner: ProjectOwner! - """List of pending cards in this project""" + """ + List of pending cards in this project + """ pendingCards( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -6570,140 +10071,223 @@ type Project implements Node & Closable & Updatable { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """A list of archived states to filter the cards by""" + """ + A list of archived states to filter the cards by + """ archivedStates: [ProjectCardArchivedState] ): ProjectCardConnection! - """The HTTP path for this project""" + """ + The HTTP path for this project + """ resourcePath: URI! - """Whether the project is open or closed.""" + """ + Whether the project is open or closed. + """ state: ProjectState! - """Identifies the date and time when the object was last updated.""" + """ + Identifies the date and time when the object was last updated. + """ updatedAt: DateTime! - """The HTTP URL for this project""" + """ + The HTTP URL for this project + """ url: URI! - """Check if the current viewer can update this object.""" + """ + Check if the current viewer can update this object. + """ viewerCanUpdate: Boolean! } -"""A card in a project.""" +""" +A card in a project. +""" type ProjectCard implements Node { """ The project column this card is associated under. A card may only belong to one project column at a time. The column field will be null if the card is created in a pending state and has yet to be associated with a column. Once cards are associated with a column, they will not become pending in the future. - """ column: ProjectColumn - """The card content item""" + """ + The card content item + """ content: ProjectCardItem - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """The actor who created this card""" + """ + The actor who created this card + """ creator: Actor - """Identifies the primary key from the database.""" + """ + Identifies the primary key from the database. + """ databaseId: Int id: ID! - """Whether the card is archived""" + """ + Whether the card is archived + """ isArchived: Boolean! - """The card note""" + """ + The card note + """ note: String - """The project that contains this card.""" + """ + The project that contains this card. + """ project: Project! - """The HTTP path for this card""" + """ + The HTTP path for this card + """ resourcePath: URI! - """The state of ProjectCard""" + """ + The state of ProjectCard + """ state: ProjectCardState - """Identifies the date and time when the object was last updated.""" + """ + Identifies the date and time when the object was last updated. + """ updatedAt: DateTime! - """The HTTP URL for this card""" + """ + The HTTP URL for this card + """ url: URI! } -"""The possible archived states of a project card.""" +""" +The possible archived states of a project card. +""" enum ProjectCardArchivedState { - """A project card that is archived""" + """ + A project card that is archived + """ ARCHIVED - """A project card that is not archived""" + """ + A project card that is not archived + """ NOT_ARCHIVED } -"""The connection type for ProjectCard.""" +""" +The connection type for ProjectCard. +""" type ProjectCardConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [ProjectCardEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [ProjectCard] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type ProjectCardEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: ProjectCard } -"""An issue or PR and its owning repository to be used in a project card.""" +""" +An issue or PR and its owning repository to be used in a project card. +""" input ProjectCardImport { - """Repository name with owner (owner/repository).""" + """ + Repository name with owner (owner/repository). + """ repository: String! - """The issue or pull request number.""" + """ + The issue or pull request number. + """ number: Int! } -"""Types that can be inside Project Cards.""" +""" +Types that can be inside Project Cards. +""" union ProjectCardItem = Issue | PullRequest -"""Various content states of a ProjectCard""" +""" +Various content states of a ProjectCard +""" enum ProjectCardState { - """The card has content only.""" + """ + The card has content only. + """ CONTENT_ONLY - """The card has a note only.""" + """ + The card has a note only. + """ NOTE_ONLY - """The card is redacted.""" + """ + The card is redacted. + """ REDACTED } -"""A column inside a project.""" +""" +A column inside a project. +""" type ProjectColumn implements Node { - """List of cards in the column""" + """ + List of cards in the column + """ cards( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -6711,157 +10295,257 @@ type ProjectColumn implements Node { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """A list of archived states to filter the cards by""" + """ + A list of archived states to filter the cards by + """ archivedStates: [ProjectCardArchivedState] ): ProjectCardConnection! - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """Identifies the primary key from the database.""" + """ + Identifies the primary key from the database. + """ databaseId: Int id: ID! - """The project column's name.""" + """ + The project column's name. + """ name: String! - """The project that contains this column.""" + """ + The project that contains this column. + """ project: Project! - """The semantic purpose of the column""" + """ + The semantic purpose of the column + """ purpose: ProjectColumnPurpose - """The HTTP path for this project column""" + """ + The HTTP path for this project column + """ resourcePath: URI! - """Identifies the date and time when the object was last updated.""" + """ + Identifies the date and time when the object was last updated. + """ updatedAt: DateTime! - """The HTTP URL for this project column""" + """ + The HTTP URL for this project column + """ url: URI! } -"""The connection type for ProjectColumn.""" +""" +The connection type for ProjectColumn. +""" type ProjectColumnConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [ProjectColumnEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [ProjectColumn] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type ProjectColumnEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: ProjectColumn } -"""A project column and a list of its issues and PRs.""" +""" +A project column and a list of its issues and PRs. +""" input ProjectColumnImport { - """The name of the column.""" + """ + The name of the column. + """ columnName: String! - """The position of the column, starting from 0.""" + """ + The position of the column, starting from 0. + """ position: Int! - """A list of issues and pull requests in the column.""" + """ + A list of issues and pull requests in the column. + """ issues: [ProjectCardImport!] } -"""The semantic purpose of the column - todo, in progress, or done.""" +""" +The semantic purpose of the column - todo, in progress, or done. +""" enum ProjectColumnPurpose { - """The column contains cards still to be worked on""" + """ + The column contains cards still to be worked on + """ TODO - """The column contains cards which are currently being worked on""" + """ + The column contains cards which are currently being worked on + """ IN_PROGRESS - """The column contains cards which are complete""" + """ + The column contains cards which are complete + """ DONE } -"""A list of projects associated with the owner.""" +""" +A list of projects associated with the owner. +""" type ProjectConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [ProjectEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [Project] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type ProjectEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: Project } -"""Ways in which lists of projects can be ordered upon return.""" +""" +Ways in which lists of projects can be ordered upon return. +""" input ProjectOrder { - """The field in which to order projects by.""" + """ + The field in which to order projects by. + """ field: ProjectOrderField! - """The direction in which to order projects by the specified field.""" + """ + The direction in which to order projects by the specified field. + """ direction: OrderDirection! } -"""Properties by which project connections can be ordered.""" +""" +Properties by which project connections can be ordered. +""" enum ProjectOrderField { - """Order projects by creation time""" + """ + Order projects by creation time + """ CREATED_AT - """Order projects by update time""" + """ + Order projects by update time + """ UPDATED_AT - """Order projects by name""" + """ + Order projects by name + """ NAME } -"""Represents an owner of a Project.""" +""" +Represents an owner of a Project. +""" interface ProjectOwner { id: ID! - """Find project by number.""" + """ + Find project by number. + """ project( - """The project number to find.""" + """ + The project number to find. + """ number: Int! ): Project - """A list of projects under the owner.""" + """ + A list of projects under the owner. + """ projects( - """Ordering options for projects returned from the connection""" + """ + Ordering options for projects returned from the connection + """ orderBy: ProjectOrder - """Query to search projects by, currently only searching by name.""" + """ + Query to search projects by, currently only searching by name. + """ search: String - """A list of states to filter the projects by.""" + """ + A list of states to filter the projects by. + """ states: [ProjectState!] - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -6869,89 +10553,145 @@ interface ProjectOwner { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): ProjectConnection! - """The HTTP path listing owners projects""" + """ + The HTTP path listing owners projects + """ projectsResourcePath: URI! - """The HTTP URL listing owners projects""" + """ + The HTTP URL listing owners projects + """ projectsUrl: URI! - """Can the current viewer create new projects on this owner.""" + """ + Can the current viewer create new projects on this owner. + """ viewerCanCreateProjects: Boolean! } -"""State of the project; either 'open' or 'closed'""" +""" +State of the project; either 'open' or 'closed' +""" enum ProjectState { - """The project is open.""" + """ + The project is open. + """ OPEN - """The project is closed.""" + """ + The project is closed. + """ CLOSED } -"""A user's public key.""" +""" +A user's public key. +""" type PublicKey implements Node { - """The last time this authorization was used to perform an action""" + """ + The last time this authorization was used to perform an action + """ accessedAt: DateTime - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """The fingerprint for this PublicKey""" + """ + The fingerprint for this PublicKey + """ fingerprint: String id: ID! - """Whether this PublicKey is read-only or not""" + """ + Whether this PublicKey is read-only or not + """ isReadOnly: Boolean! - """The public key string""" + """ + The public key string + """ key: String! - """Identifies the date and time when the object was last updated.""" + """ + Identifies the date and time when the object was last updated. + """ updatedAt: DateTime! } -"""The connection type for PublicKey.""" +""" +The connection type for PublicKey. +""" type PublicKeyConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [PublicKeyEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [PublicKey] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type PublicKeyEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: PublicKey } -"""A repository pull request.""" +""" +A repository pull request. +""" type PullRequest implements Node & Assignable & Closable & Comment & Updatable & UpdatableComment & Labelable & Lockable & Reactable & RepositoryNode & Subscribable & UniformResourceLocatable { - """Reason that the conversation was locked.""" + """ + Reason that the conversation was locked. + """ activeLockReason: LockReason - """The number of additions in this pull request.""" + """ + The number of additions in this pull request. + """ additions: Int! - """A list of Users assigned to this object.""" + """ + A list of Users assigned to this object. + """ assignees( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -6959,20 +10699,30 @@ type PullRequest implements Node & Assignable & Closable & Comment & Updatable & """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): UserConnection! - """The actor who authored the comment.""" + """ + The actor who authored the comment. + """ author: Actor - """Author's association with the subject of the comment.""" + """ + Author's association with the subject of the comment. + """ authorAssociation: CommentAuthorAssociation! - """Identifies the base Ref associated with the pull request.""" + """ + Identifies the base Ref associated with the pull request. + """ baseRef: Ref """ @@ -6985,30 +10735,48 @@ type PullRequest implements Node & Assignable & Closable & Comment & Updatable & """ baseRefOid: GitObjectID! - """The repository associated with this pull request's base Ref.""" + """ + The repository associated with this pull request's base Ref. + """ baseRepository: Repository - """The body as Markdown.""" + """ + The body as Markdown. + """ body: String! - """The body rendered to HTML.""" + """ + The body rendered to HTML. + """ bodyHTML: HTML! - """The body rendered to text.""" + """ + The body rendered to text. + """ bodyText: String! - """The number of changed files in this pull request.""" + """ + The number of changed files in this pull request. + """ changedFiles: Int! - """`true` if the pull request is closed""" + """ + `true` if the pull request is closed + """ closed: Boolean! - """Identifies the date and time when the object was closed.""" + """ + Identifies the date and time when the object was closed. + """ closedAt: DateTime - """A list of comments associated with the pull request.""" + """ + A list of comments associated with the pull request. + """ comments( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -7016,10 +10784,14 @@ type PullRequest implements Node & Assignable & Closable & Comment & Updatable & """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): IssueCommentConnection! @@ -7027,7 +10799,9 @@ type PullRequest implements Node & Assignable & Closable & Comment & Updatable & A list of commits present in this pull request's head branch not present in the base branch. """ commits( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -7035,31 +10809,49 @@ type PullRequest implements Node & Assignable & Closable & Comment & Updatable & """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): PullRequestCommitConnection! - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """Check if this comment was created via an email reply.""" + """ + Check if this comment was created via an email reply. + """ createdViaEmail: Boolean! - """Identifies the primary key from the database.""" + """ + Identifies the primary key from the database. + """ databaseId: Int - """The number of deletions in this pull request.""" + """ + The number of deletions in this pull request. + """ deletions: Int! - """The actor who edited this pull request's body.""" + """ + The actor who edited this pull request's body. + """ editor: Actor - """Lists the files changed within this pull request.""" + """ + Lists the files changed within this pull request. + """ files( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -7067,14 +10859,20 @@ type PullRequest implements Node & Assignable & Closable & Comment & Updatable & """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): PullRequestChangedFileConnection - """Identifies the head Ref associated with the pull request.""" + """ + Identifies the head Ref associated with the pull request. + """ headRef: Ref """ @@ -7087,7 +10885,9 @@ type PullRequest implements Node & Assignable & Closable & Comment & Updatable & """ headRefOid: GitObjectID! - """The repository associated with this pull request's head Ref.""" + """ + The repository associated with this pull request's head Ref. + """ headRepository: Repository """ @@ -7101,12 +10901,18 @@ type PullRequest implements Node & Assignable & Closable & Comment & Updatable & """ includesCreatedEdit: Boolean! - """The head and base repositories are different.""" + """ + The head and base repositories are different. + """ isCrossRepository: Boolean! - """A list of labels associated with the object.""" + """ + A list of labels associated with the object. + """ labels( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -7114,23 +10920,35 @@ type PullRequest implements Node & Assignable & Closable & Comment & Updatable & """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): LabelConnection - """The moment the editor made the last edit""" + """ + The moment the editor made the last edit + """ lastEditedAt: DateTime - """`true` if the pull request is locked""" + """ + `true` if the pull request is locked + """ locked: Boolean! - """Indicates whether maintainers can modify the pull request.""" + """ + Indicates whether maintainers can modify the pull request. + """ maintainerCanModify: Boolean! - """The commit that was created when this pull request was merged.""" + """ + The commit that was created when this pull request was merged. + """ mergeCommit: Commit """ @@ -7138,26 +10956,38 @@ type PullRequest implements Node & Assignable & Closable & Comment & Updatable & """ mergeable: MergeableState! - """Whether or not the pull request was merged.""" + """ + Whether or not the pull request was merged. + """ merged: Boolean! - """The date and time that the pull request was merged.""" + """ + The date and time that the pull request was merged. + """ mergedAt: DateTime - """The actor who merged the pull request.""" + """ + The actor who merged the pull request. + """ mergedBy: Actor - """Identifies the milestone associated with the pull request.""" + """ + Identifies the milestone associated with the pull request. + """ milestone: Milestone - """Identifies the pull request number.""" + """ + Identifies the pull request number. + """ number: Int! """ A list of Users that are participating in the Pull Request conversation. """ participants( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -7165,14 +10995,20 @@ type PullRequest implements Node & Assignable & Closable & Comment & Updatable & """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): UserConnection! - """The permalink to the pull request.""" + """ + The permalink to the pull request. + """ permalink: URI! """ @@ -7183,9 +11019,13 @@ type PullRequest implements Node & Assignable & Closable & Comment & Updatable & """ potentialMergeCommit: Commit - """List of project cards associated with this pull request.""" + """ + List of project cards associated with this pull request. + """ projectCards( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -7193,25 +11033,39 @@ type PullRequest implements Node & Assignable & Closable & Comment & Updatable & """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """A list of archived states to filter the cards by""" + """ + A list of archived states to filter the cards by + """ archivedStates: [ProjectCardArchivedState] ): ProjectCardConnection! - """Identifies when the comment was published at.""" + """ + Identifies when the comment was published at. + """ publishedAt: DateTime - """A list of reactions grouped by content left on the subject.""" + """ + A list of reactions grouped by content left on the subject. + """ reactionGroups: [ReactionGroup!] - """A list of Reactions left on the Issue.""" + """ + A list of Reactions left on the Issue. + """ reactions( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -7219,34 +11073,54 @@ type PullRequest implements Node & Assignable & Closable & Comment & Updatable & """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """Allows filtering Reactions by emoji.""" + """ + Allows filtering Reactions by emoji. + """ content: ReactionContent - """Allows specifying the order in which reactions are returned.""" + """ + Allows specifying the order in which reactions are returned. + """ orderBy: ReactionOrder ): ReactionConnection! - """The repository associated with this node.""" + """ + The repository associated with this node. + """ repository: Repository! - """The HTTP path for this pull request.""" + """ + The HTTP path for this pull request. + """ resourcePath: URI! - """The HTTP path for reverting this pull request.""" + """ + The HTTP path for reverting this pull request. + """ revertResourcePath: URI! - """The HTTP URL for reverting this pull request.""" + """ + The HTTP URL for reverting this pull request. + """ revertUrl: URI! - """A list of review requests associated with the pull request.""" + """ + A list of review requests associated with the pull request. + """ reviewRequests( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -7254,16 +11128,24 @@ type PullRequest implements Node & Assignable & Closable & Comment & Updatable & """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): ReviewRequestConnection - """The list of all review threads for this pull request.""" + """ + The list of all review threads for this pull request. + """ reviewThreads( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -7271,16 +11153,24 @@ type PullRequest implements Node & Assignable & Closable & Comment & Updatable & """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): PullRequestReviewThreadConnection! - """A list of reviews associated with the pull request.""" + """ + A list of reviews associated with the pull request. + """ reviews( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -7288,20 +11178,30 @@ type PullRequest implements Node & Assignable & Closable & Comment & Updatable & """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """A list of states to filter the reviews.""" + """ + A list of states to filter the reviews. + """ states: [PullRequestReviewState!] - """Filter by author of the review.""" + """ + Filter by author of the review. + """ author: String ): PullRequestReviewConnection - """Identifies the state of the pull request.""" + """ + Identifies the state of the pull request. + """ state: PullRequestState! """ @@ -7313,10 +11213,14 @@ type PullRequest implements Node & Assignable & Closable & Comment & Updatable & A list of events, comments, commits, etc. associated with the pull request. """ timeline( - """Allows filtering timeline events by a `since` timestamp.""" + """ + Allows filtering timeline events by a `since` timestamp. + """ since: DateTime - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -7324,10 +11228,14 @@ type PullRequest implements Node & Assignable & Closable & Comment & Updatable & """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): PullRequestTimelineConnection! @@ -7335,16 +11243,24 @@ type PullRequest implements Node & Assignable & Closable & Comment & Updatable & A list of events, comments, commits, etc. associated with the pull request. """ timelineItems( - """Filter timeline items by a `since` timestamp.""" + """ + Filter timeline items by a `since` timestamp. + """ since: DateTime - """Skips the first _n_ elements in the list.""" + """ + Skips the first _n_ elements in the list. + """ skip: Int - """Filter timeline items by type.""" + """ + Filter timeline items by type. + """ itemTypes: [PullRequestTimelineItemsItemType!] - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -7352,25 +11268,39 @@ type PullRequest implements Node & Assignable & Closable & Comment & Updatable & """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): PullRequestTimelineItemsConnection! - """Identifies the pull request title.""" + """ + Identifies the pull request title. + """ title: String! - """Identifies the date and time when the object was last updated.""" + """ + Identifies the date and time when the object was last updated. + """ updatedAt: DateTime! - """The HTTP URL for this pull request.""" + """ + The HTTP URL for this pull request. + """ url: URI! - """A list of edits to this content.""" + """ + A list of edits to this content. + """ userContentEdits( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -7378,17 +11308,25 @@ type PullRequest implements Node & Assignable & Closable & Comment & Updatable & """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): UserContentEditConnection - """Whether or not the viewer can apply suggestion.""" + """ + Whether or not the viewer can apply suggestion. + """ viewerCanApplySuggestion: Boolean! - """Can user react to this subject""" + """ + Can user react to this subject + """ viewerCanReact: Boolean! """ @@ -7396,13 +11334,19 @@ type PullRequest implements Node & Assignable & Closable & Comment & Updatable & """ viewerCanSubscribe: Boolean! - """Check if the current viewer can update this object.""" + """ + Check if the current viewer can update this object. + """ viewerCanUpdate: Boolean! - """Reasons why the current viewer can not update this comment.""" + """ + Reasons why the current viewer can not update this comment. + """ viewerCannotUpdateReasons: [CommentCannotUpdateReason!]! - """Did the viewer author this comment.""" + """ + Did the viewer author this comment. + """ viewerDidAuthor: Boolean! """ @@ -7411,63 +11355,103 @@ type PullRequest implements Node & Assignable & Closable & Comment & Updatable & viewerSubscription: SubscriptionState } -"""A file changed in a pull request.""" +""" +A file changed in a pull request. +""" type PullRequestChangedFile { - """The number of additions to the file.""" + """ + The number of additions to the file. + """ additions: Int! - """The number of deletions to the file.""" + """ + The number of deletions to the file. + """ deletions: Int! - """The path of the file.""" + """ + The path of the file. + """ path: String! } -"""The connection type for PullRequestChangedFile.""" +""" +The connection type for PullRequestChangedFile. +""" type PullRequestChangedFileConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [PullRequestChangedFileEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [PullRequestChangedFile] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type PullRequestChangedFileEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: PullRequestChangedFile } -"""Represents a Git commit part of a pull request.""" +""" +Represents a Git commit part of a pull request. +""" type PullRequestCommit implements Node & UniformResourceLocatable { - """The Git commit object""" + """ + The Git commit object + """ commit: Commit! id: ID! - """The pull request this commit belongs to""" + """ + The pull request this commit belongs to + """ pullRequest: PullRequest! - """The HTTP path for this pull request commit""" + """ + The HTTP path for this pull request commit + """ resourcePath: URI! - """The HTTP URL for this pull request commit""" + """ + The HTTP URL for this pull request commit + """ url: URI! } -"""Represents a commit comment thread part of a pull request.""" +""" +Represents a commit comment thread part of a pull request. +""" type PullRequestCommitCommentThread implements Node & RepositoryNode { - """The comments that exist in this thread.""" + """ + The comments that exist in this thread. + """ comments( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -7475,74 +11459,120 @@ type PullRequestCommitCommentThread implements Node & RepositoryNode { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): CommitCommentConnection! - """The commit the comments were made on.""" + """ + The commit the comments were made on. + """ commit: Commit! id: ID! - """The file the comments were made on.""" + """ + The file the comments were made on. + """ path: String - """The position in the diff for the commit that the comment was made on.""" + """ + The position in the diff for the commit that the comment was made on. + """ position: Int - """The pull request this commit comment thread belongs to""" + """ + The pull request this commit comment thread belongs to + """ pullRequest: PullRequest! - """The repository associated with this node.""" + """ + The repository associated with this node. + """ repository: Repository! } -"""The connection type for PullRequestCommit.""" +""" +The connection type for PullRequestCommit. +""" type PullRequestCommitConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [PullRequestCommitEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [PullRequestCommit] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type PullRequestCommitEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: PullRequestCommit } -"""The connection type for PullRequest.""" +""" +The connection type for PullRequest. +""" type PullRequestConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [PullRequestEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [PullRequest] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""This aggregates pull requests opened by a user within one repository.""" +""" +This aggregates pull requests opened by a user within one repository. +""" type PullRequestContributionsByRepository { - """The pull request contributions.""" + """ + The pull request contributions. + """ contributions( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -7550,85 +11580,139 @@ type PullRequestContributionsByRepository { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """Ordering options for contributions returned from the connection.""" + """ + Ordering options for contributions returned from the connection. + """ orderBy: ContributionOrder ): CreatedPullRequestContributionConnection! - """The repository in which the pull requests were opened.""" + """ + The repository in which the pull requests were opened. + """ repository: Repository! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type PullRequestEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: PullRequest } -"""Ways in which lists of issues can be ordered upon return.""" +""" +Ways in which lists of issues can be ordered upon return. +""" input PullRequestOrder { - """The field in which to order pull requests by.""" + """ + The field in which to order pull requests by. + """ field: PullRequestOrderField! - """The direction in which to order pull requests by the specified field.""" + """ + The direction in which to order pull requests by the specified field. + """ direction: OrderDirection! } -"""Properties by which pull_requests connections can be ordered.""" +""" +Properties by which pull_requests connections can be ordered. +""" enum PullRequestOrderField { - """Order pull_requests by creation time""" + """ + Order pull_requests by creation time + """ CREATED_AT - """Order pull_requests by update time""" + """ + Order pull_requests by update time + """ UPDATED_AT } -"""The possible PubSub channels for a pull request.""" +""" +The possible PubSub channels for a pull request. +""" enum PullRequestPubSubTopic { - """The channel ID for observing pull request updates.""" + """ + The channel ID for observing pull request updates. + """ UPDATED - """The channel ID for marking an pull request as read.""" + """ + The channel ID for marking an pull request as read. + """ MARKASREAD - """The channel ID for observing head ref updates.""" + """ + The channel ID for observing head ref updates. + """ HEAD_REF - """The channel ID for updating items on the pull request timeline.""" + """ + The channel ID for updating items on the pull request timeline. + """ TIMELINE - """The channel ID for observing pull request state updates.""" + """ + The channel ID for observing pull request state updates. + """ STATE } -"""A review object for a given pull request.""" +""" +A review object for a given pull request. +""" type PullRequestReview implements Node & Comment & Deletable & Updatable & UpdatableComment & Reactable & RepositoryNode { - """The actor who authored the comment.""" + """ + The actor who authored the comment. + """ author: Actor - """Author's association with the subject of the comment.""" + """ + Author's association with the subject of the comment. + """ authorAssociation: CommentAuthorAssociation! - """Identifies the pull request review body.""" + """ + Identifies the pull request review body. + """ body: String! - """The body of this review rendered to HTML.""" + """ + The body of this review rendered to HTML. + """ bodyHTML: HTML! - """The body of this review rendered as plain text.""" + """ + The body of this review rendered as plain text. + """ bodyText: String! - """A list of review comments for the current pull request review.""" + """ + A list of review comments for the current pull request review. + """ comments( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -7636,26 +11720,40 @@ type PullRequestReview implements Node & Comment & Deletable & Updatable & Updat """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): PullRequestReviewCommentConnection! - """Identifies the commit associated with this pull request review.""" + """ + Identifies the commit associated with this pull request review. + """ commit: Commit - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """Check if this comment was created via an email reply.""" + """ + Check if this comment was created via an email reply. + """ createdViaEmail: Boolean! - """Identifies the primary key from the database.""" + """ + Identifies the primary key from the database. + """ databaseId: Int - """The actor who edited the comment.""" + """ + The actor who edited the comment. + """ editor: Actor id: ID! @@ -7664,12 +11762,18 @@ type PullRequestReview implements Node & Comment & Deletable & Updatable & Updat """ includesCreatedEdit: Boolean! - """The moment the editor made the last edit""" + """ + The moment the editor made the last edit + """ lastEditedAt: DateTime - """A list of teams that this review was made on behalf of.""" + """ + A list of teams that this review was made on behalf of. + """ onBehalfOf( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -7677,25 +11781,39 @@ type PullRequestReview implements Node & Comment & Deletable & Updatable & Updat """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): TeamConnection! - """Identifies when the comment was published at.""" + """ + Identifies when the comment was published at. + """ publishedAt: DateTime - """Identifies the pull request associated with this pull request review.""" + """ + Identifies the pull request associated with this pull request review. + """ pullRequest: PullRequest! - """A list of reactions grouped by content left on the subject.""" + """ + A list of reactions grouped by content left on the subject. + """ reactionGroups: [ReactionGroup!] - """A list of Reactions left on the Issue.""" + """ + A list of Reactions left on the Issue. + """ reactions( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -7703,40 +11821,64 @@ type PullRequestReview implements Node & Comment & Deletable & Updatable & Updat """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """Allows filtering Reactions by emoji.""" + """ + Allows filtering Reactions by emoji. + """ content: ReactionContent - """Allows specifying the order in which reactions are returned.""" + """ + Allows specifying the order in which reactions are returned. + """ orderBy: ReactionOrder ): ReactionConnection! - """The repository associated with this node.""" + """ + The repository associated with this node. + """ repository: Repository! - """The HTTP path permalink for this PullRequestReview.""" + """ + The HTTP path permalink for this PullRequestReview. + """ resourcePath: URI! - """Identifies the current state of the pull request review.""" + """ + Identifies the current state of the pull request review. + """ state: PullRequestReviewState! - """Identifies when the Pull Request Review was submitted""" + """ + Identifies when the Pull Request Review was submitted + """ submittedAt: DateTime - """Identifies the date and time when the object was last updated.""" + """ + Identifies the date and time when the object was last updated. + """ updatedAt: DateTime! - """The HTTP URL permalink for this PullRequestReview.""" + """ + The HTTP URL permalink for this PullRequestReview. + """ url: URI! - """A list of edits to this content.""" + """ + A list of edits to this content. + """ userContentEdits( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -7744,65 +11886,105 @@ type PullRequestReview implements Node & Comment & Deletable & Updatable & Updat """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): UserContentEditConnection - """Check if the current viewer can delete this object.""" + """ + Check if the current viewer can delete this object. + """ viewerCanDelete: Boolean! - """Can user react to this subject""" + """ + Can user react to this subject + """ viewerCanReact: Boolean! - """Check if the current viewer can update this object.""" + """ + Check if the current viewer can update this object. + """ viewerCanUpdate: Boolean! - """Reasons why the current viewer can not update this comment.""" + """ + Reasons why the current viewer can not update this comment. + """ viewerCannotUpdateReasons: [CommentCannotUpdateReason!]! - """Did the viewer author this comment.""" + """ + Did the viewer author this comment. + """ viewerDidAuthor: Boolean! } -"""A review comment associated with a given repository pull request.""" +""" +A review comment associated with a given repository pull request. +""" type PullRequestReviewComment implements Node & Comment & Deletable & Updatable & UpdatableComment & Reactable & RepositoryNode { - """The actor who authored the comment.""" + """ + The actor who authored the comment. + """ author: Actor - """Author's association with the subject of the comment.""" + """ + Author's association with the subject of the comment. + """ authorAssociation: CommentAuthorAssociation! - """The comment body of this review comment.""" + """ + The comment body of this review comment. + """ body: String! - """The comment body of this review comment rendered to HTML.""" + """ + The comment body of this review comment rendered to HTML. + """ bodyHTML: HTML! - """The comment body of this review comment rendered as plain text.""" + """ + The comment body of this review comment rendered as plain text. + """ bodyText: String! - """Identifies the commit associated with the comment.""" + """ + Identifies the commit associated with the comment. + """ commit: Commit! - """Identifies when the comment was created.""" + """ + Identifies when the comment was created. + """ createdAt: DateTime! - """Check if this comment was created via an email reply.""" + """ + Check if this comment was created via an email reply. + """ createdViaEmail: Boolean! - """Identifies the primary key from the database.""" + """ + Identifies the primary key from the database. + """ databaseId: Int - """The diff hunk to which the comment applies.""" + """ + The diff hunk to which the comment applies. + """ diffHunk: String! - """Identifies when the comment was created in a draft state.""" + """ + Identifies when the comment was created in a draft state. + """ draftedAt: DateTime! - """The actor who edited the comment.""" + """ + The actor who edited the comment. + """ editor: Actor id: ID! @@ -7811,45 +11993,73 @@ type PullRequestReviewComment implements Node & Comment & Deletable & Updatable """ includesCreatedEdit: Boolean! - """Returns whether or not a comment has been minimized.""" + """ + Returns whether or not a comment has been minimized. + """ isMinimized: Boolean! - """The moment the editor made the last edit""" + """ + The moment the editor made the last edit + """ lastEditedAt: DateTime - """Returns why the comment was minimized.""" + """ + Returns why the comment was minimized. + """ minimizedReason: String - """Identifies the original commit associated with the comment.""" + """ + Identifies the original commit associated with the comment. + """ originalCommit: Commit - """The original line index in the diff to which the comment applies.""" + """ + The original line index in the diff to which the comment applies. + """ originalPosition: Int! - """Identifies when the comment body is outdated""" + """ + Identifies when the comment body is outdated + """ outdated: Boolean! - """The path to which the comment applies.""" + """ + The path to which the comment applies. + """ path: String! - """The line index in the diff to which the comment applies.""" + """ + The line index in the diff to which the comment applies. + """ position: Int - """Identifies when the comment was published at.""" + """ + Identifies when the comment was published at. + """ publishedAt: DateTime - """The pull request associated with this review comment.""" + """ + The pull request associated with this review comment. + """ pullRequest: PullRequest! - """The pull request review associated with this review comment.""" + """ + The pull request review associated with this review comment. + """ pullRequestReview: PullRequestReview - """A list of reactions grouped by content left on the subject.""" + """ + A list of reactions grouped by content left on the subject. + """ reactionGroups: [ReactionGroup!] - """A list of Reactions left on the Issue.""" + """ + A list of Reactions left on the Issue. + """ reactions( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -7857,40 +12067,64 @@ type PullRequestReviewComment implements Node & Comment & Deletable & Updatable """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """Allows filtering Reactions by emoji.""" + """ + Allows filtering Reactions by emoji. + """ content: ReactionContent - """Allows specifying the order in which reactions are returned.""" + """ + Allows specifying the order in which reactions are returned. + """ orderBy: ReactionOrder ): ReactionConnection! - """The comment this is a reply to.""" + """ + The comment this is a reply to. + """ replyTo: PullRequestReviewComment - """The repository associated with this node.""" + """ + The repository associated with this node. + """ repository: Repository! - """The HTTP path permalink for this review comment.""" + """ + The HTTP path permalink for this review comment. + """ resourcePath: URI! - """Identifies the state of the comment.""" + """ + Identifies the state of the comment. + """ state: PullRequestReviewCommentState! - """Identifies when the comment was last updated.""" + """ + Identifies when the comment was last updated. + """ updatedAt: DateTime! - """The HTTP URL permalink for this review comment.""" + """ + The HTTP URL permalink for this review comment. + """ url: URI! - """A list of edits to this content.""" + """ + A list of edits to this content. + """ userContentEdits( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -7898,77 +12132,125 @@ type PullRequestReviewComment implements Node & Comment & Deletable & Updatable """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): UserContentEditConnection - """Check if the current viewer can delete this object.""" + """ + Check if the current viewer can delete this object. + """ viewerCanDelete: Boolean! - """Check if the current viewer can minimize this object.""" + """ + Check if the current viewer can minimize this object. + """ viewerCanMinimize: Boolean! - """Can user react to this subject""" + """ + Can user react to this subject + """ viewerCanReact: Boolean! - """Check if the current viewer can update this object.""" + """ + Check if the current viewer can update this object. + """ viewerCanUpdate: Boolean! - """Reasons why the current viewer can not update this comment.""" + """ + Reasons why the current viewer can not update this comment. + """ viewerCannotUpdateReasons: [CommentCannotUpdateReason!]! - """Did the viewer author this comment.""" + """ + Did the viewer author this comment. + """ viewerDidAuthor: Boolean! } -"""The connection type for PullRequestReviewComment.""" +""" +The connection type for PullRequestReviewComment. +""" type PullRequestReviewCommentConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [PullRequestReviewCommentEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [PullRequestReviewComment] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type PullRequestReviewCommentEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: PullRequestReviewComment } -"""The possible states of a pull request review comment.""" +""" +The possible states of a pull request review comment. +""" enum PullRequestReviewCommentState { - """A comment that is part of a pending review""" + """ + A comment that is part of a pending review + """ PENDING - """A comment that is part of a submitted review""" + """ + A comment that is part of a submitted review + """ SUBMITTED } -"""The connection type for PullRequestReview.""" +""" +The connection type for PullRequestReview. +""" type PullRequestReviewConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [PullRequestReviewEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [PullRequestReview] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } @@ -7976,9 +12258,13 @@ type PullRequestReviewConnection { This aggregates pull request reviews made by a user within one repository. """ type PullRequestReviewContributionsByRepository { - """The pull request review contributions.""" + """ + The pull request review contributions. + """ contributions( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -7986,67 +12272,109 @@ type PullRequestReviewContributionsByRepository { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """Ordering options for contributions returned from the connection.""" + """ + Ordering options for contributions returned from the connection. + """ orderBy: ContributionOrder ): CreatedPullRequestReviewContributionConnection! - """The repository in which the pull request reviews were made.""" + """ + The repository in which the pull request reviews were made. + """ repository: Repository! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type PullRequestReviewEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: PullRequestReview } -"""The possible events to perform on a pull request review.""" +""" +The possible events to perform on a pull request review. +""" enum PullRequestReviewEvent { - """Submit general feedback without explicit approval.""" + """ + Submit general feedback without explicit approval. + """ COMMENT - """Submit feedback and approve merging these changes.""" + """ + Submit feedback and approve merging these changes. + """ APPROVE - """Submit feedback that must be addressed before merging.""" + """ + Submit feedback that must be addressed before merging. + """ REQUEST_CHANGES - """Dismiss review so it now longer effects merging.""" + """ + Dismiss review so it now longer effects merging. + """ DISMISS } -"""The possible states of a pull request review.""" +""" +The possible states of a pull request review. +""" enum PullRequestReviewState { - """A review that has not yet been submitted.""" + """ + A review that has not yet been submitted. + """ PENDING - """An informational review.""" + """ + An informational review. + """ COMMENTED - """A review allowing the pull request to merge.""" + """ + A review allowing the pull request to merge. + """ APPROVED - """A review blocking the pull request from merging.""" + """ + A review blocking the pull request from merging. + """ CHANGES_REQUESTED - """A review that has been dismissed.""" + """ + A review that has been dismissed. + """ DISMISSED } -"""A threaded list of comments for a given pull request.""" +""" +A threaded list of comments for a given pull request. +""" type PullRequestReviewThread implements Node { - """A list of pull request comments associated with the thread.""" + """ + A list of pull request comments associated with the thread. + """ comments( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -8054,54 +12382,86 @@ type PullRequestReviewThread implements Node { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): PullRequestReviewCommentConnection! id: ID! - """Whether this thread has been resolved""" + """ + Whether this thread has been resolved + """ isResolved: Boolean! - """Identifies the pull request associated with this thread.""" + """ + Identifies the pull request associated with this thread. + """ pullRequest: PullRequest! - """Identifies the repository associated with this thread.""" + """ + Identifies the repository associated with this thread. + """ repository: Repository! - """The user who resolved this thread""" + """ + The user who resolved this thread + """ resolvedBy: User - """Whether or not the viewer can resolve this thread""" + """ + Whether or not the viewer can resolve this thread + """ viewerCanResolve: Boolean! - """Whether or not the viewer can unresolve this thread""" + """ + Whether or not the viewer can unresolve this thread + """ viewerCanUnresolve: Boolean! } -"""Review comment threads for a pull request review.""" +""" +Review comment threads for a pull request review. +""" type PullRequestReviewThreadConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [PullRequestReviewThreadEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [PullRequestReviewThread] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type PullRequestReviewThreadEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: PullRequestReviewThread } @@ -8109,61 +12469,173 @@ type PullRequestReviewThreadEdge { Represents the latest point in the pull request timeline for which the viewer has seen the pull request's commits. """ type PullRequestRevisionMarker { - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """The last commit the viewer has seen.""" + """ + The last commit the viewer has seen. + """ lastSeenCommit: Commit! - """The pull request to which the marker belongs.""" + """ + The pull request to which the marker belongs. + """ pullRequest: PullRequest! } -"""The possible states of a pull request.""" +""" +The possible states of a pull request. +""" enum PullRequestState { - """A pull request that is still open.""" + """ + A pull request that is still open. + """ OPEN - """A pull request that has been closed without being merged.""" + """ + A pull request that has been closed without being merged. + """ CLOSED - """A pull request that has been closed by being merged.""" + """ + A pull request that has been closed by being merged. + """ MERGED } -"""The connection type for PullRequestTimelineItem.""" +""" +The connection type for PullRequestTimelineItem. +""" type PullRequestTimelineConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [PullRequestTimelineItemEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [PullRequestTimelineItem] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An item in an pull request timeline""" -union PullRequestTimelineItem = Commit | CommitCommentThread | PullRequestReview | PullRequestReviewThread | PullRequestReviewComment | IssueComment | ClosedEvent | ReopenedEvent | SubscribedEvent | UnsubscribedEvent | MergedEvent | ReferencedEvent | CrossReferencedEvent | AssignedEvent | UnassignedEvent | LabeledEvent | UnlabeledEvent | MilestonedEvent | DemilestonedEvent | RenamedTitleEvent | LockedEvent | UnlockedEvent | DeployedEvent | DeploymentEnvironmentChangedEvent | HeadRefDeletedEvent | HeadRefRestoredEvent | HeadRefForcePushedEvent | BaseRefForcePushedEvent | ReviewRequestedEvent | ReviewRequestRemovedEvent | ReviewDismissedEvent | UserBlockedEvent +""" +An item in an pull request timeline +""" +union PullRequestTimelineItem = + Commit + | CommitCommentThread + | PullRequestReview + | PullRequestReviewThread + | PullRequestReviewComment + | IssueComment + | ClosedEvent + | ReopenedEvent + | SubscribedEvent + | UnsubscribedEvent + | MergedEvent + | ReferencedEvent + | CrossReferencedEvent + | AssignedEvent + | UnassignedEvent + | LabeledEvent + | UnlabeledEvent + | MilestonedEvent + | DemilestonedEvent + | RenamedTitleEvent + | LockedEvent + | UnlockedEvent + | DeployedEvent + | DeploymentEnvironmentChangedEvent + | HeadRefDeletedEvent + | HeadRefRestoredEvent + | HeadRefForcePushedEvent + | BaseRefForcePushedEvent + | ReviewRequestedEvent + | ReviewRequestRemovedEvent + | ReviewDismissedEvent + | UserBlockedEvent -"""An edge in a connection.""" +""" +An edge in a connection. +""" type PullRequestTimelineItemEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: PullRequestTimelineItem } -"""An item in a pull request timeline""" -union PullRequestTimelineItems = PullRequestCommit | PullRequestCommitCommentThread | PullRequestReview | PullRequestReviewThread | PullRequestRevisionMarker | BaseRefChangedEvent | BaseRefForcePushedEvent | DeployedEvent | DeploymentEnvironmentChangedEvent | HeadRefDeletedEvent | HeadRefForcePushedEvent | HeadRefRestoredEvent | MergedEvent | ReviewDismissedEvent | ReviewRequestedEvent | ReviewRequestRemovedEvent | IssueComment | CrossReferencedEvent | AddedToProjectEvent | AssignedEvent | ClosedEvent | CommentDeletedEvent | ConvertedNoteToIssueEvent | DemilestonedEvent | LabeledEvent | LockedEvent | MentionedEvent | MilestonedEvent | MovedColumnsInProjectEvent | PinnedEvent | ReferencedEvent | RemovedFromProjectEvent | RenamedTitleEvent | ReopenedEvent | SubscribedEvent | TransferredEvent | UnassignedEvent | UnlabeledEvent | UnlockedEvent | UserBlockedEvent | UnpinnedEvent | UnsubscribedEvent +""" +An item in a pull request timeline +""" +union PullRequestTimelineItems = + PullRequestCommit + | PullRequestCommitCommentThread + | PullRequestReview + | PullRequestReviewThread + | PullRequestRevisionMarker + | BaseRefChangedEvent + | BaseRefForcePushedEvent + | DeployedEvent + | DeploymentEnvironmentChangedEvent + | HeadRefDeletedEvent + | HeadRefForcePushedEvent + | HeadRefRestoredEvent + | MergedEvent + | ReviewDismissedEvent + | ReviewRequestedEvent + | ReviewRequestRemovedEvent + | IssueComment + | CrossReferencedEvent + | AddedToProjectEvent + | AssignedEvent + | ClosedEvent + | CommentDeletedEvent + | ConvertedNoteToIssueEvent + | DemilestonedEvent + | LabeledEvent + | LockedEvent + | MentionedEvent + | MilestonedEvent + | MovedColumnsInProjectEvent + | PinnedEvent + | ReferencedEvent + | RemovedFromProjectEvent + | RenamedTitleEvent + | ReopenedEvent + | SubscribedEvent + | TransferredEvent + | UnassignedEvent + | UnlabeledEvent + | UnlockedEvent + | UserBlockedEvent + | UnpinnedEvent + | UnsubscribedEvent -"""The connection type for PullRequestTimelineItems.""" +""" +The connection type for PullRequestTimelineItems. +""" type PullRequestTimelineItemsConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [PullRequestTimelineItemsEdge] """ @@ -8171,7 +12643,9 @@ type PullRequestTimelineItemsConnection { """ filteredCount: Int! - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [PullRequestTimelineItems] """ @@ -8179,37 +12653,59 @@ type PullRequestTimelineItemsConnection { """ pageCount: Int! - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! - """Identifies the date and time when the timeline was last updated.""" + """ + Identifies the date and time when the timeline was last updated. + """ updatedAt: DateTime! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type PullRequestTimelineItemsEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: PullRequestTimelineItems } -"""The possible item types found in a timeline.""" +""" +The possible item types found in a timeline. +""" enum PullRequestTimelineItemsItemType { - """Represents a Git commit part of a pull request.""" + """ + Represents a Git commit part of a pull request. + """ PULL_REQUEST_COMMIT - """Represents a commit comment thread part of a pull request.""" + """ + Represents a commit comment thread part of a pull request. + """ PULL_REQUEST_COMMIT_COMMENT_THREAD - """A review object for a given pull request.""" + """ + A review object for a given pull request. + """ PULL_REQUEST_REVIEW - """A threaded list of comments for a given pull request.""" + """ + A threaded list of comments for a given pull request. + """ PULL_REQUEST_REVIEW_THREAD """ @@ -8222,10 +12718,14 @@ enum PullRequestTimelineItemsItemType { """ BASE_REF_CHANGED_EVENT - """Represents a 'base_ref_force_pushed' event on a given pull request.""" + """ + Represents a 'base_ref_force_pushed' event on a given pull request. + """ BASE_REF_FORCE_PUSHED_EVENT - """Represents a 'deployed' event on a given pull request.""" + """ + Represents a 'deployed' event on a given pull request. + """ DEPLOYED_EVENT """ @@ -8233,16 +12733,24 @@ enum PullRequestTimelineItemsItemType { """ DEPLOYMENT_ENVIRONMENT_CHANGED_EVENT - """Represents a 'head_ref_deleted' event on a given pull request.""" + """ + Represents a 'head_ref_deleted' event on a given pull request. + """ HEAD_REF_DELETED_EVENT - """Represents a 'head_ref_force_pushed' event on a given pull request.""" + """ + Represents a 'head_ref_force_pushed' event on a given pull request. + """ HEAD_REF_FORCE_PUSHED_EVENT - """Represents a 'head_ref_restored' event on a given pull request.""" + """ + Represents a 'head_ref_restored' event on a given pull request. + """ HEAD_REF_RESTORED_EVENT - """Represents a 'merged' event on a given pull request.""" + """ + Represents a 'merged' event on a given pull request. + """ MERGED_EVENT """ @@ -8250,16 +12758,24 @@ enum PullRequestTimelineItemsItemType { """ REVIEW_DISMISSED_EVENT - """Represents an 'review_requested' event on a given pull request.""" + """ + Represents an 'review_requested' event on a given pull request. + """ REVIEW_REQUESTED_EVENT - """Represents an 'review_request_removed' event on a given pull request.""" + """ + Represents an 'review_request_removed' event on a given pull request. + """ REVIEW_REQUEST_REMOVED_EVENT - """Represents a comment on an Issue.""" + """ + Represents a comment on an Issue. + """ ISSUE_COMMENT - """Represents a mention made by one issue or pull request to another.""" + """ + Represents a mention made by one issue or pull request to another. + """ CROSS_REFERENCED_EVENT """ @@ -8267,13 +12783,19 @@ enum PullRequestTimelineItemsItemType { """ ADDED_TO_PROJECT_EVENT - """Represents an 'assigned' event on any assignable object.""" + """ + Represents an 'assigned' event on any assignable object. + """ ASSIGNED_EVENT - """Represents a 'closed' event on any `Closable`.""" + """ + Represents a 'closed' event on any `Closable`. + """ CLOSED_EVENT - """Represents a 'comment_deleted' event on a given issue or pull request.""" + """ + Represents a 'comment_deleted' event on a given issue or pull request. + """ COMMENT_DELETED_EVENT """ @@ -8281,19 +12803,29 @@ enum PullRequestTimelineItemsItemType { """ CONVERTED_NOTE_TO_ISSUE_EVENT - """Represents a 'demilestoned' event on a given issue or pull request.""" + """ + Represents a 'demilestoned' event on a given issue or pull request. + """ DEMILESTONED_EVENT - """Represents a 'labeled' event on a given issue or pull request.""" + """ + Represents a 'labeled' event on a given issue or pull request. + """ LABELED_EVENT - """Represents a 'locked' event on a given issue or pull request.""" + """ + Represents a 'locked' event on a given issue or pull request. + """ LOCKED_EVENT - """Represents a 'mentioned' event on a given issue or pull request.""" + """ + Represents a 'mentioned' event on a given issue or pull request. + """ MENTIONED_EVENT - """Represents a 'milestoned' event on a given issue or pull request.""" + """ + Represents a 'milestoned' event on a given issue or pull request. + """ MILESTONED_EVENT """ @@ -8301,10 +12833,14 @@ enum PullRequestTimelineItemsItemType { """ MOVED_COLUMNS_IN_PROJECT_EVENT - """Represents a 'pinned' event on a given issue or pull request.""" + """ + Represents a 'pinned' event on a given issue or pull request. + """ PINNED_EVENT - """Represents a 'referenced' event on a given `ReferencedSubject`.""" + """ + Represents a 'referenced' event on a given `ReferencedSubject`. + """ REFERENCED_EVENT """ @@ -8312,40 +12848,64 @@ enum PullRequestTimelineItemsItemType { """ REMOVED_FROM_PROJECT_EVENT - """Represents a 'renamed' event on a given issue or pull request""" + """ + Represents a 'renamed' event on a given issue or pull request + """ RENAMED_TITLE_EVENT - """Represents a 'reopened' event on any `Closable`.""" + """ + Represents a 'reopened' event on any `Closable`. + """ REOPENED_EVENT - """Represents a 'subscribed' event on a given `Subscribable`.""" + """ + Represents a 'subscribed' event on a given `Subscribable`. + """ SUBSCRIBED_EVENT - """Represents a 'transferred' event on a given issue or pull request.""" + """ + Represents a 'transferred' event on a given issue or pull request. + """ TRANSFERRED_EVENT - """Represents an 'unassigned' event on any assignable object.""" + """ + Represents an 'unassigned' event on any assignable object. + """ UNASSIGNED_EVENT - """Represents an 'unlabeled' event on a given issue or pull request.""" + """ + Represents an 'unlabeled' event on a given issue or pull request. + """ UNLABELED_EVENT - """Represents an 'unlocked' event on a given issue or pull request.""" + """ + Represents an 'unlocked' event on a given issue or pull request. + """ UNLOCKED_EVENT - """Represents a 'user_blocked' event on a given user.""" + """ + Represents a 'user_blocked' event on a given user. + """ USER_BLOCKED_EVENT - """Represents an 'unpinned' event on a given issue or pull request.""" + """ + Represents an 'unpinned' event on a given issue or pull request. + """ UNPINNED_EVENT - """Represents an 'unsubscribed' event on a given `Subscribable`.""" + """ + Represents an 'unsubscribed' event on a given `Subscribable`. + """ UNSUBSCRIBED_EVENT } -"""A team or user who has the ability to push to a protected branch.""" +""" +A team or user who has the ability to push to a protected branch. +""" type PushAllowance implements Node { - """The actor that can push.""" + """ + The actor that can push. + """ actor: PushAllowanceActor """ @@ -8355,75 +12915,123 @@ type PushAllowance implements Node { id: ID! } -"""Types that can be an actor.""" +""" +Types that can be an actor. +""" union PushAllowanceActor = User | Team -"""The connection type for PushAllowance.""" +""" +The connection type for PushAllowance. +""" type PushAllowanceConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [PushAllowanceEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [PushAllowance] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type PushAllowanceEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: PushAllowance } -"""The query root of GitHub's GraphQL interface.""" +""" +The query root of GitHub's GraphQL interface. +""" type Query { - """Look up a code of conduct by its key""" + """ + Look up a code of conduct by its key + """ codeOfConduct( - """The code of conduct's key""" + """ + The code of conduct's key + """ key: String! ): CodeOfConduct - """Look up a code of conduct by its key""" + """ + Look up a code of conduct by its key + """ codesOfConduct: [CodeOfConduct] - """Look up an open source license by its key""" + """ + Look up an open source license by its key + """ license( - """The license's downcased SPDX ID""" + """ + The license's downcased SPDX ID + """ key: String! ): License - """Return a list of known open source licenses""" + """ + Return a list of known open source licenses + """ licenses: [License]! - """Get alphabetically sorted list of Marketplace categories""" + """ + Get alphabetically sorted list of Marketplace categories + """ marketplaceCategories( - """Return only the specified categories.""" + """ + Return only the specified categories. + """ includeCategories: [String!] - """Exclude categories with no listings.""" + """ + Exclude categories with no listings. + """ excludeEmpty: Boolean - """Returns top level categories only, excluding any subcategories.""" + """ + Returns top level categories only, excluding any subcategories. + """ excludeSubcategories: Boolean ): [MarketplaceCategory!]! - """Look up a Marketplace category by its slug.""" + """ + Look up a Marketplace category by its slug. + """ marketplaceCategory( - """The URL slug of the category.""" + """ + The URL slug of the category. + """ slug: String! - """Also check topic aliases for the category slug""" + """ + Also check topic aliases for the category slug + """ useTopicAliases: Boolean ): MarketplaceCategory - """Look up a single Marketplace listing""" + """ + Look up a single Marketplace listing + """ marketplaceListing( """ Select the listing that matches this slug. It's the short name of the listing used in its URL. @@ -8431,9 +13039,13 @@ type Query { slug: String! ): MarketplaceListing - """Look up Marketplace listings""" + """ + Look up Marketplace listings + """ marketplaceListings( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -8441,35 +13053,45 @@ type Query { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """Select only listings with the given category.""" + """ + Select only listings with the given category. + """ categorySlug: String - """Also check topic aliases for the category slug""" + """ + Also check topic aliases for the category slug + """ useTopicAliases: Boolean """ Select listings to which user has admin access. If omitted, listings visible to the viewer are returned. - """ viewerCanAdmin: Boolean - """Select listings that can be administered by the specified user.""" + """ + Select listings that can be administered by the specified user. + """ adminId: ID - """Select listings for products owned by the specified organization.""" + """ + Select listings for products owned by the specified organization. + """ organizationId: ID """ Select listings visible to the viewer even if they are not approved. If omitted or false, only approved listings will be returned. - """ allStates: Boolean @@ -8483,34 +13105,54 @@ type Query { """ primaryCategoryOnly: Boolean = false - """Select only listings that offer a free trial.""" + """ + Select only listings that offer a free trial. + """ withFreeTrialsOnly: Boolean = false ): MarketplaceListingConnection! - """Return information about the GitHub instance""" + """ + Return information about the GitHub instance + """ meta: GitHubMetadata! - """Fetches an object given its ID.""" + """ + Fetches an object given its ID. + """ node( - """ID of the object.""" + """ + ID of the object. + """ id: ID! ): Node - """Lookup nodes by a list of IDs.""" + """ + Lookup nodes by a list of IDs. + """ nodes( - """The list of node IDs.""" + """ + The list of node IDs. + """ ids: [ID!]! ): [Node]! - """Lookup a organization by login.""" + """ + Lookup a organization by login. + """ organization( - """The organization's login.""" + """ + The organization's login. + """ login: String! ): Organization - """The client's rate limit information.""" + """ + The client's rate limit information. + """ rateLimit( - """If true, calculate the cost for the query without evaluating it""" + """ + If true, calculate the cost for the query without evaluating it + """ dryRun: Boolean = false ): RateLimit @@ -8519,12 +13161,18 @@ type Query { """ relay: Query! - """Lookup a given repository by the owner and repository name.""" + """ + Lookup a given repository by the owner and repository name. + """ repository( - """The login field of a user or organization""" + """ + The login field of a user or organization + """ owner: String! - """The name of the repository""" + """ + The name of the repository + """ name: String! ): Repository @@ -8532,19 +13180,29 @@ type Query { Lookup a repository owner (ie. either a User or an Organization) by login. """ repositoryOwner( - """The username to lookup the owner by.""" + """ + The username to lookup the owner by. + """ login: String! ): RepositoryOwner - """Lookup resource by a URL.""" + """ + Lookup resource by a URL. + """ resource( - """The URL.""" + """ + The URL. + """ url: URI! ): UniformResourceLocatable - """Perform a search across resources.""" + """ + Perform a search across resources. + """ search( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -8552,34 +13210,54 @@ type Query { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """The search string to look for.""" + """ + The search string to look for. + """ query: String! - """The types of search items to search within.""" + """ + The types of search items to search within. + """ type: SearchType! ): SearchResultItemConnection! - """GitHub Security Advisories""" + """ + GitHub Security Advisories + """ securityAdvisories( - """Ordering options for the returned topics.""" + """ + Ordering options for the returned topics. + """ orderBy: SecurityAdvisoryOrder - """Filter advisories by identifier, e.g. GHSA or CVE.""" + """ + Filter advisories by identifier, e.g. GHSA or CVE. + """ identifier: SecurityAdvisoryIdentifierFilter - """Filter advisories to those published since a time in the past.""" + """ + Filter advisories to those published since a time in the past. + """ publishedSince: DateTime - """Filter advisories to those updated since a time in the past.""" + """ + Filter advisories to those updated since a time in the past. + """ updatedSince: DateTime - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -8587,34 +13265,54 @@ type Query { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): SecurityAdvisoryConnection! - """Fetch a Security Advisory by its GHSA ID""" + """ + Fetch a Security Advisory by its GHSA ID + """ securityAdvisory( - """GitHub Security Advisory ID.""" + """ + GitHub Security Advisory ID. + """ ghsaId: String! ): SecurityAdvisory - """Software Vulnerabilities documented by GitHub Security Advisories""" + """ + Software Vulnerabilities documented by GitHub Security Advisories + """ securityVulnerabilities( - """Ordering options for the returned topics.""" + """ + Ordering options for the returned topics. + """ orderBy: SecurityVulnerabilityOrder - """An ecosystem to filter vulnerabilities by.""" + """ + An ecosystem to filter vulnerabilities by. + """ ecosystem: SecurityAdvisoryEcosystem - """A package name to filter vulnerabilities by.""" + """ + A package name to filter vulnerabilities by. + """ package: String - """A list of severities to filter vulnerabilities by.""" + """ + A list of severities to filter vulnerabilities by. + """ severities: [SecurityAdvisorySeverity!] - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -8622,32 +13320,50 @@ type Query { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): SecurityVulnerabilityConnection! - """Look up a topic by name.""" + """ + Look up a topic by name. + """ topic( - """The topic's name.""" + """ + The topic's name. + """ name: String! ): Topic - """Lookup a user by login.""" + """ + Lookup a user by login. + """ user( - """The user's login.""" + """ + The user's login. + """ login: String! ): User - """The currently authenticated user.""" + """ + The currently authenticated user. + """ viewer: User! } -"""Represents the client's rate limit.""" +""" +Represents the client's rate limit. +""" type RateLimit { - """The point cost for the current query counting against the rate limit.""" + """ + The point cost for the current query counting against the rate limit. + """ cost: Int! """ @@ -8655,10 +13371,14 @@ type RateLimit { """ limit: Int! - """The maximum number of nodes this query may return""" + """ + The maximum number of nodes this query may return + """ nodeCount: Int! - """The number of points remaining in the current rate limit window.""" + """ + The number of points remaining in the current rate limit window. + """ remaining: Int! """ @@ -8667,18 +13387,28 @@ type RateLimit { resetAt: DateTime! } -"""Represents a subject that can be reacted on.""" +""" +Represents a subject that can be reacted on. +""" interface Reactable { - """Identifies the primary key from the database.""" + """ + Identifies the primary key from the database. + """ databaseId: Int id: ID! - """A list of reactions grouped by content left on the subject.""" + """ + A list of reactions grouped by content left on the subject. + """ reactionGroups: [ReactionGroup!] - """A list of Reactions left on the Issue.""" + """ + A list of Reactions left on the Issue. + """ reactions( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -8686,79 +13416,127 @@ interface Reactable { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """Allows filtering Reactions by emoji.""" + """ + Allows filtering Reactions by emoji. + """ content: ReactionContent - """Allows specifying the order in which reactions are returned.""" + """ + Allows specifying the order in which reactions are returned. + """ orderBy: ReactionOrder ): ReactionConnection! - """Can user react to this subject""" + """ + Can user react to this subject + """ viewerCanReact: Boolean! } -"""The connection type for User.""" +""" +The connection type for User. +""" type ReactingUserConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [ReactingUserEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [User] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""Represents a user that's made a reaction.""" +""" +Represents a user that's made a reaction. +""" type ReactingUserEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! node: User! - """The moment when the user made the reaction.""" + """ + The moment when the user made the reaction. + """ reactedAt: DateTime! } -"""An emoji reaction to a particular piece of content.""" +""" +An emoji reaction to a particular piece of content. +""" type Reaction implements Node { - """Identifies the emoji reaction.""" + """ + Identifies the emoji reaction. + """ content: ReactionContent! - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """Identifies the primary key from the database.""" + """ + Identifies the primary key from the database. + """ databaseId: Int id: ID! - """The reactable piece of content""" + """ + The reactable piece of content + """ reactable: Reactable! - """Identifies the user who created this reaction.""" + """ + Identifies the user who created this reaction. + """ user: User } -"""A list of reactions that have been left on the subject.""" +""" +A list of reactions that have been left on the subject. +""" type ReactionConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [ReactionEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [Reaction] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! """ @@ -8767,58 +13545,92 @@ type ReactionConnection { viewerHasReacted: Boolean! } -"""Emojis that can be attached to Issues, Pull Requests and Comments.""" +""" +Emojis that can be attached to Issues, Pull Requests and Comments. +""" enum ReactionContent { - """Represents the 👍 emoji.""" + """ + Represents the 👍 emoji. + """ THUMBS_UP - """Represents the 👎 emoji.""" + """ + Represents the 👎 emoji. + """ THUMBS_DOWN - """Represents the 😄 emoji.""" + """ + Represents the 😄 emoji. + """ LAUGH - """Represents the 🎉 emoji.""" + """ + Represents the 🎉 emoji. + """ HOORAY - """Represents the 😕 emoji.""" + """ + Represents the 😕 emoji. + """ CONFUSED - """Represents the ❤️ emoji.""" + """ + Represents the ❤️ emoji. + """ HEART - """Represents the 🚀 emoji.""" + """ + Represents the 🚀 emoji. + """ ROCKET - """Represents the 👀 emoji.""" + """ + Represents the 👀 emoji. + """ EYES } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type ReactionEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: Reaction } -"""A group of emoji reactions to a particular piece of content.""" +""" +A group of emoji reactions to a particular piece of content. +""" type ReactionGroup { - """Identifies the emoji reaction.""" + """ + Identifies the emoji reaction. + """ content: ReactionContent! - """Identifies when the reaction was created.""" + """ + Identifies when the reaction was created. + """ createdAt: DateTime - """The subject that was reacted to.""" + """ + The subject that was reacted to. + """ subject: Reactable! """ Users who have reacted to the reaction subject with the emotion represented by this reaction group """ users( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -8826,10 +13638,14 @@ type ReactionGroup { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): ReactingUserConnection! @@ -8839,41 +13655,67 @@ type ReactionGroup { viewerHasReacted: Boolean! } -"""Ways in which lists of reactions can be ordered upon return.""" +""" +Ways in which lists of reactions can be ordered upon return. +""" input ReactionOrder { - """The field in which to order reactions by.""" + """ + The field in which to order reactions by. + """ field: ReactionOrderField! - """The direction in which to order reactions by the specified field.""" + """ + The direction in which to order reactions by the specified field. + """ direction: OrderDirection! } -"""A list of fields that reactions can be ordered by.""" +""" +A list of fields that reactions can be ordered by. +""" enum ReactionOrderField { - """Allows ordering a list of reactions by when they were created.""" + """ + Allows ordering a list of reactions by when they were created. + """ CREATED_AT } -"""Represents a Git reference.""" +""" +Represents a Git reference. +""" type Ref implements Node { - """A list of pull requests with this ref as the head ref.""" + """ + A list of pull requests with this ref as the head ref. + """ associatedPullRequests( - """A list of states to filter the pull requests by.""" + """ + A list of states to filter the pull requests by. + """ states: [PullRequestState!] - """A list of label names to filter the pull requests by.""" + """ + A list of label names to filter the pull requests by. + """ labels: [String!] - """The head ref name to filter the pull requests by.""" + """ + The head ref name to filter the pull requests by. + """ headRefName: String - """The base ref name to filter the pull requests by.""" + """ + The base ref name to filter the pull requests by. + """ baseRefName: String - """Ordering options for pull requests returned from the connection.""" + """ + Ordering options for pull requests returned from the connection. + """ orderBy: IssueOrder - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -8881,67 +13723,107 @@ type Ref implements Node { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): PullRequestConnection! id: ID! - """The ref name.""" + """ + The ref name. + """ name: String! - """The ref's prefix, such as `refs/heads/` or `refs/tags/`.""" + """ + The ref's prefix, such as `refs/heads/` or `refs/tags/`. + """ prefix: String! - """The repository the ref belongs to.""" + """ + The repository the ref belongs to. + """ repository: Repository! - """The object the ref points to.""" + """ + The object the ref points to. + """ target: GitObject! } -"""The connection type for Ref.""" +""" +The connection type for Ref. +""" type RefConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [RefEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [Ref] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type RefEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: Ref } -"""Represents a 'referenced' event on a given `ReferencedSubject`.""" +""" +Represents a 'referenced' event on a given `ReferencedSubject`. +""" type ReferencedEvent implements Node { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Identifies the commit associated with the 'referenced' event.""" + """ + Identifies the commit associated with the 'referenced' event. + """ commit: Commit - """Identifies the repository associated with the 'referenced' event.""" + """ + Identifies the repository associated with the 'referenced' event. + """ commitRepository: Repository! - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! id: ID! - """Reference originated in a different repository.""" + """ + Reference originated in a different repository. + """ isCrossRepository: Boolean! """ @@ -8949,68 +13831,108 @@ type ReferencedEvent implements Node { """ isDirectReference: Boolean! - """Object referenced by event.""" + """ + Object referenced by event. + """ subject: ReferencedSubject! } -"""Any referencable object""" +""" +Any referencable object +""" union ReferencedSubject = Issue | PullRequest -"""Ways in which lists of git refs can be ordered upon return.""" +""" +Ways in which lists of git refs can be ordered upon return. +""" input RefOrder { - """The field in which to order refs by.""" + """ + The field in which to order refs by. + """ field: RefOrderField! - """The direction in which to order refs by the specified field.""" + """ + The direction in which to order refs by the specified field. + """ direction: OrderDirection! } -"""Properties by which ref connections can be ordered.""" +""" +Properties by which ref connections can be ordered. +""" enum RefOrderField { - """Order refs by underlying commit date if the ref prefix is refs/tags/""" + """ + Order refs by underlying commit date if the ref prefix is refs/tags/ + """ TAG_COMMIT_DATE - """Order refs by their alphanumeric name""" + """ + Order refs by their alphanumeric name + """ ALPHABETICAL } -"""Represents an owner of a registry package.""" +""" +Represents an owner of a registry package. +""" interface RegistryPackageOwner { id: ID! } -"""Represents an interface to search packages on an object.""" +""" +Represents an interface to search packages on an object. +""" interface RegistryPackageSearch { id: ID! } -"""A release contains the content for a release.""" +""" +A release contains the content for a release. +""" type Release implements Node & UniformResourceLocatable { - """The author of the release""" + """ + The author of the release + """ author: User - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """Identifies the description of the release.""" + """ + Identifies the description of the release. + """ description: String id: ID! - """Whether or not the release is a draft""" + """ + Whether or not the release is a draft + """ isDraft: Boolean! - """Whether or not the release is a prerelease""" + """ + Whether or not the release is a prerelease + """ isPrerelease: Boolean! - """Identifies the title of the release.""" + """ + Identifies the title of the release. + """ name: String - """Identifies the date and time when the release was created.""" + """ + Identifies the date and time when the release was created. + """ publishedAt: DateTime - """List of releases assets which are dependent on this release.""" + """ + List of releases assets which are dependent on this release. + """ releaseAssets( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -9018,41 +13940,65 @@ type Release implements Node & UniformResourceLocatable { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """A list of names to filter the assets by.""" + """ + A list of names to filter the assets by. + """ name: String ): ReleaseAssetConnection! - """The HTTP path for this issue""" + """ + The HTTP path for this issue + """ resourcePath: URI! - """The Git tag the release points to""" + """ + The Git tag the release points to + """ tag: Ref - """The name of the release's Git tag""" + """ + The name of the release's Git tag + """ tagName: String! - """Identifies the date and time when the object was last updated.""" + """ + Identifies the date and time when the object was last updated. + """ updatedAt: DateTime! - """The HTTP URL for this issue""" + """ + The HTTP URL for this issue + """ url: URI! } -"""A release asset contains the content for a release asset.""" +""" +A release asset contains the content for a release asset. +""" type ReleaseAsset implements Node { - """The asset's content-type""" + """ + The asset's content-type + """ contentType: String! - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """The number of times this asset was downloaded""" + """ + The number of times this asset was downloaded + """ downloadCount: Int! """ @@ -9061,109 +14007,179 @@ type ReleaseAsset implements Node { downloadUrl: URI! id: ID! - """Identifies the title of the release asset.""" + """ + Identifies the title of the release asset. + """ name: String! - """Release that the asset is associated with""" + """ + Release that the asset is associated with + """ release: Release - """The size (in bytes) of the asset""" + """ + The size (in bytes) of the asset + """ size: Int! - """Identifies the date and time when the object was last updated.""" + """ + Identifies the date and time when the object was last updated. + """ updatedAt: DateTime! - """The user that performed the upload""" + """ + The user that performed the upload + """ uploadedBy: User! - """Identifies the URL of the release asset.""" + """ + Identifies the URL of the release asset. + """ url: URI! } -"""The connection type for ReleaseAsset.""" +""" +The connection type for ReleaseAsset. +""" type ReleaseAssetConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [ReleaseAssetEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [ReleaseAsset] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type ReleaseAssetEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: ReleaseAsset } -"""The connection type for Release.""" +""" +The connection type for Release. +""" type ReleaseConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [ReleaseEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [Release] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type ReleaseEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: Release } -"""Ways in which lists of releases can be ordered upon return.""" +""" +Ways in which lists of releases can be ordered upon return. +""" input ReleaseOrder { - """The field in which to order releases by.""" + """ + The field in which to order releases by. + """ field: ReleaseOrderField! - """The direction in which to order releases by the specified field.""" + """ + The direction in which to order releases by the specified field. + """ direction: OrderDirection! } -"""Properties by which release connections can be ordered.""" +""" +Properties by which release connections can be ordered. +""" enum ReleaseOrderField { - """Order releases by creation time""" + """ + Order releases by creation time + """ CREATED_AT - """Order releases alphabetically by name""" + """ + Order releases alphabetically by name + """ NAME } -"""Autogenerated input type of RemoveAssigneesFromAssignable""" +""" +Autogenerated input type of RemoveAssigneesFromAssignable +""" input RemoveAssigneesFromAssignableInput { - """The id of the assignable object to remove assignees from.""" + """ + The id of the assignable object to remove assignees from. + """ assignableId: ID! - """The id of users to remove as assignees.""" + """ + The id of users to remove as assignees. + """ assigneeIds: [ID!]! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of RemoveAssigneesFromAssignable""" +""" +Autogenerated return type of RemoveAssigneesFromAssignable +""" type RemoveAssigneesFromAssignablePayload { - """The item that was unassigned.""" + """ + The item that was unassigned. + """ assignable: Assignable - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } @@ -9171,195 +14187,321 @@ type RemoveAssigneesFromAssignablePayload { Represents a 'removed_from_project' event on a given issue or pull request. """ type RemovedFromProjectEvent implements Node { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """Identifies the primary key from the database.""" + """ + Identifies the primary key from the database. + """ databaseId: Int id: ID! } -"""Autogenerated input type of RemoveLabelsFromLabelable""" +""" +Autogenerated input type of RemoveLabelsFromLabelable +""" input RemoveLabelsFromLabelableInput { - """The id of the Labelable to remove labels from.""" + """ + The id of the Labelable to remove labels from. + """ labelableId: ID! - """The ids of labels to remove.""" + """ + The ids of labels to remove. + """ labelIds: [ID!]! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of RemoveLabelsFromLabelable""" +""" +Autogenerated return type of RemoveLabelsFromLabelable +""" type RemoveLabelsFromLabelablePayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The Labelable the labels were removed from.""" + """ + The Labelable the labels were removed from. + """ labelable: Labelable } -"""Autogenerated input type of RemoveOutsideCollaborator""" +""" +Autogenerated input type of RemoveOutsideCollaborator +""" input RemoveOutsideCollaboratorInput { - """The ID of the outside collaborator to remove.""" + """ + The ID of the outside collaborator to remove. + """ userId: ID! - """The ID of the organization to remove the outside collaborator from.""" + """ + The ID of the organization to remove the outside collaborator from. + """ organizationId: ID! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of RemoveOutsideCollaborator""" +""" +Autogenerated return type of RemoveOutsideCollaborator +""" type RemoveOutsideCollaboratorPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The user that was removed as an outside collaborator.""" + """ + The user that was removed as an outside collaborator. + """ removedUser: User } -"""Autogenerated input type of RemoveReaction""" +""" +Autogenerated input type of RemoveReaction +""" input RemoveReactionInput { - """The Node ID of the subject to modify.""" + """ + The Node ID of the subject to modify. + """ subjectId: ID! - """The name of the emoji reaction to remove.""" + """ + The name of the emoji reaction to remove. + """ content: ReactionContent! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of RemoveReaction""" +""" +Autogenerated return type of RemoveReaction +""" type RemoveReactionPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The reaction object.""" + """ + The reaction object. + """ reaction: Reaction - """The reactable subject.""" + """ + The reactable subject. + """ subject: Reactable } -"""Autogenerated input type of RemoveStar""" +""" +Autogenerated input type of RemoveStar +""" input RemoveStarInput { - """The Starrable ID to unstar.""" + """ + The Starrable ID to unstar. + """ starrableId: ID! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of RemoveStar""" +""" +Autogenerated return type of RemoveStar +""" type RemoveStarPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The starrable.""" + """ + The starrable. + """ starrable: Starrable } -"""Represents a 'renamed' event on a given issue or pull request""" +""" +Represents a 'renamed' event on a given issue or pull request +""" type RenamedTitleEvent implements Node { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """Identifies the current title of the issue or pull request.""" + """ + Identifies the current title of the issue or pull request. + """ currentTitle: String! id: ID! - """Identifies the previous title of the issue or pull request.""" + """ + Identifies the previous title of the issue or pull request. + """ previousTitle: String! - """Subject that was renamed.""" + """ + Subject that was renamed. + """ subject: RenamedTitleSubject! } -"""An object which has a renamable title""" +""" +An object which has a renamable title +""" union RenamedTitleSubject = Issue | PullRequest -"""Represents a 'reopened' event on any `Closable`.""" +""" +Represents a 'reopened' event on any `Closable`. +""" type ReopenedEvent implements Node { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Object that was reopened.""" + """ + Object that was reopened. + """ closable: Closable! - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! id: ID! } -"""Autogenerated input type of ReopenIssue""" +""" +Autogenerated input type of ReopenIssue +""" input ReopenIssueInput { - """ID of the issue to be opened.""" + """ + ID of the issue to be opened. + """ issueId: ID! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of ReopenIssue""" +""" +Autogenerated return type of ReopenIssue +""" type ReopenIssuePayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The issue that was opened.""" + """ + The issue that was opened. + """ issue: Issue } -"""Autogenerated input type of ReopenPullRequest""" +""" +Autogenerated input type of ReopenPullRequest +""" input ReopenPullRequestInput { - """ID of the pull request to be reopened.""" + """ + ID of the pull request to be reopened. + """ pullRequestId: ID! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of ReopenPullRequest""" +""" +Autogenerated return type of ReopenPullRequest +""" type ReopenPullRequestPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The pull request that was reopened.""" + """ + The pull request that was reopened. + """ pullRequest: PullRequest } -"""The reasons a piece of content can be reported or minimized.""" +""" +The reasons a piece of content can be reported or minimized. +""" enum ReportedContentClassifiers { - """A spammy piece of content""" + """ + A spammy piece of content + """ SPAM - """An abusive or harassing piece of content""" + """ + An abusive or harassing piece of content + """ ABUSE - """An irrelevant piece of content""" + """ + An irrelevant piece of content + """ OFF_TOPIC - """An outdated piece of content""" + """ + An outdated piece of content + """ OUTDATED - """The content has been resolved""" + """ + The content has been resolved + """ RESOLVED } -"""A repository contains the content for a project.""" +""" +A repository contains the content for a project. +""" type Repository implements Node & ProjectOwner & RegistryPackageOwner & Subscribable & Starrable & UniformResourceLocatable & RepositoryInfo { - """A list of users that can be assigned to issues in this repository.""" + """ + A list of users that can be assigned to issues in this repository. + """ assignableUsers( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -9367,16 +14509,24 @@ type Repository implements Node & ProjectOwner & RegistryPackageOwner & Subscrib """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): UserConnection! - """A list of branch protection rules for this repository.""" + """ + A list of branch protection rules for this repository. + """ branchProtectionRules( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -9384,22 +14534,34 @@ type Repository implements Node & ProjectOwner & RegistryPackageOwner & Subscrib """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): BranchProtectionRuleConnection! - """Returns the code of conduct for this repository""" + """ + Returns the code of conduct for this repository + """ codeOfConduct: CodeOfConduct - """A list of collaborators associated with the repository.""" + """ + A list of collaborators associated with the repository. + """ collaborators( - """Collaborators affiliation level with a repository.""" + """ + Collaborators affiliation level with a repository. + """ affiliation: CollaboratorAffiliation - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -9407,16 +14569,24 @@ type Repository implements Node & ProjectOwner & RegistryPackageOwner & Subscrib """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): RepositoryCollaboratorConnection - """A list of commit comments associated with the repository.""" + """ + A list of commit comments associated with the repository. + """ commitComments( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -9424,25 +14594,39 @@ type Repository implements Node & ProjectOwner & RegistryPackageOwner & Subscrib """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): CommitCommentConnection! - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """Identifies the primary key from the database.""" + """ + Identifies the primary key from the database. + """ databaseId: Int - """The Ref associated with the repository's default branch.""" + """ + The Ref associated with the repository's default branch. + """ defaultBranchRef: Ref - """A list of deploy keys that are on this repository.""" + """ + A list of deploy keys that are on this repository. + """ deployKeys( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -9450,22 +14634,34 @@ type Repository implements Node & ProjectOwner & RegistryPackageOwner & Subscrib """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): DeployKeyConnection! - """Deployments associated with the repository""" + """ + Deployments associated with the repository + """ deployments( - """Environments to list deployments for""" + """ + Environments to list deployments for + """ environments: [String!] - """Ordering options for deployments returned from the connection.""" + """ + Ordering options for deployments returned from the connection. + """ orderBy: DeploymentOrder - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -9473,20 +14669,30 @@ type Repository implements Node & ProjectOwner & RegistryPackageOwner & Subscrib """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): DeploymentConnection! - """The description of the repository.""" + """ + The description of the repository. + """ description: String - """The description of the repository rendered to HTML.""" + """ + The description of the repository rendered to HTML. + """ descriptionHTML: HTML! - """The number of kilobytes this repository occupies on disk.""" + """ + The number of kilobytes this repository occupies on disk. + """ diskUsage: Int """ @@ -9494,12 +14700,18 @@ type Repository implements Node & ProjectOwner & RegistryPackageOwner & Subscrib """ forkCount: Int! - """A list of direct forked repositories.""" + """ + A list of direct forked repositories. + """ forks( - """If non-null, filters repositories according to privacy""" + """ + If non-null, filters repositories according to privacy + """ privacy: RepositoryPrivacy - """Ordering options for repositories returned from the connection""" + """ + Ordering options for repositories returned from the connection + """ orderBy: RepositoryOrder """ @@ -9521,7 +14733,9 @@ type Repository implements Node & ProjectOwner & RegistryPackageOwner & Subscrib """ isLocked: Boolean - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -9529,44 +14743,70 @@ type Repository implements Node & ProjectOwner & RegistryPackageOwner & Subscrib """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): RepositoryConnection! - """Indicates if the repository has issues feature enabled.""" + """ + Indicates if the repository has issues feature enabled. + """ hasIssuesEnabled: Boolean! - """Indicates if the repository has wiki feature enabled.""" + """ + Indicates if the repository has wiki feature enabled. + """ hasWikiEnabled: Boolean! - """The repository's URL.""" + """ + The repository's URL. + """ homepageUrl: URI id: ID! - """Indicates if the repository is unmaintained.""" + """ + Indicates if the repository is unmaintained. + """ isArchived: Boolean! - """Returns whether or not this repository disabled.""" + """ + Returns whether or not this repository disabled. + """ isDisabled: Boolean! - """Identifies if the repository is a fork.""" + """ + Identifies if the repository is a fork. + """ isFork: Boolean! - """Indicates if the repository has been locked or not.""" + """ + Indicates if the repository has been locked or not. + """ isLocked: Boolean! - """Identifies if the repository is a mirror.""" + """ + Identifies if the repository is a mirror. + """ isMirror: Boolean! - """Identifies if the repository is private.""" + """ + Identifies if the repository is private. + """ isPrivate: Boolean! - """Returns a single issue from the current repository by number.""" + """ + Returns a single issue from the current repository by number. + """ issue( - """The number for the issue to be returned.""" + """ + The number for the issue to be returned. + """ number: Int! ): Issue @@ -9574,25 +14814,39 @@ type Repository implements Node & ProjectOwner & RegistryPackageOwner & Subscrib Returns a single issue-like object from the current repository by number. """ issueOrPullRequest( - """The number for the issue to be returned.""" + """ + The number for the issue to be returned. + """ number: Int! ): IssueOrPullRequest - """A list of issues that have been opened in the repository.""" + """ + A list of issues that have been opened in the repository. + """ issues( - """Ordering options for issues returned from the connection.""" + """ + Ordering options for issues returned from the connection. + """ orderBy: IssueOrder - """A list of label names to filter the pull requests by.""" + """ + A list of label names to filter the pull requests by. + """ labels: [String!] - """A list of states to filter the issues by.""" + """ + A list of states to filter the issues by. + """ states: [IssueState!] - """Filtering options for issues returned from the connection.""" + """ + Filtering options for issues returned from the connection. + """ filterBy: IssueFilters - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -9600,22 +14854,34 @@ type Repository implements Node & ProjectOwner & RegistryPackageOwner & Subscrib """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): IssueConnection! - """Returns a single label by name""" + """ + Returns a single label by name + """ label( - """Label name""" + """ + Label name + """ name: String! ): Label - """A list of labels associated with the repository.""" + """ + A list of labels associated with the repository. + """ labels( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -9623,13 +14889,19 @@ type Repository implements Node & ProjectOwner & RegistryPackageOwner & Subscrib """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """If provided, searches labels by name and description.""" + """ + If provided, searches labels by name and description. + """ query: String ): LabelConnection @@ -9637,7 +14909,9 @@ type Repository implements Node & ProjectOwner & RegistryPackageOwner & Subscrib A list containing a breakdown of the language composition of the repository. """ languages( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -9645,27 +14919,39 @@ type Repository implements Node & ProjectOwner & RegistryPackageOwner & Subscrib """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """Order for connection""" + """ + Order for connection + """ orderBy: LanguageOrder ): LanguageConnection - """The license associated with the repository""" + """ + The license associated with the repository + """ licenseInfo: License - """The reason the repository has been locked.""" + """ + The reason the repository has been locked. + """ lockReason: RepositoryLockReason """ A list of Users that can be mentioned in the context of the repository. """ mentionableUsers( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -9673,25 +14959,39 @@ type Repository implements Node & ProjectOwner & RegistryPackageOwner & Subscrib """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): UserConnection! - """Whether or not PRs are merged with a merge commit on this repository.""" + """ + Whether or not PRs are merged with a merge commit on this repository. + """ mergeCommitAllowed: Boolean! - """Returns a single milestone from the current repository by number.""" + """ + Returns a single milestone from the current repository by number. + """ milestone( - """The number for the milestone to be returned.""" + """ + The number for the milestone to be returned. + """ number: Int! ): Milestone - """A list of milestones associated with the repository.""" + """ + A list of milestones associated with the repository. + """ milestones( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -9699,64 +14999,104 @@ type Repository implements Node & ProjectOwner & RegistryPackageOwner & Subscrib """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """Filter by the state of the milestones.""" + """ + Filter by the state of the milestones. + """ states: [MilestoneState!] - """Ordering options for milestones.""" + """ + Ordering options for milestones. + """ orderBy: MilestoneOrder ): MilestoneConnection - """The repository's original mirror URL.""" + """ + The repository's original mirror URL. + """ mirrorUrl: URI - """The name of the repository.""" + """ + The name of the repository. + """ name: String! - """The repository's name with owner.""" + """ + The repository's name with owner. + """ nameWithOwner: String! - """A Git object in the repository""" + """ + A Git object in the repository + """ object( - """The Git object ID""" + """ + The Git object ID + """ oid: GitObjectID - """A Git revision expression suitable for rev-parse""" + """ + A Git revision expression suitable for rev-parse + """ expression: String ): GitObject - """The User owner of the repository.""" + """ + The User owner of the repository. + """ owner: RepositoryOwner! - """The repository parent, if this is a fork.""" + """ + The repository parent, if this is a fork. + """ parent: Repository - """The primary language of the repository's code.""" + """ + The primary language of the repository's code. + """ primaryLanguage: Language - """Find project by number.""" + """ + Find project by number. + """ project( - """The project number to find.""" + """ + The project number to find. + """ number: Int! ): Project - """A list of projects under the owner.""" + """ + A list of projects under the owner. + """ projects( - """Ordering options for projects returned from the connection""" + """ + Ordering options for projects returned from the connection + """ orderBy: ProjectOrder - """Query to search projects by, currently only searching by name.""" + """ + Query to search projects by, currently only searching by name. + """ search: String - """A list of states to filter the projects by.""" + """ + A list of states to filter the projects by. + """ states: [ProjectState!] - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -9764,43 +15104,69 @@ type Repository implements Node & ProjectOwner & RegistryPackageOwner & Subscrib """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): ProjectConnection! - """The HTTP path listing the repository's projects""" + """ + The HTTP path listing the repository's projects + """ projectsResourcePath: URI! - """The HTTP URL listing the repository's projects""" + """ + The HTTP URL listing the repository's projects + """ projectsUrl: URI! - """Returns a single pull request from the current repository by number.""" + """ + Returns a single pull request from the current repository by number. + """ pullRequest( - """The number for the pull request to be returned.""" + """ + The number for the pull request to be returned. + """ number: Int! ): PullRequest - """A list of pull requests that have been opened in the repository.""" + """ + A list of pull requests that have been opened in the repository. + """ pullRequests( - """A list of states to filter the pull requests by.""" + """ + A list of states to filter the pull requests by. + """ states: [PullRequestState!] - """A list of label names to filter the pull requests by.""" + """ + A list of label names to filter the pull requests by. + """ labels: [String!] - """The head ref name to filter the pull requests by.""" + """ + The head ref name to filter the pull requests by. + """ headRefName: String - """The base ref name to filter the pull requests by.""" + """ + The base ref name to filter the pull requests by. + """ baseRefName: String - """Ordering options for pull requests returned from the connection.""" + """ + Ordering options for pull requests returned from the connection. + """ orderBy: IssueOrder - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -9808,20 +15174,30 @@ type Repository implements Node & ProjectOwner & RegistryPackageOwner & Subscrib """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): PullRequestConnection! - """Identifies when the repository was last pushed to.""" + """ + Identifies when the repository was last pushed to. + """ pushedAt: DateTime - """Whether or not rebase-merging is enabled on this repository.""" + """ + Whether or not rebase-merging is enabled on this repository. + """ rebaseMergeAllowed: Boolean! - """Fetch a given ref from the repository""" + """ + Fetch a given ref from the repository + """ ref( """ The ref to retrieve. Fully qualified matches are checked in order @@ -9830,9 +15206,13 @@ type Repository implements Node & ProjectOwner & RegistryPackageOwner & Subscrib qualifiedName: String! ): Ref - """Fetch a list of refs from the repository""" + """ + Fetch a list of refs from the repository + """ refs( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -9840,31 +15220,49 @@ type Repository implements Node & ProjectOwner & RegistryPackageOwner & Subscrib """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """A ref name prefix like `refs/heads/`, `refs/tags/`, etc.""" + """ + A ref name prefix like `refs/heads/`, `refs/tags/`, etc. + """ refPrefix: String! - """DEPRECATED: use orderBy. The ordering direction.""" + """ + DEPRECATED: use orderBy. The ordering direction. + """ direction: OrderDirection - """Ordering options for refs returned from the connection.""" + """ + Ordering options for refs returned from the connection. + """ orderBy: RefOrder ): RefConnection - """Lookup a single release given various criteria.""" + """ + Lookup a single release given various criteria. + """ release( - """The name of the Tag the Release was created from""" + """ + The name of the Tag the Release was created from + """ tagName: String! ): Release - """List of releases which are dependent on this repository.""" + """ + List of releases which are dependent on this repository. + """ releases( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -9872,19 +15270,29 @@ type Repository implements Node & ProjectOwner & RegistryPackageOwner & Subscrib """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """Order for connection""" + """ + Order for connection + """ orderBy: ReleaseOrder ): ReleaseConnection! - """A list of applied repository-topic associations for this repository.""" + """ + A list of applied repository-topic associations for this repository. + """ repositoryTopics( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -9892,33 +15300,49 @@ type Repository implements Node & ProjectOwner & RegistryPackageOwner & Subscrib """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): RepositoryTopicConnection! - """The HTTP path for this repository""" + """ + The HTTP path for this repository + """ resourcePath: URI! """ A description of the repository, rendered to HTML without any links in it. """ shortDescriptionHTML( - """How many characters to return.""" + """ + How many characters to return. + """ limit: Int = 200 ): HTML! - """Whether or not squash-merging is enabled on this repository.""" + """ + Whether or not squash-merging is enabled on this repository. + """ squashMergeAllowed: Boolean! - """The SSH URL to clone this repository""" + """ + The SSH URL to clone this repository + """ sshUrl: GitSSHRemote! - """A list of users who have starred this starrable.""" + """ + A list of users who have starred this starrable. + """ stargazers( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -9926,26 +15350,40 @@ type Repository implements Node & ProjectOwner & RegistryPackageOwner & Subscrib """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """Order for connection""" + """ + Order for connection + """ orderBy: StarOrder ): StargazerConnection! - """Identifies the date and time when the object was last updated.""" + """ + Identifies the date and time when the object was last updated. + """ updatedAt: DateTime! - """The HTTP URL for this repository""" + """ + The HTTP URL for this repository + """ url: URI! - """Indicates whether the viewer has admin permissions on this repository.""" + """ + Indicates whether the viewer has admin permissions on this repository. + """ viewerCanAdminister: Boolean! - """Can the current viewer create new projects on this owner.""" + """ + Can the current viewer create new projects on this owner. + """ viewerCanCreateProjects: Boolean! """ @@ -9953,7 +15391,9 @@ type Repository implements Node & ProjectOwner & RegistryPackageOwner & Subscrib """ viewerCanSubscribe: Boolean! - """Indicates whether the viewer can update the topics of this repository.""" + """ + Indicates whether the viewer can update the topics of this repository. + """ viewerCanUpdateTopics: Boolean! """ @@ -9971,9 +15411,13 @@ type Repository implements Node & ProjectOwner & RegistryPackageOwner & Subscrib """ viewerSubscription: SubscriptionState - """A list of users watching the repository.""" + """ + A list of users watching the repository. + """ watchers( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -9981,20 +15425,30 @@ type Repository implements Node & ProjectOwner & RegistryPackageOwner & Subscrib """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): UserConnection! } -"""The affiliation of a user to a repository""" +""" +The affiliation of a user to a repository +""" enum RepositoryAffiliation { - """Repositories that are owned by the authenticated user.""" + """ + Repositories that are owned by the authenticated user. + """ OWNER - """Repositories that the user has been added to as a collaborator.""" + """ + Repositories that the user has been added to as a collaborator. + """ COLLABORATOR """ @@ -10004,97 +15458,159 @@ enum RepositoryAffiliation { ORGANIZATION_MEMBER } -"""The affiliation type between collaborator and repository.""" +""" +The affiliation type between collaborator and repository. +""" enum RepositoryCollaboratorAffiliation { - """All collaborators of the repository.""" + """ + All collaborators of the repository. + """ ALL - """All outside collaborators of an organization-owned repository.""" + """ + All outside collaborators of an organization-owned repository. + """ OUTSIDE } -"""The connection type for User.""" +""" +The connection type for User. +""" type RepositoryCollaboratorConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [RepositoryCollaboratorEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [User] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""Represents a user who is a collaborator of a repository.""" +""" +Represents a user who is a collaborator of a repository. +""" type RepositoryCollaboratorEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! node: User! - """The permission the user has on the repository.""" + """ + The permission the user has on the repository. + """ permission: RepositoryPermission! - """A list of sources for the user's access to the repository.""" + """ + A list of sources for the user's access to the repository. + """ permissionSources: [PermissionSource!] } -"""A list of repositories owned by the subject.""" +""" +A list of repositories owned by the subject. +""" type RepositoryConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [RepositoryEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [Repository] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! - """The total size in kilobytes of all repositories in the connection.""" + """ + The total size in kilobytes of all repositories in the connection. + """ totalDiskUsage: Int! } -"""The reason a repository is listed as 'contributed'.""" +""" +The reason a repository is listed as 'contributed'. +""" enum RepositoryContributionType { - """Created a commit""" + """ + Created a commit + """ COMMIT - """Created an issue""" + """ + Created an issue + """ ISSUE - """Created a pull request""" + """ + Created a pull request + """ PULL_REQUEST - """Created the repository""" + """ + Created the repository + """ REPOSITORY - """Reviewed a pull request""" + """ + Reviewed a pull request + """ PULL_REQUEST_REVIEW } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type RepositoryEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: Repository } -"""A subset of repository info.""" +""" +A subset of repository info. +""" interface RepositoryInfo { - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """The description of the repository.""" + """ + The description of the repository. + """ description: String - """The description of the repository rendered to HTML.""" + """ + The description of the repository rendered to HTML. + """ descriptionHTML: HTML! """ @@ -10102,161 +15618,261 @@ interface RepositoryInfo { """ forkCount: Int! - """Indicates if the repository has issues feature enabled.""" + """ + Indicates if the repository has issues feature enabled. + """ hasIssuesEnabled: Boolean! - """Indicates if the repository has wiki feature enabled.""" + """ + Indicates if the repository has wiki feature enabled. + """ hasWikiEnabled: Boolean! - """The repository's URL.""" + """ + The repository's URL. + """ homepageUrl: URI - """Indicates if the repository is unmaintained.""" + """ + Indicates if the repository is unmaintained. + """ isArchived: Boolean! - """Identifies if the repository is a fork.""" + """ + Identifies if the repository is a fork. + """ isFork: Boolean! - """Indicates if the repository has been locked or not.""" + """ + Indicates if the repository has been locked or not. + """ isLocked: Boolean! - """Identifies if the repository is a mirror.""" + """ + Identifies if the repository is a mirror. + """ isMirror: Boolean! - """Identifies if the repository is private.""" + """ + Identifies if the repository is private. + """ isPrivate: Boolean! - """The license associated with the repository""" + """ + The license associated with the repository + """ licenseInfo: License - """The reason the repository has been locked.""" + """ + The reason the repository has been locked. + """ lockReason: RepositoryLockReason - """The repository's original mirror URL.""" + """ + The repository's original mirror URL. + """ mirrorUrl: URI - """The name of the repository.""" + """ + The name of the repository. + """ name: String! - """The repository's name with owner.""" + """ + The repository's name with owner. + """ nameWithOwner: String! - """The User owner of the repository.""" + """ + The User owner of the repository. + """ owner: RepositoryOwner! - """Identifies when the repository was last pushed to.""" + """ + Identifies when the repository was last pushed to. + """ pushedAt: DateTime - """The HTTP path for this repository""" + """ + The HTTP path for this repository + """ resourcePath: URI! """ A description of the repository, rendered to HTML without any links in it. """ shortDescriptionHTML( - """How many characters to return.""" + """ + How many characters to return. + """ limit: Int = 200 ): HTML! - """Identifies the date and time when the object was last updated.""" + """ + Identifies the date and time when the object was last updated. + """ updatedAt: DateTime! - """The HTTP URL for this repository""" + """ + The HTTP URL for this repository + """ url: URI! } -"""An invitation for a user to be added to a repository.""" +""" +An invitation for a user to be added to a repository. +""" type RepositoryInvitation implements Node { id: ID! - """The user who received the invitation.""" + """ + The user who received the invitation. + """ invitee: User! - """The user who created the invitation.""" + """ + The user who created the invitation. + """ inviter: User! - """The permission granted on this repository by this invitation.""" + """ + The permission granted on this repository by this invitation. + """ permission: RepositoryPermission! - """The Repository the user is invited to.""" + """ + The Repository the user is invited to. + """ repository: RepositoryInfo } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type RepositoryInvitationEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: RepositoryInvitation } -"""The possible reasons a given repository could be in a locked state.""" +""" +The possible reasons a given repository could be in a locked state. +""" enum RepositoryLockReason { - """The repository is locked due to a move.""" + """ + The repository is locked due to a move. + """ MOVING - """The repository is locked due to a billing related reason.""" + """ + The repository is locked due to a billing related reason. + """ BILLING - """The repository is locked due to a rename.""" + """ + The repository is locked due to a rename. + """ RENAME - """The repository is locked due to a migration.""" + """ + The repository is locked due to a migration. + """ MIGRATING } -"""Represents a object that belongs to a repository.""" +""" +Represents a object that belongs to a repository. +""" interface RepositoryNode { - """The repository associated with this node.""" + """ + The repository associated with this node. + """ repository: Repository! } -"""Ordering options for repository connections""" +""" +Ordering options for repository connections +""" input RepositoryOrder { - """The field to order repositories by.""" + """ + The field to order repositories by. + """ field: RepositoryOrderField! - """The ordering direction.""" + """ + The ordering direction. + """ direction: OrderDirection! } -"""Properties by which repository connections can be ordered.""" +""" +Properties by which repository connections can be ordered. +""" enum RepositoryOrderField { - """Order repositories by creation time""" + """ + Order repositories by creation time + """ CREATED_AT - """Order repositories by update time""" + """ + Order repositories by update time + """ UPDATED_AT - """Order repositories by push time""" + """ + Order repositories by push time + """ PUSHED_AT - """Order repositories by name""" + """ + Order repositories by name + """ NAME - """Order repositories by number of stargazers""" + """ + Order repositories by number of stargazers + """ STARGAZERS } -"""Represents an owner of a Repository.""" +""" +Represents an owner of a Repository. +""" interface RepositoryOwner { - """A URL pointing to the owner's public avatar.""" + """ + A URL pointing to the owner's public avatar. + """ avatarUrl( - """The size of the resulting square image.""" + """ + The size of the resulting square image. + """ size: Int ): URI! id: ID! - """The username used to login.""" + """ + The username used to login. + """ login: String! - """A list of repositories this user has pinned to their profile""" + """ + A list of repositories this user has pinned to their profile + """ pinnedRepositories( - """If non-null, filters repositories according to privacy""" + """ + If non-null, filters repositories according to privacy + """ privacy: RepositoryPrivacy - """Ordering options for repositories returned from the connection""" + """ + Ordering options for repositories returned from the connection + """ orderBy: RepositoryOrder """ @@ -10278,7 +15894,9 @@ interface RepositoryOwner { """ isLocked: Boolean - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -10286,19 +15904,32 @@ interface RepositoryOwner { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - ): RepositoryConnection! @deprecated(reason: "pinnedRepositories will be removed Use ProfileOwner.pinnedItems instead. Removal on 2019-07-01 UTC.") + ): RepositoryConnection! + @deprecated( + reason: "pinnedRepositories will be removed Use ProfileOwner.pinnedItems instead. Removal on 2019-07-01 UTC." + ) - """A list of repositories that the user owns.""" + """ + A list of repositories that the user owns. + """ repositories( - """If non-null, filters repositories according to privacy""" + """ + If non-null, filters repositories according to privacy + """ privacy: RepositoryPrivacy - """Ordering options for repositories returned from the connection""" + """ + Ordering options for repositories returned from the connection + """ orderBy: RepositoryOrder """ @@ -10320,7 +15951,9 @@ interface RepositoryOwner { """ isLocked: Boolean - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -10328,10 +15961,14 @@ interface RepositoryOwner { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int """ @@ -10340,151 +15977,237 @@ interface RepositoryOwner { isFork: Boolean ): RepositoryConnection! - """Find Repository.""" + """ + Find Repository. + """ repository( - """Name of Repository to find.""" + """ + Name of Repository to find. + """ name: String! ): Repository - """The HTTP URL for the owner.""" + """ + The HTTP URL for the owner. + """ resourcePath: URI! - """The HTTP URL for the owner.""" + """ + The HTTP URL for the owner. + """ url: URI! } -"""The access level to a repository""" +""" +The access level to a repository +""" enum RepositoryPermission { - """Can read, clone, push, and add collaborators""" + """ + Can read, clone, push, and add collaborators + """ ADMIN - """Can read, clone and push""" + """ + Can read, clone and push + """ WRITE - """Can read and clone""" + """ + Can read and clone + """ READ } -"""The privacy of a repository""" +""" +The privacy of a repository +""" enum RepositoryPrivacy { - """Public""" + """ + Public + """ PUBLIC - """Private""" + """ + Private + """ PRIVATE } -"""A repository-topic connects a repository to a topic.""" +""" +A repository-topic connects a repository to a topic. +""" type RepositoryTopic implements Node & UniformResourceLocatable { id: ID! - """The HTTP path for this repository-topic.""" + """ + The HTTP path for this repository-topic. + """ resourcePath: URI! - """The topic.""" + """ + The topic. + """ topic: Topic! - """The HTTP URL for this repository-topic.""" + """ + The HTTP URL for this repository-topic. + """ url: URI! } -"""The connection type for RepositoryTopic.""" +""" +The connection type for RepositoryTopic. +""" type RepositoryTopicConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [RepositoryTopicEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [RepositoryTopic] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type RepositoryTopicEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: RepositoryTopic } -"""Types that can be requested reviewers.""" +""" +Types that can be requested reviewers. +""" union RequestedReviewer = User | Team | Mannequin -"""Autogenerated input type of RequestReviews""" +""" +Autogenerated input type of RequestReviews +""" input RequestReviewsInput { - """The Node ID of the pull request to modify.""" + """ + The Node ID of the pull request to modify. + """ pullRequestId: ID! - """The Node IDs of the user to request.""" + """ + The Node IDs of the user to request. + """ userIds: [ID!] - """The Node IDs of the team to request.""" + """ + The Node IDs of the team to request. + """ teamIds: [ID!] - """Add users to the set rather than replace.""" + """ + Add users to the set rather than replace. + """ union: Boolean - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of RequestReviews""" +""" +Autogenerated return type of RequestReviews +""" type RequestReviewsPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The pull request that is getting requests.""" + """ + The pull request that is getting requests. + """ pullRequest: PullRequest - """The edge from the pull request to the requested reviewers.""" + """ + The edge from the pull request to the requested reviewers. + """ requestedReviewersEdge: UserEdge } -"""Autogenerated input type of ResolveReviewThread""" +""" +Autogenerated input type of ResolveReviewThread +""" input ResolveReviewThreadInput { - """The ID of the thread to resolve""" + """ + The ID of the thread to resolve + """ threadId: ID! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of ResolveReviewThread""" +""" +Autogenerated return type of ResolveReviewThread +""" type ResolveReviewThreadPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The thread to resolve.""" + """ + The thread to resolve. + """ thread: PullRequestReviewThread } -"""Represents a private contribution a user made on GitHub.""" +""" +Represents a private contribution a user made on GitHub. +""" type RestrictedContribution implements Contribution { """ Whether this contribution is associated with a record you do not have access to. For example, your own 'first issue' contribution may have been made on a repository you can no longer access. - """ isRestricted: Boolean! - """When this contribution was made.""" + """ + When this contribution was made. + """ occurredAt: DateTime! - """The HTTP path for this contribution.""" + """ + The HTTP path for this contribution. + """ resourcePath: URI! - """The HTTP URL for this contribution.""" + """ + The HTTP URL for this contribution. + """ url: URI! """ The user who made this contribution. - """ user: User! } @@ -10493,7 +16216,9 @@ type RestrictedContribution implements Contribution { A team or user who has the ability to dismiss a review on a protected branch. """ type ReviewDismissalAllowance implements Node { - """The actor that can dismiss.""" + """ + The actor that can dismiss. + """ actor: ReviewDismissalAllowanceActor """ @@ -10503,30 +16228,48 @@ type ReviewDismissalAllowance implements Node { id: ID! } -"""Types that can be an actor.""" +""" +Types that can be an actor. +""" union ReviewDismissalAllowanceActor = User | Team -"""The connection type for ReviewDismissalAllowance.""" +""" +The connection type for ReviewDismissalAllowance. +""" type ReviewDismissalAllowanceConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [ReviewDismissalAllowanceEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [ReviewDismissalAllowance] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type ReviewDismissalAllowanceEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: ReviewDismissalAllowance } @@ -10534,13 +16277,19 @@ type ReviewDismissalAllowanceEdge { Represents a 'review_dismissed' event on a given issue or pull request. """ type ReviewDismissedEvent implements Node & UniformResourceLocatable { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """Identifies the primary key from the database.""" + """ + Identifies the primary key from the database. + """ databaseId: Int """ @@ -10554,204 +16303,344 @@ type ReviewDismissedEvent implements Node & UniformResourceLocatable { dismissalMessageHTML: String id: ID! - """Identifies the message associated with the 'review_dismissed' event.""" - message: String! @deprecated(reason: "`message` is being removed because it not nullable, whereas the underlying field is optional. Use `dismissalMessage` instead. Removal on 2019-07-01 UTC.") + """ + Identifies the message associated with the 'review_dismissed' event. + """ + message: String! + @deprecated( + reason: "`message` is being removed because it not nullable, whereas the underlying field is optional. Use `dismissalMessage` instead. Removal on 2019-07-01 UTC." + ) - """The message associated with the event, rendered to HTML.""" - messageHtml: HTML! @deprecated(reason: "`messageHtml` is being removed because it not nullable, whereas the underlying field is optional. Use `dismissalMessageHTML` instead. Removal on 2019-07-01 UTC.") + """ + The message associated with the event, rendered to HTML. + """ + messageHtml: HTML! + @deprecated( + reason: "`messageHtml` is being removed because it not nullable, whereas the underlying field is optional. Use `dismissalMessageHTML` instead. Removal on 2019-07-01 UTC." + ) """ Identifies the previous state of the review with the 'review_dismissed' event. """ previousReviewState: PullRequestReviewState! - """PullRequest referenced by event.""" + """ + PullRequest referenced by event. + """ pullRequest: PullRequest! - """Identifies the commit which caused the review to become stale.""" + """ + Identifies the commit which caused the review to become stale. + """ pullRequestCommit: PullRequestCommit - """The HTTP path for this review dismissed event.""" + """ + The HTTP path for this review dismissed event. + """ resourcePath: URI! - """Identifies the review associated with the 'review_dismissed' event.""" + """ + Identifies the review associated with the 'review_dismissed' event. + """ review: PullRequestReview - """The HTTP URL for this review dismissed event.""" + """ + The HTTP URL for this review dismissed event. + """ url: URI! } -"""A request for a user to review a pull request.""" +""" +A request for a user to review a pull request. +""" type ReviewRequest implements Node { - """Identifies the primary key from the database.""" + """ + Identifies the primary key from the database. + """ databaseId: Int id: ID! - """Identifies the pull request associated with this review request.""" + """ + Identifies the pull request associated with this review request. + """ pullRequest: PullRequest! - """The reviewer that is requested.""" + """ + The reviewer that is requested. + """ requestedReviewer: RequestedReviewer } -"""The connection type for ReviewRequest.""" +""" +The connection type for ReviewRequest. +""" type ReviewRequestConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [ReviewRequestEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [ReviewRequest] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""Represents an 'review_requested' event on a given pull request.""" +""" +Represents an 'review_requested' event on a given pull request. +""" type ReviewRequestedEvent implements Node { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! id: ID! - """PullRequest referenced by event.""" + """ + PullRequest referenced by event. + """ pullRequest: PullRequest! - """Identifies the reviewer whose review was requested.""" + """ + Identifies the reviewer whose review was requested. + """ requestedReviewer: RequestedReviewer } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type ReviewRequestEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: ReviewRequest } -"""Represents an 'review_request_removed' event on a given pull request.""" +""" +Represents an 'review_request_removed' event on a given pull request. +""" type ReviewRequestRemovedEvent implements Node { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! id: ID! - """PullRequest referenced by event.""" + """ + PullRequest referenced by event. + """ pullRequest: PullRequest! - """Identifies the reviewer whose review request was removed.""" + """ + Identifies the reviewer whose review request was removed. + """ requestedReviewer: RequestedReviewer } -"""The results of a search.""" -union SearchResultItem = Issue | PullRequest | Repository | User | Organization | MarketplaceListing +""" +The results of a search. +""" +union SearchResultItem = + Issue + | PullRequest + | Repository + | User + | Organization + | MarketplaceListing -"""A list of results that matched against a search query.""" +""" +A list of results that matched against a search query. +""" type SearchResultItemConnection { - """The number of pieces of code that matched the search query.""" + """ + The number of pieces of code that matched the search query. + """ codeCount: Int! - """A list of edges.""" + """ + A list of edges. + """ edges: [SearchResultItemEdge] - """The number of issues that matched the search query.""" + """ + The number of issues that matched the search query. + """ issueCount: Int! - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [SearchResultItem] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """The number of repositories that matched the search query.""" + """ + The number of repositories that matched the search query. + """ repositoryCount: Int! - """The number of users that matched the search query.""" + """ + The number of users that matched the search query. + """ userCount: Int! - """The number of wiki pages that matched the search query.""" + """ + The number of wiki pages that matched the search query. + """ wikiCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type SearchResultItemEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: SearchResultItem - """Text matches on the result found.""" + """ + Text matches on the result found. + """ textMatches: [TextMatch] } -"""Represents the individual results of a search.""" +""" +Represents the individual results of a search. +""" enum SearchType { - """Returns results matching issues in repositories.""" + """ + Returns results matching issues in repositories. + """ ISSUE - """Returns results matching repositories.""" + """ + Returns results matching repositories. + """ REPOSITORY - """Returns results matching users and organizations on GitHub.""" + """ + Returns results matching users and organizations on GitHub. + """ USER } -"""A GitHub Security Advisory""" +""" +A GitHub Security Advisory +""" type SecurityAdvisory implements Node { - """Identifies the primary key from the database.""" + """ + Identifies the primary key from the database. + """ databaseId: Int - """This is a long plaintext description of the advisory""" + """ + This is a long plaintext description of the advisory + """ description: String! - """The GitHub Security Advisory ID""" + """ + The GitHub Security Advisory ID + """ ghsaId: String! id: ID! - """A list of identifiers for this advisory""" + """ + A list of identifiers for this advisory + """ identifiers: [SecurityAdvisoryIdentifier!]! - """The organization that originated the advisory""" + """ + The organization that originated the advisory + """ origin: String! - """When the advisory was published""" + """ + When the advisory was published + """ publishedAt: DateTime! - """A list of references for this advisory""" + """ + A list of references for this advisory + """ references: [SecurityAdvisoryReference!]! - """The severity of the advisory""" + """ + The severity of the advisory + """ severity: SecurityAdvisorySeverity! - """A short plaintext summary of the advisory""" + """ + A short plaintext summary of the advisory + """ summary: String! - """When the advisory was last updated""" + """ + When the advisory was last updated + """ updatedAt: DateTime! - """Vulnerabilities associated with this Advisory""" + """ + Vulnerabilities associated with this Advisory + """ vulnerabilities( - """Ordering options for the returned topics.""" + """ + Ordering options for the returned topics. + """ orderBy: SecurityVulnerabilityOrder - """An ecosystem to filter vulnerabilities by.""" + """ + An ecosystem to filter vulnerabilities by. + """ ecosystem: SecurityAdvisoryEcosystem - """A package name to filter vulnerabilities by.""" + """ + A package name to filter vulnerabilities by. + """ package: String - """A list of severities to filter vulnerabilities by.""" + """ + A list of severities to filter vulnerabilities by. + """ severities: [SecurityAdvisorySeverity!] - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -10759,155 +16648,255 @@ type SecurityAdvisory implements Node { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): SecurityVulnerabilityConnection! - """When the advisory was withdrawn, if it has been withdrawn""" + """ + When the advisory was withdrawn, if it has been withdrawn + """ withdrawnAt: DateTime } -"""The connection type for SecurityAdvisory.""" +""" +The connection type for SecurityAdvisory. +""" type SecurityAdvisoryConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [SecurityAdvisoryEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [SecurityAdvisory] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""The possible ecosystems of a security vulnerability's package.""" +""" +The possible ecosystems of a security vulnerability's package. +""" enum SecurityAdvisoryEcosystem { - """Ruby gems hosted at RubyGems.org""" + """ + Ruby gems hosted at RubyGems.org + """ RUBYGEMS - """JavaScript packages hosted at npmjs.com""" + """ + JavaScript packages hosted at npmjs.com + """ NPM - """Python packages hosted at PyPI.org""" + """ + Python packages hosted at PyPI.org + """ PIP - """Java artifacts hosted at the Maven central repository""" + """ + Java artifacts hosted at the Maven central repository + """ MAVEN - """.NET packages hosted at the NuGet Gallery""" + """ + .NET packages hosted at the NuGet Gallery + """ NUGET } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type SecurityAdvisoryEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: SecurityAdvisory } -"""A GitHub Security Advisory Identifier""" +""" +A GitHub Security Advisory Identifier +""" type SecurityAdvisoryIdentifier { - """The identifier type, e.g. GHSA, CVE""" + """ + The identifier type, e.g. GHSA, CVE + """ type: String! - """The identifier""" + """ + The identifier + """ value: String! } -"""An advisory identifier to filter results on.""" +""" +An advisory identifier to filter results on. +""" input SecurityAdvisoryIdentifierFilter { - """The identifier type.""" + """ + The identifier type. + """ type: SecurityAdvisoryIdentifierType! - """The identifier string. Supports exact or partial matching.""" + """ + The identifier string. Supports exact or partial matching. + """ value: String! } -"""Identifier formats available for advisories.""" +""" +Identifier formats available for advisories. +""" enum SecurityAdvisoryIdentifierType { - """Common Vulnerabilities and Exposures Identifier.""" + """ + Common Vulnerabilities and Exposures Identifier. + """ CVE - """GitHub Security Advisory ID.""" + """ + GitHub Security Advisory ID. + """ GHSA } -"""Ordering options for security advisory connections""" +""" +Ordering options for security advisory connections +""" input SecurityAdvisoryOrder { - """The field to order security advisories by.""" + """ + The field to order security advisories by. + """ field: SecurityAdvisoryOrderField! - """The ordering direction.""" + """ + The ordering direction. + """ direction: OrderDirection! } -"""Properties by which security advisory connections can be ordered.""" +""" +Properties by which security advisory connections can be ordered. +""" enum SecurityAdvisoryOrderField { - """Order advisories by publication time""" + """ + Order advisories by publication time + """ PUBLISHED_AT - """Order advisories by update time""" + """ + Order advisories by update time + """ UPDATED_AT } -"""An individual package""" +""" +An individual package +""" type SecurityAdvisoryPackage { - """The ecosystem the package belongs to, e.g. RUBYGEMS, NPM""" + """ + The ecosystem the package belongs to, e.g. RUBYGEMS, NPM + """ ecosystem: SecurityAdvisoryEcosystem! - """The package name""" + """ + The package name + """ name: String! } -"""An individual package version""" +""" +An individual package version +""" type SecurityAdvisoryPackageVersion { - """The package name or version""" + """ + The package name or version + """ identifier: String! } -"""A GitHub Security Advisory Reference""" +""" +A GitHub Security Advisory Reference +""" type SecurityAdvisoryReference { - """A publicly accessible reference""" + """ + A publicly accessible reference + """ url: URI! } -"""Severity of the vulnerability.""" +""" +Severity of the vulnerability. +""" enum SecurityAdvisorySeverity { - """Low.""" + """ + Low. + """ LOW - """Moderate.""" + """ + Moderate. + """ MODERATE - """High.""" + """ + High. + """ HIGH - """Critical.""" + """ + Critical. + """ CRITICAL } -"""An individual vulnerability within an Advisory""" +""" +An individual vulnerability within an Advisory +""" type SecurityVulnerability { - """The Advisory associated with this Vulnerability""" + """ + The Advisory associated with this Vulnerability + """ advisory: SecurityAdvisory! - """The first version containing a fix for the vulnerability""" + """ + The first version containing a fix for the vulnerability + """ firstPatchedVersion: SecurityAdvisoryPackageVersion - """A description of the vulnerable package""" + """ + A description of the vulnerable package + """ package: SecurityAdvisoryPackage! - """The severity of the vulnerability within this package""" + """ + The severity of the vulnerability within this package + """ severity: SecurityAdvisorySeverity! - """When the vulnerability was last updated""" + """ + When the vulnerability was last updated + """ updatedAt: DateTime! """ @@ -10918,56 +16907,87 @@ type SecurityVulnerability { + `< 0.1.11` denotes a version range up to, but excluding, the specified version + `>= 4.3.0, < 4.3.5` denotes a version range with a known minimum and maximum version. + `>= 0.0.1` denotes a version range with a known minimum, but no known maximum - """ vulnerableVersionRange: String! } -"""The connection type for SecurityVulnerability.""" +""" +The connection type for SecurityVulnerability. +""" type SecurityVulnerabilityConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [SecurityVulnerabilityEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [SecurityVulnerability] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type SecurityVulnerabilityEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: SecurityVulnerability } -"""Ordering options for security vulnerability connections""" +""" +Ordering options for security vulnerability connections +""" input SecurityVulnerabilityOrder { - """The field to order security vulnerabilities by.""" + """ + The field to order security vulnerabilities by. + """ field: SecurityVulnerabilityOrderField! - """The ordering direction.""" + """ + The ordering direction. + """ direction: OrderDirection! } -"""Properties by which security vulnerability connections can be ordered.""" +""" +Properties by which security vulnerability connections can be ordered. +""" enum SecurityVulnerabilityOrderField { - """Order vulnerability by update time""" + """ + Order vulnerability by update time + """ UPDATED_AT } -"""Represents an S/MIME signature on a Commit or Tag.""" +""" +Represents an S/MIME signature on a Commit or Tag. +""" type SmimeSignature implements GitSignature { - """Email used to sign this object.""" + """ + Email used to sign this object. + """ email: String! - """True if the signature is valid and verified by GitHub.""" + """ + True if the signature is valid and verified by GitHub. + """ isValid: Boolean! """ @@ -10975,10 +16995,14 @@ type SmimeSignature implements GitSignature { """ payload: String! - """ASCII-armored signature header from object.""" + """ + ASCII-armored signature header from object. + """ signature: String! - """GitHub user corresponding to the email signing this commit.""" + """ + GitHub user corresponding to the email signing this commit. + """ signer: User """ @@ -10987,57 +17011,91 @@ type SmimeSignature implements GitSignature { """ state: GitSignatureState! - """True if the signature was made with GitHub's signing key.""" + """ + True if the signature was made with GitHub's signing key. + """ wasSignedByGitHub: Boolean! } -"""The connection type for User.""" +""" +The connection type for User. +""" type StargazerConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [StargazerEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [User] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""Represents a user that's starred a repository.""" +""" +Represents a user that's starred a repository. +""" type StargazerEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! node: User! - """Identifies when the item was starred.""" + """ + Identifies when the item was starred. + """ starredAt: DateTime! } -"""Ways in which star connections can be ordered.""" +""" +Ways in which star connections can be ordered. +""" input StarOrder { - """The field in which to order nodes by.""" + """ + The field in which to order nodes by. + """ field: StarOrderField! - """The direction in which to order nodes.""" + """ + The direction in which to order nodes. + """ direction: OrderDirection! } -"""Properties by which star connections can be ordered.""" +""" +Properties by which star connections can be ordered. +""" enum StarOrderField { - """Allows ordering a list of stars by when they were created.""" + """ + Allows ordering a list of stars by when they were created. + """ STARRED_AT } -"""Things that can be starred.""" +""" +Things that can be starred. +""" interface Starrable { id: ID! - """A list of users who have starred this starrable.""" + """ + A list of users who have starred this starrable. + """ stargazers( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -11045,13 +17103,19 @@ interface Starrable { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """Order for connection""" + """ + Order for connection + """ orderBy: StarOrder ): StargazerConnection! @@ -11061,118 +17125,192 @@ interface Starrable { viewerHasStarred: Boolean! } -"""The connection type for Repository.""" +""" +The connection type for Repository. +""" type StarredRepositoryConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [StarredRepositoryEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [Repository] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""Represents a starred repository.""" +""" +Represents a starred repository. +""" type StarredRepositoryEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! node: Repository! - """Identifies when the item was starred.""" + """ + Identifies when the item was starred. + """ starredAt: DateTime! } -"""Represents a commit status.""" +""" +Represents a commit status. +""" type Status implements Node { - """The commit this status is attached to.""" + """ + The commit this status is attached to. + """ commit: Commit - """Looks up an individual status context by context name.""" + """ + Looks up an individual status context by context name. + """ context( - """The context name.""" + """ + The context name. + """ name: String! ): StatusContext - """The individual status contexts for this commit.""" + """ + The individual status contexts for this commit. + """ contexts: [StatusContext!]! id: ID! - """The combined commit status.""" + """ + The combined commit status. + """ state: StatusState! } -"""Represents an individual commit status context""" +""" +Represents an individual commit status context +""" type StatusContext implements Node { - """This commit this status context is attached to.""" + """ + This commit this status context is attached to. + """ commit: Commit - """The name of this status context.""" + """ + The name of this status context. + """ context: String! - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """The actor who created this status context.""" + """ + The actor who created this status context. + """ creator: Actor - """The description for this status context.""" + """ + The description for this status context. + """ description: String id: ID! - """The state of this status context.""" + """ + The state of this status context. + """ state: StatusState! - """The URL for this status context.""" + """ + The URL for this status context. + """ targetUrl: URI } -"""The possible commit status states.""" +""" +The possible commit status states. +""" enum StatusState { - """Status is expected.""" + """ + Status is expected. + """ EXPECTED - """Status is errored.""" + """ + Status is errored. + """ ERROR - """Status is failing.""" + """ + Status is failing. + """ FAILURE - """Status is pending.""" + """ + Status is pending. + """ PENDING - """Status is successful.""" + """ + Status is successful. + """ SUCCESS } -"""Autogenerated input type of SubmitPullRequestReview""" +""" +Autogenerated input type of SubmitPullRequestReview +""" input SubmitPullRequestReviewInput { - """The Pull Request Review ID to submit.""" + """ + The Pull Request Review ID to submit. + """ pullRequestReviewId: ID! - """The event to send to the Pull Request Review.""" + """ + The event to send to the Pull Request Review. + """ event: PullRequestReviewEvent! - """The text field to set on the Pull Request Review.""" + """ + The text field to set on the Pull Request Review. + """ body: String - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of SubmitPullRequestReview""" +""" +Autogenerated return type of SubmitPullRequestReview +""" type SubmitPullRequestReviewPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The submitted pull request review.""" + """ + The submitted pull request review. + """ pullRequestReview: PullRequestReview } -"""Entities that can be subscribed to for web and email notifications.""" +""" +Entities that can be subscribed to for web and email notifications. +""" interface Subscribable { id: ID! @@ -11187,28 +17325,44 @@ interface Subscribable { viewerSubscription: SubscriptionState } -"""Represents a 'subscribed' event on a given `Subscribable`.""" +""" +Represents a 'subscribed' event on a given `Subscribable`. +""" type SubscribedEvent implements Node { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! id: ID! - """Object referenced by event.""" + """ + Object referenced by event. + """ subscribable: Subscribable! } -"""The possible states of a subscription.""" +""" +The possible states of a subscription. +""" enum SubscriptionState { - """The User is only notified when participating or @mentioned.""" + """ + The User is only notified when participating or @mentioned. + """ UNSUBSCRIBED - """The User is notified of all conversations.""" + """ + The User is notified of all conversations. + """ SUBSCRIBED - """The User is never notified.""" + """ + The User is never notified. + """ IGNORED } @@ -11216,52 +17370,84 @@ enum SubscriptionState { A suggestion to review a pull request based on a user's commit history and review comments. """ type SuggestedReviewer { - """Is this suggestion based on past commits?""" + """ + Is this suggestion based on past commits? + """ isAuthor: Boolean! - """Is this suggestion based on past review comments?""" + """ + Is this suggestion based on past review comments? + """ isCommenter: Boolean! - """Identifies the user suggested to review the pull request.""" + """ + Identifies the user suggested to review the pull request. + """ reviewer: User! } -"""Represents a Git tag.""" +""" +Represents a Git tag. +""" type Tag implements Node & GitObject { - """An abbreviated version of the Git object ID""" + """ + An abbreviated version of the Git object ID + """ abbreviatedOid: String! - """The HTTP path for this Git object""" + """ + The HTTP path for this Git object + """ commitResourcePath: URI! - """The HTTP URL for this Git object""" + """ + The HTTP URL for this Git object + """ commitUrl: URI! id: ID! - """The Git tag message.""" + """ + The Git tag message. + """ message: String - """The Git tag name.""" + """ + The Git tag name. + """ name: String! - """The Git object ID""" + """ + The Git object ID + """ oid: GitObjectID! - """The Repository the Git object belongs to""" + """ + The Repository the Git object belongs to + """ repository: Repository! - """Details about the tag author.""" + """ + Details about the tag author. + """ tagger: GitActor - """The Git object the tag points to.""" + """ + The Git object the tag points to. + """ target: GitObject! } -"""A team of users in an organization.""" +""" +A team of users in an organization. +""" type Team implements Node & Subscribable & MemberStatusable { - """A list of teams that are ancestors of this team.""" + """ + A list of teams that are ancestors of this team. + """ ancestors( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -11269,31 +17455,49 @@ type Team implements Node & Subscribable & MemberStatusable { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): TeamConnection! - """A URL pointing to the team's avatar.""" + """ + A URL pointing to the team's avatar. + """ avatarUrl( - """The size in pixels of the resulting square image.""" + """ + The size in pixels of the resulting square image. + """ size: Int = 400 ): URI - """List of child teams belonging to this team""" + """ + List of child teams belonging to this team + """ childTeams( - """Order for connection""" + """ + Order for connection + """ orderBy: TeamOrder - """User logins to filter by""" + """ + User logins to filter by + """ userLogins: [String!] - """Whether to list immediate child teams or all descendant child teams.""" + """ + Whether to list immediate child teams or all descendant child teams. + """ immediateOnly: Boolean = true - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -11301,32 +17505,50 @@ type Team implements Node & Subscribable & MemberStatusable { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): TeamConnection! - """The slug corresponding to the organization and team.""" + """ + The slug corresponding to the organization and team. + """ combinedSlug: String! - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """The description of the team.""" + """ + The description of the team. + """ description: String - """The HTTP path for editing this team""" + """ + The HTTP path for editing this team + """ editTeamResourcePath: URI! - """The HTTP URL for editing this team""" + """ + The HTTP URL for editing this team + """ editTeamUrl: URI! id: ID! - """A list of pending invitations for users to this team""" + """ + A list of pending invitations for users to this team + """ invitations( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -11334,10 +17556,14 @@ type Team implements Node & Subscribable & MemberStatusable { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): OrganizationInvitationConnection @@ -11345,7 +17571,9 @@ type Team implements Node & Subscribable & MemberStatusable { Get the status messages members of this entity have set that are either public or visible only to the organization. """ memberStatuses( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -11353,19 +17581,29 @@ type Team implements Node & Subscribable & MemberStatusable { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """Ordering options for user statuses returned from the connection.""" + """ + Ordering options for user statuses returned from the connection. + """ orderBy: UserStatusOrder ): UserStatusConnection! - """A list of users who are members of this team.""" + """ + A list of users who are members of this team. + """ members( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -11373,52 +17611,84 @@ type Team implements Node & Subscribable & MemberStatusable { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """The search string to look for.""" + """ + The search string to look for. + """ query: String - """Filter by membership type""" + """ + Filter by membership type + """ membership: TeamMembershipType = ALL - """Filter by team member role""" + """ + Filter by team member role + """ role: TeamMemberRole - """Order for the connection.""" + """ + Order for the connection. + """ orderBy: TeamMemberOrder ): TeamMemberConnection! - """The HTTP path for the team' members""" + """ + The HTTP path for the team' members + """ membersResourcePath: URI! - """The HTTP URL for the team' members""" + """ + The HTTP URL for the team' members + """ membersUrl: URI! - """The name of the team.""" + """ + The name of the team. + """ name: String! - """The HTTP path creating a new team""" + """ + The HTTP path creating a new team + """ newTeamResourcePath: URI! - """The HTTP URL creating a new team""" + """ + The HTTP URL creating a new team + """ newTeamUrl: URI! - """The organization that owns this team.""" + """ + The organization that owns this team. + """ organization: Organization! - """The parent team of the team.""" + """ + The parent team of the team. + """ parentTeam: Team - """The level of privacy the team has.""" + """ + The level of privacy the team has. + """ privacy: TeamPrivacy! - """A list of repositories this team has access to.""" + """ + A list of repositories this team has access to. + """ repositories( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -11426,44 +17696,70 @@ type Team implements Node & Subscribable & MemberStatusable { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """The search string to look for.""" + """ + The search string to look for. + """ query: String - """Order for the connection.""" + """ + Order for the connection. + """ orderBy: TeamRepositoryOrder ): TeamRepositoryConnection! - """The HTTP path for this team's repositories""" + """ + The HTTP path for this team's repositories + """ repositoriesResourcePath: URI! - """The HTTP URL for this team's repositories""" + """ + The HTTP URL for this team's repositories + """ repositoriesUrl: URI! - """The HTTP path for this team""" + """ + The HTTP path for this team + """ resourcePath: URI! - """The slug corresponding to the team.""" + """ + The slug corresponding to the team. + """ slug: String! - """The HTTP path for this team's teams""" + """ + The HTTP path for this team's teams + """ teamsResourcePath: URI! - """The HTTP URL for this team's teams""" + """ + The HTTP URL for this team's teams + """ teamsUrl: URI! - """Identifies the date and time when the object was last updated.""" + """ + Identifies the date and time when the object was last updated. + """ updatedAt: DateTime! - """The HTTP URL for this team""" + """ + The HTTP URL for this team + """ url: URI! - """Team is adminable by the viewer.""" + """ + Team is adminable by the viewer. + """ viewerCanAdminister: Boolean! """ @@ -11477,85 +17773,139 @@ type Team implements Node & Subscribable & MemberStatusable { viewerSubscription: SubscriptionState } -"""The connection type for Team.""" +""" +The connection type for Team. +""" type TeamConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [TeamEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [Team] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type TeamEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: Team } -"""The connection type for User.""" +""" +The connection type for User. +""" type TeamMemberConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [TeamMemberEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [User] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""Represents a user who is a member of a team.""" +""" +Represents a user who is a member of a team. +""" type TeamMemberEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The HTTP path to the organization's member access page.""" + """ + The HTTP path to the organization's member access page. + """ memberAccessResourcePath: URI! - """The HTTP URL to the organization's member access page.""" + """ + The HTTP URL to the organization's member access page. + """ memberAccessUrl: URI! node: User! - """The role the member has on the team.""" + """ + The role the member has on the team. + """ role: TeamMemberRole! } -"""Ordering options for team member connections""" +""" +Ordering options for team member connections +""" input TeamMemberOrder { - """The field to order team members by.""" + """ + The field to order team members by. + """ field: TeamMemberOrderField! - """The ordering direction.""" + """ + The ordering direction. + """ direction: OrderDirection! } -"""Properties by which team member connections can be ordered.""" +""" +Properties by which team member connections can be ordered. +""" enum TeamMemberOrderField { - """Order team members by login""" + """ + Order team members by login + """ LOGIN - """Order team members by creation time""" + """ + Order team members by creation time + """ CREATED_AT } -"""The possible team member roles; either 'maintainer' or 'member'.""" +""" +The possible team member roles; either 'maintainer' or 'member'. +""" enum TeamMemberRole { - """A team maintainer has permission to add and remove team members.""" + """ + A team maintainer has permission to add and remove team members. + """ MAINTAINER - """A team member has no administrative permissions on the team.""" + """ + A team member has no administrative permissions on the team. + """ MEMBER } @@ -11563,34 +17913,54 @@ enum TeamMemberRole { Defines which types of team members are included in the returned list. Can be one of IMMEDIATE, CHILD_TEAM or ALL. """ enum TeamMembershipType { - """Includes only immediate members of the team.""" + """ + Includes only immediate members of the team. + """ IMMEDIATE - """Includes only child team members for the team.""" + """ + Includes only child team members for the team. + """ CHILD_TEAM - """Includes immediate and child team members for the team.""" + """ + Includes immediate and child team members for the team. + """ ALL } -"""Ways in which team connections can be ordered.""" +""" +Ways in which team connections can be ordered. +""" input TeamOrder { - """The field in which to order nodes by.""" + """ + The field in which to order nodes by. + """ field: TeamOrderField! - """The direction in which to order nodes.""" + """ + The direction in which to order nodes. + """ direction: OrderDirection! } -"""Properties by which team connections can be ordered.""" +""" +Properties by which team connections can be ordered. +""" enum TeamOrderField { - """Allows ordering a list of teams by name.""" + """ + Allows ordering a list of teams by name. + """ NAME } -"""The possible team privacy values.""" +""" +The possible team privacy values. +""" enum TeamPrivacy { - """A secret team can only be seen by its members.""" + """ + A secret team can only be seen by its members. + """ SECRET """ @@ -11599,114 +17969,181 @@ enum TeamPrivacy { VISIBLE } -"""The connection type for Repository.""" +""" +The connection type for Repository. +""" type TeamRepositoryConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [TeamRepositoryEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [Repository] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""Represents a team repository.""" +""" +Represents a team repository. +""" type TeamRepositoryEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! node: Repository! - """The permission level the team has on the repository""" + """ + The permission level the team has on the repository + """ permission: RepositoryPermission! } -"""Ordering options for team repository connections""" +""" +Ordering options for team repository connections +""" input TeamRepositoryOrder { - """The field to order repositories by.""" + """ + The field to order repositories by. + """ field: TeamRepositoryOrderField! - """The ordering direction.""" + """ + The ordering direction. + """ direction: OrderDirection! } -"""Properties by which team repository connections can be ordered.""" +""" +Properties by which team repository connections can be ordered. +""" enum TeamRepositoryOrderField { - """Order repositories by creation time""" + """ + Order repositories by creation time + """ CREATED_AT - """Order repositories by update time""" + """ + Order repositories by update time + """ UPDATED_AT - """Order repositories by push time""" + """ + Order repositories by push time + """ PUSHED_AT - """Order repositories by name""" + """ + Order repositories by name + """ NAME - """Order repositories by permission""" + """ + Order repositories by permission + """ PERMISSION - """Order repositories by number of stargazers""" + """ + Order repositories by number of stargazers + """ STARGAZERS } -"""The role of a user on a team.""" +""" +The role of a user on a team. +""" enum TeamRole { - """User has admin rights on the team.""" + """ + User has admin rights on the team. + """ ADMIN - """User is a member of the team.""" + """ + User is a member of the team. + """ MEMBER } -"""A text match within a search result.""" +""" +A text match within a search result. +""" type TextMatch { - """The specific text fragment within the property matched on.""" + """ + The specific text fragment within the property matched on. + """ fragment: String! - """Highlights within the matched fragment.""" + """ + Highlights within the matched fragment. + """ highlights: [TextMatchHighlight!]! - """The property matched on.""" + """ + The property matched on. + """ property: String! } -"""Represents a single highlight in a search result match.""" +""" +Represents a single highlight in a search result match. +""" type TextMatchHighlight { - """The indice in the fragment where the matched text begins.""" + """ + The indice in the fragment where the matched text begins. + """ beginIndice: Int! - """The indice in the fragment where the matched text ends.""" + """ + The indice in the fragment where the matched text ends. + """ endIndice: Int! - """The text matched.""" + """ + The text matched. + """ text: String! } -"""A topic aggregates entities that are related to a subject.""" +""" +A topic aggregates entities that are related to a subject. +""" type Topic implements Node & Starrable { id: ID! - """The topic's name.""" + """ + The topic's name. + """ name: String! """ A list of related topics, including aliases of this topic, sorted with the most relevant first. Returns up to 10 Topics. - """ relatedTopics( - """How many topics to return.""" + """ + How many topics to return. + """ first: Int = 3 ): [Topic!]! - """A list of users who have starred this starrable.""" + """ + A list of users who have starred this starrable. + """ stargazers( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -11714,13 +18151,19 @@ type Topic implements Node & Starrable { """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - """Order for connection""" + """ + Order for connection + """ orderBy: StarOrder ): StargazerConnection! @@ -11730,33 +18173,53 @@ type Topic implements Node & Starrable { viewerHasStarred: Boolean! } -"""The connection type for Topic.""" +""" +The connection type for Topic. +""" type TopicConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [TopicEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [Topic] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type TopicEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: Topic } -"""Reason that the suggested topic is declined.""" +""" +Reason that the suggested topic is declined. +""" enum TopicSuggestionDeclineReason { - """The suggested topic is not relevant to the repository.""" + """ + The suggested topic is not relevant to the repository. + """ NOT_RELEVANT """ @@ -11764,103 +18227,167 @@ enum TopicSuggestionDeclineReason { """ TOO_SPECIFIC - """The viewer does not like the suggested topic.""" + """ + The viewer does not like the suggested topic. + """ PERSONAL_PREFERENCE - """The suggested topic is too general for the repository.""" + """ + The suggested topic is too general for the repository. + """ TOO_GENERAL } -"""Represents a 'transferred' event on a given issue or pull request.""" +""" +Represents a 'transferred' event on a given issue or pull request. +""" type TransferredEvent implements Node { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """The repository this came from""" + """ + The repository this came from + """ fromRepository: Repository id: ID! - """Identifies the issue associated with the event.""" + """ + Identifies the issue associated with the event. + """ issue: Issue! } -"""Represents a Git tree.""" +""" +Represents a Git tree. +""" type Tree implements Node & GitObject { - """An abbreviated version of the Git object ID""" + """ + An abbreviated version of the Git object ID + """ abbreviatedOid: String! - """The HTTP path for this Git object""" + """ + The HTTP path for this Git object + """ commitResourcePath: URI! - """The HTTP URL for this Git object""" + """ + The HTTP URL for this Git object + """ commitUrl: URI! - """A list of tree entries.""" + """ + A list of tree entries. + """ entries: [TreeEntry!] id: ID! - """The Git object ID""" + """ + The Git object ID + """ oid: GitObjectID! - """The Repository the Git object belongs to""" + """ + The Repository the Git object belongs to + """ repository: Repository! } -"""Represents a Git tree entry.""" +""" +Represents a Git tree entry. +""" type TreeEntry { - """Entry file mode.""" + """ + Entry file mode. + """ mode: Int! - """Entry file name.""" + """ + Entry file name. + """ name: String! - """Entry file object.""" + """ + Entry file object. + """ object: GitObject - """Entry file Git object ID.""" + """ + Entry file Git object ID. + """ oid: GitObjectID! - """The Repository the tree entry belongs to""" + """ + The Repository the tree entry belongs to + """ repository: Repository! - """Entry file type.""" + """ + Entry file type. + """ type: String! } -"""Represents an 'unassigned' event on any assignable object.""" +""" +Represents an 'unassigned' event on any assignable object. +""" type UnassignedEvent implements Node { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Identifies the assignable associated with the event.""" + """ + Identifies the assignable associated with the event. + """ assignable: Assignable! - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! id: ID! - """Identifies the subject (user) who was unassigned.""" + """ + Identifies the subject (user) who was unassigned. + """ user: User } -"""Represents a type that can be retrieved by a URL.""" +""" +Represents a type that can be retrieved by a URL. +""" interface UniformResourceLocatable { - """The HTML path to this resource.""" + """ + The HTML path to this resource. + """ resourcePath: URI! - """The URL to this resource.""" + """ + The URL to this resource. + """ url: URI! } -"""Represents an unknown signature on a Commit or Tag.""" +""" +Represents an unknown signature on a Commit or Tag. +""" type UnknownSignature implements GitSignature { - """Email used to sign this object.""" + """ + Email used to sign this object. + """ email: String! - """True if the signature is valid and verified by GitHub.""" + """ + True if the signature is valid and verified by GitHub. + """ isValid: Boolean! """ @@ -11868,10 +18395,14 @@ type UnknownSignature implements GitSignature { """ payload: String! - """ASCII-armored signature header from object.""" + """ + ASCII-armored signature header from object. + """ signature: String! - """GitHub user corresponding to the email signing this commit.""" + """ + GitHub user corresponding to the email signing this commit. + """ signer: User """ @@ -11880,60 +18411,96 @@ type UnknownSignature implements GitSignature { """ state: GitSignatureState! - """True if the signature was made with GitHub's signing key.""" + """ + True if the signature was made with GitHub's signing key. + """ wasSignedByGitHub: Boolean! } -"""Represents an 'unlabeled' event on a given issue or pull request.""" +""" +Represents an 'unlabeled' event on a given issue or pull request. +""" type UnlabeledEvent implements Node { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! id: ID! - """Identifies the label associated with the 'unlabeled' event.""" + """ + Identifies the label associated with the 'unlabeled' event. + """ label: Label! - """Identifies the `Labelable` associated with the event.""" + """ + Identifies the `Labelable` associated with the event. + """ labelable: Labelable! } -"""Represents an 'unlocked' event on a given issue or pull request.""" +""" +Represents an 'unlocked' event on a given issue or pull request. +""" type UnlockedEvent implements Node { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! id: ID! - """Object that was unlocked.""" + """ + Object that was unlocked. + """ lockable: Lockable! } -"""Autogenerated input type of UnlockLockable""" +""" +Autogenerated input type of UnlockLockable +""" input UnlockLockableInput { - """ID of the issue or pull request to be unlocked.""" + """ + ID of the issue or pull request to be unlocked. + """ lockableId: ID! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of UnlockLockable""" +""" +Autogenerated return type of UnlockLockable +""" type UnlockLockablePayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The item that was unlocked.""" + """ + The item that was unlocked. + """ unlockedRecord: Lockable } -"""Autogenerated input type of UnmarkIssueAsDuplicate""" +""" +Autogenerated input type of UnmarkIssueAsDuplicate +""" input UnmarkIssueAsDuplicateInput { - """ID of the issue or pull request currently marked as a duplicate.""" + """ + ID of the issue or pull request currently marked as a duplicate. + """ duplicateId: ID! """ @@ -11941,120 +18508,196 @@ input UnmarkIssueAsDuplicateInput { """ canonicalId: ID! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of UnmarkIssueAsDuplicate""" +""" +Autogenerated return type of UnmarkIssueAsDuplicate +""" type UnmarkIssueAsDuplicatePayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The issue or pull request that was marked as a duplicate.""" + """ + The issue or pull request that was marked as a duplicate. + """ duplicate: IssueOrPullRequest } -"""Autogenerated input type of UnminimizeComment""" +""" +Autogenerated input type of UnminimizeComment +""" input UnminimizeCommentInput { - """The Node ID of the subject to modify.""" + """ + The Node ID of the subject to modify. + """ subjectId: ID! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated input type of UnpinIssue""" +""" +Autogenerated input type of UnpinIssue +""" input UnpinIssueInput { - """The ID of the issue to be unpinned""" + """ + The ID of the issue to be unpinned + """ issueId: ID! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Represents an 'unpinned' event on a given issue or pull request.""" +""" +Represents an 'unpinned' event on a given issue or pull request. +""" type UnpinnedEvent implements Node { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! id: ID! - """Identifies the issue associated with the event.""" + """ + Identifies the issue associated with the event. + """ issue: Issue! } -"""Autogenerated input type of UnresolveReviewThread""" +""" +Autogenerated input type of UnresolveReviewThread +""" input UnresolveReviewThreadInput { - """The ID of the thread to unresolve""" + """ + The ID of the thread to unresolve + """ threadId: ID! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of UnresolveReviewThread""" +""" +Autogenerated return type of UnresolveReviewThread +""" type UnresolveReviewThreadPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The thread to resolve.""" + """ + The thread to resolve. + """ thread: PullRequestReviewThread } -"""Represents an 'unsubscribed' event on a given `Subscribable`.""" +""" +Represents an 'unsubscribed' event on a given `Subscribable`. +""" type UnsubscribedEvent implements Node { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! id: ID! - """Object referenced by event.""" + """ + Object referenced by event. + """ subscribable: Subscribable! } -"""Entities that can be updated.""" +""" +Entities that can be updated. +""" interface Updatable { - """Check if the current viewer can update this object.""" + """ + Check if the current viewer can update this object. + """ viewerCanUpdate: Boolean! } -"""Comments that can be updated.""" +""" +Comments that can be updated. +""" interface UpdatableComment { - """Reasons why the current viewer can not update this comment.""" + """ + Reasons why the current viewer can not update this comment. + """ viewerCannotUpdateReasons: [CommentCannotUpdateReason!]! } -"""Autogenerated input type of UpdateBranchProtectionRule""" +""" +Autogenerated input type of UpdateBranchProtectionRule +""" input UpdateBranchProtectionRuleInput { - """The global relay id of the branch protection rule to be updated.""" + """ + The global relay id of the branch protection rule to be updated. + """ branchProtectionRuleId: ID! - """The glob-like pattern used to determine matching branches.""" + """ + The glob-like pattern used to determine matching branches. + """ pattern: String - """Are approving reviews required to update matching branches.""" + """ + Are approving reviews required to update matching branches. + """ requiresApprovingReviews: Boolean - """Number of approving reviews required to update matching branches.""" + """ + Number of approving reviews required to update matching branches. + """ requiredApprovingReviewCount: Int - """Are commits required to be signed.""" + """ + Are commits required to be signed. + """ requiresCommitSignatures: Boolean - """Can admins overwrite branch protection.""" + """ + Can admins overwrite branch protection. + """ isAdminEnforced: Boolean - """Are status checks required to update matching branches.""" + """ + Are status checks required to update matching branches. + """ requiresStatusChecks: Boolean - """Are branches required to be up to date before merging.""" + """ + Are branches required to be up to date before merging. + """ requiresStrictStatusChecks: Boolean - """Are reviews from code owners required to update matching branches.""" + """ + Are reviews from code owners required to update matching branches. + """ requiresCodeOwnerReviews: Boolean """ @@ -12062,7 +18705,9 @@ input UpdateBranchProtectionRuleInput { """ dismissesStaleReviews: Boolean - """Is dismissal of pull request reviews restricted.""" + """ + Is dismissal of pull request reviews restricted. + """ restrictsReviewDismissals: Boolean """ @@ -12070,10 +18715,14 @@ input UpdateBranchProtectionRuleInput { """ reviewDismissalActorIds: [ID!] - """Is pushing to matching branches restricted.""" + """ + Is pushing to matching branches restricted. + """ restrictsPushes: Boolean - """A list of User or Team IDs allowed to push to matching branches.""" + """ + A list of User or Team IDs allowed to push to matching branches. + """ pushActorIds: [ID!] """ @@ -12081,276 +18730,451 @@ input UpdateBranchProtectionRuleInput { """ requiredStatusCheckContexts: [String!] - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of UpdateBranchProtectionRule""" +""" +Autogenerated return type of UpdateBranchProtectionRule +""" type UpdateBranchProtectionRulePayload { - """The newly created BranchProtectionRule.""" + """ + The newly created BranchProtectionRule. + """ branchProtectionRule: BranchProtectionRule - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated input type of UpdateIssueComment""" +""" +Autogenerated input type of UpdateIssueComment +""" input UpdateIssueCommentInput { - """The ID of the IssueComment to modify.""" + """ + The ID of the IssueComment to modify. + """ id: ID! - """The updated text of the comment.""" + """ + The updated text of the comment. + """ body: String! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of UpdateIssueComment""" +""" +Autogenerated return type of UpdateIssueComment +""" type UpdateIssueCommentPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The updated comment.""" + """ + The updated comment. + """ issueComment: IssueComment } -"""Autogenerated input type of UpdateIssue""" +""" +Autogenerated input type of UpdateIssue +""" input UpdateIssueInput { - """The ID of the Issue to modify.""" + """ + The ID of the Issue to modify. + """ id: ID! - """The title for the issue.""" + """ + The title for the issue. + """ title: String - """The body for the issue description.""" + """ + The body for the issue description. + """ body: String - """An array of Node IDs of users for this issue.""" + """ + An array of Node IDs of users for this issue. + """ assigneeIds: [ID!] - """The Node ID of the milestone for this issue.""" + """ + The Node ID of the milestone for this issue. + """ milestoneId: ID - """An array of Node IDs of labels for this issue.""" + """ + An array of Node IDs of labels for this issue. + """ labelIds: [ID!] - """The desired issue state.""" + """ + The desired issue state. + """ state: IssueState - """An array of Node IDs for projects associated with this issue.""" + """ + An array of Node IDs for projects associated with this issue. + """ projectIds: [ID!] - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of UpdateIssue""" +""" +Autogenerated return type of UpdateIssue +""" type UpdateIssuePayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The issue.""" + """ + The issue. + """ issue: Issue } -"""Autogenerated input type of UpdateProjectCard""" +""" +Autogenerated input type of UpdateProjectCard +""" input UpdateProjectCardInput { - """The ProjectCard ID to update.""" + """ + The ProjectCard ID to update. + """ projectCardId: ID! - """Whether or not the ProjectCard should be archived""" + """ + Whether or not the ProjectCard should be archived + """ isArchived: Boolean - """The note of ProjectCard.""" + """ + The note of ProjectCard. + """ note: String - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of UpdateProjectCard""" +""" +Autogenerated return type of UpdateProjectCard +""" type UpdateProjectCardPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The updated ProjectCard.""" + """ + The updated ProjectCard. + """ projectCard: ProjectCard } -"""Autogenerated input type of UpdateProjectColumn""" +""" +Autogenerated input type of UpdateProjectColumn +""" input UpdateProjectColumnInput { - """The ProjectColumn ID to update.""" + """ + The ProjectColumn ID to update. + """ projectColumnId: ID! - """The name of project column.""" + """ + The name of project column. + """ name: String! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of UpdateProjectColumn""" +""" +Autogenerated return type of UpdateProjectColumn +""" type UpdateProjectColumnPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The updated project column.""" + """ + The updated project column. + """ projectColumn: ProjectColumn } -"""Autogenerated input type of UpdateProject""" +""" +Autogenerated input type of UpdateProject +""" input UpdateProjectInput { - """The Project ID to update.""" + """ + The Project ID to update. + """ projectId: ID! - """The name of project.""" + """ + The name of project. + """ name: String - """The description of project.""" + """ + The description of project. + """ body: String - """Whether the project is open or closed.""" + """ + Whether the project is open or closed. + """ state: ProjectState - """Whether the project is public or not.""" + """ + Whether the project is public or not. + """ public: Boolean - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of UpdateProject""" +""" +Autogenerated return type of UpdateProject +""" type UpdateProjectPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The updated project.""" + """ + The updated project. + """ project: Project } -"""Autogenerated input type of UpdatePullRequest""" +""" +Autogenerated input type of UpdatePullRequest +""" input UpdatePullRequestInput { - """The Node ID of the pull request.""" + """ + The Node ID of the pull request. + """ pullRequestId: ID! """ The name of the branch you want your changes pulled into. This should be an existing branch on the current repository. - """ baseRefName: String - """The title of the pull request.""" + """ + The title of the pull request. + """ title: String - """The contents of the pull request.""" + """ + The contents of the pull request. + """ body: String - """Indicates whether maintainers can modify the pull request.""" + """ + Indicates whether maintainers can modify the pull request. + """ maintainerCanModify: Boolean - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of UpdatePullRequest""" +""" +Autogenerated return type of UpdatePullRequest +""" type UpdatePullRequestPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The updated pull request.""" + """ + The updated pull request. + """ pullRequest: PullRequest } -"""Autogenerated input type of UpdatePullRequestReviewComment""" +""" +Autogenerated input type of UpdatePullRequestReviewComment +""" input UpdatePullRequestReviewCommentInput { - """The Node ID of the comment to modify.""" + """ + The Node ID of the comment to modify. + """ pullRequestReviewCommentId: ID! - """The text of the comment.""" + """ + The text of the comment. + """ body: String! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of UpdatePullRequestReviewComment""" +""" +Autogenerated return type of UpdatePullRequestReviewComment +""" type UpdatePullRequestReviewCommentPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The updated comment.""" + """ + The updated comment. + """ pullRequestReviewComment: PullRequestReviewComment } -"""Autogenerated input type of UpdatePullRequestReview""" +""" +Autogenerated input type of UpdatePullRequestReview +""" input UpdatePullRequestReviewInput { - """The Node ID of the pull request review to modify.""" + """ + The Node ID of the pull request review to modify. + """ pullRequestReviewId: ID! - """The contents of the pull request review body.""" + """ + The contents of the pull request review body. + """ body: String! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of UpdatePullRequestReview""" +""" +Autogenerated return type of UpdatePullRequestReview +""" type UpdatePullRequestReviewPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The updated pull request review.""" + """ + The updated pull request review. + """ pullRequestReview: PullRequestReview } -"""Autogenerated input type of UpdateSubscription""" +""" +Autogenerated input type of UpdateSubscription +""" input UpdateSubscriptionInput { - """The Node ID of the subscribable object to modify.""" + """ + The Node ID of the subscribable object to modify. + """ subscribableId: ID! - """The new state of the subscription.""" + """ + The new state of the subscription. + """ state: SubscriptionState! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of UpdateSubscription""" +""" +Autogenerated return type of UpdateSubscription +""" type UpdateSubscriptionPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """The input subscribable entity.""" + """ + The input subscribable entity. + """ subscribable: Subscribable } -"""Autogenerated input type of UpdateTopics""" +""" +Autogenerated input type of UpdateTopics +""" input UpdateTopicsInput { - """The Node ID of the repository.""" + """ + The Node ID of the repository. + """ repositoryId: ID! - """An array of topic names.""" + """ + An array of topic names. + """ topicNames: [String!]! - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String } -"""Autogenerated return type of UpdateTopics""" +""" +Autogenerated return type of UpdateTopics +""" type UpdateTopicsPayload { - """A unique identifier for the client performing the mutation.""" + """ + A unique identifier for the client performing the mutation. + """ clientMutationId: String - """Names of the provided topics that are not valid.""" + """ + Names of the provided topics that are not valid. + """ invalidTopicNames: [String!] - """The updated repository.""" + """ + The updated repository. + """ repository: Repository } -"""An RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string.""" +""" +An RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string. +""" scalar URI """ @@ -12361,25 +19185,39 @@ type User implements Node & Actor & RegistryPackageOwner & RegistryPackageSearch Determine if this repository owner has any items that can be pinned to their profile. """ anyPinnableItems( - """Filter to only a particular kind of pinnable item.""" + """ + Filter to only a particular kind of pinnable item. + """ type: PinnableItemType ): Boolean! - """A URL pointing to the user's public avatar.""" + """ + A URL pointing to the user's public avatar. + """ avatarUrl( - """The size of the resulting square image.""" + """ + The size of the resulting square image. + """ size: Int ): URI! - """The user's public profile bio.""" + """ + The user's public profile bio. + """ bio: String - """The user's public profile bio as HTML.""" + """ + The user's public profile bio as HTML. + """ bioHTML: HTML! - """A list of commit comments made by this user.""" + """ + A list of commit comments made by this user. + """ commitComments( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -12387,24 +19225,34 @@ type User implements Node & Actor & RegistryPackageOwner & RegistryPackageSearch """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): CommitCommentConnection! - """The user's public profile company.""" + """ + The user's public profile company. + """ company: String - """The user's public profile company as HTML.""" + """ + The user's public profile company as HTML. + """ companyHTML: HTML! """ The collection of contributions this user has made to different repositories. """ contributionsCollection( - """The ID of the organization used to filter contributions.""" + """ + The ID of the organization used to filter contributions. + """ organizationID: ID """ @@ -12419,18 +19267,28 @@ type User implements Node & Actor & RegistryPackageOwner & RegistryPackageSearch to: DateTime ): ContributionsCollection! - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """Identifies the primary key from the database.""" + """ + Identifies the primary key from the database. + """ databaseId: Int - """The user's publicly visible profile email.""" + """ + The user's publicly visible profile email. + """ email: String! - """A list of users the given user is followed by.""" + """ + A list of users the given user is followed by. + """ followers( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -12438,16 +19296,24 @@ type User implements Node & Actor & RegistryPackageOwner & RegistryPackageSearch """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): FollowerConnection! - """A list of users the given user is following.""" + """ + A list of users the given user is following. + """ following( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -12455,22 +19321,34 @@ type User implements Node & Actor & RegistryPackageOwner & RegistryPackageSearch """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): FollowingConnection! - """Find gist by repo name.""" + """ + Find gist by repo name. + """ gist( - """The gist name to find.""" + """ + The gist name to find. + """ name: String! ): Gist - """A list of gist comments made by this user.""" + """ + A list of gist comments made by this user. + """ gistComments( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -12478,22 +19356,34 @@ type User implements Node & Actor & RegistryPackageOwner & RegistryPackageSearch """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): GistCommentConnection! - """A list of the Gists the user has created.""" + """ + A list of the Gists the user has created. + """ gists( - """Filters Gists according to privacy.""" + """ + Filters Gists according to privacy. + """ privacy: GistPrivacy - """Ordering options for gists returned from the connection""" + """ + Ordering options for gists returned from the connection + """ orderBy: GistOrder - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -12501,10 +19391,14 @@ type User implements Node & Actor & RegistryPackageOwner & RegistryPackageSearch """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): GistConnection! id: ID! @@ -12519,24 +19413,38 @@ type User implements Node & Actor & RegistryPackageOwner & RegistryPackageSearch """ isCampusExpert: Boolean! - """Whether or not this user is a GitHub Developer Program member.""" + """ + Whether or not this user is a GitHub Developer Program member. + """ isDeveloperProgramMember: Boolean! - """Whether or not this user is a GitHub employee.""" + """ + Whether or not this user is a GitHub employee. + """ isEmployee: Boolean! - """Whether or not the user has marked themselves as for hire.""" + """ + Whether or not the user has marked themselves as for hire. + """ isHireable: Boolean! - """Whether or not this user is a site administrator.""" + """ + Whether or not this user is a site administrator. + """ isSiteAdmin: Boolean! - """Whether or not this user is the viewing user.""" + """ + Whether or not this user is the viewing user. + """ isViewer: Boolean! - """A list of issue comments made by this user.""" + """ + A list of issue comments made by this user. + """ issueComments( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -12544,28 +19452,44 @@ type User implements Node & Actor & RegistryPackageOwner & RegistryPackageSearch """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): IssueCommentConnection! - """A list of issues associated with this user.""" + """ + A list of issues associated with this user. + """ issues( - """Ordering options for issues returned from the connection.""" + """ + Ordering options for issues returned from the connection. + """ orderBy: IssueOrder - """A list of label names to filter the pull requests by.""" + """ + A list of label names to filter the pull requests by. + """ labels: [String!] - """A list of states to filter the issues by.""" + """ + A list of states to filter the issues by. + """ states: [IssueState!] - """Filtering options for issues returned from the connection.""" + """ + Filtering options for issues returned from the connection. + """ filterBy: IssueFilters - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -12573,10 +19497,14 @@ type User implements Node & Actor & RegistryPackageOwner & RegistryPackageSearch """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): IssueConnection! @@ -12586,24 +19514,38 @@ type User implements Node & Actor & RegistryPackageOwner & RegistryPackageSearch """ itemShowcase: ProfileItemShowcase! - """The user's public profile location.""" + """ + The user's public profile location. + """ location: String - """The username used to login.""" + """ + The username used to login. + """ login: String! - """The user's public profile name.""" + """ + The user's public profile name. + """ name: String - """Find an organization by its login that the user belongs to.""" + """ + Find an organization by its login that the user belongs to. + """ organization( - """The login of the organization to find.""" + """ + The login of the organization to find. + """ login: String! ): Organization - """A list of organizations the user belongs to.""" + """ + A list of organizations the user belongs to. + """ organizations( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -12611,10 +19553,14 @@ type User implements Node & Actor & RegistryPackageOwner & RegistryPackageSearch """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): OrganizationConnection! @@ -12622,10 +19568,14 @@ type User implements Node & Actor & RegistryPackageOwner & RegistryPackageSearch A list of repositories and gists this profile owner can pin to their profile. """ pinnableItems( - """Filter the types of pinnable items that are returned.""" + """ + Filter the types of pinnable items that are returned. + """ types: [PinnableItemType!] - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -12633,10 +19583,14 @@ type User implements Node & Actor & RegistryPackageOwner & RegistryPackageSearch """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): PinnableItemConnection! @@ -12644,10 +19598,14 @@ type User implements Node & Actor & RegistryPackageOwner & RegistryPackageSearch A list of repositories and gists this profile owner has pinned to their profile """ pinnedItems( - """Filter the types of pinned items that are returned.""" + """ + Filter the types of pinned items that are returned. + """ types: [PinnableItemType!] - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -12655,10 +19613,14 @@ type User implements Node & Actor & RegistryPackageOwner & RegistryPackageSearch """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): PinnableItemConnection! @@ -12667,12 +19629,18 @@ type User implements Node & Actor & RegistryPackageOwner & RegistryPackageSearch """ pinnedItemsRemaining: Int! - """A list of repositories this user has pinned to their profile""" + """ + A list of repositories this user has pinned to their profile + """ pinnedRepositories( - """If non-null, filters repositories according to privacy""" + """ + If non-null, filters repositories according to privacy + """ privacy: RepositoryPrivacy - """Ordering options for repositories returned from the connection""" + """ + Ordering options for repositories returned from the connection + """ orderBy: RepositoryOrder """ @@ -12694,7 +19662,9 @@ type User implements Node & Actor & RegistryPackageOwner & RegistryPackageSearch """ isLocked: Boolean - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -12702,31 +19672,52 @@ type User implements Node & Actor & RegistryPackageOwner & RegistryPackageSearch """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int - ): RepositoryConnection! @deprecated(reason: "pinnedRepositories will be removed Use ProfileOwner.pinnedItems instead. Removal on 2019-07-01 UTC.") + ): RepositoryConnection! + @deprecated( + reason: "pinnedRepositories will be removed Use ProfileOwner.pinnedItems instead. Removal on 2019-07-01 UTC." + ) - """Find project by number.""" + """ + Find project by number. + """ project( - """The project number to find.""" + """ + The project number to find. + """ number: Int! ): Project - """A list of projects under the owner.""" + """ + A list of projects under the owner. + """ projects( - """Ordering options for projects returned from the connection""" + """ + Ordering options for projects returned from the connection + """ orderBy: ProjectOrder - """Query to search projects by, currently only searching by name.""" + """ + Query to search projects by, currently only searching by name. + """ search: String - """A list of states to filter the projects by.""" + """ + A list of states to filter the projects by. + """ states: [ProjectState!] - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -12734,22 +19725,34 @@ type User implements Node & Actor & RegistryPackageOwner & RegistryPackageSearch """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): ProjectConnection! - """The HTTP path listing user's projects""" + """ + The HTTP path listing user's projects + """ projectsResourcePath: URI! - """The HTTP URL listing user's projects""" + """ + The HTTP URL listing user's projects + """ projectsUrl: URI! - """A list of public keys associated with this user.""" + """ + A list of public keys associated with this user. + """ publicKeys( - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -12757,31 +19760,49 @@ type User implements Node & Actor & RegistryPackageOwner & RegistryPackageSearch """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): PublicKeyConnection! - """A list of pull requests associated with this user.""" + """ + A list of pull requests associated with this user. + """ pullRequests( - """A list of states to filter the pull requests by.""" + """ + A list of states to filter the pull requests by. + """ states: [PullRequestState!] - """A list of label names to filter the pull requests by.""" + """ + A list of label names to filter the pull requests by. + """ labels: [String!] - """The head ref name to filter the pull requests by.""" + """ + The head ref name to filter the pull requests by. + """ headRefName: String - """The base ref name to filter the pull requests by.""" + """ + The base ref name to filter the pull requests by. + """ baseRefName: String - """Ordering options for pull requests returned from the connection.""" + """ + Ordering options for pull requests returned from the connection. + """ orderBy: IssueOrder - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -12789,19 +19810,29 @@ type User implements Node & Actor & RegistryPackageOwner & RegistryPackageSearch """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): PullRequestConnection! - """A list of repositories that the user owns.""" + """ + A list of repositories that the user owns. + """ repositories( - """If non-null, filters repositories according to privacy""" + """ + If non-null, filters repositories according to privacy + """ privacy: RepositoryPrivacy - """Ordering options for repositories returned from the connection""" + """ + Ordering options for repositories returned from the connection + """ orderBy: RepositoryOrder """ @@ -12823,7 +19854,9 @@ type User implements Node & Actor & RegistryPackageOwner & RegistryPackageSearch """ isLocked: Boolean - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -12831,10 +19864,14 @@ type User implements Node & Actor & RegistryPackageOwner & RegistryPackageSearch """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int """ @@ -12843,12 +19880,18 @@ type User implements Node & Actor & RegistryPackageOwner & RegistryPackageSearch isFork: Boolean ): RepositoryConnection! - """A list of repositories that the user recently contributed to.""" + """ + A list of repositories that the user recently contributed to. + """ repositoriesContributedTo( - """If non-null, filters repositories according to privacy""" + """ + If non-null, filters repositories according to privacy + """ privacy: RepositoryPrivacy - """Ordering options for repositories returned from the connection""" + """ + Ordering options for repositories returned from the connection + """ orderBy: RepositoryOrder """ @@ -12856,7 +19899,9 @@ type User implements Node & Actor & RegistryPackageOwner & RegistryPackageSearch """ isLocked: Boolean - """If true, include user repositories""" + """ + If true, include user repositories + """ includeUserRepositories: Boolean """ @@ -12865,7 +19910,9 @@ type User implements Node & Actor & RegistryPackageOwner & RegistryPackageSearch """ contributionTypes: [RepositoryContributionType] - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -12873,33 +19920,49 @@ type User implements Node & Actor & RegistryPackageOwner & RegistryPackageSearch """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): RepositoryConnection! - """Find Repository.""" + """ + Find Repository. + """ repository( - """Name of Repository to find.""" + """ + Name of Repository to find. + """ name: String! ): Repository - """The HTTP path for this user""" + """ + The HTTP path for this user + """ resourcePath: URI! - """Repositories the user has starred.""" + """ + Repositories the user has starred. + """ starredRepositories( """ Filters starred repositories to only return repositories owned by the viewer. """ ownedByViewer: Boolean - """Order for connection""" + """ + Order for connection + """ orderBy: StarOrder - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -12907,43 +19970,69 @@ type User implements Node & Actor & RegistryPackageOwner & RegistryPackageSearch """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): StarredRepositoryConnection! - """The user's description of what they're currently doing.""" + """ + The user's description of what they're currently doing. + """ status: UserStatus - """Identifies the date and time when the object was last updated.""" + """ + Identifies the date and time when the object was last updated. + """ updatedAt: DateTime! - """The HTTP URL for this user""" + """ + The HTTP URL for this user + """ url: URI! - """Can the viewer pin repositories and gists to the profile?""" + """ + Can the viewer pin repositories and gists to the profile? + """ viewerCanChangePinnedItems: Boolean! - """Can the current viewer create new projects on this owner.""" + """ + Can the current viewer create new projects on this owner. + """ viewerCanCreateProjects: Boolean! - """Whether or not the viewer is able to follow the user.""" + """ + Whether or not the viewer is able to follow the user. + """ viewerCanFollow: Boolean! - """Whether or not this user is followed by the viewer.""" + """ + Whether or not this user is followed by the viewer. + """ viewerIsFollowing: Boolean! - """A list of repositories the given user is watching.""" + """ + A list of repositories the given user is watching. + """ watching( - """If non-null, filters repositories according to privacy""" + """ + If non-null, filters repositories according to privacy + """ privacy: RepositoryPrivacy - """Ordering options for repositories returned from the connection""" + """ + Ordering options for repositories returned from the connection + """ orderBy: RepositoryOrder - """Affiliation options for repositories returned from the connection""" + """ + Affiliation options for repositories returned from the connection + """ affiliations: [RepositoryAffiliation] """ @@ -12958,7 +20047,9 @@ type User implements Node & Actor & RegistryPackageOwner & RegistryPackageSearch """ isLocked: Boolean - """Returns the elements in the list that come after the specified cursor.""" + """ + Returns the elements in the list that come after the specified cursor. + """ after: String """ @@ -12966,133 +20057,217 @@ type User implements Node & Actor & RegistryPackageOwner & RegistryPackageSearch """ before: String - """Returns the first _n_ elements from the list.""" + """ + Returns the first _n_ elements from the list. + """ first: Int - """Returns the last _n_ elements from the list.""" + """ + Returns the last _n_ elements from the list. + """ last: Int ): RepositoryConnection! - """A URL pointing to the user's public website/blog.""" + """ + A URL pointing to the user's public website/blog. + """ websiteUrl: URI } -"""The possible durations that a user can be blocked for.""" +""" +The possible durations that a user can be blocked for. +""" enum UserBlockDuration { - """The user was blocked for 1 day""" + """ + The user was blocked for 1 day + """ ONE_DAY - """The user was blocked for 3 days""" + """ + The user was blocked for 3 days + """ THREE_DAYS - """The user was blocked for 7 days""" + """ + The user was blocked for 7 days + """ ONE_WEEK - """The user was blocked for 30 days""" + """ + The user was blocked for 30 days + """ ONE_MONTH - """The user was blocked permanently""" + """ + The user was blocked permanently + """ PERMANENT } -"""Represents a 'user_blocked' event on a given user.""" +""" +Represents a 'user_blocked' event on a given user. +""" type UserBlockedEvent implements Node { - """Identifies the actor who performed the event.""" + """ + Identifies the actor who performed the event. + """ actor: Actor - """Number of days that the user was blocked for.""" + """ + Number of days that the user was blocked for. + """ blockDuration: UserBlockDuration! - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! id: ID! - """The user who was blocked.""" + """ + The user who was blocked. + """ subject: User } -"""The connection type for User.""" +""" +The connection type for User. +""" type UserConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [UserEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [User] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edit on user content""" +""" +An edit on user content +""" type UserContentEdit implements Node { - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """Identifies the date and time when the object was deleted.""" + """ + Identifies the date and time when the object was deleted. + """ deletedAt: DateTime - """The actor who deleted this content""" + """ + The actor who deleted this content + """ deletedBy: Actor - """A summary of the changes for this edit""" + """ + A summary of the changes for this edit + """ diff: String - """When this content was edited""" + """ + When this content was edited + """ editedAt: DateTime! - """The actor who edited this content""" + """ + The actor who edited this content + """ editor: Actor id: ID! - """Identifies the date and time when the object was last updated.""" + """ + Identifies the date and time when the object was last updated. + """ updatedAt: DateTime! } -"""A list of edits to content.""" +""" +A list of edits to content. +""" type UserContentEditConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [UserContentEditEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [UserContentEdit] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type UserContentEditEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: UserContentEdit } -"""Represents a user.""" +""" +Represents a user. +""" type UserEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: User } -"""The user's description of what they're currently doing.""" +""" +The user's description of what they're currently doing. +""" type UserStatus implements Node { - """Identifies the date and time when the object was created.""" + """ + Identifies the date and time when the object was created. + """ createdAt: DateTime! - """An emoji summarizing the user's status.""" + """ + An emoji summarizing the user's status. + """ emoji: String - """ID of the object.""" + """ + ID of the object. + """ id: ID! """ @@ -13100,7 +20275,9 @@ type UserStatus implements Node { """ indicatesLimitedAvailability: Boolean! - """A brief message describing what the user is doing.""" + """ + A brief message describing what the user is doing. + """ message: String """ @@ -13108,51 +20285,83 @@ type UserStatus implements Node { """ organization: Organization - """Identifies the date and time when the object was last updated.""" + """ + Identifies the date and time when the object was last updated. + """ updatedAt: DateTime! - """The user who has this status.""" + """ + The user who has this status. + """ user: User! } -"""The connection type for UserStatus.""" +""" +The connection type for UserStatus. +""" type UserStatusConnection { - """A list of edges.""" + """ + A list of edges. + """ edges: [UserStatusEdge] - """A list of nodes.""" + """ + A list of nodes. + """ nodes: [UserStatus] - """Information to aid in pagination.""" + """ + Information to aid in pagination. + """ pageInfo: PageInfo! - """Identifies the total count of items in the connection.""" + """ + Identifies the total count of items in the connection. + """ totalCount: Int! } -"""An edge in a connection.""" +""" +An edge in a connection. +""" type UserStatusEdge { - """A cursor for use in pagination.""" + """ + A cursor for use in pagination. + """ cursor: String! - """The item at the end of the edge.""" + """ + The item at the end of the edge. + """ node: UserStatus } -"""Ordering options for user status connections.""" +""" +Ordering options for user status connections. +""" input UserStatusOrder { - """The field to order user statuses by.""" + """ + The field to order user statuses by. + """ field: UserStatusOrderField! - """The ordering direction.""" + """ + The ordering direction. + """ direction: OrderDirection! } -"""Properties by which user status connections can be ordered.""" +""" +Properties by which user status connections can be ordered. +""" enum UserStatusOrderField { - """Order user statuses by when they were updated.""" + """ + Order user statuses by when they were updated. + """ UPDATED_AT } -"""A valid x509 certificate string""" +""" +A valid x509 certificate string +""" scalar X509Certificate diff --git a/src/__fixtures__/kitchen-sink.graphql b/src/__fixtures__/kitchen-sink.graphql index 874fdc1688..543307bb8a 100644 --- a/src/__fixtures__/kitchen-sink.graphql +++ b/src/__fixtures__/kitchen-sink.graphql @@ -1,11 +1,11 @@ query queryName($foo: ComplexType, $site: Site = MOBILE) @onQuery { whoever123is: node(id: [123, 456]) { - id , + id ... on User @onInlineFragment { field2 { - id , - alias: field1(first:10, after:$foo,) @include(if: $foo) { - id, + id + alias: field1(first: 10, after: $foo) @include(if: $foo) { + id ...frag @onFragmentSpread } } @@ -27,9 +27,8 @@ mutation likeStory @onMutation { } } -subscription StoryLikeSubscription( - $input: StoryLikeSubscribeInput -) @onSubscription { +subscription StoryLikeSubscription($input: StoryLikeSubscribeInput) + @onSubscription { storyLikeSubscribe(input: $input) { story { likers { @@ -43,16 +42,23 @@ subscription StoryLikeSubscription( } fragment frag on Friend @onFragmentDefinition { - foo(size: $size, bar: $b, obj: {key: "value", block: """ - + foo( + size: $size + bar: $b + obj: { + key: "value" + block: """ block string uses \""" - - """}) + """ + } + ) } { - unnamed(truthy: true, falsy: false, nullish: null), + unnamed(truthy: true, falsy: false, nullish: null) query } -query { __typename } +query { + __typename +} diff --git a/src/__tests__/starWarsData.js b/src/__tests__/starWarsData.js index 087af78aa2..5144f3735e 100644 --- a/src/__tests__/starWarsData.js +++ b/src/__tests__/starWarsData.js @@ -125,7 +125,7 @@ function getCharacter(id) { */ export function getFriends(character: Character): Array> { // Notice that GraphQL accepts Arrays of Promises. - return character.friends.map(id => getCharacter(id)); + return character.friends.map((id) => getCharacter(id)); } /** diff --git a/src/__tests__/starWarsSchema.js b/src/__tests__/starWarsSchema.js index adac1a5ce2..78a95647d3 100644 --- a/src/__tests__/starWarsSchema.js +++ b/src/__tests__/starWarsSchema.js @@ -167,7 +167,7 @@ const humanType = new GraphQLObjectType({ type: GraphQLList(characterInterface), description: 'The friends of the human, or an empty list if they have none.', - resolve: human => getFriends(human), + resolve: (human) => getFriends(human), }, appearsIn: { type: GraphQLList(episodeEnum), @@ -217,7 +217,7 @@ const droidType = new GraphQLObjectType({ type: GraphQLList(characterInterface), description: 'The friends of the droid, or an empty list if they have none.', - resolve: droid => getFriends(droid), + resolve: (droid) => getFriends(droid), }, appearsIn: { type: GraphQLList(episodeEnum), diff --git a/src/error/GraphQLError.js b/src/error/GraphQLError.js index b847f42613..d3af8d2cf7 100644 --- a/src/error/GraphQLError.js +++ b/src/error/GraphQLError.js @@ -117,7 +117,7 @@ export class GraphQLError extends Error { let _locations; if (positions && source) { - _locations = positions.map(pos => getLocation(source, pos)); + _locations = positions.map((pos) => getLocation(source, pos)); } else if (_nodes) { _locations = _nodes.reduce((list, node) => { if (node.loc) { diff --git a/src/execution/__tests__/abstract-promise-test.js b/src/execution/__tests__/abstract-promise-test.js index 78e0213057..6f58497225 100644 --- a/src/execution/__tests__/abstract-promise-test.js +++ b/src/execution/__tests__/abstract-promise-test.js @@ -56,7 +56,7 @@ describe('Execute: Handles execution of abstract types with promises', () => { const DogType = new GraphQLObjectType({ name: 'Dog', interfaces: [PetType], - isTypeOf: obj => Promise.resolve(obj instanceof Dog), + isTypeOf: (obj) => Promise.resolve(obj instanceof Dog), fields: { name: { type: GraphQLString }, woofs: { type: GraphQLBoolean }, @@ -66,7 +66,7 @@ describe('Execute: Handles execution of abstract types with promises', () => { const CatType = new GraphQLObjectType({ name: 'Cat', interfaces: [PetType], - isTypeOf: obj => Promise.resolve(obj instanceof Cat), + isTypeOf: (obj) => Promise.resolve(obj instanceof Cat), fields: { name: { type: GraphQLString }, meows: { type: GraphQLBoolean }, @@ -140,7 +140,7 @@ describe('Execute: Handles execution of abstract types with promises', () => { const CatType = new GraphQLObjectType({ name: 'Cat', interfaces: [PetType], - isTypeOf: obj => Promise.resolve(obj instanceof Cat), + isTypeOf: (obj) => Promise.resolve(obj instanceof Cat), fields: { name: { type: GraphQLString }, meows: { type: GraphQLBoolean }, @@ -199,7 +199,7 @@ describe('Execute: Handles execution of abstract types with promises', () => { it('isTypeOf used to resolve runtime type for Union', async () => { const DogType = new GraphQLObjectType({ name: 'Dog', - isTypeOf: obj => Promise.resolve(obj instanceof Dog), + isTypeOf: (obj) => Promise.resolve(obj instanceof Dog), fields: { name: { type: GraphQLString }, woofs: { type: GraphQLBoolean }, @@ -208,7 +208,7 @@ describe('Execute: Handles execution of abstract types with promises', () => { const CatType = new GraphQLObjectType({ name: 'Cat', - isTypeOf: obj => Promise.resolve(obj instanceof Cat), + isTypeOf: (obj) => Promise.resolve(obj instanceof Cat), fields: { name: { type: GraphQLString }, meows: { type: GraphQLBoolean }, diff --git a/src/execution/__tests__/abstract-test.js b/src/execution/__tests__/abstract-test.js index 7c6d527569..6d60cc253a 100644 --- a/src/execution/__tests__/abstract-test.js +++ b/src/execution/__tests__/abstract-test.js @@ -56,7 +56,7 @@ describe('Execute: Handles execution of abstract types', () => { const DogType = new GraphQLObjectType({ name: 'Dog', interfaces: [PetType], - isTypeOf: obj => obj instanceof Dog, + isTypeOf: (obj) => obj instanceof Dog, fields: { name: { type: GraphQLString }, woofs: { type: GraphQLBoolean }, @@ -66,7 +66,7 @@ describe('Execute: Handles execution of abstract types', () => { const CatType = new GraphQLObjectType({ name: 'Cat', interfaces: [PetType], - isTypeOf: obj => obj instanceof Cat, + isTypeOf: (obj) => obj instanceof Cat, fields: { name: { type: GraphQLString }, meows: { type: GraphQLBoolean }, @@ -123,7 +123,7 @@ describe('Execute: Handles execution of abstract types', () => { it('isTypeOf used to resolve runtime type for Union', () => { const DogType = new GraphQLObjectType({ name: 'Dog', - isTypeOf: obj => obj instanceof Dog, + isTypeOf: (obj) => obj instanceof Dog, fields: { name: { type: GraphQLString }, woofs: { type: GraphQLBoolean }, @@ -132,7 +132,7 @@ describe('Execute: Handles execution of abstract types', () => { const CatType = new GraphQLObjectType({ name: 'Cat', - isTypeOf: obj => obj instanceof Cat, + isTypeOf: (obj) => obj instanceof Cat, fields: { name: { type: GraphQLString }, meows: { type: GraphQLBoolean }, diff --git a/src/execution/__tests__/executor-test.js b/src/execution/__tests__/executor-test.js index 7a06d98780..ef5d02076e 100644 --- a/src/execution/__tests__/executor-test.js +++ b/src/execution/__tests__/executor-test.js @@ -103,7 +103,7 @@ describe('Execute: Handles basic execution tasks', () => { e: () => 'Egg', f: 'Fish', // Called only by DataType::pic static resolver - pic: size => 'Pic of size: ' + size, + pic: (size) => 'Pic of size: ' + size, deep: () => deepData, promise: promiseData, }; @@ -116,7 +116,7 @@ describe('Execute: Handles basic execution tasks', () => { }; function promiseData() { - return new Promise(resolve => { + return new Promise((resolve) => { process.nextTick(() => { resolve(data); }); @@ -428,7 +428,7 @@ describe('Execute: Handles basic execution tasks', () => { ]; }, async() { - return new Promise(resolve => resolve('async')); + return new Promise((resolve) => resolve('async')); }, asyncReject() { return new Promise((_, reject) => @@ -891,9 +891,9 @@ describe('Execute: Handles basic execution tasks', () => { const document = parse('{ a, b, c, d, e }'); const rootValue = { a: () => 'a', - b: () => new Promise(resolve => resolve('b')), + b: () => new Promise((resolve) => resolve('b')), c: () => 'c', - d: () => new Promise(resolve => resolve('d')), + d: () => new Promise((resolve) => resolve('d')), e: () => 'e', }; diff --git a/src/execution/__tests__/mutations-test.js b/src/execution/__tests__/mutations-test.js index 217b6e8873..63b2411394 100644 --- a/src/execution/__tests__/mutations-test.js +++ b/src/execution/__tests__/mutations-test.js @@ -32,7 +32,7 @@ class Root { } promiseToChangeTheNumber(newNumber: number): Promise { - return new Promise(resolve => { + return new Promise((resolve) => { process.nextTick(() => { resolve(this.immediatelyChangeTheNumber(newNumber)); }); diff --git a/src/execution/__tests__/nonnull-test.js b/src/execution/__tests__/nonnull-test.js index 331c1ae74c..3312a1b275 100644 --- a/src/execution/__tests__/nonnull-test.js +++ b/src/execution/__tests__/nonnull-test.js @@ -42,12 +42,12 @@ const throwingData = { return throwingData; }, promiseNest() { - return new Promise(resolve => { + return new Promise((resolve) => { resolve(throwingData); }); }, promiseNonNullNest() { - return new Promise(resolve => { + return new Promise((resolve) => { resolve(throwingData); }); }, @@ -61,12 +61,12 @@ const nullingData = { return null; }, promise() { - return new Promise(resolve => { + return new Promise((resolve) => { resolve(null); }); }, promiseNonNull() { - return new Promise(resolve => { + return new Promise((resolve) => { resolve(null); }); }, @@ -77,12 +77,12 @@ const nullingData = { return nullingData; }, promiseNest() { - return new Promise(resolve => { + return new Promise((resolve) => { resolve(nullingData); }); }, promiseNonNullNest() { - return new Promise(resolve => { + return new Promise((resolve) => { resolve(nullingData); }); }, diff --git a/src/execution/__tests__/union-interface-test.js b/src/execution/__tests__/union-interface-test.js index b85987f42d..39e2518a4f 100644 --- a/src/execution/__tests__/union-interface-test.js +++ b/src/execution/__tests__/union-interface-test.js @@ -96,7 +96,7 @@ const DogType = new GraphQLObjectType({ mother: { type: DogType }, father: { type: DogType }, }), - isTypeOf: value => value instanceof Dog, + isTypeOf: (value) => value instanceof Dog, }); const CatType = new GraphQLObjectType({ @@ -109,7 +109,7 @@ const CatType = new GraphQLObjectType({ mother: { type: CatType }, father: { type: CatType }, }), - isTypeOf: value => value instanceof Cat, + isTypeOf: (value) => value instanceof Cat, }); const PetType = new GraphQLUnionType({ @@ -139,7 +139,7 @@ const PersonType = new GraphQLObjectType({ mother: { type: PersonType }, father: { type: PersonType }, }), - isTypeOf: value => value instanceof Person, + isTypeOf: (value) => value instanceof Person, }); const schema = new GraphQLSchema({ diff --git a/src/execution/execute.js b/src/execution/execute.js index 970e644fa7..a78df7729a 100644 --- a/src/execution/execute.js +++ b/src/execution/execute.js @@ -232,7 +232,7 @@ function buildResponse( data: PromiseOrValue | null>, ): PromiseOrValue { if (isPromise(data)) { - return data.then(resolved => buildResponse(exeContext, resolved)); + return data.then((resolved) => buildResponse(exeContext, resolved)); } return exeContext.errors.length === 0 ? { data } @@ -368,7 +368,7 @@ function executeOperation( ? executeFieldsSerially(exeContext, type, rootValue, path, fields) : executeFields(exeContext, type, rootValue, path, fields); if (isPromise(result)) { - return result.then(undefined, error => { + return result.then(undefined, (error) => { exeContext.errors.push(error); return Promise.resolve(null); }); @@ -407,7 +407,7 @@ function executeFieldsSerially( return results; } if (isPromise(result)) { - return result.then(resolvedResult => { + return result.then((resolvedResult) => { results[responseName] = resolvedResult; return results; }); @@ -732,7 +732,7 @@ function completeValueCatchingError( try { let completed; if (isPromise(result)) { - completed = result.then(resolved => + completed = result.then((resolved) => completeValue(exeContext, returnType, fieldNodes, info, path, resolved), ); } else { @@ -749,7 +749,7 @@ function completeValueCatchingError( if (isPromise(completed)) { // Note: we don't rely on a `catch` method, but we do expect "thenable" // to take a second callback for the error case. - return completed.then(undefined, error => + return completed.then(undefined, (error) => handleFieldError(error, fieldNodes, path, returnType, exeContext), ); } @@ -964,7 +964,7 @@ function completeAbstractValue( const runtimeType = resolveTypeFn(result, contextValue, info, returnType); if (isPromise(runtimeType)) { - return runtimeType.then(resolvedRuntimeType => + return runtimeType.then((resolvedRuntimeType) => completeObjectValue( exeContext, ensureValidRuntimeType( @@ -1050,7 +1050,7 @@ function completeObjectValue( const isTypeOf = returnType.isTypeOf(result, exeContext.contextValue, info); if (isPromise(isTypeOf)) { - return isTypeOf.then(resolvedIsTypeOf => { + return isTypeOf.then((resolvedIsTypeOf) => { if (!resolvedIsTypeOf) { throw invalidReturnTypeError(returnType, result, fieldNodes); } @@ -1138,7 +1138,7 @@ function _collectSubfields( * Otherwise, test each possible type for the abstract type by calling * isTypeOf for the object being coerced, returning the first type that matches. */ -export const defaultTypeResolver: GraphQLTypeResolver = function( +export const defaultTypeResolver: GraphQLTypeResolver = function ( value, contextValue, info, @@ -1168,7 +1168,7 @@ export const defaultTypeResolver: GraphQLTypeResolver = function( } if (promisedIsTypeOfResults.length) { - return Promise.all(promisedIsTypeOfResults).then(isTypeOfResults => { + return Promise.all(promisedIsTypeOfResults).then((isTypeOfResults) => { for (let i = 0; i < isTypeOfResults.length; i++) { if (isTypeOfResults[i]) { return possibleTypes[i]; @@ -1187,7 +1187,7 @@ export const defaultTypeResolver: GraphQLTypeResolver = function( export const defaultFieldResolver: GraphQLFieldResolver< mixed, mixed, -> = function(source: any, args, contextValue, info) { +> = function (source: any, args, contextValue, info) { // ensure source is a value for which property access is acceptable. if (isObjectLike(source) || typeof source === 'function') { const property = source[info.fieldName]; diff --git a/src/execution/values.js b/src/execution/values.js index 44c514967a..aaafd51d95 100644 --- a/src/execution/values.js +++ b/src/execution/values.js @@ -53,14 +53,19 @@ export function getVariableValues( const errors = []; const maxErrors = options?.maxErrors; try { - const coerced = coerceVariableValues(schema, varDefNodes, inputs, error => { - if (maxErrors != null && errors.length >= maxErrors) { - throw new GraphQLError( - 'Too many errors processing variables, error limit reached. Execution aborted.', - ); - } - errors.push(error); - }); + const coerced = coerceVariableValues( + schema, + varDefNodes, + inputs, + (error) => { + if (maxErrors != null && errors.length >= maxErrors) { + throw new GraphQLError( + 'Too many errors processing variables, error limit reached. Execution aborted.', + ); + } + errors.push(error); + }, + ); if (errors.length === 0) { return { coerced }; @@ -76,7 +81,7 @@ function coerceVariableValues( schema: GraphQLSchema, varDefNodes: $ReadOnlyArray, inputs: { +[variable: string]: mixed, ... }, - onError: GraphQLError => void, + onError: (GraphQLError) => void, ): { [variable: string]: mixed, ... } { const coercedValues = {}; for (const varDefNode of varDefNodes) { @@ -167,7 +172,7 @@ export function getArgumentValues( /* istanbul ignore next (See https://github.com/graphql/graphql-js/issues/2203) */ const argumentNodes = node.arguments ?? []; - const argNodeMap = keyMap(argumentNodes, arg => arg.name.value); + const argNodeMap = keyMap(argumentNodes, (arg) => arg.name.value); for (const argDef of def.args) { const name = argDef.name; @@ -253,7 +258,7 @@ export function getDirectiveValues( node.directives && find( node.directives, - directive => directive.name.value === directiveDef.name, + (directive) => directive.name.value === directiveDef.name, ); if (directiveNode) { diff --git a/src/graphql.js b/src/graphql.js index a49f032166..5a82d4e444 100644 --- a/src/graphql.js +++ b/src/graphql.js @@ -90,7 +90,7 @@ export function graphql( ) { /* eslint-enable no-redeclare */ // Always return a Promise for a consistent API. - return new Promise(resolve => + return new Promise((resolve) => resolve( // Extract arguments from object args if provided. arguments.length === 1 diff --git a/src/jsutils/__tests__/inspect-test.js b/src/jsutils/__tests__/inspect-test.js index 454547b065..f85cfb47b9 100644 --- a/src/jsutils/__tests__/inspect-test.js +++ b/src/jsutils/__tests__/inspect-test.js @@ -185,7 +185,7 @@ describe('inspect', () => { (Foo.prototype: any)[Symbol.toStringTag] = 'Bar'; expect(inspect([[new Foo()]])).to.equal('[[[Bar]]]'); - const objectWithoutClassName = new (function() { + const objectWithoutClassName = new (function () { this.foo = 1; })(); expect(inspect([[objectWithoutClassName]])).to.equal('[[[Object]]]'); diff --git a/src/jsutils/didYouMean.js b/src/jsutils/didYouMean.js index 6c9bc3dac4..3e6bc94503 100644 --- a/src/jsutils/didYouMean.js +++ b/src/jsutils/didYouMean.js @@ -24,7 +24,7 @@ export default function didYouMean(firstArg, secondArg) { message += subMessage + ' '; } - const suggestions = suggestionsArg.map(x => `"${x}"`); + const suggestions = suggestionsArg.map((x) => `"${x}"`); switch (suggestions.length) { case 0: return ''; diff --git a/src/jsutils/inspect.js b/src/jsutils/inspect.js index 49e0d8babc..9ae109a9f4 100644 --- a/src/jsutils/inspect.js +++ b/src/jsutils/inspect.js @@ -63,7 +63,7 @@ function formatObject(object, seenValues) { return '[' + getObjectTag(object) + ']'; } - const properties = keys.map(key => { + const properties = keys.map((key) => { const value = formatValue(object[key], seenValues); return key + ': ' + value; }); diff --git a/src/jsutils/printPathArray.js b/src/jsutils/printPathArray.js index f850c5e124..10f6d119f2 100644 --- a/src/jsutils/printPathArray.js +++ b/src/jsutils/printPathArray.js @@ -7,7 +7,7 @@ export default function printPathArray( path: $ReadOnlyArray, ): string { return path - .map(key => + .map((key) => typeof key === 'number' ? '[' + key.toString() + ']' : '.' + key, ) .join(''); diff --git a/src/jsutils/promiseForObject.js b/src/jsutils/promiseForObject.js index b0afd8b679..ab0435dccc 100644 --- a/src/jsutils/promiseForObject.js +++ b/src/jsutils/promiseForObject.js @@ -13,8 +13,8 @@ export default function promiseForObject( object: ObjMap>, ): Promise> { const keys = Object.keys(object); - const valuesAndPromises = keys.map(name => object[name]); - return Promise.all(valuesAndPromises).then(values => + const valuesAndPromises = keys.map((name) => object[name]); + return Promise.all(valuesAndPromises).then((values) => values.reduce((resolvedObject, value, i) => { resolvedObject[keys[i]] = value; return resolvedObject; diff --git a/src/jsutils/promiseReduce.js b/src/jsutils/promiseReduce.js index 22abbd55af..0a610e77f7 100644 --- a/src/jsutils/promiseReduce.js +++ b/src/jsutils/promiseReduce.js @@ -18,7 +18,7 @@ export default function promiseReduce( return values.reduce( (previous, value) => isPromise(previous) - ? previous.then(resolved => callback(resolved, value)) + ? previous.then((resolved) => callback(resolved, value)) : callback(previous, value), initialValue, ); diff --git a/src/language/__tests__/lexer-test.js b/src/language/__tests__/lexer-test.js index 2d6e6b11fc..bbfea7e30f 100644 --- a/src/language/__tests__/lexer-test.js +++ b/src/language/__tests__/lexer-test.js @@ -894,7 +894,7 @@ describe('Lexer', () => { tokens.push(tok); } - expect(tokens.map(tok => tok.kind)).to.deep.equal([ + expect(tokens.map((tok) => tok.kind)).to.deep.equal([ TokenKind.SOF, TokenKind.BRACE_L, TokenKind.COMMENT, diff --git a/src/language/__tests__/predicates-test.js b/src/language/__tests__/predicates-test.js index a79fb7b706..0f01049f85 100644 --- a/src/language/__tests__/predicates-test.js +++ b/src/language/__tests__/predicates-test.js @@ -18,10 +18,10 @@ import { } from '../predicates'; const allASTNodes: Array = Object.values(Kind).map( - kind => ({ kind }: any), + (kind) => ({ kind }: any), ); -function filterNodes(predicate: ASTNode => boolean): Array { +function filterNodes(predicate: (ASTNode) => boolean): Array { return allASTNodes.filter(predicate).map(({ kind }) => kind); } diff --git a/src/language/ast.js b/src/language/ast.js index 9d5df64d86..8592996b47 100644 --- a/src/language/ast.js +++ b/src/language/ast.js @@ -45,7 +45,7 @@ export class Location { } // Print a simplified form when appearing in JSON/util.inspect. -defineToJSON(Location, function() { +defineToJSON(Location, function () { return { start: this.start, end: this.end }; }); @@ -113,7 +113,7 @@ export class Token { } // Print a simplified form when appearing in JSON/util.inspect. -defineToJSON(Token, function() { +defineToJSON(Token, function () { return { kind: this.kind, value: this.value, diff --git a/src/language/printLocation.js b/src/language/printLocation.js index 536d5aba01..af5cff0817 100644 --- a/src/language/printLocation.js +++ b/src/language/printLocation.js @@ -48,7 +48,7 @@ export function printSourceLocation( locationStr + printPrefixedLines([ [`${lineNum}`, subLines[0]], - ...subLines.slice(1, subLineIndex + 1).map(subLine => ['', subLine]), + ...subLines.slice(1, subLineIndex + 1).map((subLine) => ['', subLine]), [' ', whitespace(subLineColumnNum - 1) + '^'], ['', subLines[subLineIndex + 1]], ]) diff --git a/src/language/printer.js b/src/language/printer.js index aeff16b140..c035401aba 100644 --- a/src/language/printer.js +++ b/src/language/printer.js @@ -14,12 +14,12 @@ export function print(ast: ASTNode): string { // TODO: provide better type coverage in future const printDocASTReducer: any = { - Name: node => node.value, - Variable: node => '$' + node.name, + Name: (node) => node.value, + Variable: (node) => '$' + node.name, // Document - Document: node => join(node.definitions, '\n\n') + '\n', + Document: (node) => join(node.definitions, '\n\n') + '\n', OperationDefinition(node) { const op = node.operation; @@ -248,7 +248,7 @@ const printDocASTReducer: any = { }; function addDescription(cb) { - return node => join([node.description, cb(node)], '\n'); + return (node) => join([node.description, cb(node)], '\n'); } /** @@ -256,7 +256,7 @@ function addDescription(cb) { * print all items together separated by separator if provided */ function join(maybeArray: ?Array, separator = '') { - return maybeArray?.filter(x => x).join(separator) ?? ''; + return maybeArray?.filter((x) => x).join(separator) ?? ''; } /** diff --git a/src/polyfills/arrayFrom.js b/src/polyfills/arrayFrom.js index ab7ad40200..f10ae58d08 100644 --- a/src/polyfills/arrayFrom.js +++ b/src/polyfills/arrayFrom.js @@ -14,7 +14,7 @@ declare function arrayFrom( // $FlowFixMe const arrayFrom = Array.from || - function(obj, mapFn, thisArg) { + function (obj, mapFn, thisArg) { if (obj == null) { throw new TypeError( 'Array.from requires an array-like object - not null or undefined', diff --git a/src/polyfills/find.js b/src/polyfills/find.js index 2243c2a7b9..224a99da4a 100644 --- a/src/polyfills/find.js +++ b/src/polyfills/find.js @@ -8,10 +8,10 @@ declare function find( /* eslint-disable no-redeclare */ // $FlowFixMe const find = Array.prototype.find - ? function(list, predicate) { + ? function (list, predicate) { return Array.prototype.find.call(list, predicate); } - : function(list, predicate) { + : function (list, predicate) { for (const value of list) { if (predicate(value)) { return value; diff --git a/src/polyfills/flatMap.js b/src/polyfills/flatMap.js index 4152b16a46..38f739e97c 100644 --- a/src/polyfills/flatMap.js +++ b/src/polyfills/flatMap.js @@ -10,10 +10,10 @@ const flatMapMethod = Array.prototype.flatMap; /* eslint-disable no-redeclare */ // $FlowFixMe const flatMap = flatMapMethod - ? function(list, fn) { + ? function (list, fn) { return flatMapMethod.call(list, fn); } - : function(list, fn) { + : function (list, fn) { let result = []; for (const item of list) { const value = fn(item); diff --git a/src/polyfills/isFinite.js b/src/polyfills/isFinite.js index 9156126ef4..8b26d8d2d9 100644 --- a/src/polyfills/isFinite.js +++ b/src/polyfills/isFinite.js @@ -8,7 +8,7 @@ declare function isFinitePolyfill( // $FlowFixMe workaround for: https://github.com/facebook/flow/issues/4441 const isFinitePolyfill = Number.isFinite || - function(value) { + function (value) { return typeof value === 'number' && isFinite(value); }; export default isFinitePolyfill; diff --git a/src/polyfills/isInteger.js b/src/polyfills/isInteger.js index f4c4639ca6..ba79ee4430 100644 --- a/src/polyfills/isInteger.js +++ b/src/polyfills/isInteger.js @@ -7,7 +7,7 @@ declare function isInteger(value: mixed): boolean %checks(typeof value === // $FlowFixMe workaround for: https://github.com/facebook/flow/issues/4441 const isInteger = Number.isInteger || - function(value) { + function (value) { return ( typeof value === 'number' && isFinite(value) && diff --git a/src/polyfills/objectEntries.js b/src/polyfills/objectEntries.js index ba4f5e1e7b..d47e6c51b9 100644 --- a/src/polyfills/objectEntries.js +++ b/src/polyfills/objectEntries.js @@ -7,6 +7,6 @@ declare function objectEntries(obj: ObjMap): Array<[string, T]>; /* eslint-disable no-redeclare */ // $FlowFixMe workaround for: https://github.com/facebook/flow/issues/5838 const objectEntries = - Object.entries || (obj => Object.keys(obj).map(key => [key, obj[key]])); + Object.entries || ((obj) => Object.keys(obj).map((key) => [key, obj[key]])); export default objectEntries; diff --git a/src/polyfills/objectValues.js b/src/polyfills/objectValues.js index 8f1d65f525..afe1af290e 100644 --- a/src/polyfills/objectValues.js +++ b/src/polyfills/objectValues.js @@ -7,5 +7,5 @@ declare function objectValues(obj: ObjMap): Array; /* eslint-disable no-redeclare */ // $FlowFixMe workaround for: https://github.com/facebook/flow/issues/2221 const objectValues = - Object.values || (obj => Object.keys(obj).map(key => obj[key])); + Object.values || ((obj) => Object.keys(obj).map((key) => obj[key])); export default objectValues; diff --git a/src/subscription/__tests__/eventEmitterAsyncIterator-test.js b/src/subscription/__tests__/eventEmitterAsyncIterator-test.js index 6ebbe0c265..4e5ee51f36 100644 --- a/src/subscription/__tests__/eventEmitterAsyncIterator-test.js +++ b/src/subscription/__tests__/eventEmitterAsyncIterator-test.js @@ -28,8 +28,8 @@ describe('eventEmitterAsyncIterator', () => { }); // Read ahead - const i3 = iterator.next().then(x => x); - const i4 = iterator.next().then(x => x); + const i3 = iterator.next().then((x) => x); + const i4 = iterator.next().then((x) => x); // Publish expect(emitter.emit('publish', 'Coconut')).to.equal(true); @@ -40,7 +40,7 @@ describe('eventEmitterAsyncIterator', () => { expect(await i3).to.deep.equal({ done: false, value: 'Coconut' }); // Read ahead - const i5 = iterator.next().then(x => x); + const i5 = iterator.next().then((x) => x); // Terminate emitter // $FlowFixMe diff --git a/src/subscription/__tests__/eventEmitterAsyncIterator.js b/src/subscription/__tests__/eventEmitterAsyncIterator.js index d9ed65d97d..c1c5abbfa7 100644 --- a/src/subscription/__tests__/eventEmitterAsyncIterator.js +++ b/src/subscription/__tests__/eventEmitterAsyncIterator.js @@ -24,7 +24,7 @@ export default function eventEmitterAsyncIterator( } function pullValue() { - return new Promise(resolve => { + return new Promise((resolve) => { if (pushQueue.length !== 0) { resolve({ value: pushQueue.shift(), done: false }); } else { diff --git a/src/subscription/__tests__/mapAsyncIterator-test.js b/src/subscription/__tests__/mapAsyncIterator-test.js index d498a3b137..a4b8b7f2ac 100644 --- a/src/subscription/__tests__/mapAsyncIterator-test.js +++ b/src/subscription/__tests__/mapAsyncIterator-test.js @@ -18,7 +18,7 @@ describe('mapAsyncIterator', () => { yield 3; } - const doubles = mapAsyncIterator(source(), x => x + x); + const doubles = mapAsyncIterator(source(), (x) => x + x); expect(await doubles.next()).to.deep.equal({ value: 2, done: false }); expect(await doubles.next()).to.deep.equal({ value: 4, done: false }); @@ -45,7 +45,7 @@ describe('mapAsyncIterator', () => { }, }; - const doubles = mapAsyncIterator(iterator, x => x + x); + const doubles = mapAsyncIterator(iterator, (x) => x + x); expect(await doubles.next()).to.deep.equal({ value: 2, done: false }); expect(await doubles.next()).to.deep.equal({ value: 4, done: false }); @@ -63,7 +63,7 @@ describe('mapAsyncIterator', () => { yield 3; } - const doubles = mapAsyncIterator(source(), x => x + x); + const doubles = mapAsyncIterator(source(), (x) => x + x); const result = []; for await (const x of doubles) { @@ -82,7 +82,7 @@ describe('mapAsyncIterator', () => { // Flow test: this is *not* AsyncIterator> const doubles: AsyncIterator = mapAsyncIterator( source(), - async x => (await x) + x, + async (x) => (await x) + x, ); expect(await doubles.next()).to.deep.equal({ value: 2, done: false }); @@ -103,7 +103,7 @@ describe('mapAsyncIterator', () => { yield 3; } - const doubles = mapAsyncIterator(source(), x => x + x); + const doubles = mapAsyncIterator(source(), (x) => x + x); expect(await doubles.next()).to.deep.equal({ value: 2, done: false }); expect(await doubles.next()).to.deep.equal({ value: 4, done: false }); @@ -141,7 +141,7 @@ describe('mapAsyncIterator', () => { }, }; - const doubles = mapAsyncIterator(iterator, x => x + x); + const doubles = mapAsyncIterator(iterator, (x) => x + x); expect(await doubles.next()).to.deep.equal({ value: 2, done: false }); expect(await doubles.next()).to.deep.equal({ value: 4, done: false }); @@ -167,7 +167,7 @@ describe('mapAsyncIterator', () => { } } - const doubles = mapAsyncIterator(source(), x => x + x); + const doubles = mapAsyncIterator(source(), (x) => x + x); expect(await doubles.next()).to.deep.equal({ value: 2, done: false }); expect(await doubles.next()).to.deep.equal({ value: 4, done: false }); @@ -205,7 +205,7 @@ describe('mapAsyncIterator', () => { }, }; - const doubles = mapAsyncIterator(iterator, x => x + x); + const doubles = mapAsyncIterator(iterator, (x) => x + x); expect(await doubles.next()).to.deep.equal({ value: 2, done: false }); expect(await doubles.next()).to.deep.equal({ value: 4, done: false }); @@ -233,7 +233,7 @@ describe('mapAsyncIterator', () => { } } - const doubles = mapAsyncIterator(source(), x => x + x); + const doubles = mapAsyncIterator(source(), (x) => x + x); expect(await doubles.next()).to.deep.equal({ value: 2, done: false }); expect(await doubles.next()).to.deep.equal({ value: 4, done: false }); @@ -260,7 +260,7 @@ describe('mapAsyncIterator', () => { throw new Error('Goodbye'); } - const doubles = mapAsyncIterator(source(), x => x + x); + const doubles = mapAsyncIterator(source(), (x) => x + x); expect(await doubles.next()).to.deep.equal({ value: 'HelloHello', @@ -286,8 +286,8 @@ describe('mapAsyncIterator', () => { const doubles = mapAsyncIterator( source(), - x => x + x, - error => error, + (x) => x + x, + (error) => error, ); expect(await doubles.next()).to.deep.equal({ @@ -345,7 +345,7 @@ describe('mapAsyncIterator', () => { } it('closes source if mapper throws an error', async () => { - await testClosesSourceWithMapper(x => { + await testClosesSourceWithMapper((x) => { if (x > 1) { throw new Error('Cannot count to ' + x); } @@ -354,7 +354,7 @@ describe('mapAsyncIterator', () => { }); it('closes source if mapper rejects', async () => { - await testClosesSourceWithMapper(x => + await testClosesSourceWithMapper((x) => x > 1 ? Promise.reject(new Error('Cannot count to ' + x)) : Promise.resolve(x), @@ -367,7 +367,7 @@ describe('mapAsyncIterator', () => { throw new Error(2); } - const throwOver1 = mapAsyncIterator(source(), x => x, mapper); + const throwOver1 = mapAsyncIterator(source(), (x) => x, mapper); expect(await throwOver1.next()).to.deep.equal({ value: 1, done: false }); @@ -388,13 +388,13 @@ describe('mapAsyncIterator', () => { } it('closes source if mapper throws an error', async () => { - await testClosesSourceWithRejectMapper(error => { + await testClosesSourceWithRejectMapper((error) => { throw new Error('Cannot count to ' + error.message); }); }); it('closes source if mapper rejects', async () => { - await testClosesSourceWithRejectMapper(error => + await testClosesSourceWithRejectMapper((error) => Promise.reject(new Error('Cannot count to ' + error.message)), ); }); diff --git a/src/subscription/__tests__/subscribe-test.js b/src/subscription/__tests__/subscribe-test.js index 8586d95469..4a0620168d 100644 --- a/src/subscription/__tests__/subscribe-test.js +++ b/src/subscription/__tests__/subscribe-test.js @@ -35,11 +35,11 @@ const InboxType = new GraphQLObjectType({ fields: { total: { type: GraphQLInt, - resolve: inbox => inbox.emails.length, + resolve: (inbox) => inbox.emails.length, }, unread: { type: GraphQLInt, - resolve: inbox => inbox.emails.filter(email => email.unread).length, + resolve: (inbox) => inbox.emails.filter((email) => email.unread).length, }, emails: { type: GraphQLList(EmailType) }, }, @@ -922,12 +922,12 @@ describe('Subscription Publish Phase', () => { it('should handle error during execution of source event', async () => { const erroringEmailSchema = emailSchemaWithResolvers( - async function*() { + async function* () { yield { email: { subject: 'Hello' } }; yield { email: { subject: 'Goodbye' } }; yield { email: { subject: 'Bonjour' } }; }, - event => { + (event) => { if (event.email.subject === 'Goodbye') { throw new Error('Never leave.'); } @@ -1000,11 +1000,11 @@ describe('Subscription Publish Phase', () => { it('should pass through error thrown in source event stream', async () => { const erroringEmailSchema = emailSchemaWithResolvers( - async function*() { + async function* () { yield { email: { subject: 'Hello' } }; throw new Error('test error'); }, - email => email, + (email) => email, ); const subscription = await subscribe({ @@ -1054,11 +1054,11 @@ describe('Subscription Publish Phase', () => { it('should resolve GraphQL error from source event stream', async () => { const erroringEmailSchema = emailSchemaWithResolvers( - async function*() { + async function* () { yield { email: { subject: 'Hello' } }; throw new GraphQLError('test error'); }, - email => email, + (email) => email, ); const subscription = await subscribe({ diff --git a/src/subscription/mapAsyncIterator.js b/src/subscription/mapAsyncIterator.js index 46dc8d7edc..2731dbc6c9 100644 --- a/src/subscription/mapAsyncIterator.js +++ b/src/subscription/mapAsyncIterator.js @@ -10,8 +10,8 @@ import { type PromiseOrValue } from '../jsutils/PromiseOrValue'; */ export default function mapAsyncIterator( iterable: AsyncIterable, - callback: T => PromiseOrValue, - rejectCallback?: any => PromiseOrValue, + callback: (T) => PromiseOrValue, + rejectCallback?: (any) => PromiseOrValue, ): AsyncGenerator { // $FlowFixMe const iteratorMethod = iterable[SYMBOL_ASYNC_ITERATOR]; @@ -21,7 +21,7 @@ export default function mapAsyncIterator( // $FlowFixMe(>=0.68.0) if (typeof iterator.return === 'function') { $return = iterator.return; - abruptClose = error => { + abruptClose = (error) => { const rethrow = () => Promise.reject(error); return $return.call(iterator).then(rethrow, rethrow); }; @@ -37,7 +37,7 @@ export default function mapAsyncIterator( if (rejectCallback) { // Capture rejectCallback to ensure it cannot be null. const reject = rejectCallback; - mapReject = error => + mapReject = (error) => asyncMapValue(error, reject).then(iteratorResult, abruptClose); } @@ -67,9 +67,9 @@ export default function mapAsyncIterator( function asyncMapValue( value: T, - callback: T => PromiseOrValue, + callback: (T) => PromiseOrValue, ): Promise { - return new Promise(resolve => resolve(callback(value))); + return new Promise((resolve) => resolve(callback(value))); } function iteratorResult(value: T): IteratorResult { diff --git a/src/subscription/subscribe.js b/src/subscription/subscribe.js index 1b170800c6..0def478c42 100644 --- a/src/subscription/subscribe.js +++ b/src/subscription/subscribe.js @@ -143,7 +143,7 @@ function subscribeImpl( // the GraphQL specification. The `execute` function provides the // "ExecuteSubscriptionEvent" algorithm, as it is nearly identical to the // "ExecuteQuery" algorithm, for which `execute` is also used. - const mapSourceToResponse = payload => + const mapSourceToResponse = (payload) => execute({ schema, document, @@ -156,7 +156,7 @@ function subscribeImpl( // Resolve the Source Stream, then map every source value to a // ExecutionResult value as described above. - return sourcePromise.then(resultOrStream => + return sourcePromise.then((resultOrStream) => // Note: Flow can't refine isAsyncIterable, so explicit casts are used. isAsyncIterable(resultOrStream) ? mapAsyncIterator( @@ -270,7 +270,7 @@ export function createSourceEventStream( ); // Coerce to Promise for easier error handling and consistent return type. - return Promise.resolve(result).then(eventStream => { + return Promise.resolve(result).then((eventStream) => { // If eventStream is an Error, rethrow a located error. if (eventStream instanceof Error) { return { diff --git a/src/type/definition.js b/src/type/definition.js index 7d43167df8..16cd2de08e 100644 --- a/src/type/definition.js +++ b/src/type/definition.js @@ -582,7 +582,7 @@ export class GraphQLScalarType { this.serialize = config.serialize ?? identityFunc; this.parseValue = parseValue; this.parseLiteral = - config.parseLiteral ?? (node => parseValue(valueFromASTUntyped(node))); + config.parseLiteral ?? ((node) => parseValue(valueFromASTUntyped(node))); this.extensions = config.extensions && toObjMap(config.extensions); this.astNode = config.astNode; this.extensionASTNodes = undefineIfEmpty(config.extensionASTNodes); @@ -848,7 +848,7 @@ function isPlainObj(obj) { } function fieldsToFieldsConfig(fields) { - return mapValue(fields, field => ({ + return mapValue(fields, (field) => ({ description: field.description, type: field.type, args: argsToArgsConfig(field.args), @@ -868,8 +868,8 @@ export function argsToArgsConfig( ): GraphQLFieldConfigArgumentMap { return keyValMap( args, - arg => arg.name, - arg => ({ + (arg) => arg.name, + (arg) => ({ description: arg.description, type: arg.type, defaultValue: arg.defaultValue, @@ -1251,9 +1251,9 @@ export class GraphQLEnumType /* */ { this._values = defineEnumValues(this.name, config.values); this._valueLookup = new Map( - this._values.map(enumValue => [enumValue.value, enumValue]), + this._values.map((enumValue) => [enumValue.value, enumValue]), ); - this._nameLookup = keyMap(this._values, value => value.name); + this._nameLookup = keyMap(this._values, (value) => value.name); devAssert(typeof config.name === 'string', 'Must provide name.'); } @@ -1325,8 +1325,8 @@ export class GraphQLEnumType /* */ { |} { const values = keyValMap( this.getValues(), - value => value.name, - value => ({ + (value) => value.name, + (value) => ({ description: value.description, value: value.value, deprecationReason: value.deprecationReason, @@ -1361,7 +1361,7 @@ function didYouMeanEnumValue( enumType: GraphQLEnumType, unknownValueStr: string, ): string { - const allNames = enumType.getValues().map(value => value.name); + const allNames = enumType.getValues().map((value) => value.name); const suggestedValues = suggestionList(unknownValueStr, allNames); return didYouMean('the enum value', suggestedValues); @@ -1479,7 +1479,7 @@ export class GraphQLInputObjectType { extensions: ?ReadOnlyObjMap, extensionASTNodes: $ReadOnlyArray, |} { - const fields = mapValue(this.getFields(), field => ({ + const fields = mapValue(this.getFields(), (field) => ({ description: field.description, type: field.type, defaultValue: field.defaultValue, diff --git a/src/type/introspection.js b/src/type/introspection.js index 9743817948..62f53325c5 100644 --- a/src/type/introspection.js +++ b/src/type/introspection.js @@ -45,7 +45,7 @@ export const __Schema = new GraphQLObjectType({ ({ description: { type: GraphQLString, - resolve: schema => schema.description, + resolve: (schema) => schema.description, }, types: { description: 'A list of all types supported by this server.', @@ -57,24 +57,24 @@ export const __Schema = new GraphQLObjectType({ queryType: { description: 'The type that query operations will be rooted at.', type: GraphQLNonNull(__Type), - resolve: schema => schema.getQueryType(), + resolve: (schema) => schema.getQueryType(), }, mutationType: { description: 'If this server supports mutation, the type that mutation operations will be rooted at.', type: __Type, - resolve: schema => schema.getMutationType(), + resolve: (schema) => schema.getMutationType(), }, subscriptionType: { description: 'If this server support subscription, the type that subscription operations will be rooted at.', type: __Type, - resolve: schema => schema.getSubscriptionType(), + resolve: (schema) => schema.getSubscriptionType(), }, directives: { description: 'A list of all directives supported by this server.', type: GraphQLNonNull(GraphQLList(GraphQLNonNull(__Directive))), - resolve: schema => schema.getDirectives(), + resolve: (schema) => schema.getDirectives(), }, }: GraphQLFieldConfigMap), }); @@ -87,23 +87,23 @@ export const __Directive = new GraphQLObjectType({ ({ name: { type: GraphQLNonNull(GraphQLString), - resolve: directive => directive.name, + resolve: (directive) => directive.name, }, description: { type: GraphQLString, - resolve: directive => directive.description, + resolve: (directive) => directive.description, }, isRepeatable: { type: GraphQLNonNull(GraphQLBoolean), - resolve: directive => directive.isRepeatable, + resolve: (directive) => directive.isRepeatable, }, locations: { type: GraphQLNonNull(GraphQLList(GraphQLNonNull(__DirectiveLocation))), - resolve: directive => directive.locations, + resolve: (directive) => directive.locations, }, args: { type: GraphQLNonNull(GraphQLList(GraphQLNonNull(__InputValue))), - resolve: directive => directive.args, + resolve: (directive) => directive.args, }, }: GraphQLFieldConfigMap), }); @@ -232,11 +232,11 @@ export const __Type = new GraphQLObjectType({ }, name: { type: GraphQLString, - resolve: type => (type.name !== undefined ? type.name : undefined), + resolve: (type) => (type.name !== undefined ? type.name : undefined), }, description: { type: GraphQLString, - resolve: type => + resolve: (type) => type.description !== undefined ? type.description : undefined, }, fields: { @@ -248,7 +248,7 @@ export const __Type = new GraphQLObjectType({ if (isObjectType(type) || isInterfaceType(type)) { let fields = objectValues(type.getFields()); if (!includeDeprecated) { - fields = fields.filter(field => !field.isDeprecated); + fields = fields.filter((field) => !field.isDeprecated); } return fields; } @@ -280,7 +280,7 @@ export const __Type = new GraphQLObjectType({ if (isEnumType(type)) { let values = type.getValues(); if (!includeDeprecated) { - values = values.filter(value => !value.isDeprecated); + values = values.filter((value) => !value.isDeprecated); } return values; } @@ -296,7 +296,8 @@ export const __Type = new GraphQLObjectType({ }, ofType: { type: __Type, - resolve: type => (type.ofType !== undefined ? type.ofType : undefined), + resolve: (type) => + type.ofType !== undefined ? type.ofType : undefined, }, }: GraphQLFieldConfigMap), }); @@ -309,27 +310,27 @@ export const __Field = new GraphQLObjectType({ ({ name: { type: GraphQLNonNull(GraphQLString), - resolve: field => field.name, + resolve: (field) => field.name, }, description: { type: GraphQLString, - resolve: field => field.description, + resolve: (field) => field.description, }, args: { type: GraphQLNonNull(GraphQLList(GraphQLNonNull(__InputValue))), - resolve: field => field.args, + resolve: (field) => field.args, }, type: { type: GraphQLNonNull(__Type), - resolve: field => field.type, + resolve: (field) => field.type, }, isDeprecated: { type: GraphQLNonNull(GraphQLBoolean), - resolve: field => field.isDeprecated, + resolve: (field) => field.isDeprecated, }, deprecationReason: { type: GraphQLString, - resolve: field => field.deprecationReason, + resolve: (field) => field.deprecationReason, }, }: GraphQLFieldConfigMap, mixed>), }); @@ -342,15 +343,15 @@ export const __InputValue = new GraphQLObjectType({ ({ name: { type: GraphQLNonNull(GraphQLString), - resolve: inputValue => inputValue.name, + resolve: (inputValue) => inputValue.name, }, description: { type: GraphQLString, - resolve: inputValue => inputValue.description, + resolve: (inputValue) => inputValue.description, }, type: { type: GraphQLNonNull(__Type), - resolve: inputValue => inputValue.type, + resolve: (inputValue) => inputValue.type, }, defaultValue: { type: GraphQLString, @@ -373,19 +374,19 @@ export const __EnumValue = new GraphQLObjectType({ ({ name: { type: GraphQLNonNull(GraphQLString), - resolve: enumValue => enumValue.name, + resolve: (enumValue) => enumValue.name, }, description: { type: GraphQLString, - resolve: enumValue => enumValue.description, + resolve: (enumValue) => enumValue.description, }, isDeprecated: { type: GraphQLNonNull(GraphQLBoolean), - resolve: enumValue => enumValue.isDeprecated, + resolve: (enumValue) => enumValue.isDeprecated, }, deprecationReason: { type: GraphQLString, - resolve: enumValue => enumValue.deprecationReason, + resolve: (enumValue) => enumValue.deprecationReason, }, }: GraphQLFieldConfigMap), }); diff --git a/src/type/schema.js b/src/type/schema.js index 2b42870374..85e9f02ac3 100644 --- a/src/type/schema.js +++ b/src/type/schema.js @@ -336,7 +336,7 @@ export class GraphQLSchema { } getDirective(name: string): ?GraphQLDirective { - return find(this.getDirectives(), directive => directive.name === name); + return find(this.getDirectives(), (directive) => directive.name === name); } toConfig(): GraphQLSchemaNormalizedConfig { diff --git a/src/type/validate.js b/src/type/validate.js index fc57bd1229..d297005b49 100644 --- a/src/type/validate.js +++ b/src/type/validate.js @@ -73,7 +73,7 @@ export function validateSchema( export function assertValidSchema(schema: GraphQLSchema): void { const errors = validateSchema(schema); if (errors.length !== 0) { - throw new Error(errors.map(error => error.message).join('\n\n')); + throw new Error(errors.map((error) => error.message).join('\n\n')); } } @@ -141,7 +141,7 @@ function getOperationTypeNode( type: GraphQLObjectType, operation: string, ): ?ASTNode { - const operationNodes = getAllSubNodes(schema, node => node.operationTypes); + const operationNodes = getAllSubNodes(schema, (node) => node.operationTypes); for (const node of operationNodes) { if (node.operation === operation) { return node.type; @@ -362,7 +362,7 @@ function validateTypeImplementsInterface( // Assert each interface field arg is implemented. for (const ifaceArg of ifaceField.args) { const argName = ifaceArg.name; - const typeArg = find(typeField.args, arg => arg.name === argName); + const typeArg = find(typeField.args, (arg) => arg.name === argName); // Assert interface field arg exists on object field. if (!typeArg) { @@ -392,7 +392,7 @@ function validateTypeImplementsInterface( // Assert additional arguments must not be required. for (const typeArg of typeField.args) { const argName = typeArg.name; - const ifaceArg = find(ifaceField.args, arg => arg.name === argName); + const ifaceArg = find(ifaceField.args, (arg) => arg.name === argName); if (!ifaceArg && isRequiredArgument(typeArg)) { context.reportError( `Object field ${type.name}.${fieldName} includes required argument ${argName} that is missing from the Interface field ${iface.name}.${fieldName}.`, @@ -551,10 +551,10 @@ function createInputObjectCircularRefsValidator( detectCycleRecursive(fieldType); } else { const cyclePath = fieldPath.slice(cycleIndex); - const pathStr = cyclePath.map(fieldObj => fieldObj.name).join('.'); + const pathStr = cyclePath.map((fieldObj) => fieldObj.name).join('.'); context.reportError( `Cannot reference Input Object "${fieldType.name}" within itself through a series of non-null fields: "${pathStr}".`, - cyclePath.map(fieldObj => fieldObj.astNode), + cyclePath.map((fieldObj) => fieldObj.astNode), ); } fieldPath.pop(); @@ -587,15 +587,15 @@ function getAllSubNodes( getter: (T | K) => ?(L | $ReadOnlyArray), ): $ReadOnlyArray { /* istanbul ignore next (See https://github.com/graphql/graphql-js/issues/2203) */ - return flatMap(getAllNodes(object), item => getter(item) ?? []); + return flatMap(getAllNodes(object), (item) => getter(item) ?? []); } function getAllImplementsInterfaceNodes( type: GraphQLObjectType | GraphQLInterfaceType, iface: GraphQLInterfaceType, ): $ReadOnlyArray { - return getAllSubNodes(type, typeNode => typeNode.interfaces).filter( - ifaceNode => ifaceNode.name.value === iface.name, + return getAllSubNodes(type, (typeNode) => typeNode.interfaces).filter( + (ifaceNode) => ifaceNode.name.value === iface.name, ); } @@ -603,7 +603,7 @@ function getUnionMemberTypeNodes( union: GraphQLUnionType, typeName: string, ): ?$ReadOnlyArray { - return getAllSubNodes(union, unionNode => unionNode.types).filter( - typeNode => typeNode.name.value === typeName, + return getAllSubNodes(union, (unionNode) => unionNode.types).filter( + (typeNode) => typeNode.name.value === typeName, ); } diff --git a/src/utilities/TypeInfo.js b/src/utilities/TypeInfo.js index 5d9298d855..04f533f8df 100644 --- a/src/utilities/TypeInfo.js +++ b/src/utilities/TypeInfo.js @@ -209,7 +209,7 @@ export class TypeInfo { if (fieldOrDirective) { argDef = find( fieldOrDirective.args, - arg => arg.name === node.name.value, + (arg) => arg.name === node.name.value, ); if (argDef) { argType = argDef.type; diff --git a/src/utilities/__tests__/buildClientSchema-test.js b/src/utilities/__tests__/buildClientSchema-test.js index f15a50a8bc..3cc63ebfe9 100644 --- a/src/utilities/__tests__/buildClientSchema-test.js +++ b/src/utilities/__tests__/buildClientSchema-test.js @@ -895,7 +895,7 @@ describe('Type System: build schema from introspection', () => { const introspection = introspectionFromSchema(schema); const fooIntrospection = introspection.__schema.types.find( - type => type.name === 'Foo', + (type) => type.name === 'Foo', ); expect(fooIntrospection).to.deep.include({ name: 'Foo', @@ -919,7 +919,7 @@ describe('Type System: build schema from introspection', () => { const introspection = introspectionFromSchema(schema); const fooIntrospection = introspection.__schema.types.find( - type => type.name === 'Foo', + (type) => type.name === 'Foo', ); expect(fooIntrospection).to.deep.include({ name: 'Foo', diff --git a/src/utilities/__tests__/coerceInputValue-test.js b/src/utilities/__tests__/coerceInputValue-test.js index c88f734c3c..7675ff44e3 100644 --- a/src/utilities/__tests__/coerceInputValue-test.js +++ b/src/utilities/__tests__/coerceInputValue-test.js @@ -262,7 +262,7 @@ describe('coerceInputValue', () => { }); describe('for GraphQLInputObject with default value', () => { - const TestInputObject = defaultValue => + const TestInputObject = (defaultValue) => new GraphQLInputObjectType({ name: 'TestInputObject', fields: { @@ -290,9 +290,7 @@ describe('coerceInputValue', () => { it('returns NaN as value', () => { const result = coerceValue({}, TestInputObject(NaN)); - expectValue(result) - .to.have.property('foo') - .that.satisfy(Number.isNaN); + expectValue(result).to.have.property('foo').that.satisfy(Number.isNaN); }); }); diff --git a/src/utilities/__tests__/extendSchema-test.js b/src/utilities/__tests__/extendSchema-test.js index e84671e337..5f52ec5bda 100644 --- a/src/utilities/__tests__/extendSchema-test.js +++ b/src/utilities/__tests__/extendSchema-test.js @@ -50,7 +50,7 @@ function printSchemaChanges(schema, extendedSchema) { return print({ kind: Kind.DOCUMENT, definitions: ast.definitions.filter( - node => !schemaDefinitions.includes(print(node)), + (node) => !schemaDefinitions.includes(print(node)), ), }); } diff --git a/src/utilities/__tests__/findDeprecatedUsages-test.js b/src/utilities/__tests__/findDeprecatedUsages-test.js index 44c4548857..f49c67589f 100644 --- a/src/utilities/__tests__/findDeprecatedUsages-test.js +++ b/src/utilities/__tests__/findDeprecatedUsages-test.js @@ -50,7 +50,7 @@ describe('findDeprecatedUsages', () => { parse('{ normalField, deprecatedField }'), ); - const errorMessages = errors.map(err => err.message); + const errorMessages = errors.map((err) => err.message); expect(errorMessages).to.deep.equal([ 'The field "Query.deprecatedField" is deprecated. Some field reason.', @@ -67,7 +67,7 @@ describe('findDeprecatedUsages', () => { `), ); - const errorMessages = errors.map(err => err.message); + const errorMessages = errors.map((err) => err.message); expect(errorMessages).to.deep.equal([ 'The enum value "EnumType.DEPRECATED_VALUE" is deprecated. Some enum reason.', diff --git a/src/utilities/__tests__/stripIgnoredCharacters-test.js b/src/utilities/__tests__/stripIgnoredCharacters-test.js index 5391806f34..6e162ba1fe 100644 --- a/src/utilities/__tests__/stripIgnoredCharacters-test.js +++ b/src/utilities/__tests__/stripIgnoredCharacters-test.js @@ -388,7 +388,7 @@ describe('stripIgnoredCharacters', () => { expectStripped('""",|"""').toStayTheSame(); const ignoredTokensWithoutFormatting = ignoredTokens.filter( - token => ['\n', '\r', '\r\n', '\t', ' '].indexOf(token) === -1, + (token) => ['\n', '\r', '\r\n', '\t', ' '].indexOf(token) === -1, ); for (const ignored of ignoredTokensWithoutFormatting) { expectStripped('"""|' + ignored + '|"""').toStayTheSame(); diff --git a/src/utilities/buildASTSchema.js b/src/utilities/buildASTSchema.js index f33fb7aa0b..7893071779 100644 --- a/src/utilities/buildASTSchema.js +++ b/src/utilities/buildASTSchema.js @@ -94,15 +94,15 @@ export function buildASTSchema( const { directives } = config; // If specified directives were not explicitly declared, add them. - if (!directives.some(directive => directive.name === 'skip')) { + if (!directives.some((directive) => directive.name === 'skip')) { directives.push(GraphQLSkipDirective); } - if (!directives.some(directive => directive.name === 'include')) { + if (!directives.some((directive) => directive.name === 'include')) { directives.push(GraphQLIncludeDirective); } - if (!directives.some(directive => directive.name === 'deprecated')) { + if (!directives.some((directive) => directive.name === 'deprecated')) { directives.push(GraphQLDeprecatedDirective); } diff --git a/src/utilities/buildClientSchema.js b/src/utilities/buildClientSchema.js index 788d602ad8..f1b52c80f0 100644 --- a/src/utilities/buildClientSchema.js +++ b/src/utilities/buildClientSchema.js @@ -77,8 +77,8 @@ export function buildClientSchema( // Iterate through all types, getting the type definition for each. const typeMap = keyValMap( schemaIntrospection.types, - typeIntrospection => typeIntrospection.name, - typeIntrospection => buildType(typeIntrospection), + (typeIntrospection) => typeIntrospection.name, + (typeIntrospection) => buildType(typeIntrospection), ); // Include standard types only if they are used. @@ -279,8 +279,8 @@ export function buildClientSchema( description: enumIntrospection.description, values: keyValMap( enumIntrospection.enumValues, - valueIntrospection => valueIntrospection.name, - valueIntrospection => ({ + (valueIntrospection) => valueIntrospection.name, + (valueIntrospection) => ({ description: valueIntrospection.description, deprecationReason: valueIntrospection.deprecationReason, }), @@ -313,7 +313,7 @@ export function buildClientSchema( return keyValMap( typeIntrospection.fields, - fieldIntrospection => fieldIntrospection.name, + (fieldIntrospection) => fieldIntrospection.name, buildField, ); } @@ -345,7 +345,7 @@ export function buildClientSchema( function buildInputValueDefMap(inputValueIntrospections) { return keyValMap( inputValueIntrospections, - inputValue => inputValue.name, + (inputValue) => inputValue.name, buildInputValue, ); } diff --git a/src/utilities/concatAST.js b/src/utilities/concatAST.js index aedc27e474..895229dd40 100644 --- a/src/utilities/concatAST.js +++ b/src/utilities/concatAST.js @@ -12,6 +12,6 @@ import { type DocumentNode } from '../language/ast'; export function concatAST(asts: $ReadOnlyArray): DocumentNode { return { kind: 'Document', - definitions: flatMap(asts, ast => ast.definitions), + definitions: flatMap(asts, (ast) => ast.definitions), }; } diff --git a/src/utilities/extendSchema.js b/src/utilities/extendSchema.js index 0246eca461..f10195854b 100644 --- a/src/utilities/extendSchema.js +++ b/src/utilities/extendSchema.js @@ -296,7 +296,7 @@ export function extendSchemaImpl( return new GraphQLInputObjectType({ ...config, fields: () => ({ - ...mapValue(config.fields, field => ({ + ...mapValue(config.fields, (field) => ({ ...field, type: replaceType(field.type), })), @@ -686,7 +686,7 @@ export function extendSchemaImpl( const stdTypeMap = keyMap( specifiedScalarTypes.concat(introspectionTypes), - type => type.name, + (type) => type.name, ); /** diff --git a/src/utilities/findBreakingChanges.js b/src/utilities/findBreakingChanges.js index ab566d479f..b3dc7f5eb0 100644 --- a/src/utilities/findBreakingChanges.js +++ b/src/utilities/findBreakingChanges.js @@ -83,7 +83,7 @@ export function findBreakingChanges( newSchema: GraphQLSchema, ): Array { const breakingChanges = findSchemaChanges(oldSchema, newSchema).filter( - change => change.type in BreakingChangeType, + (change) => change.type in BreakingChangeType, ); return ((breakingChanges: any): Array); } @@ -97,7 +97,7 @@ export function findDangerousChanges( newSchema: GraphQLSchema, ): Array { const dangerousChanges = findSchemaChanges(oldSchema, newSchema).filter( - change => change.type in DangerousChangeType, + (change) => change.type in DangerousChangeType, ); return ((dangerousChanges: any): Array); } diff --git a/src/utilities/lexicographicSortSchema.js b/src/utilities/lexicographicSortSchema.js index c9b932f5f7..494fc5adfc 100644 --- a/src/utilities/lexicographicSortSchema.js +++ b/src/utilities/lexicographicSortSchema.js @@ -38,7 +38,7 @@ export function lexicographicSortSchema(schema: GraphQLSchema): GraphQLSchema { const schemaConfig = schema.toConfig(); const typeMap = keyValMap( sortByName(schemaConfig.types), - type => type.name, + (type) => type.name, sortNamedType, ); @@ -72,20 +72,20 @@ export function lexicographicSortSchema(schema: GraphQLSchema): GraphQLSchema { const config = directive.toConfig(); return new GraphQLDirective({ ...config, - locations: sortBy(config.locations, x => x), + locations: sortBy(config.locations, (x) => x), args: sortArgs(config.args), }); } function sortArgs(args) { - return sortObjMap(args, arg => ({ + return sortObjMap(args, (arg) => ({ ...arg, type: replaceType(arg.type), })); } function sortFields(fieldsMap) { - return sortObjMap(fieldsMap, field => ({ + return sortObjMap(fieldsMap, (field) => ({ ...field, type: replaceType(field.type), args: sortArgs(field.args), @@ -93,7 +93,7 @@ export function lexicographicSortSchema(schema: GraphQLSchema): GraphQLSchema { } function sortInputFields(fieldsMap) { - return sortObjMap(fieldsMap, field => ({ + return sortObjMap(fieldsMap, (field) => ({ ...field, type: replaceType(field.type), })); @@ -150,9 +150,9 @@ export function lexicographicSortSchema(schema: GraphQLSchema): GraphQLSchema { } } -function sortObjMap(map: ObjMap, sortValueFn?: T => R): ObjMap { +function sortObjMap(map: ObjMap, sortValueFn?: (T) => R): ObjMap { const sortedMap = Object.create(null); - const sortedKeys = sortBy(Object.keys(map), x => x); + const sortedKeys = sortBy(Object.keys(map), (x) => x); for (const key of sortedKeys) { const value = map[key]; sortedMap[key] = sortValueFn ? sortValueFn(value) : value; @@ -163,10 +163,13 @@ function sortObjMap(map: ObjMap, sortValueFn?: T => R): ObjMap { function sortByName( array: $ReadOnlyArray, ): Array { - return sortBy(array, obj => obj.name); + return sortBy(array, (obj) => obj.name); } -function sortBy(array: $ReadOnlyArray, mapToKey: T => string): Array { +function sortBy( + array: $ReadOnlyArray, + mapToKey: (T) => string, +): Array { return array.slice().sort((obj1, obj2) => { const key1 = mapToKey(obj1); const key2 = mapToKey(obj2); diff --git a/src/utilities/printSchema.js b/src/utilities/printSchema.js index 674d5b26a5..fba396fb8d 100644 --- a/src/utilities/printSchema.js +++ b/src/utilities/printSchema.js @@ -56,7 +56,7 @@ type Options = {| export function printSchema(schema: GraphQLSchema, options?: Options): string { return printFilteredSchema( schema, - n => !isSpecifiedDirective(n), + (n) => !isSpecifiedDirective(n), isDefinedType, options, ); @@ -90,8 +90,8 @@ function printFilteredSchema( return ( [printSchemaDefinition(schema)] .concat( - directives.map(directive => printDirective(directive, options)), - types.map(type => printType(type, options)), + directives.map((directive) => printDirective(directive, options)), + types.map((type) => printType(type, options)), ) .filter(Boolean) .join('\n\n') + '\n' @@ -189,7 +189,7 @@ function printImplementedInterfaces( ): string { const interfaces = type.getInterfaces(); return interfaces.length - ? ' implements ' + interfaces.map(i => i.name).join(' & ') + ? ' implements ' + interfaces.map((i) => i.name).join(' & ') : ''; } @@ -267,7 +267,7 @@ function printArgs(options, args, indentation = '') { } // If every arg does not have a description, print them on one line. - if (args.every(arg => !arg.description)) { + if (args.every((arg) => !arg.description)) { return '(' + args.map(printInputValue).join(', ') + ')'; } @@ -348,7 +348,7 @@ function printDescriptionWithComments(description, indentation, firstInBlock) { const prefix = indentation && !firstInBlock ? '\n' : ''; const comment = description .split('\n') - .map(line => indentation + (line !== '' ? '# ' + line : '#')) + .map((line) => indentation + (line !== '' ? '# ' + line : '#')) .join('\n'); return prefix + comment + '\n'; diff --git a/src/utilities/separateOperations.js b/src/utilities/separateOperations.js index 57319eedcf..0c8f9de300 100644 --- a/src/utilities/separateOperations.js +++ b/src/utilities/separateOperations.js @@ -54,7 +54,7 @@ export function separateOperations( separatedDocumentASTs[operationName] = { kind: Kind.DOCUMENT, definitions: documentAST.definitions.filter( - node => + (node) => node === operation || (node.kind === Kind.FRAGMENT_DEFINITION && dependencies[node.name.value]), diff --git a/src/utilities/typeComparators.js b/src/utilities/typeComparators.js index 18e4447812..b878ba8bb3 100644 --- a/src/utilities/typeComparators.js +++ b/src/utilities/typeComparators.js @@ -106,7 +106,7 @@ export function doTypesOverlap( // between possible concrete types of each. return schema .getPossibleTypes(typeA) - .some(type => schema.isSubType(typeB, type)); + .some((type) => schema.isSubType(typeB, type)); } // Determine if the latter type is a possible concrete type of the former. return schema.isSubType(typeA, typeB); diff --git a/src/utilities/valueFromAST.js b/src/utilities/valueFromAST.js index e5abd029d1..4820b57c46 100644 --- a/src/utilities/valueFromAST.js +++ b/src/utilities/valueFromAST.js @@ -111,7 +111,7 @@ export function valueFromAST( return; // Invalid: intentionally return no value. } const coercedObj = Object.create(null); - const fieldNodes = keyMap(valueNode.fields, field => field.name.value); + const fieldNodes = keyMap(valueNode.fields, (field) => field.name.value); for (const field of objectValues(type.getFields())) { const fieldNode = fieldNodes[field.name]; if (!fieldNode || isMissingVariable(fieldNode.value, variables)) { diff --git a/src/utilities/valueFromASTUntyped.js b/src/utilities/valueFromASTUntyped.js index 5957ea879c..5ccfef9e7d 100644 --- a/src/utilities/valueFromASTUntyped.js +++ b/src/utilities/valueFromASTUntyped.js @@ -40,12 +40,14 @@ export function valueFromASTUntyped( case Kind.BOOLEAN: return valueNode.value; case Kind.LIST: - return valueNode.values.map(node => valueFromASTUntyped(node, variables)); + return valueNode.values.map((node) => + valueFromASTUntyped(node, variables), + ); case Kind.OBJECT: return keyValMap( valueNode.fields, - field => field.name.value, - field => valueFromASTUntyped(field.value, variables), + (field) => field.name.value, + (field) => valueFromASTUntyped(field.value, variables), ); case Kind.VARIABLE: return variables?.[valueNode.name.value]; diff --git a/src/validation/ValidationContext.js b/src/validation/ValidationContext.js index a8f720a05e..ecb9854f4a 100644 --- a/src/validation/ValidationContext.js +++ b/src/validation/ValidationContext.js @@ -131,7 +131,7 @@ export class ASTValidationContext { } } -export type ASTValidationRule = ASTValidationContext => ASTVisitor; +export type ASTValidationRule = (ASTValidationContext) => ASTVisitor; export class SDLValidationContext extends ASTValidationContext { _schema: ?GraphQLSchema; @@ -150,7 +150,7 @@ export class SDLValidationContext extends ASTValidationContext { } } -export type SDLValidationRule = SDLValidationContext => ASTVisitor; +export type SDLValidationRule = (SDLValidationContext) => ASTVisitor; export class ValidationContext extends ASTValidationContext { _schema: GraphQLSchema; @@ -245,4 +245,4 @@ export class ValidationContext extends ASTValidationContext { } } -export type ValidationRule = ValidationContext => ASTVisitor; +export type ValidationRule = (ValidationContext) => ASTVisitor; diff --git a/src/validation/__tests__/validation-test.js b/src/validation/__tests__/validation-test.js index f59903f964..4c4e6cbb25 100644 --- a/src/validation/__tests__/validation-test.js +++ b/src/validation/__tests__/validation-test.js @@ -74,7 +74,7 @@ describe('Validate: Supports full validation', () => { `); const errors = validate(testSchema, doc, undefined, typeInfo); - const errorMessages = errors.map(err => err.message); + const errorMessages = errors.map((err) => err.message); expect(errorMessages).to.deep.equal([ 'Cannot query field "catOrDog" on type "QueryRoot". Did you mean "catOrDog"?', diff --git a/src/validation/rules/FieldsOnCorrectTypeRule.js b/src/validation/rules/FieldsOnCorrectTypeRule.js index 0e6d74d406..038d9a8a3f 100644 --- a/src/validation/rules/FieldsOnCorrectTypeRule.js +++ b/src/validation/rules/FieldsOnCorrectTypeRule.js @@ -124,7 +124,7 @@ function getSuggestedTypeNames( return typeA.name.localeCompare(typeB.name); }) - .map(x => x.name); + .map((x) => x.name); } /** diff --git a/src/validation/rules/KnownArgumentNamesRule.js b/src/validation/rules/KnownArgumentNamesRule.js index fe4b4bc3ef..d397bf2429 100644 --- a/src/validation/rules/KnownArgumentNamesRule.js +++ b/src/validation/rules/KnownArgumentNamesRule.js @@ -31,7 +31,7 @@ export function KnownArgumentNamesRule(context: ValidationContext): ASTVisitor { if (!argDef && fieldDef && parentType) { const argName = argNode.name.value; - const knownArgsNames = fieldDef.args.map(arg => arg.name); + const knownArgsNames = fieldDef.args.map((arg) => arg.name); const suggestions = suggestionList(argName, knownArgsNames); context.reportError( new GraphQLError( @@ -58,7 +58,7 @@ export function KnownArgumentNamesOnDirectivesRule( ? schema.getDirectives() : specifiedDirectives; for (const directive of definedDirectives) { - directiveArgs[directive.name] = directive.args.map(arg => arg.name); + directiveArgs[directive.name] = directive.args.map((arg) => arg.name); } const astDefinitions = context.getDocument().definitions; @@ -67,7 +67,7 @@ export function KnownArgumentNamesOnDirectivesRule( /* istanbul ignore next (See https://github.com/graphql/graphql-js/issues/2203) */ const argsNodes = def.arguments ?? []; - directiveArgs[def.name.value] = argsNodes.map(arg => arg.name.value); + directiveArgs[def.name.value] = argsNodes.map((arg) => arg.name.value); } } diff --git a/src/validation/rules/KnownDirectivesRule.js b/src/validation/rules/KnownDirectivesRule.js index fc8dee278d..9bece5bfce 100644 --- a/src/validation/rules/KnownDirectivesRule.js +++ b/src/validation/rules/KnownDirectivesRule.js @@ -42,7 +42,7 @@ export function KnownDirectivesRule( const astDefinitions = context.getDocument().definitions; for (const def of astDefinitions) { if (def.kind === Kind.DIRECTIVE_DEFINITION) { - locationsMap[def.name.value] = def.locations.map(name => name.value); + locationsMap[def.name.value] = def.locations.map((name) => name.value); } } diff --git a/src/validation/rules/KnownTypeNamesRule.js b/src/validation/rules/KnownTypeNamesRule.js index 2c71a3888c..80f44c3866 100644 --- a/src/validation/rules/KnownTypeNamesRule.js +++ b/src/validation/rules/KnownTypeNamesRule.js @@ -68,7 +68,7 @@ export function KnownTypeNamesRule( }; } -const specifiedScalarsNames = specifiedScalarTypes.map(type => type.name); +const specifiedScalarsNames = specifiedScalarTypes.map((type) => type.name); function isSpecifiedScalarName(typeName) { return specifiedScalarsNames.indexOf(typeName) !== -1; } diff --git a/src/validation/rules/LoneAnonymousOperationRule.js b/src/validation/rules/LoneAnonymousOperationRule.js index 0ca8c7ff61..3105b69e52 100644 --- a/src/validation/rules/LoneAnonymousOperationRule.js +++ b/src/validation/rules/LoneAnonymousOperationRule.js @@ -20,7 +20,7 @@ export function LoneAnonymousOperationRule( return { Document(node) { operationCount = node.definitions.filter( - definition => definition.kind === Kind.OPERATION_DEFINITION, + (definition) => definition.kind === Kind.OPERATION_DEFINITION, ).length; }, OperationDefinition(node) { diff --git a/src/validation/rules/NoFragmentCyclesRule.js b/src/validation/rules/NoFragmentCyclesRule.js index bb6f60575c..83f6f481d6 100644 --- a/src/validation/rules/NoFragmentCyclesRule.js +++ b/src/validation/rules/NoFragmentCyclesRule.js @@ -60,7 +60,7 @@ export function NoFragmentCyclesRule( const cyclePath = spreadPath.slice(cycleIndex); const viaPath = cyclePath .slice(0, -1) - .map(s => '"' + s.name.value + '"') + .map((s) => '"' + s.name.value + '"') .join(', '); context.reportError( diff --git a/src/validation/rules/OverlappingFieldsCanBeMergedRule.js b/src/validation/rules/OverlappingFieldsCanBeMergedRule.js index 15a6f7bcea..a8dd722050 100644 --- a/src/validation/rules/OverlappingFieldsCanBeMergedRule.js +++ b/src/validation/rules/OverlappingFieldsCanBeMergedRule.js @@ -629,10 +629,10 @@ function sameArguments( if (arguments1.length !== arguments2.length) { return false; } - return arguments1.every(argument1 => { + return arguments1.every((argument1) => { const argument2 = find( arguments2, - argument => argument.name.value === argument1.name.value, + (argument) => argument.name.value === argument1.name.value, ); if (!argument2) { return false; diff --git a/src/validation/rules/ProvidedRequiredArgumentsRule.js b/src/validation/rules/ProvidedRequiredArgumentsRule.js index 8e0823330d..d72974fe25 100644 --- a/src/validation/rules/ProvidedRequiredArgumentsRule.js +++ b/src/validation/rules/ProvidedRequiredArgumentsRule.js @@ -38,7 +38,7 @@ export function ProvidedRequiredArgumentsRule( /* istanbul ignore next (See https://github.com/graphql/graphql-js/issues/2203) */ const argNodes = fieldNode.arguments ?? []; - const argNodeMap = keyMap(argNodes, arg => arg.name.value); + const argNodeMap = keyMap(argNodes, (arg) => arg.name.value); for (const argDef of fieldDef.args) { const argNode = argNodeMap[argDef.name]; if (!argNode && isRequiredArgument(argDef)) { @@ -71,7 +71,7 @@ export function ProvidedRequiredArgumentsOnDirectivesRule( for (const directive of definedDirectives) { requiredArgsMap[directive.name] = keyMap( directive.args.filter(isRequiredArgument), - arg => arg.name, + (arg) => arg.name, ); } @@ -83,7 +83,7 @@ export function ProvidedRequiredArgumentsOnDirectivesRule( requiredArgsMap[def.name.value] = keyMap( argNodes.filter(isRequiredArgumentNode), - arg => arg.name.value, + (arg) => arg.name.value, ); } } @@ -97,7 +97,7 @@ export function ProvidedRequiredArgumentsOnDirectivesRule( if (requiredArgs) { /* istanbul ignore next (See https://github.com/graphql/graphql-js/issues/2203) */ const argNodes = directiveNode.arguments ?? []; - const argNodeMap = keyMap(argNodes, arg => arg.name.value); + const argNodeMap = keyMap(argNodes, (arg) => arg.name.value); for (const argName of Object.keys(requiredArgs)) { if (!argNodeMap[argName]) { const argType = requiredArgs[argName].type; diff --git a/src/validation/rules/ValuesOfCorrectTypeRule.js b/src/validation/rules/ValuesOfCorrectTypeRule.js index 8681e46fe4..d2bffe3bb6 100644 --- a/src/validation/rules/ValuesOfCorrectTypeRule.js +++ b/src/validation/rules/ValuesOfCorrectTypeRule.js @@ -51,7 +51,7 @@ export function ValuesOfCorrectTypeRule( return false; // Don't traverse further. } // Ensure every required field exists. - const fieldNodeMap = keyMap(node.fields, field => field.name.value); + const fieldNodeMap = keyMap(node.fields, (field) => field.name.value); for (const fieldDef of objectValues(type.getFields())) { const fieldNode = fieldNodeMap[fieldDef.name]; if (!fieldNode && isRequiredInputField(fieldDef)) { @@ -93,11 +93,11 @@ export function ValuesOfCorrectTypeRule( ); } }, - EnumValue: node => isValidValueNode(context, node), - IntValue: node => isValidValueNode(context, node), - FloatValue: node => isValidValueNode(context, node), - StringValue: node => isValidValueNode(context, node), - BooleanValue: node => isValidValueNode(context, node), + EnumValue: (node) => isValidValueNode(context, node), + IntValue: (node) => isValidValueNode(context, node), + FloatValue: (node) => isValidValueNode(context, node), + StringValue: (node) => isValidValueNode(context, node), + BooleanValue: (node) => isValidValueNode(context, node), }; } diff --git a/src/validation/validate.js b/src/validation/validate.js index 63361e990b..2e5df6bc1c 100644 --- a/src/validation/validate.js +++ b/src/validation/validate.js @@ -53,7 +53,7 @@ export function validate( schema, documentAST, typeInfo, - error => { + (error) => { if (options.maxErrors != null && errors.length >= options.maxErrors) { errors.push( new GraphQLError( @@ -68,7 +68,7 @@ export function validate( // This uses a specialized visitor which runs multiple visitors in parallel, // while maintaining the visitor skip and break API. - const visitor = visitInParallel(rules.map(rule => rule(context))); + const visitor = visitInParallel(rules.map((rule) => rule(context))); // Visit the whole document with each instance of all provided rules. try { @@ -93,12 +93,12 @@ export function validateSDL( const context = new SDLValidationContext( documentAST, schemaToExtend, - error => { + (error) => { errors.push(error); }, ); - const visitors = rules.map(rule => rule(context)); + const visitors = rules.map((rule) => rule(context)); visit(documentAST, visitInParallel(visitors)); return errors; } @@ -112,7 +112,7 @@ export function validateSDL( export function assertValidSDL(documentAST: DocumentNode): void { const errors = validateSDL(documentAST); if (errors.length !== 0) { - throw new Error(errors.map(error => error.message).join('\n\n')); + throw new Error(errors.map((error) => error.message).join('\n\n')); } } @@ -128,6 +128,6 @@ export function assertValidSDLExtension( ): void { const errors = validateSDL(documentAST, schema); if (errors.length !== 0) { - throw new Error(errors.map(error => error.message).join('\n\n')); + throw new Error(errors.map((error) => error.message).join('\n\n')); } } diff --git a/yarn.lock b/yarn.lock index c00410aa64..67300ce65e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3071,10 +3071,10 @@ prelude-ls@~1.1.2: resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ= -prettier@1.19.1: - version "1.19.1" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb" - integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew== +prettier@2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.0.2.tgz#1ba8f3eb92231e769b7fcd7cb73ae1b6b74ade08" + integrity sha512-5xJQIPT8BraI7ZnaDwSbu5zLrB6vvi8hVV58yHQ+QK64qrY40dULy0HSRlQ2/2IdzeBpjhDkqdcFBnFeDEMVdg== private@^0.1.8: version "0.1.8"