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

GraphQL schema update #2154

Merged
merged 1 commit into from May 16, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
38 changes: 36 additions & 2 deletions graphql/schema.graphql
Expand Up @@ -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."""
Expand Down Expand Up @@ -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."""
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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!

Expand Down