1"""Represents an identity"""
2type Identity implements Entity {
3 """The identifier for this identity"""
4 id: ID!
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 """The login of the person, if known."""
12 login: String
13 """A non-empty string to display, representing the identity, based on the non-empty values."""
14 displayName: String!
15 """An url to an avatar"""
16 avatarUrl: String
17 """isProtected is true if the chain of git commits started to be signed.
18 If that's the case, only signed commit with a valid key for this identity can be added."""
19 isProtected: Boolean!
20}
21
22type IdentityConnection {
23 edges: [IdentityEdge!]!
24 nodes: [Identity!]!
25 pageInfo: PageInfo!
26 totalCount: Int!
27}
28
29type IdentityEdge {
30 cursor: String!
31 node: Identity!
32}