identity.graphql

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