identity.graphql

 1"""Represents an identity"""
 2type Identity
 3@goModel(model: "github.com/git-bug/git-bug/api/graphql/models.IdentityWrapper") {
 4
 5    """The identifier for this identity"""
 6    id: ID!
 7    """The human version (truncated) identifier for this identity"""
 8    humanId: String!
 9    """The name of the person, if known."""
10    name: String
11    """The email of the person, if known."""
12    email: String
13    """The login of the person, if known."""
14    login: String
15    """A non-empty string to display, representing the identity, based on the non-empty values."""
16    displayName: String!
17    """An url to an avatar"""
18    avatarUrl: String
19    """isProtected is true if the chain of git commits started to be signed.
20    If that's the case, only signed commit with a valid key for this identity can be added."""
21    isProtected: Boolean!
22}
23
24type IdentityConnection {
25    edges: [IdentityEdge!]!
26    nodes: [Identity!]!
27    pageInfo: PageInfo!
28    totalCount: Int!
29}
30
31type IdentityEdge {
32    cursor: String!
33    node: Identity!
34}