Skip to content

Commit 2b2bad6

Browse files
Octomergerrachmari
andauthored
GraphQL schema update (github#35290)
Co-authored-by: rachmari <[email protected]>
1 parent 84741ae commit 2b2bad6

File tree

7 files changed

+1031
-0
lines changed

7 files changed

+1031
-0
lines changed

data/graphql/ghae/schema.docs-ghae.graphql

+140
Original file line numberDiff line numberDiff line change
@@ -37233,6 +37233,121 @@ type SmimeSignature implements GitSignature {
3723337233
wasSignedByGitHub: Boolean!
3723437234
}
3723537235

37236+
"""
37237+
Social media profile associated with a user.
37238+
"""
37239+
type SocialAccount {
37240+
"""
37241+
Name of the social media account as it appears on the profile.
37242+
"""
37243+
displayName: String!
37244+
37245+
"""
37246+
Software or company that hosts the social media account.
37247+
"""
37248+
provider: SocialAccountProvider!
37249+
37250+
"""
37251+
URL of the social media account.
37252+
"""
37253+
url: URI!
37254+
}
37255+
37256+
"""
37257+
The connection type for SocialAccount.
37258+
"""
37259+
type SocialAccountConnection {
37260+
"""
37261+
A list of edges.
37262+
"""
37263+
edges: [SocialAccountEdge]
37264+
37265+
"""
37266+
A list of nodes.
37267+
"""
37268+
nodes: [SocialAccount]
37269+
37270+
"""
37271+
Information to aid in pagination.
37272+
"""
37273+
pageInfo: PageInfo!
37274+
37275+
"""
37276+
Identifies the total count of items in the connection.
37277+
"""
37278+
totalCount: Int!
37279+
}
37280+
37281+
"""
37282+
An edge in a connection.
37283+
"""
37284+
type SocialAccountEdge {
37285+
"""
37286+
A cursor for use in pagination.
37287+
"""
37288+
cursor: String!
37289+
37290+
"""
37291+
The item at the end of the edge.
37292+
"""
37293+
node: SocialAccount
37294+
}
37295+
37296+
"""
37297+
Software or company that hosts social media accounts.
37298+
"""
37299+
enum SocialAccountProvider {
37300+
"""
37301+
Social media and networking website.
37302+
"""
37303+
FACEBOOK
37304+
37305+
"""
37306+
Catch-all for social media providers that do not yet have specific handling.
37307+
"""
37308+
GENERIC
37309+
37310+
"""
37311+
Fork of Mastodon with a greater focus on local posting.
37312+
"""
37313+
HOMETOWN
37314+
37315+
"""
37316+
Social media website with a focus on photo and video sharing.
37317+
"""
37318+
INSTAGRAM
37319+
37320+
"""
37321+
Professional networking website.
37322+
"""
37323+
LINKEDIN
37324+
37325+
"""
37326+
Open-source federated microblogging service.
37327+
"""
37328+
MASTODON
37329+
37330+
"""
37331+
Social news aggregation and discussion website.
37332+
"""
37333+
REDDIT
37334+
37335+
"""
37336+
Live-streaming service.
37337+
"""
37338+
TWITCH
37339+
37340+
"""
37341+
Microblogging website.
37342+
"""
37343+
TWITTER
37344+
37345+
"""
37346+
Online video platform.
37347+
"""
37348+
YOUTUBE
37349+
}
37350+
3723637351
"""
3723737352
The possible default commit messages for squash merges.
3723837353
"""
@@ -44129,6 +44244,31 @@ type User implements Actor & Node & ProfileOwner & ProjectOwner & RepositoryDisc
4412944244
orderBy: SavedReplyOrder = {field: UPDATED_AT, direction: DESC}
4413044245
): SavedReplyConnection
4413144246

44247+
"""
44248+
The user's social media accounts, ordered as they appear on the user's profile.
44249+
"""
44250+
socialAccounts(
44251+
"""
44252+
Returns the elements in the list that come after the specified cursor.
44253+
"""
44254+
after: String
44255+
44256+
"""
44257+
Returns the elements in the list that come before the specified cursor.
44258+
"""
44259+
before: String
44260+
44261+
"""
44262+
Returns the first _n_ elements from the list.
44263+
"""
44264+
first: Int
44265+
44266+
"""
44267+
Returns the last _n_ elements from the list.
44268+
"""
44269+
last: Int
44270+
): SocialAccountConnection!
44271+
4413244272
"""
4413344273
Repositories the user has starred.
4413444274
"""

