Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update graphqlcodegenerator monorepo (major) #7

Merged
merged 2 commits into from
Aug 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
"graphql": "15.5.1"
},
"devDependencies": {
"@graphql-codegen/cli": "1.21.8",
"@graphql-codegen/import-types-preset": "1.18.6",
"@graphql-codegen/typescript": "1.23.0",
"@graphql-codegen/typescript-operations": "1.18.4",
"@graphql-codegen/cli": "2.0.1",
"@graphql-codegen/import-types-preset": "2.0.0",
"@graphql-codegen/typescript": "2.0.0",
"@graphql-codegen/typescript-operations": "2.0.1",
"@octokit/graphql-schema": "10.59.0",
"@types/jest": "26.0.24",
"@types/node": "14.17.9",
Expand Down
40 changes: 39 additions & 1 deletion src/generated/graphql-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10706,6 +10706,8 @@ export type Organization = Node & Actor & PackageOwner & ProjectOwner & Reposito
resourcePath: Scalars['URI'];
/** The Organization's SAML identity providers */
samlIdentityProvider?: Maybe<OrganizationIdentityProvider>;
/** List of users and organizations this entity is sponsoring. */
sponsoring: SponsorConnection;
/** List of sponsors for this user or organization. */
sponsors: SponsorConnection;
/** Events involving this sponsorable, such as new sponsorships. */
Expand Down Expand Up @@ -10927,6 +10929,16 @@ export type OrganizationRepositoryDiscussionsArgs = {
};


/** An account on GitHub, with one or more owners, that has repositories, members and teams. */
export type OrganizationSponsoringArgs = {
after?: Maybe<Scalars['String']>;
before?: Maybe<Scalars['String']>;
first?: Maybe<Scalars['Int']>;
last?: Maybe<Scalars['Int']>;
orderBy?: Maybe<SponsorOrder>;
};


/** An account on GitHub, with one or more owners, that has repositories, members and teams. */
export type OrganizationSponsorsArgs = {
after?: Maybe<Scalars['String']>;
Expand Down Expand Up @@ -13121,7 +13133,7 @@ export type PullRequestReviewThread = Node & {
/** The side of the diff on which this thread was placed. */
diffSide: DiffSide;
id: Scalars['ID'];
/** Whether or not the thread has been collapsed (outdated or resolved) */
/** Whether or not the thread has been collapsed (resolved) */
isCollapsed: Scalars['Boolean'];
/** Indicates whether this thread was outdated by newer changes. */
isOutdated: Scalars['Boolean'];
Expand Down Expand Up @@ -15575,6 +15587,8 @@ export type Repository = Node & ProjectOwner & PackageOwner & Subscribable & Sta
__typename?: 'Repository';
/** A list of users that can be assigned to issues in this repository. */
assignableUsers: UserConnection;
/** Whether or not Auto-merge can be enabled on pull requests in this repository. */
autoMergeAllowed: Scalars['Boolean'];
/** A list of branch protection rules for this repository. */
branchProtectionRules: BranchProtectionRuleConnection;
/** Returns the code of conduct for this repository */
Expand Down Expand Up @@ -17506,6 +17520,8 @@ export type Sponsorable = {
isSponsoredBy: Scalars['Boolean'];
/** True if the viewer is sponsored by this user/organization. */
isSponsoringViewer: Scalars['Boolean'];
/** List of users and organizations this entity is sponsoring. */
sponsoring: SponsorConnection;
/** List of sponsors for this user or organization. */
sponsors: SponsorConnection;
/** Events involving this sponsorable, such as new sponsorships. */
Expand All @@ -17531,6 +17547,16 @@ export type SponsorableIsSponsoredByArgs = {
};


/** Entities that can be sponsored through GitHub Sponsors */
export type SponsorableSponsoringArgs = {
after?: Maybe<Scalars['String']>;
before?: Maybe<Scalars['String']>;
first?: Maybe<Scalars['Int']>;
last?: Maybe<Scalars['Int']>;
orderBy?: Maybe<SponsorOrder>;
};


/** Entities that can be sponsored through GitHub Sponsors */
export type SponsorableSponsorsArgs = {
after?: Maybe<Scalars['String']>;
Expand Down Expand Up @@ -20639,6 +20665,8 @@ export type User = Node & Actor & PackageOwner & ProjectOwner & RepositoryDiscus
resourcePath: Scalars['URI'];
/** Replies this user has saved */
savedReplies?: Maybe<SavedReplyConnection>;
/** List of users and organizations this entity is sponsoring. */
sponsoring: SponsorConnection;
/** List of sponsors for this user or organization. */
sponsors: SponsorConnection;
/** Events involving this sponsorable, such as new sponsorships. */
Expand Down Expand Up @@ -20959,6 +20987,16 @@ export type UserSavedRepliesArgs = {
};


/** A user is an individual's account on GitHub that owns repositories and can make new content. */
export type UserSponsoringArgs = {
after?: Maybe<Scalars['String']>;
before?: Maybe<Scalars['String']>;
first?: Maybe<Scalars['Int']>;
last?: Maybe<Scalars['Int']>;
orderBy?: Maybe<SponsorOrder>;
};


/** A user is an individual's account on GitHub that owns repositories and can make new content. */
export type UserSponsorsArgs = {
after?: Maybe<Scalars['String']>;
Expand Down
41 changes: 2 additions & 39 deletions src/generated/graphql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,48 +7,11 @@ export type CommentsQueryVariables = Types.Exact<{
}>;


export type CommentsQuery = (
{ __typename?: 'Query' }
& { repository?: Types.Maybe<(
{ __typename?: 'Repository' }
& { pullRequest?: Types.Maybe<(
{ __typename?: 'PullRequest' }
& { comments: (
{ __typename?: 'IssueCommentConnection' }
& { nodes?: Types.Maybe<Array<Types.Maybe<(
{ __typename?: 'IssueComment' }
& Pick<Types.IssueComment, 'id' | 'url' | 'body' | 'isMinimized'>
& { author?: Types.Maybe<(
{ __typename?: 'Bot' }
& Pick<Types.Bot, 'login'>
) | (
{ __typename?: 'EnterpriseUserAccount' }
& Pick<Types.EnterpriseUserAccount, 'login'>
) | (
{ __typename?: 'Mannequin' }
& Pick<Types.Mannequin, 'login'>
) | (
{ __typename?: 'Organization' }
& Pick<Types.Organization, 'login'>
) | (
{ __typename?: 'User' }
& Pick<Types.User, 'login'>
)> }
)>>> }
) }
)> }
)> }
);
export type CommentsQuery = { __typename?: 'Query', repository?: Types.Maybe<{ __typename?: 'Repository', pullRequest?: Types.Maybe<{ __typename?: 'PullRequest', comments: { __typename?: 'IssueCommentConnection', nodes?: Types.Maybe<Array<Types.Maybe<{ __typename?: 'IssueComment', id: string, url: any, body: string, isMinimized: boolean, author?: Types.Maybe<{ __typename?: 'Bot', login: string } | { __typename?: 'EnterpriseUserAccount', login: string } | { __typename?: 'Mannequin', login: string } | { __typename?: 'Organization', login: string } | { __typename?: 'User', login: string }> }>>> } }> }> };

export type MinimizeCommentMutationVariables = Types.Exact<{
id: Types.Scalars['ID'];
}>;


export type MinimizeCommentMutation = (
{ __typename?: 'Mutation' }
& { minimizeComment?: Types.Maybe<(
{ __typename?: 'MinimizeCommentPayload' }
& Pick<Types.MinimizeCommentPayload, 'clientMutationId'>
)> }
);
export type MinimizeCommentMutation = { __typename?: 'Mutation', minimizeComment?: Types.Maybe<{ __typename?: 'MinimizeCommentPayload', clientMutationId?: Types.Maybe<string> }> };
Loading