Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 8879d07

Browse files
committed
⬆️ GraphQL schema
1 parent dfb2ba6 commit 8879d07

File tree

1 file changed

+101
-0
lines changed

1 file changed

+101
-0
lines changed

graphql/schema.graphql

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9442,6 +9442,17 @@ type Mutation {
94429442
"""Creates or updates the identity provider for an enterprise."""
94439443
setEnterpriseIdentityProvider(input: SetEnterpriseIdentityProviderInput!): SetEnterpriseIdentityProviderPayload
94449444

9445+
"""
9446+
Set an organization level interaction limit for an organization's public repositories.
9447+
"""
9448+
setOrganizationInteractionLimit(input: SetOrganizationInteractionLimitInput!): SetOrganizationInteractionLimitPayload
9449+
9450+
"""Sets an interaction limit setting for a repository."""
9451+
setRepositoryInteractionLimit(input: SetRepositoryInteractionLimitInput!): SetRepositoryInteractionLimitPayload
9452+
9453+
"""Set a user level interaction limit for an user's public repositories."""
9454+
setUserInteractionLimit(input: SetUserInteractionLimitInput!): SetUserInteractionLimitPayload
9455+
94459456
"""Submits a pending pull request review."""
94469457
submitPullRequestReview(input: SubmitPullRequestReviewInput!): SubmitPullRequestReviewPayload
94479458

@@ -18897,6 +18908,24 @@ enum RepositoryInteractionLimit {
1889718908
NO_LIMIT
1889818909
}
1889918910

18911+
"""The length for a repository interaction limit to be enabled for."""
18912+
enum RepositoryInteractionLimitExpiry {
18913+
"""The interaction limit will expire after 1 day."""
18914+
ONE_DAY
18915+
18916+
"""The interaction limit will expire after 3 days."""
18917+
THREE_DAYS
18918+
18919+
"""The interaction limit will expire after 1 week."""
18920+
ONE_WEEK
18921+
18922+
"""The interaction limit will expire after 1 month."""
18923+
ONE_MONTH
18924+
18925+
"""The interaction limit will expire after 6 months."""
18926+
SIX_MONTHS
18927+
}
18928+
1890018929
"""Indicates where an interaction limit is configured."""
1890118930
enum RepositoryInteractionLimitOrigin {
1890218931
"""A limit that is configured at the repository level."""
@@ -20104,6 +20133,78 @@ type SetEnterpriseIdentityProviderPayload {
2010420133
identityProvider: EnterpriseIdentityProvider
2010520134
}
2010620135

20136+
"""Autogenerated input type of SetOrganizationInteractionLimit"""
20137+
input SetOrganizationInteractionLimitInput {
20138+
"""The ID of the organization to set a limit for."""
20139+
organizationId: ID!
20140+
20141+
"""The limit to set."""
20142+
limit: RepositoryInteractionLimit!
20143+
20144+
"""When this limit should expire."""
20145+
expiry: RepositoryInteractionLimitExpiry
20146+
20147+
"""A unique identifier for the client performing the mutation."""
20148+
clientMutationId: String
20149+
}
20150+
20151+
"""Autogenerated return type of SetOrganizationInteractionLimit"""
20152+
type SetOrganizationInteractionLimitPayload {
20153+
"""A unique identifier for the client performing the mutation."""
20154+
clientMutationId: String
20155+
20156+
"""The organization that the interaction limit was set for."""
20157+
organization: Organization
20158+
}
20159+
20160+
"""Autogenerated input type of SetRepositoryInteractionLimit"""
20161+
input SetRepositoryInteractionLimitInput {
20162+
"""The ID of the repository to set a limit for."""
20163+
repositoryId: ID!
20164+
20165+
"""The limit to set."""
20166+
limit: RepositoryInteractionLimit!
20167+
20168+
"""When this limit should expire."""
20169+
expiry: RepositoryInteractionLimitExpiry
20170+
20171+
"""A unique identifier for the client performing the mutation."""
20172+
clientMutationId: String
20173+
}
20174+
20175+
"""Autogenerated return type of SetRepositoryInteractionLimit"""
20176+
type SetRepositoryInteractionLimitPayload {
20177+
"""A unique identifier for the client performing the mutation."""
20178+
clientMutationId: String
20179+
20180+
"""The repository that the interaction limit was set for."""
20181+
repository: Repository
20182+
}
20183+
20184+
"""Autogenerated input type of SetUserInteractionLimit"""
20185+
input SetUserInteractionLimitInput {
20186+
"""The ID of the user to set a limit for."""
20187+
userId: ID!
20188+
20189+
"""The limit to set."""
20190+
limit: RepositoryInteractionLimit!
20191+
20192+
"""When this limit should expire."""
20193+
expiry: RepositoryInteractionLimitExpiry
20194+
20195+
"""A unique identifier for the client performing the mutation."""
20196+
clientMutationId: String
20197+
}
20198+
20199+
"""Autogenerated return type of SetUserInteractionLimit"""
20200+
type SetUserInteractionLimitPayload {
20201+
"""A unique identifier for the client performing the mutation."""
20202+
clientMutationId: String
20203+
20204+
"""The user that the interaction limit was set for."""
20205+
user: User
20206+
}
20207+
2010720208
"""Represents an S/MIME signature on a Commit or Tag."""
2010820209
type SmimeSignature implements GitSignature {
2010920210
"""Email used to sign this object."""

0 commit comments

Comments
 (0)