From 50f847c856f623804200bc6f1dcd94eca9122394 Mon Sep 17 00:00:00 2001 From: hubot Date: Thu, 16 May 2019 01:01:07 +0000 Subject: [PATCH] :arrow_up: GraphQL schema --- graphql/schema.graphql | 38 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/graphql/schema.graphql b/graphql/schema.graphql index 18a35bca98..915cfb80db 100644 --- a/graphql/schema.graphql +++ b/graphql/schema.graphql @@ -5385,6 +5385,34 @@ enum LockReason { SPAM } +"""A placeholder user for attribution of imported data on GitHub.""" +type Mannequin implements Node & Actor & UniformResourceLocatable { + """A URL pointing to the GitHub App's public avatar.""" + avatarUrl( + """The size of the resulting square image.""" + size: Int + ): URI! + + """Identifies the date and time when the object was created.""" + createdAt: DateTime! + + """Identifies the primary key from the database.""" + databaseId: Int + id: ID! + + """The username of the actor.""" + login: String! + + """The HTML path to this resource.""" + resourcePath: URI! + + """Identifies the date and time when the object was last updated.""" + updatedAt: DateTime! + + """The URL to this resource.""" + url: URI! +} + """A public description of a Marketplace category.""" type MarketplaceCategory implements Node { """The category's description.""" @@ -6839,13 +6867,16 @@ type PinnableItemEdge { node: PinnableItem } -"""Represents items that can be pinned to a profile page.""" +"""Represents items that can be pinned to a profile page or dashboard.""" enum PinnableItemType { """A repository.""" REPOSITORY """A gist.""" GIST + + """An issue.""" + ISSUE } """Represents a 'pinned' event on a given issue or pull request.""" @@ -10875,7 +10906,7 @@ enum RequestableCheckStatusState { } """Types that can be requested reviewers.""" -union RequestedReviewer = User | Team +union RequestedReviewer = User | Team | Mannequin """Autogenerated input type of RequestReviews""" input RequestReviewsInput { @@ -11196,6 +11227,9 @@ type SecurityAdvisory implements Node { """A list of identifiers for this advisory""" identifiers: [SecurityAdvisoryIdentifier!]! + """The organization that originated the advisory""" + origin: String! + """When the advisory was published""" publishedAt: DateTime!