git-bug/graphql/schema/repository.graphql
2019-09-04 21:04:05 +02:00

47 lines
1.5 KiB
GraphQL

type Repository {
"""All the bugs"""
allBugs(
"""Returns the elements in the list that come after the specified cursor."""
after: String
"""Returns the elements in the list that come before the specified cursor."""
before: String
"""Returns the first _n_ elements from the list."""
first: Int
"""Returns the last _n_ elements from the list."""
last: Int
"""A query to select and order bugs"""
query: String
): BugConnection!
bug(prefix: String!): Bug
"""All the identities"""
allIdentities(
"""Returns the elements in the list that come after the specified cursor."""
after: String
"""Returns the elements in the list that come before the specified cursor."""
before: String
"""Returns the first _n_ elements from the list."""
first: Int
"""Returns the last _n_ elements from the list."""
last: Int
): IdentityConnection!
identity(prefix: String!): Identity
"""The identity created or selected by the user as its own"""
userIdentity: Identity
"""List of valid labels."""
validLabels(
"""Returns the elements in the list that come after the specified cursor."""
after: String
"""Returns the elements in the list that come before the specified cursor."""
before: String
"""Returns the first _n_ elements from the list."""
first: Int
"""Returns the last _n_ elements from the list."""
last: Int
): LabelConnection!
}