Skip to content

Commit

Permalink
feat: `{Repository,RepositoryInfo,UpdateRepositoryInput}#hasSponsorsh…
Browse files Browse the repository at this point in the history
…ipsEnabled` (#895)
  • Loading branch information
octokitbot authored Feb 7, 2024
1 parent a0eb30b commit f46867d
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 0 deletions.
6 changes: 6 additions & 0 deletions schema.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21090,6 +21090,8 @@ export type Repository = Node & PackageOwner & ProjectOwner & ProjectV2Recent &
hasIssuesEnabled: Scalars['Boolean']['output'];
/** Indicates if the repository has the Projects feature enabled. */
hasProjectsEnabled: Scalars['Boolean']['output'];
/** Indicates if the repository displays a Sponsor button for financial contributions. */
hasSponsorshipsEnabled: Scalars['Boolean']['output'];
/** Whether vulnerability alerts are enabled for the repository. */
hasVulnerabilityAlertsEnabled: Scalars['Boolean']['output'];
/** Indicates if the repository has wiki feature enabled. */
Expand Down Expand Up @@ -21914,6 +21916,8 @@ export type RepositoryInfo = {
hasIssuesEnabled: Scalars['Boolean']['output'];
/** Indicates if the repository has the Projects feature enabled. */
hasProjectsEnabled: Scalars['Boolean']['output'];
/** Indicates if the repository displays a Sponsor button for financial contributions. */
hasSponsorshipsEnabled: Scalars['Boolean']['output'];
/** Indicates if the repository has wiki feature enabled. */
hasWikiEnabled: Scalars['Boolean']['output'];
/** The repository's URL. */
Expand Down Expand Up @@ -28427,6 +28431,8 @@ export type UpdateRepositoryInput = {
hasIssuesEnabled?: InputMaybe<Scalars['Boolean']['input']>;
/** Indicates if the repository should have the project boards feature enabled. */
hasProjectsEnabled?: InputMaybe<Scalars['Boolean']['input']>;
/** Indicates if the repository displays a Sponsor button for financial contributions. */
hasSponsorshipsEnabled?: InputMaybe<Scalars['Boolean']['input']>;
/** Indicates if the repository should have the wiki feature enabled. */
hasWikiEnabled?: InputMaybe<Scalars['Boolean']['input']>;
/** The URL for a web page about this repository. Pass an empty string to erase the existing URL. */
Expand Down
15 changes: 15 additions & 0 deletions schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -42521,6 +42521,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
"""
hasProjectsEnabled: Boolean!

"""
Indicates if the repository displays a Sponsor button for financial contributions.
"""
hasSponsorshipsEnabled: Boolean!

"""
Whether vulnerability alerts are enabled for the repository.
"""
Expand Down Expand Up @@ -44042,6 +44047,11 @@ interface RepositoryInfo {
"""
hasProjectsEnabled: Boolean!

"""
Indicates if the repository displays a Sponsor button for financial contributions.
"""
hasSponsorshipsEnabled: Boolean!

"""
Indicates if the repository has wiki feature enabled.
"""
Expand Down Expand Up @@ -57319,6 +57329,11 @@ input UpdateRepositoryInput {
"""
hasProjectsEnabled: Boolean

"""
Indicates if the repository displays a Sponsor button for financial contributions.
"""
hasSponsorshipsEnabled: Boolean

"""
Indicates if the repository should have the wiki feature enabled.
"""
Expand Down
42 changes: 42 additions & 0 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -110898,6 +110898,22 @@
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "hasSponsorshipsEnabled",
"description": "Indicates if the repository displays a Sponsor button for financial contributions.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "hasVulnerabilityAlertsEnabled",
"description": "Whether vulnerability alerts are enabled for the repository.",
Expand Down Expand Up @@ -114949,6 +114965,22 @@
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "hasSponsorshipsEnabled",
"description": "Indicates if the repository displays a Sponsor button for financial contributions.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "hasWikiEnabled",
"description": "Indicates if the repository has wiki feature enabled.",
Expand Down Expand Up @@ -146988,6 +147020,16 @@
},
"defaultValue": null
},
{
"name": "hasSponsorshipsEnabled",
"description": "Indicates if the repository displays a Sponsor button for financial contributions.",
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"defaultValue": null
},
{
"name": "clientMutationId",
"description": "A unique identifier for the client performing the mutation.",
Expand Down

0 comments on commit f46867d

Please sign in to comment.