data/graphql/ghec/schema.docs.graphql

+140
Original file line numberDiff line numberDiff line change
@@ -44529,6 +44529,121 @@ type SmimeSignature implements GitSignature {
4452944529
wasSignedByGitHub: Boolean!
4453044530
}
4453144531

44532+
"""
44533+
Social media profile associated with a user.
44534+
"""
44535+
type SocialAccount {
44536+
"""
44537+
Name of the social media account as it appears on the profile.
44538+
"""
44539+
displayName: String!
44540+
44541+
"""
44542+
Software or company that hosts the social media account.
44543+
"""
44544+
provider: SocialAccountProvider!
44545+
44546+
"""
44547+
URL of the social media account.
44548+
"""
44549+
url: URI!
44550+
}
44551+
44552+
"""
44553+
The connection type for SocialAccount.
44554+
"""
44555+
type SocialAccountConnection {
44556+
"""
44557+
A list of edges.
44558+
"""
44559+
edges: [SocialAccountEdge]
44560+
44561+
"""
44562+
A list of nodes.
44563+
"""
44564+
nodes: [SocialAccount]
44565+
44566+
"""
44567+
Information to aid in pagination.
44568+
"""
44569+
pageInfo: PageInfo!
44570+
44571+
"""
44572+
Identifies the total count of items in the connection.
44573+
"""
44574+
totalCount: Int!
44575+
}
44576+
44577+
"""
44578+
An edge in a connection.
44579+
"""
44580+
type SocialAccountEdge {
44581+
"""
44582+
A cursor for use in pagination.
44583+
"""
44584+
cursor: String!
44585+
44586+
"""
44587+
The item at the end of the edge.
44588+
"""
44589+
node: SocialAccount
44590+
}
44591+
44592+
"""
44593+
Software or company that hosts social media accounts.
44594+
"""
44595+
enum SocialAccountProvider {
44596+
"""
44597+
Social media and networking website.
44598+
"""
44599+
FACEBOOK
44600+
44601+
"""
44602+
Catch-all for social media providers that do not yet have specific handling.
44603+
"""
44604+
GENERIC
44605+
44606+
"""
44607+
Fork of Mastodon with a greater focus on local posting.
44608+
"""
44609+
HOMETOWN
44610+
44611+
"""
44612+
Social media website with a focus on photo and video sharing.
44613+
"""
44614+
INSTAGRAM
44615+
44616+
"""
44617+
Professional networking website.
44618+
"""
44619+
LINKEDIN
44620+
44621+
"""
44622+
Open-source federated microblogging service.
44623+
"""
44624+
MASTODON
44625+
44626+
"""
44627+
Social news aggregation and discussion website.
44628+
"""
44629+
REDDIT
44630+
44631+
"""
44632+
Live-streaming service.
44633+
"""
44634+
TWITCH
44635+
44636+
"""
44637+
Microblogging website.
44638+
"""
44639+
TWITTER
44640+
44641+
"""
44642+
Online video platform.
44643+
"""
44644+
YOUTUBE
44645+
}
44646+
4453244647
"""
4453344648
Entities that can sponsor others via GitHub Sponsors
4453444649
"""
@@ -54804,6 +54919,31 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner &
5480454919
orderBy: SavedReplyOrder = {field: UPDATED_AT, direction: DESC}
5480554920
): SavedReplyConnection
5480654921

54922+
"""
54923+
The user's social media accounts, ordered as they appear on the user's profile.
54924+
"""
54925+
socialAccounts(
54926+
"""
54927+
Returns the elements in the list that come after the specified cursor.
54928+
"""
54929+
after: String
54930+
54931+
"""
54932+
Returns the elements in the list that come before the specified cursor.
54933+
"""
54934+
before: String
54935+
54936+
"""
54937+
Returns the first _n_ elements from the list.
54938+
"""
54939+
first: Int
54940+
54941+
"""
54942+
Returns the last _n_ elements from the list.
54943+
"""
54944+
last: Int
54945+
): SocialAccountConnection!
54946+
5480754947
"""
5480854948
List of users and organizations this entity is sponsoring.
5480954949
"""

0 commit comments

Comments
 (0)