aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/schema/identity.graphql
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-02-19 00:10:40 +0100
committerMichael Muré <batolettre@gmail.com>2019-03-01 22:40:27 +0100
commitffe35fece1b1526949107f154abc21a1a02fc74d (patch)
tree04eaf4ca55c6b69aeb44c7322b234d0a481dded1 /graphql/schema/identity.graphql
parent54f9838f0ab22ce5285f21cdd117ad81c737d822 (diff)
downloadgit-bug-ffe35fece1b1526949107f154abc21a1a02fc74d.tar.gz
identity: complete the graphql api
Diffstat (limited to 'graphql/schema/identity.graphql')
-rw-r--r--graphql/schema/identity.graphql5
1 files changed, 5 insertions, 0 deletions
diff --git a/graphql/schema/identity.graphql b/graphql/schema/identity.graphql
index 7c5ef126..18666f76 100644
--- a/graphql/schema/identity.graphql
+++ b/graphql/schema/identity.graphql
@@ -1,5 +1,7 @@
"""Represents an identity"""
type Identity {
+ """The identifier for this identity"""
+ id: String!
"""The name of the person, if known."""
name: String
"""The email of the person, if known."""
@@ -10,4 +12,7 @@ type Identity {
displayName: String!
"""An url to an avatar"""
avatarUrl: String
+ """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!
}