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

Commit 6e2eda2

Browse files
authored
Merge pull request #2171 from atom/schema-update/1559178096908
GraphQL schema update
2 parents a7905d1 + 9d2bdaa commit 6e2eda2

File tree

1 file changed

+36
-3
lines changed

1 file changed

+36
-3
lines changed

graphql/schema.graphql

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10253,6 +10253,9 @@ type Repository implements Node & ProjectOwner & RegistryPackageOwner & Subscrib
1025310253
expression: String
1025410254
): GitObject
1025510255

10256+
"""The image used to represent this repository in Open Graph data."""
10257+
openGraphImageUrl: URI!
10258+
1025610259
"""The User owner of the repository."""
1025710260
owner: RepositoryOwner!
1025810261

@@ -10465,6 +10468,11 @@ type Repository implements Node & ProjectOwner & RegistryPackageOwner & Subscrib
1046510468
"""The HTTP URL for this repository"""
1046610469
url: URI!
1046710470

10471+
"""
10472+
Whether this repository has a custom image to use with Open Graph as opposed to being represented by the owner's avatar.
10473+
"""
10474+
usesCustomOpenGraphImage: Boolean!
10475+
1046810476
"""Indicates whether the viewer has admin permissions on this repository."""
1046910477
viewerCanAdminister: Boolean!
1047010478

@@ -10664,6 +10672,9 @@ interface RepositoryInfo {
1066410672
"""The repository's name with owner."""
1066510673
nameWithOwner: String!
1066610674

10675+
"""The image used to represent this repository in Open Graph data."""
10676+
openGraphImageUrl: URI!
10677+
1066710678
"""The User owner of the repository."""
1066810679
owner: RepositoryOwner!
1066910680

@@ -10686,6 +10697,11 @@ interface RepositoryInfo {
1068610697

1068710698
"""The HTTP URL for this repository"""
1068810699
url: URI!
10700+
10701+
"""
10702+
Whether this repository has a custom image to use with Open Graph as opposed to being represented by the owner's avatar.
10703+
"""
10704+
usesCustomOpenGraphImage: Boolean!
1068910705
}
1069010706

1069110707
"""An invitation for a user to be added to a repository."""
@@ -10836,13 +10852,30 @@ interface RepositoryOwner {
1083610852

1083710853
"""The access level to a repository"""
1083810854
enum RepositoryPermission {
10839-
"""Can read, clone, push, and add collaborators"""
10855+
"""
10856+
Can read, clone, and push to this repository. Can also manage issues, pull
10857+
requests, and repository settings, including adding collaborators
10858+
"""
1084010859
ADMIN
1084110860

10842-
"""Can read, clone and push"""
10861+
"""
10862+
Can read, clone, and push to this repository. They can also manage issues, pull requests, and some repository settings
10863+
"""
10864+
MAINTAIN
10865+
10866+
"""
10867+
Can read, clone, and push to this repository. Can also manage issues and pull requests
10868+
"""
1084310869
WRITE
1084410870

10845-
"""Can read and clone"""
10871+
"""
10872+
Can read and clone this repository. Can also manage issues and pull requests
10873+
"""
10874+
TRIAGE
10875+
10876+
"""
10877+
Can read and clone this repository. Can also open and comment on issues and pull requests
10878+
"""
1084610879
READ
1084710880
}
1084810881

0 commit comments

Comments
 (0)