Skip to content

Commit 0cdb63a

Browse files
authored
Merge pull request #190 from octokit/schema-update
Schema Update
2 parents b62be52 + f656922 commit 0cdb63a

File tree

143 files changed

+3315
-143
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

143 files changed

+3315
-143
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
namespace Octokit.GraphQL.Model
2+
{
3+
using System;
4+
using System.Collections.Generic;
5+
6+
/// <summary>
7+
/// Autogenerated input type of AcceptBusinessMemberInvitation
8+
/// </summary>
9+
public class AcceptBusinessMemberInvitationInput
10+
{
11+
/// <summary>
12+
/// The id of the invitation being accepted
13+
/// </summary>
14+
public ID InvitationId { get; set; }
15+
16+
/// <summary>
17+
/// A unique identifier for the client performing the mutation.
18+
/// </summary>
19+
public string ClientMutationId { get; set; }
20+
}
21+
}

Octokit.GraphQL/Model/AcceptTopicSuggestionPayload.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ internal AcceptTopicSuggestionPayload(Expression expression) : base(expression)
2222

2323
/// <summary>
2424
/// The accepted topic.
25-
/// **Upcoming Change on 2019-01-01 UTC**
26-
/// **Description:** Type for `topic` will change from `Topic!` to `Topic`.
27-
/// **Reason:** In preparation for an upcoming change to the way we report mutation errors, non-nullable payload fields are becoming nullable.
2825
/// </summary>
2926
public Topic Topic => this.CreateProperty(x => x.Topic, Octokit.GraphQL.Model.Topic.Create);
3027

Octokit.GraphQL/Model/AddCommentPayload.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,25 +22,16 @@ internal AddCommentPayload(Expression expression) : base(expression)
2222

2323
/// <summary>
2424
/// The edge from the subject's comment connection.
25-
/// **Upcoming Change on 2019-01-01 UTC**
26-
/// **Description:** Type for `commentEdge` will change from `IssueCommentEdge!` to `IssueCommentEdge`.
27-
/// **Reason:** In preparation for an upcoming change to the way we report mutation errors, non-nullable payload fields are becoming nullable.
2825
/// </summary>
2926
public IssueCommentEdge CommentEdge => this.CreateProperty(x => x.CommentEdge, Octokit.GraphQL.Model.IssueCommentEdge.Create);
3027

3128
/// <summary>
3229
/// The subject
33-
/// **Upcoming Change on 2019-01-01 UTC**
34-
/// **Description:** Type for `subject` will change from `Node!` to `Node`.
35-
/// **Reason:** In preparation for an upcoming change to the way we report mutation errors, non-nullable payload fields are becoming nullable.
3630
/// </summary>
3731
public INode Subject => this.CreateProperty(x => x.Subject, Octokit.GraphQL.Model.Internal.StubINode.Create);
3832

3933
/// <summary>
4034
/// The edge from the subject's timeline connection.
41-
/// **Upcoming Change on 2019-01-01 UTC**
42-
/// **Description:** Type for `timelineEdge` will change from `IssueTimelineItemEdge!` to `IssueTimelineItemEdge`.
43-
/// **Reason:** In preparation for an upcoming change to the way we report mutation errors, non-nullable payload fields are becoming nullable.
4435
/// </summary>
4536
public IssueTimelineItemEdge TimelineEdge => this.CreateProperty(x => x.TimelineEdge, Octokit.GraphQL.Model.IssueTimelineItemEdge.Create);
4637

Octokit.GraphQL/Model/AddProjectCardPayload.cs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ internal AddProjectCardPayload(Expression expression) : base(expression)
1717

