From 52c57cb5b8bdb1e62b87a3a78c859a1c03c2271c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 21 Jun 2024 00:32:16 +0000 Subject: [PATCH] Update dependency @octokit/graphql-schema to v15.21.0 (#990) * Update dependency @octokit/graphql-schema to v15.21.0 * Generated by GitHub Actions (ts / generate) https://github.com/int128/hide-comment-action/actions/runs/9603950985 * Empty commit to trigger GitHub Actions --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: update-generated-files-action <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: int128-renovate-merge-bot[bot] <132176788+int128-renovate-merge-bot[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 10 +- src/generated/graphql-types.ts | 182 +++++++++++++++++++++++++++++++++ 3 files changed, 188 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 237509bd..58419947 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.20.0", + "@octokit/graphql-schema": "15.21.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 0e538b50..1aca5790 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -31,8 +31,8 @@ importers: specifier: 4.2.1 version: 4.2.1(graphql@16.8.2) '@octokit/graphql-schema': - specifier: 15.20.0 - version: 15.20.0 + specifier: 15.21.0 + version: 15.21.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.20.0': - resolution: {integrity: sha512-N8hLNtVPyN+Dv0uODcmsa1YiTBABXobWz7424PznYJmhDJkfEIZTsKA22HJevSj7L3MIVX3vUnhHV7Z3oHO09Q==} + '@octokit/graphql-schema@15.21.0': + resolution: {integrity: sha512-RbmdExy0fbQDOohNOg3rAPjcz3BII+voQHSTbMLdpQxTwDVQje1xJfQfplJXBqqli0UEIet2kn/pfPwW6g4mLQ==} '@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.20.0': + '@octokit/graphql-schema@15.21.0': dependencies: graphql: 16.8.2 graphql-tag: 2.12.6(graphql@16.8.2) diff --git a/src/generated/graphql-types.ts b/src/generated/graphql-types.ts index db879ada..34c30f2f 100644 --- a/src/generated/graphql-types.ts +++ b/src/generated/graphql-types.ts @@ -4055,6 +4055,31 @@ export type CreateProjectV2Payload = { projectV2?: Maybe; }; +/** Autogenerated input type of CreateProjectV2StatusUpdate */ +export type CreateProjectV2StatusUpdateInput = { + /** The body of the status update. */ + body?: InputMaybe; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The ID of the Project to create the status update in. */ + projectId: Scalars['ID']['input']; + /** The start date of the status update. */ + startDate?: InputMaybe; + /** The status of the status update. */ + status?: InputMaybe; + /** The target date of the status update. */ + targetDate?: InputMaybe; +}; + +/** Autogenerated return type of CreateProjectV2StatusUpdate. */ +export type CreateProjectV2StatusUpdatePayload = { + __typename?: 'CreateProjectV2StatusUpdatePayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The status update updated in the project. */ + statusUpdate?: Maybe; +}; + /** Autogenerated input type of CreatePullRequest */ export type CreatePullRequestInput = { /** @@ -5093,6 +5118,25 @@ export type DeleteProjectV2Payload = { projectV2?: Maybe; }; +/** Autogenerated input type of DeleteProjectV2StatusUpdate */ +export type DeleteProjectV2StatusUpdateInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The ID of the status update to be removed. */ + statusUpdateId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of DeleteProjectV2StatusUpdate. */ +export type DeleteProjectV2StatusUpdatePayload = { + __typename?: 'DeleteProjectV2StatusUpdatePayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The ID of the deleted status update. */ + deletedStatusUpdateId?: Maybe; + /** The project the deleted status update was in. */ + projectV2?: Maybe; +}; + /** Autogenerated input type of DeleteProjectV2Workflow */ export type DeleteProjectV2WorkflowInput = { /** A unique identifier for the client performing the mutation. */ @@ -11554,6 +11598,8 @@ export type Mutation = { createProjectV2?: Maybe; /** Create a new project field. */ createProjectV2Field?: Maybe; + /** Creates a status update within a Project. */ + createProjectV2StatusUpdate?: Maybe; /** Create a new pull request */ createPullRequest?: Maybe; /** Create a new Git Ref. */ @@ -11615,6 +11661,8 @@ export type Mutation = { deleteProjectV2Field?: Maybe; /** Deletes an item from a Project. */ deleteProjectV2Item?: Maybe; + /** Deletes a project status update. */ + deleteProjectV2StatusUpdate?: Maybe; /** Deletes a project workflow. */ deleteProjectV2Workflow?: Maybe; /** Deletes a pull request review. */ @@ -11886,6 +11934,8 @@ export type Mutation = { updateProjectV2ItemFieldValue?: Maybe; /** This mutation updates the position of the item in the project, where the position represents the priority of an item. */ updateProjectV2ItemPosition?: Maybe; + /** Updates a status update within a Project. */ + updateProjectV2StatusUpdate?: Maybe; /** Update a pull request */ updatePullRequest?: Maybe; /** Merge or Rebase HEAD from upstream branch into pull request branch */ @@ -12306,6 +12356,12 @@ export type MutationCreateProjectV2FieldArgs = { }; +/** The root query for implementing GraphQL mutations. */ +export type MutationCreateProjectV2StatusUpdateArgs = { + input: CreateProjectV2StatusUpdateInput; +}; + + /** The root query for implementing GraphQL mutations. */ export type MutationCreatePullRequestArgs = { input: CreatePullRequestInput; @@ -12480,6 +12536,12 @@ export type MutationDeleteProjectV2ItemArgs = { }; +/** The root query for implementing GraphQL mutations. */ +export type MutationDeleteProjectV2StatusUpdateArgs = { + input: DeleteProjectV2StatusUpdateInput; +}; + + /** The root query for implementing GraphQL mutations. */ export type MutationDeleteProjectV2WorkflowArgs = { input: DeleteProjectV2WorkflowInput; @@ -13260,6 +13322,12 @@ export type MutationUpdateProjectV2ItemPositionArgs = { }; +/** The root query for implementing GraphQL mutations. */ +export type MutationUpdateProjectV2StatusUpdateArgs = { + input: UpdateProjectV2StatusUpdateInput; +}; + + /** The root query for implementing GraphQL mutations. */ export type MutationUpdatePullRequestArgs = { input: UpdatePullRequestInput; @@ -17103,6 +17171,8 @@ export type ProjectV2 = Closable & Node & Updatable & { resourcePath: Scalars['URI']['output']; /** The project's short description. */ shortDescription?: Maybe; + /** List of the status updates in the project. */ + statusUpdates: ProjectV2StatusUpdateConnection; /** The teams the project is linked to. */ teams: TeamConnection; /** Returns true if this project is a template. */ @@ -17166,6 +17236,16 @@ export type ProjectV2RepositoriesArgs = { }; +/** New projects that manage issues, pull requests and drafts using tables and boards. */ +export type ProjectV2StatusUpdatesArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + orderBy?: InputMaybe; +}; + + /** New projects that manage issues, pull requests and drafts using tables and boards. */ export type ProjectV2TeamsArgs = { after?: InputMaybe; @@ -18064,6 +18144,83 @@ export enum ProjectV2State { Open = 'OPEN' } +/** Ways in which project v2 status updates can be ordered. */ +export type ProjectV2StatusOrder = { + /** The direction in which to order nodes. */ + direction: OrderDirection; + /** The field by which to order nodes. */ + field: ProjectV2StatusUpdateOrderField; +}; + +/** A status update within a project. */ +export type ProjectV2StatusUpdate = Node & { + __typename?: 'ProjectV2StatusUpdate'; + /** The body of the status update. */ + body?: Maybe; + /** The body of the status update rendered to HTML. */ + bodyHTML?: Maybe; + /** Identifies the date and time when the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** The actor who created the status update. */ + creator?: Maybe; + /** Identifies the primary key from the database. */ + databaseId?: Maybe; + /** The Node ID of the ProjectV2StatusUpdate object */ + id: Scalars['ID']['output']; + /** The project that contains this status update. */ + project: ProjectV2; + /** The start date of the status update. */ + startDate?: Maybe; + /** The status of the status update. */ + status?: Maybe; + /** The target date of the status update. */ + targetDate?: Maybe; + /** Identifies the date and time when the object was last updated. */ + updatedAt: Scalars['DateTime']['output']; +}; + +/** The connection type for ProjectV2StatusUpdate. */ +export type ProjectV2StatusUpdateConnection = { + __typename?: 'ProjectV2StatusUpdateConnection'; + /** A list of edges. */ + edges?: Maybe>>; + /** A list of nodes. */ + nodes?: Maybe>>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** Identifies the total count of items in the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** An edge in a connection. */ +export type ProjectV2StatusUpdateEdge = { + __typename?: 'ProjectV2StatusUpdateEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of the edge. */ + node?: Maybe; +}; + +/** Properties by which project v2 status updates can be ordered. */ +export enum ProjectV2StatusUpdateOrderField { + /** Allows chronological ordering of project v2 status updates. */ + CreatedAt = 'CREATED_AT' +} + +/** The possible statuses of a project v2. */ +export enum ProjectV2StatusUpdateStatus { + /** A project v2 that is at risk and encountering some challenges. */ + AtRisk = 'AT_RISK', + /** A project v2 that is complete. */ + Complete = 'COMPLETE', + /** A project v2 that is inactive. */ + Inactive = 'INACTIVE', + /** A project v2 that is off track and needs attention. */ + OffTrack = 'OFF_TRACK', + /** A project v2 that is on track with no risks. */ + OnTrack = 'ON_TRACK' +} + /** A view within a ProjectV2. */ export type ProjectV2View = Node & { __typename?: 'ProjectV2View'; @@ -29595,6 +29752,31 @@ export type UpdateProjectV2Payload = { projectV2?: Maybe; }; +/** Autogenerated input type of UpdateProjectV2StatusUpdate */ +export type UpdateProjectV2StatusUpdateInput = { + /** The body of the status update. */ + body?: InputMaybe; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The start date of the status update. */ + startDate?: InputMaybe; + /** The status of the status update. */ + status?: InputMaybe; + /** The ID of the status update to be updated. */ + statusUpdateId: Scalars['ID']['input']; + /** The target date of the status update. */ + targetDate?: InputMaybe; +}; + +/** Autogenerated return type of UpdateProjectV2StatusUpdate. */ +export type UpdateProjectV2StatusUpdatePayload = { + __typename?: 'UpdateProjectV2StatusUpdatePayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The status update updated in the project. */ + statusUpdate?: Maybe; +}; + /** Autogenerated input type of UpdatePullRequestBranch */ export type UpdatePullRequestBranchInput = { /** A unique identifier for the client performing the mutation. */