diff --git a/package.json b/package.json index 678977fd..acc0aee8 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "@graphql-codegen/import-types-preset": "3.0.0", "@graphql-codegen/typescript": "4.0.7", "@graphql-codegen/typescript-operations": "4.2.1", - "@octokit/graphql-schema": "15.21.0", + "@octokit/graphql-schema": "15.22.0", "@tsconfig/node20": "20.1.4", "@types/jest": "29.5.12", "@types/node": "20.14.7", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f16e052e..fea76666 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -31,8 +31,8 @@ importers: specifier: 4.2.1 version: 4.2.1(graphql@16.9.0) '@octokit/graphql-schema': - specifier: 15.21.0 - version: 15.21.0 + specifier: 15.22.0 + version: 15.22.0 '@tsconfig/node20': specifier: 20.1.4 version: 20.1.4 @@ -866,8 +866,8 @@ packages: resolution: {integrity: sha512-DWPLtr1Kz3tv8L0UvXTDP1fNwM0S+z6EJpRcvH66orY6Eld4XBMCSYsaWp4xIm61jTWxK68BrR7ibO+vSDnZqw==} engines: {node: '>= 18'} - '@octokit/graphql-schema@15.21.0': - resolution: {integrity: sha512-RbmdExy0fbQDOohNOg3rAPjcz3BII+voQHSTbMLdpQxTwDVQje1xJfQfplJXBqqli0UEIet2kn/pfPwW6g4mLQ==} + '@octokit/graphql-schema@15.22.0': + resolution: {integrity: sha512-73A0q7SbonBiTq1lyYmXQDV9AZLuYGnosbZVpbJSh0nhIMp2Vp6ZYRAShDNVmZD7bFH8EPYPgO+QH5O50vs4Eg==} '@octokit/graphql@7.0.2': resolution: {integrity: sha512-OJ2iGMtj5Tg3s6RaXH22cJcxXRi7Y3EBqbHTBRq+PQAqfaS8f/236fUrWhfSn8P4jovyzqucxme7/vWSSZBX2Q==} @@ -4101,7 +4101,7 @@ snapshots: '@octokit/types': 12.6.0 universal-user-agent: 6.0.1 - '@octokit/graphql-schema@15.21.0': + '@octokit/graphql-schema@15.22.0': dependencies: graphql: 16.9.0 graphql-tag: 2.12.6(graphql@16.9.0) diff --git a/src/generated/graphql-types.ts b/src/generated/graphql-types.ts index 34c30f2f..b5cb56c2 100644 --- a/src/generated/graphql-types.ts +++ b/src/generated/graphql-types.ts @@ -3431,6 +3431,25 @@ export type ConvertProjectCardNoteToIssuePayload = { projectCard?: Maybe; }; +/** Autogenerated input type of ConvertProjectV2DraftIssueItemToIssue */ +export type ConvertProjectV2DraftIssueItemToIssueInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The ID of the draft issue ProjectV2Item to convert. */ + itemId: Scalars['ID']['input']; + /** The ID of the repository to create the issue in. */ + repositoryId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of ConvertProjectV2DraftIssueItemToIssue. */ +export type ConvertProjectV2DraftIssueItemToIssuePayload = { + __typename?: 'ConvertProjectV2DraftIssueItemToIssuePayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The updated project item. */ + item?: Maybe; +}; + /** Autogenerated input type of ConvertPullRequestToDraft */ export type ConvertPullRequestToDraftInput = { /** A unique identifier for the client performing the mutation. */ @@ -11508,6 +11527,8 @@ export type Mutation = { closePullRequest?: Maybe; /** Convert a project note card to one associated with a newly created issue. */ convertProjectCardNoteToIssue?: Maybe; + /** Converts a projectV2 draft issue item to an issue. */ + convertProjectV2DraftIssueItemToIssue?: Maybe; /** Converts a pull request to draft */ convertPullRequestToDraft?: Maybe; /** Copy a project. */ @@ -12236,6 +12257,12 @@ export type MutationConvertProjectCardNoteToIssueArgs = { }; +/** The root query for implementing GraphQL mutations. */ +export type MutationConvertProjectV2DraftIssueItemToIssueArgs = { + input: ConvertProjectV2DraftIssueItemToIssueInput; +}; + + /** The root query for implementing GraphQL mutations. */ export type MutationConvertPullRequestToDraftArgs = { input: ConvertPullRequestToDraftInput;