1818
/// <summary>
1919
/// The edge from the ProjectColumn's card connection.
20-
/// **Upcoming Change on 2019-01-01 UTC**
21-
/// **Description:** Type for `cardEdge` will change from `ProjectCardEdge!` to `ProjectCardEdge`.
22-
/// **Reason:** In preparation for an upcoming change to the way we report mutation errors, non-nullable payload fields are becoming nullable.
2320
/// </summary>
2421
public ProjectCardEdge CardEdge => this.CreateProperty(x => x.CardEdge, Octokit.GraphQL.Model.ProjectCardEdge.Create);
2522

@@ -30,11 +27,8 @@ internal AddProjectCardPayload(Expression expression) : base(expression)
3027

3128
/// <summary>
3229
/// The ProjectColumn
33-
/// **Upcoming Change on 2019-01-01 UTC**
34-
/// **Description:** Type for `projectColumn` will change from `Project!` to `ProjectColumn`.
35-
/// **Reason:** In preparation for an upcoming change to the way we report mutation errors, non-nullable payload fields are becoming nullable.
3630
/// </summary>
37-
public Project ProjectColumn => this.CreateProperty(x => x.ProjectColumn, Octokit.GraphQL.Model.Project.Create);
31+
public ProjectColumn ProjectColumn => this.CreateProperty(x => x.ProjectColumn, Octokit.GraphQL.Model.ProjectColumn.Create);
3832

