git-bug/graphql/schema/repository.graphql

50 lines
1.6 KiB
GraphQL
Raw Normal View History

type Repository {
2020-02-12 23:03:20 +03:00
"""The name of the repository"""
name: String
"""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
2020-02-12 23:03:20 +03:00
"""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!
2019-04-10 23:36:34 +03:00
identity(prefix: String!): Identity
"""The identity created or selected by the user as its own"""
2019-04-10 23:36:34 +03:00
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!
}