2018-11-21 20:56:12 +03:00
|
|
|
"""Represents an identity"""
|
|
|
|
type Identity {
|
2019-02-19 02:10:40 +03:00
|
|
|
"""The identifier for this identity"""
|
|
|
|
id: String!
|
2019-03-31 22:44:14 +03:00
|
|
|
"""The human version (truncated) identifier for this identity"""
|
|
|
|
humanId: String!
|
2018-11-21 20:56:12 +03:00
|
|
|
"""The name of the person, if known."""
|
|
|
|
name: String
|
|
|
|
"""The email of the person, if known."""
|
|
|
|
email: String
|
|
|
|
"""The login of the person, if known."""
|
|
|
|
login: String
|
|
|
|
"""A string containing the either the name of the person, its login or both"""
|
|
|
|
displayName: String!
|
|
|
|
"""An url to an avatar"""
|
|
|
|
avatarUrl: String
|
2019-02-19 02:10:40 +03:00
|
|
|
"""isProtected is true if the chain of git commits started to be signed.
|
|
|
|
If that's the case, only signed commit with a valid key for this identity can be added."""
|
|
|
|
isProtected: Boolean!
|
2019-01-20 17:41:27 +03:00
|
|
|
}
|
2019-03-31 22:44:14 +03:00
|
|
|
|
|
|
|
type IdentityConnection {
|
|
|
|
edges: [IdentityEdge!]!
|
|
|
|
nodes: [Identity!]!
|
|
|
|
pageInfo: PageInfo!
|
|
|
|
totalCount: Int!
|
|
|
|
}
|
|
|
|
|
|
|
|
type IdentityEdge {
|
|
|
|
cursor: String!
|
|
|
|
node: Identity!
|
|
|
|
}
|