3933
internal static AddProjectCardPayload Create(Expression expression)
4034
{

Octokit.GraphQL/Model/AddProjectColumnPayload.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,11 @@ internal AddProjectColumnPayload(Expression expression) : base(expression)
2222

2323
/// <summary>
2424
/// The edge from the project's column connection.
25-
/// **Upcoming Change on 2019-01-01 UTC**
26-
/// **Description:** Type for `columnEdge` will change from `ProjectColumnEdge!` to `ProjectColumnEdge`.
27-
/// **Reason:** In preparation for an upcoming change to the way we report mutation errors, non-nullable payload fields are becoming nullable.
2825
/// </summary>
2926
public ProjectColumnEdge ColumnEdge => this.CreateProperty(x => x.ColumnEdge, Octokit.GraphQL.Model.ProjectColumnEdge.Create);
3027

3128
/// <summary>
3229
/// The project
33-
/// **Upcoming Change on 2019-01-01 UTC**
34-
/// **Description:** Type for `project` will change from `Project!` to `Project`.
35-
/// **Reason:** In preparation for an upcoming change to the way we report mutation errors, non-nullable payload fields are becoming nullable.
3630
/// </summary>
3731
public Project Project => this.CreateProperty(x => x.Project, Octokit.GraphQL.Model.Project.Create);
3832

Octokit.GraphQL/Model/AddPullRequestReviewCommentPayload.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,11 @@ internal AddPullRequestReviewCommentPayload(Expression expression) : base(expres
2222

2323
/// <summary>
2424
/// The newly created comment.
25-
/// **Upcoming Change on 2019-01-01 UTC**
26-
/// **Description:** Type for `comment` will change from `PullRequestReviewComment!` to `PullRequestReviewComment`.
27-
/// **Reason:** In preparation for an upcoming change to the way we report mutation errors, non-nullable payload fields are becoming nullable.
2825
/// </summary>
2926
public PullRequestReviewComment Comment => this.CreateProperty(x => x.Comment, Octokit.GraphQL.Model.PullRequestReviewComment.Create);
3027

3128
/// <summary>
3229
/// The edge from the review's comment connection.
33-
/// **Upcoming Change on 2019-01-01 UTC**
34-
/// **Description:** Type for `commentEdge` will change from `PullRequestReviewCommentEdge!` to `PullRequestReviewCommentEdge`.
35-
/// **Reason:** In preparation for an upcoming change to the way we report mutation errors, non-nullable payload fields are becoming nullable.
3630
/// </summary>
3731
public PullRequestReviewCommentEdge CommentEdge => this.CreateProperty(x => x.CommentEdge, Octokit.GraphQL.Model.PullRequestReviewCommentEdge.Create);
3832

Octokit.GraphQL/Model/AddPullRequestReviewPayload.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,11 @@ internal AddPullRequestReviewPayload(Expression expression) : base(expression)
2222

2323
/// <summary>
2424
/// The newly created pull request review.
25-
/// **Upcoming Change on 2019-01-01 UTC**
26-
/// **Description:** Type for `pullRequestReview` will change from `PullRequestReview!` to `PullRequestReview`.
27-
/// **Reason:** In preparation for an upcoming change to the way we report mutation errors, non-nullable payload fields are becoming nullable.
2825
/// </summary>
2926
public PullRequestReview PullRequestReview => this.CreateProperty(x => x.PullRequestReview, Octokit.GraphQL.Model.PullRequestReview.Create);
3027

3128
/// <summary>
3229
/// The edge from the pull request's review connection.
33-
/// **Upcoming Change on 2019-01-01 UTC**
34-
/// **Description:** Type for `reviewEdge` will change from `PullRequestReviewEdge!` to `PullRequestReviewEdge`.
35-
/// **Reason:** In preparation for an upcoming change to the way we report mutation errors, non-nullable payload fields are becoming nullable.
3630
/// </summary>
3731
public PullRequestReviewEdge ReviewEdge => this.CreateProperty(x => x.ReviewEdge, Octokit.GraphQL.Model.PullRequestReviewEdge.Create);
3832

Octokit.GraphQL/Model/AddReactionPayload.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,11 @@ internal AddReactionPayload(Expression expression) : base(expression)
2222

2323
/// <summary>
2424
/// The reaction object.
25-
/// **Upcoming Change on 2019-01-01 UTC**
26-
/// **Description:** Type for `reaction` will change from `Reaction!` to `Reaction`.
27-
/// **Reason:** In preparation for an upcoming change to the way we report mutation errors, non-nullable payload fields are becoming nullable.
2825
/// </summary>
2926
public Reaction Reaction => this.CreateProperty(x => x.Reaction, Octokit.GraphQL.Model.Reaction.Create);
3027

3128
/// <summary>
3229
/// The reactable subject.
33-
/// **Upcoming Change on 2019-01-01 UTC**
34-
/// **Description:** Type for `subject` will change from `Reactable!` to `Reactable`.
35-
/// **Reason:** In preparation for an upcoming change to the way we report mutation errors, non-nullable payload fields are becoming nullable.
3630
/// </summary>
3731
public IReactable Subject => this.CreateProperty(x => x.Subject, Octokit.GraphQL.Model.Internal.StubIReactable.Create);
3832

Octokit.GraphQL/Model/AddStarPayload.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ internal AddStarPayload(Expression expression) : base(expression)
2222

2323
/// <summary>
2424
/// The starrable.
25-
/// **Upcoming Change on 2019-01-01 UTC**
26-
/// **Description:** Type for `starrable` will change from `Starrable!` to `Starrable`.
27-
/// **Reason:** In preparation for an upcoming change to the way we report mutation errors, non-nullable payload fields are becoming nullable.
2825
/// </summary>
2926
public IStarrable Starrable => this.CreateProperty(x => x.Starrable, Octokit.GraphQL.Model.Internal.StubIStarrable.Create);
3027

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
namespace Octokit.GraphQL.Model
2+
{
3+
using System;
4+
using System.Collections.Generic;
5+
6+
/// <summary>
7+
/// Autogenerated input type of CancelBusinessAdminInvitation
8+
/// </summary>
9+
public class CancelBusinessAdminInvitationInput
10+
{
11+
/// <summary>
12+
/// The Node ID of the pending business admin invitation.
13+
/// </summary>
14+
public ID InvitationId { get; set; }
15+
16+
/// <summary>
17+
/// A unique identifier for the client performing the mutation.
18+
/// </summary>
19+
public string ClientMutationId { get; set; }
20+
}
21+
}

0 commit comments

Comments
 (0)